[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:46]OFD Sender: No OFD packet to send [03:16:51]OFD Sender: No OFD packet to send [03:16:56]OFD Sender: No OFD packet to send [03:17:01]OFD Sender: No OFD packet to send [03:17:06]OFD Sender: No OFD packet to send [03:17:11]OFD Sender: No OFD packet to send [03:17:16]OFD Sender: No OFD packet to send [03:17:21]OFD Sender: No OFD packet to send [03:17:26]OFD Sender: No OFD packet to send [03:17:31]OFD Sender: No OFD packet to send [03:17:36]OFD Sender: No OFD packet to send [03:17:41]OFD Sender: No OFD packet to send [03:17:46]OFD Sender: No OFD packet to send [03:17:51]OFD Sender: No OFD packet to send [03:17:56]OFD Sender: No OFD packet to send [03:18:01]OFD Sender: No OFD packet to send [03:18:06]OFD Sender: No OFD packet to send [03:18:11]OFD Sender: No OFD packet to send [03:18:16]OFD Sender: No OFD packet to send [03:18:21]OFD Sender: No OFD packet to send [03:18:26]OFD Sender: No OFD packet to send [03:18:31]OFD Sender: No OFD packet to send [03:18:36]OFD Sender: No OFD packet to send [03:18:41]OFD Sender: No OFD packet to send [03:18:46]OFD Sender: No OFD packet to send [03:18:51]OFD Sender: No OFD packet to send [03:18:56]OFD Sender: No OFD packet to send [03:19:01]OFD Sender: No OFD packet to send [03:19:06]OFD Sender: No OFD packet to send [03:19:11]OFD Sender: No OFD packet to send [03:19:16]OFD Sender: No OFD packet to send [03:19:21]OFD Sender: No OFD packet to send [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:31]OFD Sender: No OFD packet to send [03:20:36]OFD Sender: No OFD packet to send [03:20:41]OFD Sender: No OFD packet to send [03:20:46]OFD Sender: No OFD packet to send [03:20:51]OFD Sender: No OFD packet to send [03:20:56]OFD Sender: No OFD packet to send [03:21:01]OFD Sender: No OFD packet to send [03:21:06]OFD Sender: No OFD packet to send [03:21:11]OFD Sender: No OFD packet to send [03:21:16]OFD Sender: No OFD packet to send [03:21:21]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:38]recv_with_timeout no data received [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:57]OFD Sender: No OFD packet to send [03:38:02]OFD Sender: No OFD packet to send [03:38:07]OFD Sender: No OFD packet to send [03:38:12]OFD Sender: No OFD packet to send [03:38:17]OFD Sender: No OFD packet to send [03:38:22]OFD Sender: No OFD packet to send [03:38:27]OFD Sender: No OFD packet to send [03:38:32]OFD Sender: No OFD packet to send [03:38:37]OFD Sender: No OFD packet to send [03:38:42]OFD Sender: No OFD packet to send [03:38:47]OFD Sender: No OFD packet to send [03:38:52]OFD Sender: No OFD packet to send [03:38:57]OFD Sender: No OFD packet to send [03:39:02]OFD Sender: No OFD packet to send [03:39:07]OFD Sender: No OFD packet to send [03:39:12]OFD Sender: No OFD packet to send [03:39:17]OFD Sender: No OFD packet to send [03:39:22]OFD Sender: No OFD packet to send [03:39:27]OFD Sender: No OFD packet to send [03:39:32]OFD Sender: No OFD packet to send [03:39:37]OFD Sender: No OFD packet to send [03:39:42]OFD Sender: No OFD packet to send [03:39:47]OFD Sender: No OFD packet to send [03:39:52]OFD Sender: No OFD packet to send [03:39:57]OFD Sender: No OFD packet to send [03:40:02]OFD Sender: No OFD packet to send [03:40:07]OFD Sender: No OFD packet to send [03:40:12]OFD Sender: No OFD packet to send [03:40:17]OFD Sender: No OFD packet to send [03:40:22]OFD Sender: No OFD packet to send [03:40:27]OFD Sender: No OFD packet to send [03:40:32]OFD Sender: No OFD packet to send [03:40:37]OFD Sender: No OFD packet to send [03:40:42]OFD Sender: No OFD packet to send [03:40:47]OFD Sender: No OFD packet to send [03:40:52]OFD Sender: No OFD packet to send [03:40:57]OFD Sender: No OFD packet to send [03:41:02]OFD Sender: No OFD packet to send [03:41:07]OFD Sender: No OFD packet to send [03:41:12]OFD Sender: No OFD packet to send [03:41:17]OFD Sender: No OFD packet to send [03:41:22]OFD Sender: No OFD packet to send [03:41:27]OFD Sender: No OFD packet to send [03:41:32]OFD Sender: No OFD packet to send [03:41:37]OFD Sender: No OFD packet to send [03:41:42]OFD Sender: No OFD packet to send [03:41:47]OFD Sender: No OFD packet to send [03:41:52]OFD Sender: No OFD packet to send [03:41:57]OFD Sender: No OFD packet to send [03:42:02]OFD Sender: No OFD packet to send [03:42:07]OFD Sender: No OFD packet to send [03:42:12]OFD Sender: No OFD packet to send [03:42:17]OFD Sender: No OFD packet to send [03:42:22]OFD Sender: No OFD packet to send [03:42:27]OFD Sender: No OFD packet to send [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]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: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:54]ConnectInit Can't connect to host [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:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]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:39]OFD Sender: No OFD packet to send [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]recv_with_timeout no data received [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:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:33]recv_with_timeout no data received [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:27]ConnectInit Can't connect to host [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:38]recv_with_timeout no data received [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:27]ConnectInit Can't connect to host [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:04]recv_with_timeout no data received [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:40]recv_with_timeout no data received [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:11]recv_with_timeout no data received [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:28]recv_with_timeout no data received [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:36]recv_with_timeout no data received [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:28]recv_with_timeout no data received [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:31]recv_with_timeout no data received [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:09]recv_with_timeout no data received [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:17]recv_with_timeout no data received [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:20]OFD Sender: No OFD packet to send [06:29:25]OFD Sender: No OFD packet to send [06:29:30]OFD Sender: No OFD packet to send [06:29:35]OFD Sender: No OFD packet to send [06:29:40]OFD Sender: No OFD packet to send [06:29:45]OFD Sender: No OFD packet to send [06:29:50]OFD Sender: No OFD packet to send [06:29:55]OFD Sender: No OFD packet to send [06:30:00]OFD Sender: No OFD packet to send [06:30:05]OFD Sender: No OFD packet to send [06:30:10]OFD Sender: No OFD packet to send [06:30:15]OFD Sender: No OFD packet to send [06:30:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:31]OFD Sender: No OFD packet to send [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:46]OFD Sender: No OFD packet to send [06:51:51]OFD Sender: No OFD packet to send [06:51:56]OFD Sender: No OFD packet to send [06:52:01]OFD Sender: No OFD packet to send [06:59:35]ConnectInit Can't connect to host [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:28]recv_with_timeout no data received [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:10]recv_with_timeout no data received [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:30]recv_with_timeout no data received [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:10]recv_with_timeout no data received [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:35]recv_with_timeout no data received [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:17]OFD Sender: No OFD packet to send [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]OFD Sender: No OFD packet to send [07:13:57]OFD Sender: No OFD packet to send [07:14:02]OFD Sender: No OFD packet to send [07:14:07]OFD Sender: No OFD packet to send [07:14:12]OFD Sender: No OFD packet to send [07:14:17]OFD Sender: No OFD packet to send [07:14:22]OFD Sender: No OFD packet to send [07:14:27]OFD Sender: No OFD packet to send [07:14:32]OFD Sender: No OFD packet to send [07:14:37]OFD Sender: No OFD packet to send [07:14:42]OFD Sender: No OFD packet to send [07:14:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:38]ConnectInit Can't connect to host [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:53]OFD Sender: No OFD packet to send [07:33:58]OFD Sender: No OFD packet to send [07:34:03]OFD Sender: No OFD packet to send [07:34:08]OFD Sender: No OFD packet to send [07:34:13]OFD Sender: No OFD packet to send [07:34:18]OFD Sender: No OFD packet to send [07:34:23]OFD Sender: No OFD packet to send [07:34:28]OFD Sender: No OFD packet to send [07:34:33]OFD Sender: No OFD packet to send [07:34:38]OFD Sender: No OFD packet to send [07:34:43]OFD Sender: No OFD packet to send [07:34:48]OFD Sender: No OFD packet to send [07:34:53]OFD Sender: No OFD packet to send [07:34:58]OFD Sender: No OFD packet to send [07:35:03]OFD Sender: No OFD packet to send [07:35:08]OFD Sender: No OFD packet to send [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:40:50]ConnectInit Can't connect to host [07:40:54]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:22]accept exits with 10 [07:50:22]New connection [07:50:22]New thread 3066453348 created [07:50:22]Thread 3066596708 joined [07:50:22]Waiting for new connection... [07:50:22] Sock 10.Parse request [07:50:22]Sock 10.Check first char [07:50:22]Sock 10.First char is OK [07:50:22]request: POST /json_proto HTTP/1.0 [07:50:22]Method: POST [07:50:22]URL: /json_proto [07:50:22]Method is POST - this is cgi request [07:50:22]url: /json_proto [07:50:22]query_string will be loaded in cgi processing [07:50:22]execute_cgi json_proto POST (null) [07:50:22]execute_cgi path=json_proto method=POST [07:50:22]POST find Content-Length [07:50:22]Host: 172.17.32.68:8080 [07:50:22]Content-Length: 870 [07:50:22]Content-Type: application/json [07:50:22] [07:50:22]POST finish read [07:50:22]Found Content-Length = 870 [07:50:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242323", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:50:22]execute_script... [07:50: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)242323", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:50:22]POST & json_proto [07:50:22]process_json_proto [07:50:22]json parsed OK: [07:50:22]protocol is kg_v1.0 [07:50:22]action value=close_receipt [07:50:22]process_action close_receipt [07:50:22]cmd_close_receipt [07:50:22]MH_GetDate [07:50:22]Write to MH i2c: F0 00 00 5D 69 B5 [07:50:22]Write i2c OK [07:50:22]MH_I2C_Read... [07:50:22]Read from MH i2c: F0 [07:50:22]MH_I2C_Read... [07:50:22]Read from MH i2c: F0 09 00 [07:50:22]MH_I2C_Read... [07:50:22]Read from MH i2c: F0 09 00 5D 69 00 D2 5A F1 65 0A 64 6E 65 81 [07:50:22]GetLastDocTimeStamp 1710289626 [07:50:22]current date 1710316242 [07:50:22]FM_GetShiftState [07:50:22]SAM_PROTO_GetShiftState [07:50:22]wFMCommunicate request_size=4 [07:50:22]MH_SAM_APDU [07:50:22]CAPDU: 80 13 01 00 [07:50:22]Write to MH i2c: E2 08 00 5E 69 80 13 01 00 00 00 00 00 44 [07:50:22]Write i2c OK [07:50:22]MH_I2C_Read... [07:50:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:50:22]Read from MH i2c: E2 [07:50:22]MH_I2C_Read... [07:50:22]Read from MH i2c: E2 0E 00 [07:50:22]MH_I2C_Read... [07:50:22]Read from MH i2c: E2 0E 00 5E 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 38 [07:50:22]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:50:22]wFMCommunicate OK [07:50:22]SAM_PROTO_GetShiftState done [07:50:22]FM_GetShiftState done [07:50:22]opened in 1710288804 [07:50:22]opened+sec_in_day 1710375204 [07:50:22]quantity*price = 10500 [07:50:22]sum+1 = 10501 [07:50:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 2 13.03.2024 07:50 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47414 ФПД: 37601989442764 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075042&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47414&fm=37601989442764&tin=02508201610067®Number=0000000000092018&sum=10500 0 [07:50:24]StoreToDocumentArchive [07:50:24]shift 315 fd 47414 [07:50:24]save to /storage/0315/doc_00047414 [07:50:24]save last doc name /storage/0315/doc_00047414 to /storage/kkm_last_doc_name [07:50:24]save OK [07:50:24]Clear old archive folders... [07:50:24]ProcessDocumentItem done err = 0, tmpTLVsize=288 [07:50:24]tlvbuf is 003CA920 [07:50:24]SAM_PROTO_ClearQueue [07:50:24]wFMCommunicate request_size=4 [07:50:24]MH_SAM_APDU [07:50:24]CAPDU: 80 09 00 00 [07:50:24]Write to MH i2c: E2 08 00 6B 69 80 09 00 00 00 00 00 00 46 [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:50:24]Read from MH i2c: E2 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 6B 69 00 90 00 48 [07:50:24]RAPDU: 90 00 [07:50:24]wFMCommunicate OK [07:50:24]SAM_PROTO_ClearQueue done [07:50:24]KKMCreateOFDPacket [07:50:24]OFDProtocolAddRootSTLVToBuf [07:50:24]FM_MakeSignedData [07:50:24]FM_MakeSignedData [07:50:24]SAM_PROTO_SignData [07:50:24]wFMCommunicate request_size=4 [07:50:24]MH_SAM_APDU [07:50:24]CAPDU: 80 0D 01 02 [07:50:24]Write to MH i2c: E2 08 00 6C 69 80 0D 01 02 00 00 00 00 4E [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:50:24]Read from MH i2c: E2 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 6C 69 00 90 00 49 [07:50:24]RAPDU: 90 00 [07:50:24]wFMCommunicate OK [07:50:24]wFMCommunicate request_size=255 [07:50:24]MH_SAM_APDU [07:50:24]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D2 5A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [07:50:24]Write to MH i2c: E2 02 01 6D 69 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D2 5A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 D2 [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:50:24]Read from MH i2c: E2 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 6D 69 00 90 00 4A [07:50:24]RAPDU: 90 00 [07:50:24]wFMCommunicate OK [07:50:24]wFMCommunicate request_size=47 [07:50:24]MH_SAM_APDU [07:50:24]CAPDU: 80 0D 02 02 2A 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 36 B9 00 00 35 04 06 00 22 32 E5 39 3C CC [07:50:24]Write to MH i2c: E2 32 00 6E 69 80 0D 02 02 2A 00 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 36 B9 00 00 35 04 06 00 22 32 E5 39 3C CC 00 00 74 [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:50:24]Read from MH i2c: E2 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 03 00 6E 69 00 90 00 4B [07:50:24]RAPDU: 90 00 [07:50:24]wFMCommunicate OK [07:50:24]wFMCommunicate request_size=4 [07:50:24]MH_SAM_APDU [07:50:24]CAPDU: 80 0D 03 02 [07:50:24]Write to MH i2c: E2 08 00 6F 69 80 0D 03 02 00 00 00 00 53 [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:50:24]Read from MH i2c: E2 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 0B 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 0B 00 6F 69 00 4B DF 27 95 B8 CC A6 51 90 00 B5 [07:50:24]RAPDU: 4B DF 27 95 B8 CC A6 51 90 00 [07:50:24]wFMCommunicate OK [07:50:24]SAM_PROTO_SignData done [07:50:24]FM_MakeSignedData done [07:50:24]CreateOFDProtocolMessage [07:50:24]wFMCommunicate request_size=4 [07:50:24]MH_SAM_APDU [07:50:24]CAPDU: 80 11 00 00 [07:50:24]Write to MH i2c: E2 08 00 70 69 80 11 00 00 00 00 00 00 53 [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:50:24]Read from MH i2c: E2 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 17 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: E2 17 00 70 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A5 [07:50:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:50:24]wFMCommunicate OK [07:50:24]CreateOFDProtocolMessage done [07:50:24]OFDSenderStorePacket 47414 [07:50:24]StoreOFDPacket docnum=47414 [07:50:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 34 01 00 00 2F A2 2C 01 70 87 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D2 5A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 36 B9 00 00 35 04 06 00 22 32 E5 39 3C CC 4B DF 27 95 B8 CC A6 51 [07:50:24]CheckFolder [07:50:24]dirname=/storage/ofd_packets [07:50:24]CheckFolder done [07:50:24]ProducePacketName [07:50:24]name=ofd_packets/00047414 [07:50:24]NVStorageSaveData ofd_packets/00047414 [07:50:24]File name is /storage/ofd_packets/00047414 [07:50:24]Write 338 bytes [07:50:24]NVStorageSaveData done [07:50:24]OFDSenderStorePacket done [07:50:24]KKMCreateOFDPacket done [07:50:24]NVStorageSaveData kkm_last_timestamp [07:50:24]File name is /storage/kkm_last_timestamp [07:50:24]Write 4 bytes [07:50:24]NVStorageSaveData done [07:50:24]ExternCall_PrintAddStr [07:50:24]wPrintStart [07:50:24]Write to MH i2c: 01 00 00 71 69 DA [07:50:24]OFD Sender: Processing packet 47414 [packets to send 8, broken 7] [07:50:24]ProducePacketName [07:50:24]name=ofd_packets/00047414 [07:50:24]OFD Sender: To server: pG, [07:50:24]CommunicateWithHost lk.salyk.kg:30040 [07:50:24]ConnectInit lk.salyk.kg [07:50:24]Write i2c OK [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: 01 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: 01 07 00 [07:50:24]MH_I2C_Read... [07:50:24]Read from MH i2c: 01 07 00 71 69 00 00 00 00 00 FF 0F EF [07:50:24]RasterBufferAndPrint [07:50:24]line Счет N : (3)242323 [07:50:24]line ИНН: 02508201610067 [07:50:24]line Контрольно-Кассовый Чек [07:50:24]line ПРОДАЖА [07:50:24]line Товар: 4700452010610 [07:50:24]line Кофе капучино 200мл (АКЦИЯ) [07:50:24]line 1.000 * 105.00 [07:50:24]line = 105.00 [07:50:24]line НДС 12% НСП 1% [07:50:24]line > о реализуемом товаре [07:50:24]line ИТОГО: 105.00 [07:50:24]line НСП 1% : 0.93 [07:50:24]line НДС 12% : 11.15 [07:50:24]line Наличными: 0.00 [07:50:24]line Безнал.: 105.00 [07:50:24]line Место: АЗС № 15 "Партнер Нефть" [07:50:24]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [07:50:24]line СНО: Общий режим [07:50:24]line Чек 2 13.03.2024 07:50 [07:50:24]line Смена: 315 ФФД: 1.0 [07:50:24]line ЗНМ: 0300000097 [07:50:24]line РНМ: 0000000000092018 [07:50:24]line Версия ККМ: 001 [07:50:24]line Платежная система: Демир КИ Банк [07:50:24]line ФМ: 0000000000871816 [07:50:24]line ФД: 47414 [07:50:24]line ФПД: 37601989442764 [07:50:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075042&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47414&fm=37601989442764&tin=02508201610067®Number=0000000000092018&sum=10500 [07:50:24]line 0 [07:50:24]Connected sock=9 [07:50:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 34 01 00 00 2F A2 2C 01 70 87 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D2 5A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 36 B9 00 00 35 04 06 00 22 32 E5 39 3C CC 4B DF 27 95 B8 CC A6 51 [07:50:24]written 0, free lines is 4095 [07:50:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 68 11 47 00 49 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 36 B9 00 00 F4 03 04 00 62 05 F1 65 B6 04 01 00 00 B2 1F DC 44 52 5B 39 63 [07:50:25]CommunicateWithHost err = 0 [07:50:25]CheckOFDResponse [07:50:25]1017 (14) - 77093643461234 [07:50:25]1041 (16) - 0000000000871816 [07:50:25]1040 (4) - 47414 [07:50:25]1012 (4) - 13.03.2024 01:46 [07:50:25]1206 (1) - 0 [07:50:25]OFD Sender: Remove packet 47414 [07:50:25]ProducePacketName [07:50:25]name=ofd_packets/00047414 [07:50:25]NVStorageDeleteData [07:50:25]Write to MH i2c: 01 00 00 9C 69 05 [07:50:25]Write i2c OK [07:50:25]MH_I2C_Read... [07:50:25]Read from MH i2c: 01 [07:50:25]MH_I2C_Read... [07:50:25]Read from MH i2c: 01 07 00 [07:50:25]MH_I2C_Read... [07:50:25]Read from MH i2c: 01 07 00 9C 69 00 00 00 00 00 C8 0C E0 [07:50:25]RasterBufferAndPrint [07:50:25]line [07:50:25]line [07:50:25]line [07:50:25]line [07:50:25]line [07:50:25]written 0, free lines is 3278 [07:50:25]MH_Cut [07:50:25]Write to MH i2c: D1 01 00 A3 69 01 DE [07:50:25]Write i2c OK [07:50:25]MH_I2C_Read... [07:50:25]Read from MH i2c: D1 [07:50:25]MH_I2C_Read... [07:50:25]Read from MH i2c: D1 01 00 [07:50:25]MH_I2C_Read... [07:50:25]Read from MH i2c: D1 01 00 A3 69 00 DD [07:50:25]Write to MH i2c: 01 00 00 A4 69 0D [07:50:25]Write i2c OK [07:50:25]MH_I2C_Read... [07:50:25]OFD Sender: No OFD packet to send [07:50:26]*** Cut start [07:50:26]*** Purtial cut [07:50:26]*** Stage 1: CUTSNS_PIN = 1 [07:50:26]Read from MH i2c: 01 [07:50:26]MH_I2C_Read... [07:50:26]*** Stop cut motor [07:50:26]*** Cut end [07:50:26]Read from MH i2c: 01 07 00 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: 01 07 00 A4 69 00 00 00 00 00 FF 0F 22 [07:50:26]process_action close_receipt done [07:50:26]requested_data is exist [07:50:26]produce_requested_data [07:50:26]requested_item fm.sn is exist - process it [07:50:26]wFMCommunicate request_size=4 [07:50:26]MH_SAM_APDU [07:50:26]CAPDU: 80 11 00 00 [07:50:26]Write to MH i2c: E2 08 00 A5 69 80 11 00 00 00 00 00 00 88 [07:50:26]Write i2c OK [07:50:26]MH_I2C_Read... [07:50:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:50:26]Read from MH i2c: E2 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: E2 17 00 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: E2 17 00 A5 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DA [07:50:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:50:26]wFMCommunicate OK [07:50:26]requested_item fd.num is exist - process it [07:50:26]SAM_PROTO_GetFieldsCounters [07:50:26]wFMCommunicate request_size=4 [07:50:26]MH_SAM_APDU [07:50:26]CAPDU: 80 13 00 00 [07:50:26]Write to MH i2c: E2 08 00 A6 69 80 13 00 00 00 00 00 00 8B [07:50:26]Write i2c OK [07:50:26]MH_I2C_Read... [07:50:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:50:26]Read from MH i2c: E2 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: E2 62 00 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: E2 62 00 A6 69 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 36 B9 00 00 0E 04 04 00 3B 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 D7 [07:50:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 36 B9 00 00 0E 04 04 00 3B 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 [07:50:26]wFMCommunicate OK [07:50:26]SAM_PROTO_GetFieldsCounters done [07:50:26]requested_item shift.num is exist - process it [07:50:26]requested_item shift.opened is exist - process it [07:50:26]req_shift_opened [07:50:26]FM_GetShiftState [07:50:26]SAM_PROTO_GetShiftState [07:50:26]wFMCommunicate request_size=4 [07:50:26]MH_SAM_APDU [07:50:26]CAPDU: 80 13 01 00 [07:50:26]Write to MH i2c: E2 08 00 A7 69 80 13 01 00 00 00 00 00 8D [07:50:26]Write i2c OK [07:50:26]MH_I2C_Read... [07:50:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:50:26]Read from MH i2c: E2 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: E2 0E 00 [07:50:26]MH_I2C_Read... [07:50:26]Read from MH i2c: E2 0E 00 A7 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 81 [07:50:26]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:50:26]wFMCommunicate OK [07:50:26]SAM_PROTO_GetShiftState done [07:50:26]FM_GetShiftState done [07:50:26]req_shift_opened done [07:50:26]requested_item shift.open_date is exist - process it [07:50:26]req_shift_open_date [07:50:26]req_shift_open_date done [07:50:26]produce_requested_data done [07:50:26]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47414,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [07:50:26]process_action_free close_receipt [07:50:26]json_value_free [07:50:26]json_value_free done [07:50:26]process_json_proto returns [07:50:26]Send response to host [07:50:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47414,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [07:50:26]free response buf [07:50:26]execute_script done [07:50:26]execute_script returns [07:50:26]free content buf [07:50:26]Sock 10.Close socket [07:50:26]Sock 10.Thread stoped [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:16]accept exits with 7 [07:53:16]New connection [07:53:16]New thread 3066596708 created [07:53:16]Thread 3066453348 joined [07:53:16]Waiting for new connection... [07:53:16] Sock 7.Parse request [07:53:16]Sock 7.Check first char [07:53:16]Sock 7.First char is OK [07:53:16]request: POST /json_proto HTTP/1.0 [07:53:16]Method: POST [07:53:16]URL: /json_proto [07:53:16]Method is POST - this is cgi request [07:53:16]url: /json_proto [07:53:16]query_string will be loaded in cgi processing [07:53:16]execute_cgi json_proto POST (null) [07:53:16]execute_cgi path=json_proto method=POST [07:53:16]POST find Content-Length [07:53:16]Host: 172.17.32.68:8080 [07:53:16]Content-Length: 620 [07:53:16]Content-Type: application/json [07:53:16] [07:53:16]POST finish read [07:53:16]Found Content-Length = 620 [07:53:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242324", "tax_sys" : 0, "items" : [ { "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" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:53:16]execute_script... [07:53:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242324", "tax_sys" : 0, "items" : [ { "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" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:53:16]POST & json_proto [07:53:16]process_json_proto [07:53:16]json parsed OK: [07:53:16]protocol is kg_v1.0 [07:53:16]action value=close_receipt [07:53:16]process_action close_receipt [07:53:16]cmd_close_receipt [07:53:16]MH_GetDate [07:53:16]Write to MH i2c: F0 00 00 A8 69 00 [07:53:16]Write i2c OK [07:53:16]MH_I2C_Read... [07:53:16]Read from MH i2c: F0 [07:53:16]MH_I2C_Read... [07:53:16]Read from MH i2c: F0 09 00 [07:53:16]MH_I2C_Read... [07:53:16]Read from MH i2c: F0 09 00 A8 69 00 80 5B F1 65 0A 64 6E 65 7B [07:53:16]GetLastDocTimeStamp 1710316242 [07:53:16]current date 1710316416 [07:53:16]FM_GetShiftState [07:53:16]SAM_PROTO_GetShiftState [07:53:16]wFMCommunicate request_size=4 [07:53:16]MH_SAM_APDU [07:53:16]CAPDU: 80 13 01 00 [07:53:16]Write to MH i2c: E2 08 00 A9 69 80 13 01 00 00 00 00 00 8F [07:53:16]Write i2c OK [07:53:16]MH_I2C_Read... [07:53:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:16]Read from MH i2c: E2 [07:53:16]MH_I2C_Read... [07:53:16]Read from MH i2c: E2 0E 00 [07:53:16]MH_I2C_Read... [07:53:16]Read from MH i2c: E2 0E 00 A9 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 83 [07:53:16]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:53:16]wFMCommunicate OK [07:53:16]SAM_PROTO_GetShiftState done [07:53:16]FM_GetShiftState done [07:53:16]opened in 1710288804 [07:53:16]opened+sec_in_day 1710375204 [07:53:16]quantity*price = 13800 [07:53:16]sum+1 = 13801 [07:53:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 3 13.03.2024 07:53 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47415 ФПД: 151183058348469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075336&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47415&fm=151183058348469&tin=02508201610067®Number=0000000000092018&sum=13800 0 [07:53:17]StoreToDocumentArchive [07:53:17]shift 315 fd 47415 [07:53:17]save to /storage/0315/doc_00047415 [07:53:17]save last doc name /storage/0315/doc_00047415 to /storage/kkm_last_doc_name [07:53:17]save OK [07:53:17]Clear old archive folders... [07:53:17]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:53:17]tlvbuf is B6EFE7A0 [07:53:17]SAM_PROTO_ClearQueue [07:53:17]wFMCommunicate request_size=4 [07:53:17]MH_SAM_APDU [07:53:17]CAPDU: 80 09 00 00 [07:53:17]Write to MH i2c: E2 08 00 B6 69 80 09 00 00 00 00 00 00 91 [07:53:17]Write i2c OK [07:53:17]MH_I2C_Read... [07:53:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:53:17]Read from MH i2c: E2 [07:53:17]MH_I2C_Read... [07:53:17]Read from MH i2c: E2 03 00 [07:53:17]MH_I2C_Read... [07:53:17]Read from MH i2c: E2 03 00 B6 69 00 90 00 93 [07:53:17]RAPDU: 90 00 [07:53:17]wFMCommunicate OK [07:53:17]SAM_PROTO_ClearQueue done [07:53:17]KKMCreateOFDPacket [07:53:17]OFDProtocolAddRootSTLVToBuf [07:53:17]FM_MakeSignedData [07:53:17]FM_MakeSignedData [07:53:17]SAM_PROTO_SignData [07:53:17]wFMCommunicate request_size=4 [07:53:17]MH_SAM_APDU [07:53:17]CAPDU: 80 0D 01 02 [07:53:17]Write to MH i2c: E2 08 00 B7 69 80 0D 01 02 00 00 00 00 99 [07:53:17]Write i2c OK [07:53:17]MH_I2C_Read... [07:53:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:53:17]Read from MH i2c: E2 [07:53:17]MH_I2C_Read... [07:53:17]Read from MH i2c: E2 03 00 [07:53:17]MH_I2C_Read... [07:53:17]Read from MH i2c: E2 03 00 B7 69 00 90 00 94 [07:53:17]RAPDU: 90 00 [07:53:17]wFMCommunicate OK [07:53:17]wFMCommunicate request_size=255 [07:53:17]MH_SAM_APDU [07:53:17]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 03 00 00 00 F4 03 04 00 80 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 [07:53:17]Write to MH i2c: E2 02 01 B8 69 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 03 00 00 00 F4 03 04 00 80 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 2C [07:53:17]Write i2c OK [07:53:17]MH_I2C_Read... [07:53:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:18]Read from MH i2c: E2 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 03 00 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 03 00 B8 69 00 90 00 95 [07:53:18]RAPDU: 90 00 [07:53:18]wFMCommunicate OK [07:53:18]wFMCommunicate request_size=31 [07:53:18]MH_SAM_APDU [07:53:18]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 31 36 10 04 04 00 37 B9 00 00 35 04 06 00 89 80 0C 7D 29 B5 [07:53:18]Write to MH i2c: E2 22 00 B9 69 80 0D 02 02 1A 00 30 30 38 37 31 38 31 36 10 04 04 00 37 B9 00 00 35 04 06 00 89 80 0C 7D 29 B5 00 00 26 [07:53:18]Write i2c OK [07:53:18]MH_I2C_Read... [07:53:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:18]Read from MH i2c: E2 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 03 00 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 03 00 B9 69 00 90 00 96 [07:53:18]RAPDU: 90 00 [07:53:18]wFMCommunicate OK [07:53:18]wFMCommunicate request_size=4 [07:53:18]MH_SAM_APDU [07:53:18]CAPDU: 80 0D 03 02 [07:53:18]Write to MH i2c: E2 08 00 BA 69 80 0D 03 02 00 00 00 00 9E [07:53:18]Write i2c OK [07:53:18]MH_I2C_Read... [07:53:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:53:18]Read from MH i2c: E2 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 0B 00 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 0B 00 BA 69 00 0C 38 56 23 D2 A3 73 00 90 00 44 [07:53:18]RAPDU: 0C 38 56 23 D2 A3 73 00 90 00 [07:53:18]wFMCommunicate OK [07:53:18]SAM_PROTO_SignData done [07:53:18]FM_MakeSignedData done [07:53:18]CreateOFDProtocolMessage [07:53:18]wFMCommunicate request_size=4 [07:53:18]MH_SAM_APDU [07:53:18]CAPDU: 80 11 00 00 [07:53:18]Write to MH i2c: E2 08 00 BB 69 80 11 00 00 00 00 00 00 9E [07:53:18]Write i2c OK [07:53:18]MH_I2C_Read... [07:53:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:18]Read from MH i2c: E2 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 17 00 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: E2 17 00 BB 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F0 [07:53:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:53:18]wFMCommunicate OK [07:53:18]CreateOFDProtocolMessage done [07:53:18]OFDSenderStorePacket 47415 [07:53:18]StoreOFDPacket docnum=47415 [07:53:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 D8 A8 1C 01 65 64 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 03 00 00 00 F4 03 04 00 80 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 37 B9 00 00 35 04 06 00 89 80 0C 7D 29 B5 0C 38 56 23 D2 A3 73 00 [07:53:18]CheckFolder [07:53:18]dirname=/storage/ofd_packets [07:53:18]CheckFolder done [07:53:18]ProducePacketName [07:53:18]name=ofd_packets/00047415 [07:53:18]NVStorageSaveData ofd_packets/00047415 [07:53:18]File name is /storage/ofd_packets/00047415 [07:53:18]Write 322 bytes [07:53:18]NVStorageSaveData done [07:53:18]OFDSenderStorePacket done [07:53:18]KKMCreateOFDPacket done [07:53:18]NVStorageSaveData kkm_last_timestamp [07:53:18]File name is /storage/kkm_last_timestamp [07:53:18]Write 4 bytes [07:53:18]NVStorageSaveData done [07:53:18]ExternCall_PrintAddStr [07:53:18]wPrintStart [07:53:18]Write to MH i2c: 01 00 00 BC 69 25 [07:53:18]Write i2c OK [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: 01 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: 01 07 00 [07:53:18]MH_I2C_Read... [07:53:18]Read from MH i2c: 01 07 00 BC 69 00 00 00 00 00 FF 0F 3A [07:53:18]RasterBufferAndPrint [07:53:18]line Счет N : (3)242324 [07:53:18]line ИНН: 02508201610067 [07:53:18]line Контрольно-Кассовый Чек [07:53:18]line ПРОДАЖА [07:53:18]line Товар: 4640030091607 [07:53:18]line Сигареты ESSE Exchange [07:53:18]line 1.000 * 138.00 [07:53:18]line = 138.00 [07:53:18]line НДС 12% НСП 1% [07:53:18]line > о реализуемом товаре [07:53:18]line ИТОГО: 138.00 [07:53:18]line НСП 1% : 1.22 [07:53:18]line НДС 12% : 14.65 [07:53:18]line Наличными: 138.00 [07:53:18]line Безнал.: 0.00 [07:53:18]line Место: АЗС № 15 "Партнер Нефть" [07:53:18]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [07:53:18]line СНО: Общий режим [07:53:18]line Чек 3 13.03.2024 07:53 [07:53:18]line Смена: 315 ФФД: 1.0 [07:53:18]line ЗНМ: 0300000097 [07:53:18]line РНМ: 0000000000092018 [07:53:18]line Версия ККМ: 001 [07:53:18]line ФМ: 0000000000871816 [07:53:18]line ФД: 47415 [07:53:18]line ФПД: 151183058348469 [07:53:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075336&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47415&fm=151183058348469&tin=02508201610067®Number=0000000000092018&sum=13800 [07:53:18]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:53:18]ProducePacketName [07:53:18]name=ofd_packets/00047415 [07:53:18]OFD Sender: To server: pG, [07:53:18]CommunicateWithHost lk.salyk.kg:30040 [07:53:18]ConnectInit lk.salyk.kg [07:53:18]line 0 [07:53:18]written 0, free lines is 4095 [07:53:19]Write to MH i2c: 01 00 00 E4 69 4D [07:53:19]Write i2c OK [07:53:19]MH_I2C_Read... [07:53:19]Read from MH i2c: 01 [07:53:19]MH_I2C_Read... [07:53:19]Read from MH i2c: 01 07 00 [07:53:19]MH_I2C_Read... [07:53:19]Read from MH i2c: 01 07 00 E4 69 00 00 00 00 00 F2 0C 52 [07:53:19]RasterBufferAndPrint [07:53:19]line [07:53:19]line [07:53:19]line [07:53:19]line [07:53:19]line [07:53:19]written 0, free lines is 3319 [07:53:19]MH_Cut [07:53:19]Write to MH i2c: D1 01 00 EB 69 01 26 [07:53:19]Write i2c OK [07:53:19]MH_I2C_Read... [07:53:19]Read from MH i2c: D1 [07:53:19]MH_I2C_Read... [07:53:19]Read from MH i2c: D1 01 00 [07:53:19]MH_I2C_Read... [07:53:19]Read from MH i2c: D1 01 00 EB 69 00 25 [07:53:19]Write to MH i2c: 01 00 00 EC 69 55 [07:53:19]Write i2c OK [07:53:19]MH_I2C_Read... [07:53:19]*** Cut start [07:53:19]*** Purtial cut [07:53:19]*** Stage 1: CUTSNS_PIN = 1 [07:53:20]Read from MH i2c: 01 [07:53:20]MH_I2C_Read... [07:53:20]*** Stop cut motor [07:53:20]*** Cut end [07:53:20]Read from MH i2c: 01 07 00 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: 01 07 00 EC 69 00 00 00 00 00 FF 0F 6A [07:53:20]process_action close_receipt done [07:53:20]requested_data is exist [07:53:20]produce_requested_data [07:53:20]requested_item fm.sn is exist - process it [07:53:20]wFMCommunicate request_size=4 [07:53:20]MH_SAM_APDU [07:53:20]CAPDU: 80 11 00 00 [07:53:20]Write to MH i2c: E2 08 00 ED 69 80 11 00 00 00 00 00 00 D0 [07:53:20]Write i2c OK [07:53:20]MH_I2C_Read... [07:53:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:20]Read from MH i2c: E2 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: E2 17 00 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: E2 17 00 ED 69 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 22 [07:53:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:53:20]wFMCommunicate OK [07:53:20]requested_item fd.num is exist - process it [07:53:20]SAM_PROTO_GetFieldsCounters [07:53:20]wFMCommunicate request_size=4 [07:53:20]MH_SAM_APDU [07:53:20]CAPDU: 80 13 00 00 [07:53:20]Write to MH i2c: E2 08 00 EE 69 80 13 00 00 00 00 00 00 D3 [07:53:20]Write i2c OK [07:53:20]MH_I2C_Read... [07:53:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:53:20]Read from MH i2c: E2 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: E2 62 00 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: E2 62 00 EE 69 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 37 B9 00 00 0E 04 04 00 3B 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 23 [07:53:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 37 B9 00 00 0E 04 04 00 3B 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 [07:53:20]wFMCommunicate OK [07:53:20]SAM_PROTO_GetFieldsCounters done [07:53:20]requested_item shift.num is exist - process it [07:53:20]requested_item shift.opened is exist - process it [07:53:20]req_shift_opened [07:53:20]FM_GetShiftState [07:53:20]SAM_PROTO_GetShiftState [07:53:20]wFMCommunicate request_size=4 [07:53:20]MH_SAM_APDU [07:53:20]CAPDU: 80 13 01 00 [07:53:20]Write to MH i2c: E2 08 00 EF 69 80 13 01 00 00 00 00 00 D5 [07:53:20]Write i2c OK [07:53:20]MH_I2C_Read... [07:53:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:20]Read from MH i2c: E2 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: E2 0E 00 [07:53:20]MH_I2C_Read... [07:53:20]Read from MH i2c: E2 0E 00 EF 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 C9 [07:53:20]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:53:20]wFMCommunicate OK [07:53:20]SAM_PROTO_GetShiftState done [07:53:20]FM_GetShiftState done [07:53:20]req_shift_opened done [07:53:20]requested_item shift.open_date is exist - process it [07:53:20]req_shift_open_date [07:53:20]req_shift_open_date done [07:53:20]produce_requested_data done [07:53:20]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47415,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [07:53:20]process_action_free close_receipt [07:53:20]json_value_free [07:53:20]json_value_free done [07:53:20]process_json_proto returns [07:53:20]Send response to host [07:53:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47415,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [07:53:20]free response buf [07:53:20]execute_script done [07:53:20]execute_script returns [07:53:20]free content buf [07:53:20]Sock 7.Close socket [07:53:20]Sock 7.Thread stoped [07:53:23]ConnectInit Can't take IP for lk.salyk.kg [07:53:23]CommunicateWithHost connect error [07:53:23]CommunicateWithHost err = -1 [07:53:23]OFD Sender: Server communicate error [07:53:28]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:53:28]ProducePacketName [07:53:28]name=ofd_packets/00047415 [07:53:28]OFD Sender: To server: pG, [07:53:28]CommunicateWithHost lk.salyk.kg:30040 [07:53:28]ConnectInit lk.salyk.kg [07:53:33]ConnectInit Can't take IP for lk.salyk.kg [07:53:33]CommunicateWithHost connect error [07:53:33]CommunicateWithHost err = -1 [07:53:33]OFD Sender: Server communicate error [07:53:38]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:53:38]ProducePacketName [07:53:38]name=ofd_packets/00047415 [07:53:38]OFD Sender: To server: pG, [07:53:38]CommunicateWithHost lk.salyk.kg:30040 [07:53:38]ConnectInit lk.salyk.kg [07:53:43]ConnectInit Can't take IP for lk.salyk.kg [07:53:43]CommunicateWithHost connect error [07:53:43]CommunicateWithHost err = -1 [07:53:43]OFD Sender: Server communicate error [07:53:48]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:53:48]ProducePacketName [07:53:48]name=ofd_packets/00047415 [07:53:48]OFD Sender: To server: pG, [07:53:48]CommunicateWithHost lk.salyk.kg:30040 [07:53:48]ConnectInit lk.salyk.kg [07:53:49]Connected sock=7 [07:53:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 D8 A8 1C 01 65 64 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 03 00 00 00 F4 03 04 00 80 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 37 B9 00 00 35 04 06 00 89 80 0C 7D 29 B5 0C 38 56 23 D2 A3 73 00 [07:53:54]recv_with_timeout no data received [07:53:54]CommunicateWithHost answer receiving error [07:53:54]CommunicateWithHost err = -3 [07:53:54]OFD Sender: Server communicate error [07:53:59]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:53:59]ProducePacketName [07:53:59]name=ofd_packets/00047415 [07:53:59]OFD Sender: To server: pG, [07:53:59]CommunicateWithHost lk.salyk.kg:30040 [07:53:59]ConnectInit lk.salyk.kg [07:54:00]recv_with_timeout no data received [07:54:04]ConnectInit Can't take IP for lk.salyk.kg [07:54:04]CommunicateWithHost connect error [07:54:04]CommunicateWithHost err = -1 [07:54:04]OFD Sender: Server communicate error [07:54:09]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:54:09]ProducePacketName [07:54:09]name=ofd_packets/00047415 [07:54:09]OFD Sender: To server: pG, [07:54:09]CommunicateWithHost lk.salyk.kg:30040 [07:54:09]ConnectInit lk.salyk.kg [07:54:14]ConnectInit Can't take IP for lk.salyk.kg [07:54:14]CommunicateWithHost connect error [07:54:14]CommunicateWithHost err = -1 [07:54:14]OFD Sender: Server communicate error [07:54:19]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:54:19]ProducePacketName [07:54:19]name=ofd_packets/00047415 [07:54:19]OFD Sender: To server: pG, [07:54:19]CommunicateWithHost lk.salyk.kg:30040 [07:54:19]ConnectInit lk.salyk.kg [07:54:24]ConnectInit Can't take IP for lk.salyk.kg [07:54:24]CommunicateWithHost connect error [07:54:24]CommunicateWithHost err = -1 [07:54:24]OFD Sender: Server communicate error [07:54:29]OFD Sender: Processing packet 47415 [packets to send 8, broken 7] [07:54:29]ProducePacketName [07:54:29]name=ofd_packets/00047415 [07:54:29]OFD Sender: To server: pG, [07:54:29]CommunicateWithHost lk.salyk.kg:30040 [07:54:29]ConnectInit lk.salyk.kg [07:54:29]Connected sock=7 [07:54:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 D8 A8 1C 01 65 64 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 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 03 00 00 00 F4 03 04 00 80 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 37 B9 00 00 35 04 06 00 89 80 0C 7D 29 B5 0C 38 56 23 D2 A3 73 00 [07:54:29]accept exits with 10 [07:54:29]New connection [07:54:29]New thread 3066453348 created [07:54:29]Thread 3066596708 joined [07:54:29]Waiting for new connection... [07:54:29] Sock 10.Parse request [07:54:29]Sock 10.Check first char [07:54:29]Sock 10.First char is OK [07:54:29]request: POST /json_proto HTTP/1.0 [07:54:29]Method: POST [07:54:29]URL: /json_proto [07:54:29]Method is POST - this is cgi request [07:54:29]url: /json_proto [07:54:29]query_string will be loaded in cgi processing [07:54:29]execute_cgi json_proto POST (null) [07:54:29]execute_cgi path=json_proto method=POST [07:54:29]POST find Content-Length [07:54:29]Host: 172.17.32.68:8080 [07:54:29]Content-Length: 795 [07:54:29]Content-Type: application/json [07:54:29] [07:54:29]POST finish read [07:54:29]Found Content-Length = 795 [07:54:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242325", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:54:29]execute_script... [07:54: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)242325", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:54:29]POST & json_proto [07:54:29]process_json_proto [07:54:29]json parsed OK: [07:54:29]protocol is kg_v1.0 [07:54:29]action value=close_receipt [07:54:29]process_action close_receipt [07:54:29]cmd_close_receipt [07:54:29]MH_GetDate [07:54:29]Write to MH i2c: F0 00 00 F0 69 48 [07:54:29]Write i2c OK [07:54:29]MH_I2C_Read... [07:54:29]Read from MH i2c: F0 [07:54:29]MH_I2C_Read... [07:54:29]Read from MH i2c: F0 09 00 [07:54:29]MH_I2C_Read... [07:54:29]Read from MH i2c: F0 09 00 F0 69 00 C9 5B F1 65 0A 64 6E 65 0C [07:54:29]GetLastDocTimeStamp 1710316416 [07:54:29]current date 1710316489 [07:54:29]FM_GetShiftState [07:54:29]SAM_PROTO_GetShiftState [07:54:29]wFMCommunicate request_size=4 [07:54:29]MH_SAM_APDU [07:54:29]CAPDU: 80 13 01 00 [07:54:29]Write to MH i2c: E2 08 00 F1 69 80 13 01 00 00 00 00 00 D7 [07:54:29]Write i2c OK [07:54:29]MH_I2C_Read... [07:54:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:29]Read from MH i2c: E2 [07:54:29]MH_I2C_Read... [07:54:29]Read from MH i2c: E2 0E 00 [07:54:29]MH_I2C_Read... [07:54:29]Read from MH i2c: E2 0E 00 F1 69 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 CB [07:54:29]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:54:29]wFMCommunicate OK [07:54:29]SAM_PROTO_GetShiftState done [07:54:29]FM_GetShiftState done [07:54:29]opened in 1710288804 [07:54:29]opened+sec_in_day 1710375204 [07:54:29]quantity*price = 4000 [07:54:29]sum+1 = 4001 [07:54:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 4 13.03.2024 07:54 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47416 ФПД: 186166285467486 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075449&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47416&fm=186166285467486&tin=02508201610067®Number=0000000000092018&sum=4000 0 [07:54:31]StoreToDocumentArchive [07:54:31]shift 315 fd 47416 [07:54:31]save to /storage/0315/doc_00047416 [07:54:31]save last doc name /storage/0315/doc_00047416 to /storage/kkm_last_doc_name [07:54:31]save OK [07:54:31]Clear old archive folders... [07:54:31]ProcessDocumentItem done err = 0, tmpTLVsize=260 [07:54:31]tlvbuf is 002A6EB0 [07:54:31]SAM_PROTO_ClearQueue [07:54:31]wFMCommunicate request_size=4 [07:54:31]MH_SAM_APDU [07:54:31]CAPDU: 80 09 00 00 [07:54:31]Write to MH i2c: E2 08 00 FE 69 80 09 00 00 00 00 00 00 D9 [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:54:31]Read from MH i2c: E2 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 FE 69 00 90 00 DB [07:54:31]RAPDU: 90 00 [07:54:31]wFMCommunicate OK [07:54:31]SAM_PROTO_ClearQueue done [07:54:31]KKMCreateOFDPacket [07:54:31]OFDProtocolAddRootSTLVToBuf [07:54:31]FM_MakeSignedData [07:54:31]FM_MakeSignedData [07:54:31]SAM_PROTO_SignData [07:54:31]wFMCommunicate request_size=4 [07:54:31]MH_SAM_APDU [07:54:31]CAPDU: 80 0D 01 02 [07:54:31]Write to MH i2c: E2 08 00 FF 69 80 0D 01 02 00 00 00 00 E1 [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:54:31]Read from MH i2c: E2 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 FF 69 00 90 00 DC [07:54:31]RAPDU: 90 00 [07:54:31]wFMCommunicate OK [07:54:31]wFMCommunicate request_size=255 [07:54:31]MH_SAM_APDU [07:54:31]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 C9 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 [07:54:31]Write to MH i2c: E2 02 01 00 6A 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 C9 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 00 00 F1 [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:31]Read from MH i2c: E2 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 00 6A 00 90 00 DE [07:54:31]RAPDU: 90 00 [07:54:31]wFMCommunicate OK [07:54:31]wFMCommunicate request_size=19 [07:54:31]MH_SAM_APDU [07:54:31]CAPDU: 80 0D 02 02 0E 38 B9 00 00 35 04 06 00 A9 51 37 50 7F 5E [07:54:31]Write to MH i2c: E2 16 00 01 6A 80 0D 02 02 0E 00 38 B9 00 00 35 04 06 00 A9 51 37 50 7F 5E 00 00 8F [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:31]Read from MH i2c: E2 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 03 00 01 6A 00 90 00 DF [07:54:31]RAPDU: 90 00 [07:54:31]wFMCommunicate OK [07:54:31]wFMCommunicate request_size=4 [07:54:31]MH_SAM_APDU [07:54:31]CAPDU: 80 0D 03 02 [07:54:31]Write to MH i2c: E2 08 00 02 6A 80 0D 03 02 00 00 00 00 E7 [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:54:31]Read from MH i2c: E2 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 0B 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 0B 00 02 6A 00 72 A7 10 FD 1F 6B C4 95 90 00 F1 [07:54:31]RAPDU: 72 A7 10 FD 1F 6B C4 95 90 00 [07:54:31]wFMCommunicate OK [07:54:31]SAM_PROTO_SignData done [07:54:31]FM_MakeSignedData done [07:54:31]CreateOFDProtocolMessage [07:54:31]wFMCommunicate request_size=4 [07:54:31]MH_SAM_APDU [07:54:31]CAPDU: 80 11 00 00 [07:54:31]Write to MH i2c: E2 08 00 03 6A 80 11 00 00 00 00 00 00 E7 [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:31]Read from MH i2c: E2 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 17 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: E2 17 00 03 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 39 [07:54:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:54:31]wFMCommunicate OK [07:54:31]CreateOFDProtocolMessage done [07:54:31]OFDSenderStorePacket 47416 [07:54:31]StoreOFDPacket docnum=47416 [07:54:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 18 01 00 00 35 FD 10 01 50 8E 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 C9 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 38 B9 00 00 35 04 06 00 A9 51 37 50 7F 5E 72 A7 10 FD 1F 6B C4 95 [07:54:31]CheckFolder [07:54:31]dirname=/storage/ofd_packets [07:54:31]CheckFolder done [07:54:31]ProducePacketName [07:54:31]name=ofd_packets/00047416 [07:54:31]NVStorageSaveData ofd_packets/00047416 [07:54:31]File name is /storage/ofd_packets/00047416 [07:54:31]Write 310 bytes [07:54:31]NVStorageSaveData done [07:54:31]OFDSenderStorePacket done [07:54:31]KKMCreateOFDPacket done [07:54:31]NVStorageSaveData kkm_last_timestamp [07:54:31]File name is /storage/kkm_last_timestamp [07:54:31]Write 4 bytes [07:54:31]NVStorageSaveData done [07:54:31]ExternCall_PrintAddStr [07:54:31]wPrintStart [07:54:31]Write to MH i2c: 01 00 00 04 6A 6E [07:54:31]Write i2c OK [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: 01 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: 01 07 00 [07:54:31]MH_I2C_Read... [07:54:31]Read from MH i2c: 01 07 00 04 6A 00 00 00 00 00 FF 0F 83 [07:54:31]RasterBufferAndPrint [07:54:31]line Счет N : (3)242325 [07:54:31]line ИНН: 02508201610067 [07:54:31]line Контрольно-Кассовый Чек [07:54:31]line ПРОДАЖА [07:54:31]line Товар: 42113270 [07:54:31]line Жев Orbit арбуз [07:54:31]line 1.000 * 40.00 [07:54:31]line = 40.00 [07:54:31]line НДС 12% НСП 1% [07:54:31]line > о реализуемом товаре [07:54:31]line ИТОГО: 40.00 [07:54:31]line НСП 1% : 0.35 [07:54:31]line НДС 12% : 4.25 [07:54:31]line Наличными: 0.00 [07:54:31]line Безнал.: 40.00 [07:54:31]line Место: АЗС № 15 "Партнер Нефть" [07:54:31]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [07:54:31]line СНО: Общий режим [07:54:31]line Чек 4 13.03.2024 07:54 [07:54:31]line Смена: 315 ФФД: 1.0 [07:54:31]line ЗНМ: 0300000097 [07:54:31]line РНМ: 0000000000092018 [07:54:31]line Версия ККМ: 001 [07:54:31]line Платежная система: Демир КИ Банк [07:54:31]line ФМ: 0000000000871816 [07:54:31]line ФД: 47416 [07:54:31]line ФПД: 186166285467486 [07:54:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075449&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47416&fm=186166285467486&tin=02508201610067®Number=0000000000092018&sum=4000 [07:54:31]line 0 [07:54:31]written 0, free lines is 4095 [07:54:31]OFD Sender: Processing packet 47416 [packets to send 8, broken 7] [07:54:31]ProducePacketName [07:54:31]name=ofd_packets/00047416 [07:54:31]OFD Sender: To server: pG, [07:54:31]CommunicateWithHost lk.salyk.kg:30040 [07:54:31]ConnectInit lk.salyk.kg [07:54:31]Connected sock=7 [07:54:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 18 01 00 00 35 FD 10 01 50 8E 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 C9 5B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 38 B9 00 00 35 04 06 00 A9 51 37 50 7F 5E 72 A7 10 FD 1F 6B C4 95 [07:54:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 41 EF 47 00 FD 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 38 B9 00 00 F4 03 04 00 58 06 F1 65 B6 04 01 00 00 98 E5 B6 26 7B 49 EF 2E [07:54:31]CommunicateWithHost err = 0 [07:54:31]CheckOFDResponse [07:54:31]1017 (14) - 77093643461234 [07:54:31]1041 (16) - 0000000000871816 [07:54:31]1040 (4) - 47416 [07:54:31]1012 (4) - 13.03.2024 01:50 [07:54:31]1206 (1) - 0 [07:54:31]OFD Sender: Remove packet 47416 [07:54:31]ProducePacketName [07:54:31]name=ofd_packets/00047416 [07:54:31]NVStorageDeleteData [07:54:32]Write to MH i2c: 01 00 00 2E 6A 98 [07:54:32]Write i2c OK [07:54:32]MH_I2C_Read... [07:54:32]Read from MH i2c: 01 [07:54:32]MH_I2C_Read... [07:54:32]Read from MH i2c: 01 07 00 [07:54:32]MH_I2C_Read... [07:54:32]Read from MH i2c: 01 07 00 2E 6A 00 00 00 00 00 E4 0C 8F [07:54:32]RasterBufferAndPrint [07:54:32]line [07:54:32]line [07:54:32]line [07:54:32]line [07:54:32]line [07:54:32]written 0, free lines is 3311 [07:54:32]MH_Cut [07:54:32]Write to MH i2c: D1 01 00 35 6A 01 71 [07:54:32]Write i2c OK [07:54:32]MH_I2C_Read... [07:54:32]Read from MH i2c: D1 [07:54:32]MH_I2C_Read... [07:54:32]Read from MH i2c: D1 01 00 [07:54:32]MH_I2C_Read... [07:54:32]Read from MH i2c: D1 01 00 35 6A 00 70 [07:54:32]Write to MH i2c: 01 00 00 36 6A A0 [07:54:32]Write i2c OK [07:54:32]MH_I2C_Read... [07:54:32]OFD Sender: No OFD packet to send [07:54:32]*** Cut start [07:54:32]*** Purtial cut [07:54:32]*** Stage 1: CUTSNS_PIN = 1 [07:54:33]Read from MH i2c: 01 [07:54:33]MH_I2C_Read... [07:54:33]*** Stop cut motor [07:54:33]*** Cut end [07:54:33]Read from MH i2c: 01 07 00 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: 01 07 00 36 6A 00 00 00 00 00 FF 0F B5 [07:54:33]process_action close_receipt done [07:54:33]requested_data is exist [07:54:33]produce_requested_data [07:54:33]requested_item fm.sn is exist - process it [07:54:33]wFMCommunicate request_size=4 [07:54:33]MH_SAM_APDU [07:54:33]CAPDU: 80 11 00 00 [07:54:33]Write to MH i2c: E2 08 00 37 6A 80 11 00 00 00 00 00 00 1B [07:54:33]Write i2c OK [07:54:33]MH_I2C_Read... [07:54:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:33]Read from MH i2c: E2 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: E2 17 00 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: E2 17 00 37 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 6D [07:54:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:54:33]wFMCommunicate OK [07:54:33]requested_item fd.num is exist - process it [07:54:33]SAM_PROTO_GetFieldsCounters [07:54:33]wFMCommunicate request_size=4 [07:54:33]MH_SAM_APDU [07:54:33]CAPDU: 80 13 00 00 [07:54:33]Write to MH i2c: E2 08 00 38 6A 80 13 00 00 00 00 00 00 1E [07:54:33]Write i2c OK [07:54:33]MH_I2C_Read... [07:54:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:54:33]Read from MH i2c: E2 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: E2 62 00 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: E2 62 00 38 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 38 B9 00 00 0E 04 04 00 3B 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 72 [07:54:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 38 B9 00 00 0E 04 04 00 3B 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 [07:54:33]wFMCommunicate OK [07:54:33]SAM_PROTO_GetFieldsCounters done [07:54:33]requested_item shift.num is exist - process it [07:54:33]requested_item shift.opened is exist - process it [07:54:33]req_shift_opened [07:54:33]FM_GetShiftState [07:54:33]SAM_PROTO_GetShiftState [07:54:33]wFMCommunicate request_size=4 [07:54:33]MH_SAM_APDU [07:54:33]CAPDU: 80 13 01 00 [07:54:33]Write to MH i2c: E2 08 00 39 6A 80 13 01 00 00 00 00 00 20 [07:54:33]Write i2c OK [07:54:33]MH_I2C_Read... [07:54:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:33]Read from MH i2c: E2 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: E2 0E 00 [07:54:33]MH_I2C_Read... [07:54:33]Read from MH i2c: E2 0E 00 39 6A 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 14 [07:54:33]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:54:33]wFMCommunicate OK [07:54:33]SAM_PROTO_GetShiftState done [07:54:33]FM_GetShiftState done [07:54:33]req_shift_opened done [07:54:33]requested_item shift.open_date is exist - process it [07:54:33]req_shift_open_date [07:54:33]req_shift_open_date done [07:54:33]produce_requested_data done [07:54:33]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47416,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [07:54:33]process_action_free close_receipt [07:54:33]json_value_free [07:54:33]json_value_free done [07:54:33]process_json_proto returns [07:54:33]Send response to host [07:54:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47416,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [07:54:33]free response buf [07:54:33]execute_script done [07:54:33]execute_script returns [07:54:33]free content buf [07:54:33]Sock 10.Close socket [07:54:33]Sock 10.Thread stoped [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:27]OFD Sender: No OFD packet to send [07:56:32]OFD Sender: No OFD packet to send [07:56:37]OFD Sender: No OFD packet to send [07:56:42]OFD Sender: No OFD packet to send [07:56:47]OFD Sender: No OFD packet to send [07:56:52]OFD Sender: No OFD packet to send [07:56:57]OFD Sender: No OFD packet to send [07:57:02]OFD Sender: No OFD packet to send [07:57:07]OFD Sender: No OFD packet to send [07:57:12]OFD Sender: No OFD packet to send [07:57:17]OFD Sender: No OFD packet to send [07:57:22]OFD Sender: No OFD packet to send [07:57:27]OFD Sender: No OFD packet to send [07:57:32]OFD Sender: No OFD packet to send [07:57:37]OFD Sender: No OFD packet to send [07:57:42]OFD Sender: No OFD packet to send [07:57:47]OFD Sender: No OFD packet to send [07:57:52]OFD Sender: No OFD packet to send [07:57:57]OFD Sender: No OFD packet to send [07:58:02]OFD Sender: No OFD packet to send [07:58:07]OFD Sender: No OFD packet to send [07:58:12]OFD Sender: No OFD packet to send [07:58:17]OFD Sender: No OFD packet to send [07:58:22]OFD Sender: No OFD packet to send [07:58:27]OFD Sender: No OFD packet to send [07:58:32]OFD Sender: No OFD packet to send [07:58:37]OFD Sender: No OFD packet to send [07:58:42]OFD Sender: No OFD packet to send [07:58:47]OFD Sender: No OFD packet to send [07:58:52]OFD Sender: No OFD packet to send [07:58:57]OFD Sender: No OFD packet to send [07:59:02]OFD Sender: No OFD packet to send [07:59:07]OFD Sender: No OFD packet to send [07:59:12]OFD Sender: No OFD packet to send [07:59:14]accept exits with 9 [07:59:14]New connection [07:59:14]New thread 3066596708 created [07:59:14]Thread 3066453348 joined [07:59:14]Waiting for new connection... [07:59:14] Sock 9.Parse request [07:59:14]Sock 9.Check first char [07:59:14]Sock 9.First char is OK [07:59:14]request: POST /json_proto HTTP/1.0 [07:59:14]Method: POST [07:59:14]URL: /json_proto [07:59:14]Method is POST - this is cgi request [07:59:14]url: /json_proto [07:59:14]query_string will be loaded in cgi processing [07:59:14]execute_cgi json_proto POST (null) [07:59:14]execute_cgi path=json_proto method=POST [07:59:14]POST find Content-Length [07:59:14]Host: 172.17.32.68:8080 [07:59:14]Content-Length: 927 [07:59:14]Content-Type: application/json [07:59:14] [07:59:14]POST finish read [07:59:14]Found Content-Length = 927 [07:59:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242326", "tax_sys" : 0, "items" : [ { "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": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 284.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:59:14]execute_script... [07:59:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242326", "tax_sys" : 0, "items" : [ { "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": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 284.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:59:14]POST & json_proto [07:59:14]process_json_proto [07:59:14]json parsed OK: [07:59:14]protocol is kg_v1.0 [07:59:14]action value=close_receipt [07:59:14]process_action close_receipt [07:59:14]cmd_close_receipt [07:59:14]MH_GetDate [07:59:14]Write to MH i2c: F0 00 00 3A 6A 93 [07:59:14]Write i2c OK [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: F0 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: F0 09 00 [07:59:14]MH_I2C_Read... [07:59:14]Read from MH i2c: F0 09 00 3A 6A 00 E6 5C F1 65 0A 64 6E 65 75 [07:59:14]GetLastDocTimeStamp 1710316489 [07:59:14]current date 1710316774 [07:59:14]FM_GetShiftState [07:59:14]SAM_PROTO_GetShiftState [07:59:14]wFMCommunicate request_size=4 [07:59:14]MH_SAM_APDU [07:59:14]CAPDU: 80 13 01 00 [07:59:14]Write to MH i2c: E2 08 00 3B 6A 80 13 01 00 00 00 00 00 22 [07:59:14]Write i2c OK [07:59:14]MH_I2C_Read... [07:59:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:59:15]Read from MH i2c: E2 [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: E2 0E 00 [07:59:15]MH_I2C_Read... [07:59:15]Read from MH i2c: E2 0E 00 3B 6A 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 16 [07:59:15]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:59:15]wFMCommunicate OK [07:59:15]SAM_PROTO_GetShiftState done [07:59:15]FM_GetShiftState done [07:59:15]opened in 1710288804 [07:59:15]opened+sec_in_day 1710375204 [07:59:15]quantity*price = 22500 [07:59:15]sum+1 = 22501 [07:59:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 284.00 НСП 1% : 2.51 НДС 12% : 30.15 Наличными: 284.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 5 13.03.2024 07:59 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47417 ФПД: 23983065678217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075934&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47417&fm=23983065678217&tin=02508201610067®Number=0000000000092018&sum=28400 0 [07:59:16]StoreToDocumentArchive [07:59:16]shift 315 fd 47417 [07:59:16]save to /storage/0315/doc_00047417 [07:59:16]save last doc name /storage/0315/doc_00047417 to /storage/kkm_last_doc_name [07:59:16]save OK [07:59:16]Clear old archive folders... [07:59:16]ProcessDocumentItem done err = 0, tmpTLVsize=407 [07:59:16]tlvbuf is 00397040 [07:59:16]SAM_PROTO_ClearQueue [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 09 00 00 [07:59:16]Write to MH i2c: E2 08 00 48 6A 80 09 00 00 00 00 00 00 24 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 48 6A 00 90 00 26 [07:59:16]RAPDU: 90 00 [07:59:16]wFMCommunicate OK [07:59:16]SAM_PROTO_ClearQueue done [07:59:16]KKMCreateOFDPacket [07:59:16]OFDProtocolAddRootSTLVToBuf [07:59:16]FM_MakeSignedData [07:59:16]FM_MakeSignedData [07:59:16]SAM_PROTO_SignData [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 0D 01 02 [07:59:16]Write to MH i2c: E2 08 00 49 6A 80 0D 01 02 00 00 00 00 2C [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 49 6A 00 90 00 27 [07:59:16]RAPDU: 90 00 [07:59:16]wFMCommunicate OK [07:59:16]wFMCommunicate request_size=255 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 0D 02 02 FA 03 00 97 01 1E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 [07:59:16]Write to MH i2c: E2 02 01 4A 6A 80 0D 02 02 FA 00 03 00 97 01 1E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 DC [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 4A 6A 00 90 00 28 [07:59:16]RAPDU: 90 00 [07:59:16]wFMCommunicate OK [07:59:16]wFMCommunicate request_size=166 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 0D 02 02 A1 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E6 5C F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 39 B9 00 00 35 04 06 00 15 CF FE 1C 41 89 [07:59:16]Write to MH i2c: E2 A9 00 4B 6A 80 0D 02 02 A1 00 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E6 5C F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 39 B9 00 00 35 04 06 00 15 CF FE 1C 41 89 00 00 C4 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 03 00 4B 6A 00 90 00 29 [07:59:16]RAPDU: 90 00 [07:59:16]wFMCommunicate OK [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 0D 03 02 [07:59:16]Write to MH i2c: E2 08 00 4C 6A 80 0D 03 02 00 00 00 00 31 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 0B 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 0B 00 4C 6A 00 6C 70 31 14 B5 FC 27 0A 90 00 35 [07:59:16]RAPDU: 6C 70 31 14 B5 FC 27 0A 90 00 [07:59:16]wFMCommunicate OK [07:59:16]SAM_PROTO_SignData done [07:59:16]FM_MakeSignedData done [07:59:16]CreateOFDProtocolMessage [07:59:16]wFMCommunicate request_size=4 [07:59:16]MH_SAM_APDU [07:59:16]CAPDU: 80 11 00 00 [07:59:16]Write to MH i2c: E2 08 00 4D 6A 80 11 00 00 00 00 00 00 31 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:59:16]Read from MH i2c: E2 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 17 00 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: E2 17 00 4D 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 83 [07:59:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:59:16]wFMCommunicate OK [07:59:16]CreateOFDProtocolMessage done [07:59:16]OFDSenderStorePacket 47417 [07:59:16]StoreOFDPacket docnum=47417 [07:59:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 AB 01 00 00 AD 68 A3 01 BE 78 5A 03 01 00 03 00 97 01 1E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E6 5C F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 39 B9 00 00 35 04 06 00 15 CF FE 1C 41 89 6C 70 31 14 B5 FC 27 0A [07:59:16]CheckFolder [07:59:16]dirname=/storage/ofd_packets [07:59:16]CheckFolder done [07:59:16]ProducePacketName [07:59:16]name=ofd_packets/00047417 [07:59:16]NVStorageSaveData ofd_packets/00047417 [07:59:16]File name is /storage/ofd_packets/00047417 [07:59:16]Write 457 bytes [07:59:16]NVStorageSaveData done [07:59:16]OFDSenderStorePacket done [07:59:16]KKMCreateOFDPacket done [07:59:16]NVStorageSaveData kkm_last_timestamp [07:59:16]File name is /storage/kkm_last_timestamp [07:59:16]Write 4 bytes [07:59:16]NVStorageSaveData done [07:59:16]ExternCall_PrintAddStr [07:59:16]wPrintStart [07:59:16]Write to MH i2c: 01 00 00 4E 6A B8 [07:59:16]Write i2c OK [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: 01 [07:59:16]MH_I2C_Read... [07:59:16]Read from MH i2c: 01 07 00 [07:59:17]MH_I2C_Read... [07:59:17]OFD Sender: Processing packet 47417 [packets to send 8, broken 7] [07:59:17]ProducePacketName [07:59:17]name=ofd_packets/00047417 [07:59:17]OFD Sender: To server: pG, [07:59:17]CommunicateWithHost lk.salyk.kg:30040 [07:59:17]ConnectInit lk.salyk.kg [07:59:17]Read from MH i2c: 01 07 00 4E 6A 00 00 00 00 00 FF 0F CD [07:59:17]RasterBufferAndPrint [07:59:17]line Счет N : (3)242326 [07:59:17]line ИНН: 02508201610067 [07:59:17]line Контрольно-Кассовый Чек [07:59:17]line ПРОДАЖА [07:59:17]line Товар: 4670003190037 [07:59:17]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л [07:59:17]line 1.000 * 225.00 [07:59:17]line = 225.00 [07:59:17]line НДС 12% НСП 1% [07:59:17]line > о реализуемом товаре [07:59:17]line Товар: 4607065001445 [07:59:17]line Шок батончик Snickers 50,5г [07:59:17]line 1.000 * 59.00 [07:59:17]line = 59.00 [07:59:17]line НДС 12% НСП 1% [07:59:17]line > о реализуемом товаре [07:59:17]line ИТОГО: 284.00 [07:59:17]line НСП 1% : 2.51 [07:59:17]line НДС 12% : 30.15 [07:59:17]line Наличными: 284.00 [07:59:17]line Безнал.: 0.00 [07:59:17]line Место: АЗС № 15 "Партнер Нефть" [07:59:17]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [07:59:17]line СНО: Общий режим [07:59:17]line Чек 5 13.03.2024 07:59 [07:59:17]line Смена: 315 ФФД: 1.0 [07:59:17]line ЗНМ: 0300000097 [07:59:17]line РНМ: 0000000000092018 [07:59:17]line Версия ККМ: 001 [07:59:17]line ФМ: 0000000000871816 [07:59:17]line ФД: 47417 [07:59:17]line ФПД: 23983065678217 [07:59:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T075934&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47417&fm=23983065678217&tin=02508201610067®Number=0000000000092018&sum=28400 [07:59:17]line 0 [07:59:17]written 0, free lines is 4095 [07:59:17]Connected sock=10 [07:59:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 AB 01 00 00 AD 68 A3 01 BE 78 5A 03 01 00 03 00 97 01 1E 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E6 5C F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 39 B9 00 00 35 04 06 00 15 CF FE 1C 41 89 6C 70 31 14 B5 FC 27 0A [07:59:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 94 90 47 00 C8 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 39 B9 00 00 F4 03 04 00 76 07 F1 65 B6 04 01 00 00 99 14 FA 1F 41 89 92 2E [07:59:17]CommunicateWithHost err = 0 [07:59:17]CheckOFDResponse [07:59:17]1017 (14) - 77093643461234 [07:59:17]1041 (16) - 0000000000871816 [07:59:17]1040 (4) - 47417 [07:59:17]1012 (4) - 13.03.2024 01:55 [07:59:17]1206 (1) - 0 [07:59:17]OFD Sender: Remove packet 47417 [07:59:17]ProducePacketName [07:59:17]name=ofd_packets/00047417 [07:59:17]NVStorageDeleteData [07:59:17]Write to MH i2c: 01 00 00 7D 6A E7 [07:59:17]Write i2c OK [07:59:17]MH_I2C_Read... [07:59:17]Read from MH i2c: 01 [07:59:17]MH_I2C_Read... [07:59:17]Read from MH i2c: 01 07 00 [07:59:17]MH_I2C_Read... [07:59:17]Read from MH i2c: 01 07 00 7D 6A 00 00 00 00 00 8A 0C 84 [07:59:17]RasterBufferAndPrint [07:59:17]line [07:59:17]line [07:59:17]line [07:59:17]line [07:59:17]line [07:59:17]written 0, free lines is 3215 [07:59:17]MH_Cut [07:59:17]Write to MH i2c: D1 01 00 84 6A 01 C0 [07:59:17]Write i2c OK [07:59:17]MH_I2C_Read... [07:59:17]Read from MH i2c: D1 [07:59:17]MH_I2C_Read... [07:59:17]Read from MH i2c: D1 01 00 [07:59:17]MH_I2C_Read... [07:59:17]Read from MH i2c: D1 01 00 84 6A 00 BF [07:59:17]Write to MH i2c: 01 00 00 85 6A EF [07:59:17]Write i2c OK [07:59:17]MH_I2C_Read... [07:59:17]OFD Sender: No OFD packet to send [07:59:18]*** Cut start [07:59:18]*** Purtial cut [07:59:18]*** Stage 1: CUTSNS_PIN = 1 [07:59:18]Read from MH i2c: 01 [07:59:18]MH_I2C_Read... [07:59:18]*** Stop cut motor [07:59:18]*** Cut end [07:59:18]Read from MH i2c: 01 07 00 [07:59:18]MH_I2C_Read... [07:59:18]Read from MH i2c: 01 07 00 85 6A 00 00 00 00 00 FF 0F 04 [07:59:18]process_action close_receipt done [07:59:18]requested_data is exist [07:59:18]produce_requested_data [07:59:18]requested_item fm.sn is exist - process it [07:59:18]wFMCommunicate request_size=4 [07:59:18]MH_SAM_APDU [07:59:18]CAPDU: 80 11 00 00 [07:59:18]Write to MH i2c: E2 08 00 86 6A 80 11 00 00 00 00 00 00 6A [07:59:18]Write i2c OK [07:59:18]MH_I2C_Read... [07:59:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:59:18]Read from MH i2c: E2 [07:59:18]MH_I2C_Read... [07:59:18]Read from MH i2c: E2 17 00 [07:59:18]MH_I2C_Read... [07:59:18]Read from MH i2c: E2 17 00 86 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BC [07:59:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [07:59:18]wFMCommunicate OK [07:59:18]requested_item fd.num is exist - process it [07:59:18]SAM_PROTO_GetFieldsCounters [07:59:18]wFMCommunicate request_size=4 [07:59:18]MH_SAM_APDU [07:59:18]CAPDU: 80 13 00 00 [07:59:18]Write to MH i2c: E2 08 00 87 6A 80 13 00 00 00 00 00 00 6D [07:59:18]Write i2c OK [07:59:18]MH_I2C_Read... [07:59:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:59:19]Read from MH i2c: E2 [07:59:19]MH_I2C_Read... [07:59:19]Read from MH i2c: E2 62 00 [07:59:19]MH_I2C_Read... [07:59:19]Read from MH i2c: E2 62 00 87 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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 C5 [07:59:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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 [07:59:19]wFMCommunicate OK [07:59:19]SAM_PROTO_GetFieldsCounters done [07:59:19]requested_item shift.num is exist - process it [07:59:19]requested_item shift.opened is exist - process it [07:59:19]req_shift_opened [07:59:19]FM_GetShiftState [07:59:19]SAM_PROTO_GetShiftState [07:59:19]wFMCommunicate request_size=4 [07:59:19]MH_SAM_APDU [07:59:19]CAPDU: 80 13 01 00 [07:59:19]Write to MH i2c: E2 08 00 88 6A 80 13 01 00 00 00 00 00 6F [07:59:19]Write i2c OK [07:59:19]MH_I2C_Read... [07:59:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:59:19]Read from MH i2c: E2 [07:59:19]MH_I2C_Read... [07:59:19]Read from MH i2c: E2 0E 00 [07:59:19]MH_I2C_Read... [07:59:19]Read from MH i2c: E2 0E 00 88 6A 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 63 [07:59:19]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [07:59:19]wFMCommunicate OK [07:59:19]SAM_PROTO_GetShiftState done [07:59:19]FM_GetShiftState done [07:59:19]req_shift_opened done [07:59:19]requested_item shift.open_date is exist - process it [07:59:19]req_shift_open_date [07:59:19]req_shift_open_date done [07:59:19]produce_requested_data done [07:59:19]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47417,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [07:59:19]process_action_free close_receipt [07:59:19]json_value_free [07:59:19]json_value_free done [07:59:19]process_json_proto returns [07:59:19]Send response to host [07:59:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47417,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [07:59:19]free response buf [07:59:19]execute_script done [07:59:19]execute_script returns [07:59:19]free content buf [07:59:19]Sock 9.Close socket [07:59:19]Sock 9.Thread stoped [07:59:22]OFD Sender: No OFD packet to send [07:59:27]OFD Sender: No OFD packet to send [07:59:32]OFD Sender: No OFD packet to send [07:59:37]OFD Sender: No OFD packet to send [07:59:42]OFD Sender: No OFD packet to send [07:59:47]OFD Sender: No OFD packet to send [07:59:52]OFD Sender: No OFD packet to send [07:59:57]OFD Sender: No OFD packet to send [08:00:02]OFD Sender: No OFD packet to send [08:00:07]OFD Sender: No OFD packet to send [08:00:12]OFD Sender: No OFD packet to send [08:00:17]OFD Sender: No OFD packet to send [08:00:22]OFD Sender: No OFD packet to send [08:00:27]OFD Sender: No OFD packet to send [08:00:32]OFD Sender: No OFD packet to send [08:00:37]OFD Sender: No OFD packet to send [08:00:42]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:50]accept exits with 7 [08:07:50]New connection [08:07:50]New thread 3066453348 created [08:07:50]Thread 3066596708 joined [08:07:50]Waiting for new connection... [08:07:50] Sock 7.Parse request [08:07:50]Sock 7.Check first char [08:07:50]Sock 7.First char is OK [08:07:50]request: POST /json_proto HTTP/1.0 [08:07:50]Method: POST [08:07:50]URL: /json_proto [08:07:50]Method is POST - this is cgi request [08:07:50]url: /json_proto [08:07:50]query_string will be loaded in cgi processing [08:07:50]execute_cgi json_proto POST (null) [08:07:50]execute_cgi path=json_proto method=POST [08:07:50]POST find Content-Length [08:07:50]Host: 172.17.32.68:8080 [08:07:50]Content-Length: 215 [08:07:50]Content-Type: application/json [08:07:50] [08:07:50]POST finish read [08:07:50]Found Content-Length = 215 [08:07:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:07:50]execute_script... [08:07:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:07:50]POST & json_proto [08:07:50]process_json_proto [08:07:50]json parsed OK: [08:07:50]protocol is kg_v1.0 [08:07:50]action value=get_value [08:07:50]process_action get_value [08:07:50]cmd_get_value [08:07:50]process_action get_value done [08:07:50]requested_data is exist [08:07:50]produce_requested_data [08:07:50]requested_item kkm.sn is exist - process it [08:07:50]requested_item kkm.ver is exist - process it [08:07:50]requested_item fm.sn is exist - process it [08:07:50]wFMCommunicate request_size=4 [08:07:50]MH_SAM_APDU [08:07:50]CAPDU: 80 11 00 00 [08:07:50]Write to MH i2c: E2 08 00 89 6A 80 11 00 00 00 00 00 00 6D [08:07:50]Write i2c OK [08:07:50]MH_I2C_Read... [08:07:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:07:50]Read from MH i2c: E2 [08:07:50]MH_I2C_Read... [08:07:50]Read from MH i2c: E2 17 00 [08:07:50]MH_I2C_Read... [08:07:50]Read from MH i2c: E2 17 00 89 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BF [08:07:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:07:50]wFMCommunicate OK [08:07:50]requested_item fd.num is exist - process it [08:07:50]SAM_PROTO_GetFieldsCounters [08:07:50]wFMCommunicate request_size=4 [08:07:50]MH_SAM_APDU [08:07:50]CAPDU: 80 13 00 00 [08:07:50]Write to MH i2c: E2 08 00 8A 6A 80 13 00 00 00 00 00 00 70 [08:07:50]Write i2c OK [08:07:50]MH_I2C_Read... [08:07:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:07:50]Read from MH i2c: E2 [08:07:50]MH_I2C_Read... [08:07:50]Read from MH i2c: E2 62 00 [08:07:50]MH_I2C_Read... [08:07:50]Read from MH i2c: E2 62 00 8A 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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 C8 [08:07:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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:07:50]wFMCommunicate OK [08:07:50]SAM_PROTO_GetFieldsCounters done [08:07:50]requested_item shift.num is exist - process it [08:07:50]requested_item shift.opened is exist - process it [08:07:50]req_shift_opened [08:07:50]FM_GetShiftState [08:07:50]SAM_PROTO_GetShiftState [08:07:50]wFMCommunicate request_size=4 [08:07:50]MH_SAM_APDU [08:07:50]CAPDU: 80 13 01 00 [08:07:50]Write to MH i2c: E2 08 00 8B 6A 80 13 01 00 00 00 00 00 72 [08:07:50]Write i2c OK [08:07:50]MH_I2C_Read... [08:07:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:07:50]Read from MH i2c: E2 [08:07:50]MH_I2C_Read... [08:07:50]Read from MH i2c: E2 0E 00 [08:07:50]MH_I2C_Read... [08:07:50]Read from MH i2c: E2 0E 00 8B 6A 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 66 [08:07:50]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:07:50]wFMCommunicate OK [08:07:50]SAM_PROTO_GetShiftState done [08:07:50]FM_GetShiftState done [08:07:50]req_shift_opened done [08:07:50]requested_item shift.open_date is exist - process it [08:07:50]req_shift_open_date [08:07:50]req_shift_open_date done [08:07:50]produce_requested_data done [08:07:50]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47417,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:07:50]process_action_free get_value [08:07:50]json_value_free [08:07:50]json_value_free done [08:07:50]process_json_proto returns [08:07:50]Send response to host [08:07:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47417,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:07:50]free response buf [08:07:50]execute_script done [08:07:50]execute_script returns [08:07:50]free content buf [08:07:50]Sock 7.Close socket [08:07:50]Sock 7.Thread stoped [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:01]accept exits with 9 [08:08:01]New connection [08:08:01]New thread 3066596708 created [08:08:01]Thread 3066453348 joined [08:08:01]Waiting for new connection... [08:08:01] Sock 9.Parse request [08:08:01]Sock 9.Check first char [08:08:01]Sock 9.First char is OK [08:08:01]request: POST /json_proto HTTP/1.0 [08:08:01]Method: POST [08:08:01]URL: /json_proto [08:08:01]Method is POST - this is cgi request [08:08:01]url: /json_proto [08:08:01]query_string will be loaded in cgi processing [08:08:01]execute_cgi json_proto POST (null) [08:08:01]execute_cgi path=json_proto method=POST [08:08:01]POST find Content-Length [08:08:01]Host: 172.17.32.68:8080 [08:08:01]Content-Length: 331 [08:08:01]Content-Type: application/json [08:08:01] [08:08:01]POST finish read [08:08:01]Found Content-Length = 331 [08:08:01]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:08:01]execute_script... [08:08:01]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:08:01]POST & json_proto [08:08:01]process_json_proto [08:08:01]json parsed OK: [08:08:01]protocol is kg_v1.0 [08:08:01]action value=get_value [08:08:01]process_action get_value [08:08:01]cmd_get_value [08:08:01]process_action get_value done [08:08:01]requested_data is exist [08:08:01]produce_requested_data [08:08:01]requested_item fm.sale.total is exist - process it [08:08:01]SAM_PROTO_GetFMData [08:08:01]wFMCommunicate request_size=4 [08:08:01]MH_SAM_APDU [08:08:01]CAPDU: 80 13 03 00 [08:08:01]Write to MH i2c: E2 08 00 8C 6A 80 13 03 00 00 00 00 00 75 [08:08:01]Write i2c OK [08:08:01]MH_I2C_Read... [08:08:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:08:01]Read from MH i2c: E2 [08:08:01]MH_I2C_Read... [08:08:01]Read from MH i2c: E2 FD 00 [08:08:01]MH_I2C_Read... [08:08:01]Read from MH i2c: E2 FD 00 8C 6A 00 C1 04 85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 03 [08:08:01]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [08:08:01]wFMCommunicate OK [08:08:01]wFMCommunicate request_size=4 [08:08:01]MH_SAM_APDU [08:08:01]CAPDU: 80 17 00 00 [08:08:01]Write to MH i2c: E2 08 00 8D 6A 80 17 00 00 00 00 00 00 77 [08:08:01]Write i2c OK [08:08:01]MH_I2C_Read... [08:08:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:01]Read from MH i2c: E2 [08:08:01]MH_I2C_Read... [08:08:01]Read from MH i2c: E2 FD 00 [08:08:01]MH_I2C_Read... [08:08:01]Read from MH i2c: E2 FD 00 8D 6A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 F0 [08:08:01]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:08:01]wFMCommunicate OK [08:08:01]wFMCommunicate request_size=4 [08:08:01]MH_SAM_APDU [08:08:01]CAPDU: 80 17 00 00 [08:08:01]Write to MH i2c: E2 08 00 8E 6A 80 17 00 00 00 00 00 00 78 [08:08:01]Write i2c OK [08:08:01]MH_I2C_Read... [08:08:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:02]Read from MH i2c: E2 [08:08:02]MH_I2C_Read... [08:08:02]Read from MH i2c: E2 FD 00 [08:08:02]MH_I2C_Read... [08:08:02]Read from MH i2c: E2 FD 00 8E 6A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 18 [08:08:02]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:08:02]wFMCommunicate OK [08:08:02]wFMCommunicate request_size=4 [08:08:02]MH_SAM_APDU [08:08:02]CAPDU: 80 17 00 00 [08:08:02]Write to MH i2c: E2 08 00 8F 6A 80 17 00 00 00 00 00 00 79 [08:08:02]Write i2c OK [08:08:02]MH_I2C_Read... [08:08:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:02]Read from MH i2c: E2 [08:08:02]MH_I2C_Read... [08:08:02]Read from MH i2c: E2 FD 00 [08:08:02]MH_I2C_Read... [08:08:02]Read from MH i2c: E2 FD 00 8F 6A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 FE [08:08:02]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:08:02]wFMCommunicate OK [08:08:02]wFMCommunicate request_size=4 [08:08:02]MH_SAM_APDU [08:08:02]CAPDU: 80 17 00 00 [08:08:02]Write to MH i2c: E2 08 00 90 6A 80 17 00 00 00 00 00 00 7A [08:08:02]Write i2c OK [08:08:02]MH_I2C_Read... [08:08:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:08:02]Read from MH i2c: E2 [08:08:02]MH_I2C_Read... [08:08:02]Read from MH i2c: E2 DE 00 [08:08:02]MH_I2C_Read... [08:08:02]Read from MH i2c: E2 DE 00 90 6A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 59 [08:08:02]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:08:02]wFMCommunicate OK [08:08:02]SAM_PROTO_GetFMData done [08:08:02]requested_item fm.sale_refund.total is exist - process it [08:08:02]requested_item fm.buy.total is exist - process it [08:08:02]requested_item shift.sale.total is exist - process it [08:08:02]SAM_PROTO_GetShiftData [08:08:02]wFMCommunicate request_size=4 [08:08:02]MH_SAM_APDU [08:08:02]CAPDU: 80 13 02 00 [08:08:02]Write to MH i2c: E2 08 00 91 6A 80 13 02 00 00 00 00 00 79 [08:08:02]Write i2c OK [08:08:02]MH_I2C_Read... [08:08:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:08:03]Read from MH i2c: E2 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 91 6A 00 AB 04 AA 04 A7 04 6E 04 04 00 05 00 00 00 69 04 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 14 18 01 70 04 02 00 D8 A4 72 04 02 00 3C 73 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 BD 1D 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 7A 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 E7 [08:08:03]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 05 00 00 00 69 04 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 14 18 01 70 04 02 00 D8 A4 72 04 02 00 3C 73 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 BD 1D 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 7A 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [08:08:03]wFMCommunicate OK [08:08:03]wFMCommunicate request_size=4 [08:08:03]MH_SAM_APDU [08:08:03]CAPDU: 80 17 00 00 [08:08:03]Write to MH i2c: E2 08 00 92 6A 80 17 00 00 00 00 00 00 7C [08:08:03]Write i2c OK [08:08:03]MH_I2C_Read... [08:08:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:03]Read from MH i2c: E2 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 92 6A 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 91 [08:08:03]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [08:08:03]wFMCommunicate OK [08:08:03]wFMCommunicate request_size=4 [08:08:03]MH_SAM_APDU [08:08:03]CAPDU: 80 17 00 00 [08:08:03]Write to MH i2c: E2 08 00 93 6A 80 17 00 00 00 00 00 00 7D [08:08:03]OFD Sender: No OFD packet to send [08:08:03]Write i2c OK [08:08:03]MH_I2C_Read... [08:08:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:03]Read from MH i2c: E2 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 93 6A 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 2D [08:08:03]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [08:08:03]wFMCommunicate OK [08:08:03]wFMCommunicate request_size=4 [08:08:03]MH_SAM_APDU [08:08:03]CAPDU: 80 17 00 00 [08:08:03]Write to MH i2c: E2 08 00 94 6A 80 17 00 00 00 00 00 00 7E [08:08:03]Write i2c OK [08:08:03]MH_I2C_Read... [08:08:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:03]Read from MH i2c: E2 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 [08:08:03]MH_I2C_Read... [08:08:03]Read from MH i2c: E2 FD 00 94 6A 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 04 [08:08:03]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [08:08:03]wFMCommunicate OK [08:08:03]wFMCommunicate request_size=4 [08:08:03]MH_SAM_APDU [08:08:03]CAPDU: 80 17 00 00 [08:08:03]Write to MH i2c: E2 08 00 95 6A 80 17 00 00 00 00 00 00 7F [08:08:03]Write i2c OK [08:08:03]MH_I2C_Read... [08:08:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [08:08:04]Read from MH i2c: E2 [08:08:04]MH_I2C_Read... [08:08:04]Read from MH i2c: E2 C8 00 [08:08:04]MH_I2C_Read... [08:08:04]Read from MH i2c: E2 C8 00 95 6A 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 62 [08:08:04]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:08:04]wFMCommunicate OK [08:08:04]SAM_PROTO_GetShiftData done [08:08:04]requested_item shift.sale.total_cash is exist - process it [08:08:04]requested_item shift.sale_refund.total is exist - process it [08:08:04]requested_item shift.sale_refund.total_cash is exist - process it [08:08:04]requested_item shift.buy.total is exist - process it [08:08:04]requested_item shift.buy.total_cash is exist - process it [08:08:04]produce_requested_data done [08:08:04]produce_requested_data return {"fm.sale.total":8066456.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":717.00,"shift.sale.total_cash":422.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:08:04]process_action_free get_value [08:08:04]json_value_free [08:08:04]json_value_free done [08:08:04]process_json_proto returns [08:08:04]Send response to host [08:08:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8066456.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":717.00,"shift.sale.total_cash":422.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:08:04]free response buf [08:08:04]execute_script done [08:08:04]execute_script returns [08:08:04]free content buf [08:08:04]Sock 9.Close socket [08:08:04]Sock 9.Thread stoped [08:08:04]accept exits with 7 [08:08:04]New connection [08:08:04]New thread 3066453348 created [08:08:04]Thread 3066596708 joined [08:08:04]Waiting for new connection... [08:08:04] Sock 7.Parse request [08:08:04]Sock 7.Check first char [08:08:04]Sock 7.First char is OK [08:08:04]request: POST /json_proto HTTP/1.0 [08:08:04]Method: POST [08:08:04]URL: /json_proto [08:08:04]Method is POST - this is cgi request [08:08:04]url: /json_proto [08:08:04]query_string will be loaded in cgi processing [08:08:04]execute_cgi json_proto POST (null) [08:08:04]execute_cgi path=json_proto method=POST [08:08:04]POST find Content-Length [08:08:04]Host: 172.17.32.68:8080 [08:08:04]Content-Length: 331 [08:08:04]Content-Type: application/json [08:08:04] [08:08:04]POST finish read [08:08:04]Found Content-Length = 331 [08:08:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:08:04]execute_script... [08:08:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:08:04]POST & json_proto [08:08:04]process_json_proto [08:08:04]json parsed OK: [08:08:04]protocol is kg_v1.0 [08:08:04]action value=get_value [08:08:04]process_action get_value [08:08:04]cmd_get_value [08:08:04]process_action get_value done [08:08:04]requested_data is exist [08:08:04]produce_requested_data [08:08:04]requested_item fm.sale.total is exist - process it [08:08:04]SAM_PROTO_GetFMData [08:08:04]wFMCommunicate request_size=4 [08:08:04]MH_SAM_APDU [08:08:04]CAPDU: 80 13 03 00 [08:08:04]Write to MH i2c: E2 08 00 96 6A 80 13 03 00 00 00 00 00 7F [08:08:04]Write i2c OK [08:08:04]MH_I2C_Read... [08:08:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:08:04]Read from MH i2c: E2 [08:08:04]MH_I2C_Read... [08:08:04]Read from MH i2c: E2 FD 00 [08:08:04]MH_I2C_Read... [08:08:04]Read from MH i2c: E2 FD 00 96 6A 00 C1 04 85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 0D [08:08:04]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [08:08:04]wFMCommunicate OK [08:08:04]wFMCommunicate request_size=4 [08:08:04]MH_SAM_APDU [08:08:04]CAPDU: 80 17 00 00 [08:08:04]Write to MH i2c: E2 08 00 97 6A 80 17 00 00 00 00 00 00 81 [08:08:04]Write i2c OK [08:08:04]MH_I2C_Read... [08:08:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:05]Read from MH i2c: E2 [08:08:05]MH_I2C_Read... [08:08:05]Read from MH i2c: E2 FD 00 [08:08:05]MH_I2C_Read... [08:08:05]Read from MH i2c: E2 FD 00 97 6A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 FA [08:08:05]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:08:05]wFMCommunicate OK [08:08:05]wFMCommunicate request_size=4 [08:08:05]MH_SAM_APDU [08:08:05]CAPDU: 80 17 00 00 [08:08:05]Write to MH i2c: E2 08 00 98 6A 80 17 00 00 00 00 00 00 82 [08:08:05]Write i2c OK [08:08:05]MH_I2C_Read... [08:08:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:05]Read from MH i2c: E2 [08:08:05]MH_I2C_Read... [08:08:05]Read from MH i2c: E2 FD 00 [08:08:05]MH_I2C_Read... [08:08:05]Read from MH i2c: E2 FD 00 98 6A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 22 [08:08:05]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:08:05]wFMCommunicate OK [08:08:05]wFMCommunicate request_size=4 [08:08:05]MH_SAM_APDU [08:08:05]CAPDU: 80 17 00 00 [08:08:05]Write to MH i2c: E2 08 00 99 6A 80 17 00 00 00 00 00 00 83 [08:08:05]Write i2c OK [08:08:05]MH_I2C_Read... [08:08:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:05]Read from MH i2c: E2 [08:08:05]MH_I2C_Read... [08:08:05]Read from MH i2c: E2 FD 00 [08:08:05]MH_I2C_Read... [08:08:05]Read from MH i2c: E2 FD 00 99 6A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 08 [08:08:05]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:08:05]wFMCommunicate OK [08:08:05]wFMCommunicate request_size=4 [08:08:05]MH_SAM_APDU [08:08:05]CAPDU: 80 17 00 00 [08:08:05]Write to MH i2c: E2 08 00 9A 6A 80 17 00 00 00 00 00 00 84 [08:08:05]Write i2c OK [08:08:05]MH_I2C_Read... [08:08:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:08:06]Read from MH i2c: E2 [08:08:06]MH_I2C_Read... [08:08:06]Read from MH i2c: E2 DE 00 [08:08:06]MH_I2C_Read... [08:08:06]Read from MH i2c: E2 DE 00 9A 6A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 63 [08:08:06]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:08:06]wFMCommunicate OK [08:08:06]SAM_PROTO_GetFMData done [08:08:06]requested_item fm.sale_refund.total is exist - process it [08:08:06]requested_item fm.buy.total is exist - process it [08:08:06]requested_item shift.sale.total is exist - process it [08:08:06]SAM_PROTO_GetShiftData [08:08:06]wFMCommunicate request_size=4 [08:08:06]MH_SAM_APDU [08:08:06]CAPDU: 80 13 02 00 [08:08:06]Write to MH i2c: E2 08 00 9B 6A 80 13 02 00 00 00 00 00 83 [08:08:06]Write i2c OK [08:08:06]MH_I2C_Read... [08:08:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:08:06]Read from MH i2c: E2 [08:08:06]MH_I2C_Read... [08:08:06]Read from MH i2c: E2 FD 00 [08:08:06]MH_I2C_Read... [08:08:06]Read from MH i2c: E2 FD 00 9B 6A 00 AB 04 AA 04 A7 04 6E 04 04 00 05 00 00 00 69 04 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 14 18 01 70 04 02 00 D8 A4 72 04 02 00 3C 73 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 BD 1D 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 7A 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 F1 [08:08:06]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 05 00 00 00 69 04 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 14 18 01 70 04 02 00 D8 A4 72 04 02 00 3C 73 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 BD 1D 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 7A 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [08:08:06]wFMCommunicate OK [08:08:06]wFMCommunicate request_size=4 [08:08:06]MH_SAM_APDU [08:08:06]CAPDU: 80 17 00 00 [08:08:06]Write to MH i2c: E2 08 00 9C 6A 80 17 00 00 00 00 00 00 86 [08:08:06]Write i2c OK [08:08:06]MH_I2C_Read... [08:08:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:06]Read from MH i2c: E2 [08:08:06]MH_I2C_Read... [08:08:06]Read from MH i2c: E2 FD 00 [08:08:06]MH_I2C_Read... [08:08:06]Read from MH i2c: E2 FD 00 9C 6A 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 9B [08:08:06]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [08:08:07]wFMCommunicate OK [08:08:07]wFMCommunicate request_size=4 [08:08:07]MH_SAM_APDU [08:08:07]CAPDU: 80 17 00 00 [08:08:07]Write to MH i2c: E2 08 00 9D 6A 80 17 00 00 00 00 00 00 87 [08:08:07]Write i2c OK [08:08:07]MH_I2C_Read... [08:08:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:07]Read from MH i2c: E2 [08:08:07]MH_I2C_Read... [08:08:07]Read from MH i2c: E2 FD 00 [08:08:07]MH_I2C_Read... [08:08:07]Read from MH i2c: E2 FD 00 9D 6A 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 37 [08:08:07]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [08:08:07]wFMCommunicate OK [08:08:07]wFMCommunicate request_size=4 [08:08:07]MH_SAM_APDU [08:08:07]CAPDU: 80 17 00 00 [08:08:07]Write to MH i2c: E2 08 00 9E 6A 80 17 00 00 00 00 00 00 88 [08:08:07]Write i2c OK [08:08:07]MH_I2C_Read... [08:08:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:07]Read from MH i2c: E2 [08:08:07]MH_I2C_Read... [08:08:07]Read from MH i2c: E2 FD 00 [08:08:07]MH_I2C_Read... [08:08:07]Read from MH i2c: E2 FD 00 9E 6A 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 0E [08:08:07]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [08:08:07]wFMCommunicate OK [08:08:07]wFMCommunicate request_size=4 [08:08:07]MH_SAM_APDU [08:08:07]CAPDU: 80 17 00 00 [08:08:07]Write to MH i2c: E2 08 00 9F 6A 80 17 00 00 00 00 00 00 89 [08:08:07]Write i2c OK [08:08:07]MH_I2C_Read... [08:08:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [08:08:08]Read from MH i2c: E2 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 C8 00 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 C8 00 9F 6A 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:08:08]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:08:08]wFMCommunicate OK [08:08:08]SAM_PROTO_GetShiftData done [08:08:08]requested_item shift.sale.total_cash is exist - process it [08:08:08]requested_item shift.sale_refund.total is exist - process it [08:08:08]requested_item shift.sale_refund.total_cash is exist - process it [08:08:08]requested_item shift.buy.total is exist - process it [08:08:08]requested_item shift.buy.total_cash is exist - process it [08:08:08]produce_requested_data done [08:08:08]produce_requested_data return {"fm.sale.total":8066456.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":717.00,"shift.sale.total_cash":422.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:08:08]process_action_free get_value [08:08:08]json_value_free [08:08:08]json_value_free done [08:08:08]process_json_proto returns [08:08:08]Send response to host [08:08:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8066456.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":717.00,"shift.sale.total_cash":422.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:08:08]free response buf [08:08:08]execute_script done [08:08:08]execute_script returns [08:08:08]free content buf [08:08:08]Sock 7.Close socket [08:08:08]Sock 7.Thread stoped [08:08:08]accept exits with 9 [08:08:08]New connection [08:08:08]New thread 3066596708 created [08:08:08]Thread 3066453348 joined [08:08:08]Waiting for new connection... [08:08:08] Sock 9.Parse request [08:08:08]Sock 9.Check first char [08:08:08]Sock 9.First char is OK [08:08:08]request: POST /json_proto HTTP/1.0 [08:08:08]Method: POST [08:08:08]URL: /json_proto [08:08:08]Method is POST - this is cgi request [08:08:08]url: /json_proto [08:08:08]query_string will be loaded in cgi processing [08:08:08]execute_cgi json_proto POST (null) [08:08:08]execute_cgi path=json_proto method=POST [08:08:08]POST find Content-Length [08:08:08]Host: 172.17.32.68:8080 [08:08:08]Content-Length: 263 [08:08:08]Content-Type: application/json [08:08:08] [08:08:08]POST finish read [08:08:08]Found Content-Length = 263 [08:08:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:08]execute_script... [08:08:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:08]POST & json_proto [08:08:08]process_json_proto [08:08:08]json parsed OK: [08:08:08]protocol is kg_v1.0 [08:08:08]action value=x_report [08:08:08]process_action x_report [08:08:08]cmd_x_report [08:08:08]MH_GetDate [08:08:08]Write to MH i2c: F0 00 00 A0 6A F9 [08:08:08]Write i2c OK [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: F0 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: F0 09 00 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: F0 09 00 A0 6A 00 FC 5E F1 65 0A 64 6E 65 F3 [08:08:08]GetLastDocTimeStamp 1710316774 [08:08:08]current date 1710317308 [08:08:08]FM_GetShiftState [08:08:08]SAM_PROTO_GetShiftState [08:08:08]wFMCommunicate request_size=4 [08:08:08]MH_SAM_APDU [08:08:08]CAPDU: 80 13 01 00 [08:08:08]Write to MH i2c: E2 08 00 A1 6A 80 13 01 00 00 00 00 00 88 [08:08:08]Write i2c OK [08:08:08]MH_I2C_Read... [08:08:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:08]Read from MH i2c: E2 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 0E 00 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 0E 00 A1 6A 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 7C [08:08:08]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:08:08]wFMCommunicate OK [08:08:08]SAM_PROTO_GetShiftState done [08:08:08]FM_GetShiftState done [08:08:08]KKMCreateXReportDocument [08:08:08]Load OK [08:08:08]Malloc new data [08:08:08]MH_GetDate [08:08:08]Write to MH i2c: F0 00 00 A2 6A FB [08:08:08]Write i2c OK [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: F0 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: F0 09 00 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: F0 09 00 A2 6A 00 FC 5E F1 65 0A 64 6E 65 F5 [08:08:08]Malloc new data [08:08:08]Malloc new data [08:08:08]wFMCommunicate request_size=4 [08:08:08]MH_SAM_APDU [08:08:08]CAPDU: 80 11 00 00 [08:08:08]Write to MH i2c: E2 08 00 A3 6A 80 11 00 00 00 00 00 00 87 [08:08:08]Write i2c OK [08:08:08]MH_I2C_Read... [08:08:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:08]Read from MH i2c: E2 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 17 00 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 17 00 A3 6A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D9 [08:08:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:08:08]wFMCommunicate OK [08:08:08]SAM_PROTO_GetFieldsCounters [08:08:08]wFMCommunicate request_size=4 [08:08:08]MH_SAM_APDU [08:08:08]CAPDU: 80 13 00 00 [08:08:08]Write to MH i2c: E2 08 00 A4 6A 80 13 00 00 00 00 00 00 8A [08:08:08]Write i2c OK [08:08:08]MH_I2C_Read... [08:08:08]OFD Sender: No OFD packet to send [08:08:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:08:08]Read from MH i2c: E2 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 62 00 [08:08:08]MH_I2C_Read... [08:08:08]Read from MH i2c: E2 62 00 A4 6A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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 E2 [08:08:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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:08:08]wFMCommunicate OK [08:08:08]SAM_PROTO_GetFieldsCounters done [08:08:08]Malloc new data [08:08:08]Malloc new data [08:08:08]Malloc new data [08:08:08]KKMCreateXReportDocument OK [08:08:08]KKMSetXReportData OK [08:08:08]KKMPrepareXReportFMData [08:08:08]SAM_PROTO_GetShiftData [08:08:08]wFMCommunicate request_size=4 [08:08:08]MH_SAM_APDU [08:08:08]CAPDU: 80 13 02 00 [08:08:08]Write to MH i2c: E2 08 00 A5 6A 80 13 02 00 00 00 00 00 8D [08:08:08]Write i2c OK [08:08:08]MH_I2C_Read... [08:08:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:08:09]Read from MH i2c: E2 [08:08:09]MH_I2C_Read... [08:08:09]Read from MH i2c: E2 FD 00 [08:08:09]MH_I2C_Read... [08:08:09]Read from MH i2c: E2 FD 00 A5 6A 00 AB 04 AA 04 A7 04 6E 04 04 00 05 00 00 00 69 04 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 14 18 01 70 04 02 00 D8 A4 72 04 02 00 3C 73 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 BD 1D 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 7A 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 FB [08:08:09]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 05 00 00 00 69 04 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 14 18 01 70 04 02 00 D8 A4 72 04 02 00 3C 73 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 BD 1D 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 7A 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [08:08:09]wFMCommunicate OK [08:08:09]wFMCommunicate request_size=4 [08:08:09]MH_SAM_APDU [08:08:09]CAPDU: 80 17 00 00 [08:08:09]Write to MH i2c: E2 08 00 A6 6A 80 17 00 00 00 00 00 00 90 [08:08:09]Write i2c OK [08:08:09]MH_I2C_Read... [08:08:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:09]Read from MH i2c: E2 [08:08:09]MH_I2C_Read... [08:08:09]Read from MH i2c: E2 FD 00 [08:08:09]MH_I2C_Read... [08:08:09]Read from MH i2c: E2 FD 00 A6 6A 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 A5 [08:08:09]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [08:08:09]wFMCommunicate OK [08:08:09]wFMCommunicate request_size=4 [08:08:09]MH_SAM_APDU [08:08:09]CAPDU: 80 17 00 00 [08:08:09]Write to MH i2c: E2 08 00 A7 6A 80 17 00 00 00 00 00 00 91 [08:08:09]Write i2c OK [08:08:09]MH_I2C_Read... [08:08:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:09]Read from MH i2c: E2 [08:08:09]MH_I2C_Read... [08:08:09]Read from MH i2c: E2 FD 00 [08:08:09]MH_I2C_Read... [08:08:09]Read from MH i2c: E2 FD 00 A7 6A 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 41 [08:08:09]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [08:08:10]wFMCommunicate OK [08:08:10]wFMCommunicate request_size=4 [08:08:10]MH_SAM_APDU [08:08:10]CAPDU: 80 17 00 00 [08:08:10]Write to MH i2c: E2 08 00 A8 6A 80 17 00 00 00 00 00 00 92 [08:08:10]Write i2c OK [08:08:10]MH_I2C_Read... [08:08:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:10]Read from MH i2c: E2 [08:08:10]MH_I2C_Read... [08:08:10]Read from MH i2c: E2 FD 00 [08:08:10]MH_I2C_Read... [08:08:10]Read from MH i2c: E2 FD 00 A8 6A 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 18 [08:08:10]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [08:08:10]wFMCommunicate OK [08:08:10]wFMCommunicate request_size=4 [08:08:10]MH_SAM_APDU [08:08:10]CAPDU: 80 17 00 00 [08:08:10]Write to MH i2c: E2 08 00 A9 6A 80 17 00 00 00 00 00 00 93 [08:08:10]Write i2c OK [08:08:10]MH_I2C_Read... [08:08:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [08:08:10]Read from MH i2c: E2 [08:08:10]MH_I2C_Read... [08:08:10]Read from MH i2c: E2 C8 00 [08:08:10]MH_I2C_Read... [08:08:10]Read from MH i2c: E2 C8 00 A9 6A 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 76 [08:08:10]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:08:10]wFMCommunicate OK [08:08:10]SAM_PROTO_GetShiftData done [08:08:10]1194 (1191) - счетчики итогов смены [08:08:10] 1134 (4) - 5 - количество чеков со всеми признаками расчетов [08:08:10] 1129 (152) - счетчики операций «приход» [08:08:10] 1135 (4) - 5 - количество чеков по признаку расчетов [08:08:10] 1201 (3) - 717.00 - общая итоговая сумма в чеках [08:08:10] 1136 (2) - 422.00 - итоговая сумма в чеках наличными [08:08:10] 1138 (2) - 295.00 - итоговая сумма в чеках безналичными [08:08:10] 1024 (121) - суммы налогов [08:08:10] 1006 (9) - суммы НДС [08:08:10] 1010 (1) - 0% - код ставки НДС [08:08:10] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:10] 1006 (11) - суммы НДС [08:08:10] 1010 (1) - 12% - код ставки НДС [08:08:10] 1011 (2) - 76.13 - сумма НДС по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 0% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (11) - суммы НСП [08:08:10] 1014 (1) - 1% - код ставки НСП [08:08:10] 1015 (2) - 6.34 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 2% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 3% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 5% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 0,50% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 1,50% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1130 (141) - счетчики операций «возврат прихода» [08:08:10] 1135 (4) - 0 - количество чеков по признаку расчетов [08:08:10] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:08:10] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:08:10] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:08:10] 1024 (117) - суммы налогов [08:08:10] 1006 (9) - суммы НДС [08:08:10] 1010 (1) - 0% - код ставки НДС [08:08:10] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:10] 1006 (9) - суммы НДС [08:08:10] 1010 (1) - 12% - код ставки НДС [08:08:10] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 0% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 1% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 2% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 3% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 5% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 0,50% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1007 (9) - суммы НСП [08:08:10] 1014 (1) - 1,50% - код ставки НСП [08:08:10] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:10] 1131 (141) - счетчики операций «расход» [08:08:10] 1135 (4) - 0 - количество чеков по признаку расчетов [08:08:10] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:08:10] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:08:10] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:08:10] 1024 (117) - суммы налогов [08:08:10] 1006 (9) - суммы НДС [08:08:10] 1010 (1) - 0% - код ставки НДС [08:08:10] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:10] 1006 (9) - суммы НДС [08:08:10] 1010 (1) - 12% - код ставки НДС [08:08:10] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 0% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 1% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 2% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 3% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 5% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 0,50% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 1,50% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1132 (141) - счетчики операций «возврат расхода» [08:08:11] 1135 (4) - 0 - количество чеков по признаку расчетов [08:08:11] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:08:11] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:08:11] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:08:11] 1024 (117) - суммы налогов [08:08:11] 1006 (9) - суммы НДС [08:08:11] 1010 (1) - 0% - код ставки НДС [08:08:11] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:11] 1006 (9) - суммы НДС [08:08:11] 1010 (1) - 12% - код ставки НДС [08:08:11] 1011 (0) - 0.00 - сумма НДС по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 0% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 1% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 2% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 3% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 5% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 0,50% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1007 (9) - суммы НСП [08:08:11] 1014 (1) - 1,50% - код ставки НСП [08:08:11] 1015 (0) - 0.00 - сумма НСП по ставке [08:08:11] 1133 (588) - - счетчики коррекции - не используются [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1194 (04AA) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1134 (046E) [08:08:11]Malloc new data [08:08:11]Processing tag 1129 (0469) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1135 (046F) [08:08:11]Malloc new data [08:08:11]Processing tag 1201 (04B1) [08:08:11]Malloc new data [08:08:11]Processing tag 1136 (0470) [08:08:11]Malloc new data [08:08:11]Processing tag 1138 (0472) [08:08:11]Malloc new data [08:08:11]Processing tag 1024 (0400) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]SetTLVBufToDocument err=0 [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1130 (046A) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1135 (046F) [08:08:11]Malloc new data [08:08:11]Processing tag 1201 (04B1) [08:08:11]Malloc new data [08:08:11]Processing tag 1136 (0470) [08:08:11]Malloc new data [08:08:11]Processing tag 1138 (0472) [08:08:11]Malloc new data [08:08:11]Processing tag 1024 (0400) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]SetTLVBufToDocument err=0 [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1131 (046B) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1135 (046F) [08:08:11]Malloc new data [08:08:11]Processing tag 1201 (04B1) [08:08:11]Malloc new data [08:08:11]Processing tag 1136 (0470) [08:08:11]Malloc new data [08:08:11]Processing tag 1138 (0472) [08:08:11]Malloc new data [08:08:11]Processing tag 1024 (0400) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]SetTLVBufToDocument err=0 [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1132 (046C) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1135 (046F) [08:08:11]Malloc new data [08:08:11]Processing tag 1201 (04B1) [08:08:11]Malloc new data [08:08:11]Processing tag 1136 (0470) [08:08:11]Malloc new data [08:08:11]Processing tag 1138 (0472) [08:08:11]Malloc new data [08:08:11]Processing tag 1024 (0400) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1006 (03EE) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1010 (03F2) [08:08:11]Malloc new data [08:08:11]Processing tag 1011 (03F3) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:11]Malloc new data [08:08:11]SetTLVBufToDocument err=0 [08:08:11]Processing tag 1007 (03EF) [08:08:11]Load OK [08:08:11]SetTLVBufToDocument [08:08:11]Processing tag 1014 (03F6) [08:08:11]Malloc new data [08:08:11]Processing tag 1015 (03F7) [08:08:12]Malloc new data [08:08:12]SetTLVBufToDocument err=0 [08:08:12]Processing tag 1007 (03EF) [08:08:12]Load OK [08:08:12]SetTLVBufToDocument [08:08:12]Processing tag 1014 (03F6) [08:08:12]Malloc new data [08:08:12]Processing tag 1015 (03F7) [08:08:12]Malloc new data [08:08:12]SetTLVBufToDocument err=0 [08:08:12]SetTLVBufToDocument err=0 [08:08:12]SetTLVBufToDocument err=0 [08:08:12]Processing tag 1133 (046D) [08:08:12]Malloc new data [08:08:12]SetTLVBufToDocument err=0 [08:08:12]SetTLVBufToDocument err=0 [08:08:12]Malloc new data [08:08:12]SAM_PROTO_GetFMData [08:08:12]wFMCommunicate request_size=4 [08:08:12]MH_SAM_APDU [08:08:12]CAPDU: 80 13 03 00 [08:08:12]Write to MH i2c: E2 08 00 AA 6A 80 13 03 00 00 00 00 00 93 [08:08:12]Write i2c OK [08:08:12]MH_I2C_Read... [08:08:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:08:12]Read from MH i2c: E2 [08:08:12]MH_I2C_Read... [08:08:12]Read from MH i2c: E2 FD 00 [08:08:12]MH_I2C_Read... [08:08:12]Read from MH i2c: E2 FD 00 AA 6A 00 C1 04 85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 21 [08:08:12]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [08:08:12]wFMCommunicate OK [08:08:12]wFMCommunicate request_size=4 [08:08:12]MH_SAM_APDU [08:08:12]CAPDU: 80 17 00 00 [08:08:12]Write to MH i2c: E2 08 00 AB 6A 80 17 00 00 00 00 00 00 95 [08:08:12]Write i2c OK [08:08:12]MH_I2C_Read... [08:08:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:12]Read from MH i2c: E2 [08:08:12]MH_I2C_Read... [08:08:12]Read from MH i2c: E2 FD 00 [08:08:12]MH_I2C_Read... [08:08:12]Read from MH i2c: E2 FD 00 AB 6A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 0E [08:08:13]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:08:13]wFMCommunicate OK [08:08:13]wFMCommunicate request_size=4 [08:08:13]MH_SAM_APDU [08:08:13]CAPDU: 80 17 00 00 [08:08:13]Write to MH i2c: E2 08 00 AC 6A 80 17 00 00 00 00 00 00 96 [08:08:13]Write i2c OK [08:08:13]MH_I2C_Read... [08:08:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:13]Read from MH i2c: E2 [08:08:13]MH_I2C_Read... [08:08:13]Read from MH i2c: E2 FD 00 [08:08:13]MH_I2C_Read... [08:08:13]Read from MH i2c: E2 FD 00 AC 6A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 36 [08:08:13]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 OFD Sender: No OFD packet to send [08:08:13]00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:08:13]wFMCommunicate OK [08:08:13]wFMCommunicate request_size=4 [08:08:13]MH_SAM_APDU [08:08:13]CAPDU: 80 17 00 00 [08:08:13]Write to MH i2c: E2 08 00 AD 6A 80 17 00 00 00 00 00 00 97 [08:08:13]Write i2c OK [08:08:13]MH_I2C_Read... [08:08:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:08:14]Read from MH i2c: E2 [08:08:14]MH_I2C_Read... [08:08:14]Read from MH i2c: E2 FD 00 [08:08:14]MH_I2C_Read... [08:08:14]Read from MH i2c: E2 FD 00 AD 6A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 1C [08:08:14]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:08:14]wFMCommunicate OK [08:08:14]wFMCommunicate request_size=4 [08:08:14]MH_SAM_APDU [08:08:14]CAPDU: 80 17 00 00 [08:08:14]Write to MH i2c: E2 08 00 AE 6A 80 17 00 00 00 00 00 00 98 [08:08:14]Write i2c OK [08:08:14]MH_I2C_Read... [08:08:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:08:14]Read from MH i2c: E2 [08:08:14]MH_I2C_Read... [08:08:14]Read from MH i2c: E2 DE 00 [08:08:14]MH_I2C_Read... [08:08:14]Read from MH i2c: E2 DE 00 AE 6A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 77 [08:08:14]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:08:14]wFMCommunicate OK [08:08:14]SAM_PROTO_GetFMData done [08:08:14]FM_GetFMData:85 04 BD 04 6E 04 04 00 C2 B6 00 00 69 04 A0 00 6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:08:15]oper:6F 04 04 00 99 B5 00 00 B1 04 04 00 7F 6F 14 30 70 04 04 00 54 50 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 0C 10 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1D D8 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:08:15]total:7F 6F 14 30 [08:08:15]Malloc new data [08:08:15]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:08:15]total:2C 8D 6E [08:08:15]Malloc new data [08:08:15]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:08:15]total: [08:08:15]Malloc new data [08:08:15]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:08:15]total: [08:08:15]Malloc new data [08:08:15]KKMPrepareXReportFMData err=0 [08:08:15]Х отчет ИНН: 02508201610067 Кассир: Жээнбеков Д. 13.03.2024 08:08 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 5 ИТОГИ ПРИХОД Чеков: 5 Общий итог: 717.00 Итого наличными: 422.00 Итого безнал.: 295.00 НДС 0% : 0.00 НДС 12% : 76.13 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 6.34 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 422.00 НС Приход: 8066456.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [08:08:15]StoreToDocumentArchive [08:08:15]MH_GetDate [08:08:15]Write to MH i2c: F0 00 00 AF 6A 08 [08:08:15]Write i2c OK [08:08:15]MH_I2C_Read... [08:08:15]Read from MH i2c: F0 [08:08:15]MH_I2C_Read... [08:08:15]Read from MH i2c: F0 09 00 [08:08:15]MH_I2C_Read... [08:08:15]Read from MH i2c: F0 09 00 AF 6A 00 03 5F F1 65 0A 64 6E 65 0A [08:08:15]shift 266 fd 1710317315 [08:08:15]Create dir for shift 0266 [08:08:15]save to /storage/0266/doc_1710317315 [08:08:15]save last doc name /storage/0266/doc_1710317315 to /storage/kkm_last_doc_name [08:08:15]save OK [08:08:15]Clear old archive folders... [08:08:15]NVStorageSaveData kkm_last_timestamp [08:08:15]File name is /storage/kkm_last_timestamp [08:08:15]Write 4 bytes [08:08:15]NVStorageSaveData done [08:08:15]ExternCall_PrintAddStr [08:08:15]wPrintStart [08:08:15]Write to MH i2c: 01 00 00 B0 6A 1A [08:08:15]Write i2c OK [08:08:15]MH_I2C_Read... [08:08:15]Read from MH i2c: 01 [08:08:15]MH_I2C_Read... [08:08:15]Read from MH i2c: 01 07 00 [08:08:15]MH_I2C_Read... [08:08:15]Read from MH i2c: 01 07 00 B0 6A 00 00 00 00 00 FF 0F 2F [08:08:15]RasterBufferAndPrint [08:08:15]line Х отчет [08:08:15]line ИНН: 02508201610067 [08:08:15]line Кассир: Жээнбеков Д. [08:08:15]line 13.03.2024 08:08 [08:08:15]line Смена: 266 [08:08:15]line РНМ: 0000000000092018 [08:08:15]line ЗНМ: 0300000097 [08:08:15]line СНО: Общий режим [08:08:15]line Всего чеков: 5 [08:08:15]line ИТОГИ ПРИХОД [08:08:15]line Чеков: 5 [08:08:15]line Общий итог: 717.00 [08:08:15]line Итого наличными: 422.00 [08:08:15]line Итого безнал.: 295.00 [08:08:15]line НДС 0% : 0.00 [08:08:15]line НДС 12% : 76.13 [08:08:15]line НСП 0% : 0.00 [08:08:15]line НСП 1,50% : 0.00 [08:08:15]line НСП 0,50% : 0.00 [08:08:15]line НСП 5% : 0.00 [08:08:15]line НСП 3% : 0.00 [08:08:15]line НСП 2% : 0.00 [08:08:15]line НСП 1% : 6.34 [08:08:15]line ИТОГИ ВОЗВРАТ ПРИХОДА [08:08:15]line Чеков: 0 [08:08:15]line Общий итог: 0.00 [08:08:15]line Итого наличными: 0.00 [08:08:15]line Итого безнал.: 0.00 [08:08:15]line НДС 0% : 0.00 [08:08:15]line НДС 12% : 0.00 [08:08:15]line НСП 0% : 0.00 [08:08:15]line НСП 1,50% : 0.00 [08:08:15]line НСП 0,50% : 0.00 [08:08:15]line НСП 5% : 0.00 [08:08:15]line НСП 3% : 0.00 [08:08:15]line НСП 2% : 0.00 [08:08:15]line НСП 1% : 0.00 [08:08:15]line ИТОГИ РАСХОД [08:08:15]line Чеков: 0 [08:08:15]line Общий итог: 0.00 [08:08:15]line Итого наличными: 0.00 [08:08:15]line Итого безнал.: 0.00 [08:08:15]line НДС 0% : 0.00 [08:08:15]line НДС 12% : 0.00 [08:08:15]line НСП 0% : 0.00 [08:08:15]line НСП 1,50% : 0.00 [08:08:15]line НСП 0,50% : 0.00 [08:08:15]line НСП 5% : 0.00 [08:08:15]line НСП 3% : 0.00 [08:08:15]line НСП 2% : 0.00 [08:08:15]line НСП 1% : 0.00 [08:08:15]line ИТОГИ ВОЗВРАТ РАСХОДА [08:08:15]line Чеков: 0 [08:08:15]line Общий итог: 0.00 [08:08:15]line Итого наличными: 0.00 [08:08:15]line Итого безнал.: 0.00 [08:08:15]line НДС 0% : 0.00 [08:08:15]line НДС 12% : 0.00 [08:08:15]line НСП 0% : 0.00 [08:08:15]line НСП 1,50% : 0.00 [08:08:15]line НСП 0,50% : 0.00 [08:08:15]line НСП 5% : 0.00 [08:08:15]line НСП 3% : 0.00 [08:08:15]line НСП 2% : 0.00 [08:08:15]line НСП 1% : 0.00 [08:08:15]line Сумма внесений: 0.00 [08:08:15]line Сумма выплат: 0.00 [08:08:15]line Нал. в кассе: 422.00 [08:08:15]line НС Приход: 8066456.31 [08:08:15]line НС Возвр.Прихода: 72451.00 [08:08:15]line НС Расход: 0.00 [08:08:15]line НС Возвр.Расхода: 0.00 [08:08:15]line ФМ: 0000000000871816 [08:08:15]written 0, free lines is 4095 [08:08:16]Write to MH i2c: 01 00 00 FB 6A 65 [08:08:16]Write i2c OK [08:08:16]MH_I2C_Read... [08:08:16]Read from MH i2c: 01 [08:08:16]MH_I2C_Read... [08:08:16]Read from MH i2c: 01 07 00 [08:08:16]MH_I2C_Read... [08:08:16]Read from MH i2c: 01 07 00 FB 6A 00 00 00 00 00 94 0A 0A [08:08:16]RasterBufferAndPrint [08:08:16]line [08:08:16]line [08:08:16]line [08:08:16]line [08:08:16]line [08:08:16]written 0, free lines is 2736 [08:08:16]MH_Cut [08:08:16]Write to MH i2c: D1 01 00 02 6B 01 3F [08:08:16]Write i2c OK [08:08:16]MH_I2C_Read... [08:08:16]Read from MH i2c: D1 [08:08:16]MH_I2C_Read... [08:08:16]Read from MH i2c: D1 01 00 [08:08:16]MH_I2C_Read... [08:08:16]Read from MH i2c: D1 01 00 02 6B 00 3E [08:08:16]Write to MH i2c: 01 00 00 03 6B 6E [08:08:16]Write i2c OK [08:08:16]MH_I2C_Read... [08:08:17]*** Cut start [08:08:17]*** Purtial cut [08:08:17]*** Stage 1: CUTSNS_PIN = 1 [08:08:18]Read from MH i2c: 01 [08:08:18]MH_I2C_Read... [08:08:18]*** Stop cut motor [08:08:18]*** Cut end [08:08:18]Read from MH i2c: 01 07 00 [08:08:18]MH_I2C_Read... [08:08:18]Read from MH i2c: 01 07 00 03 6B 00 00 00 00 00 FF 0F 83 [08:08:18]process_action x_report done [08:08:18]requested_data is exist [08:08:18]produce_requested_data [08:08:18]requested_item fd.num is exist - process it [08:08:18]SAM_PROTO_GetFieldsCounters [08:08:18]wFMCommunicate request_size=4 [08:08:18]MH_SAM_APDU [08:08:18]CAPDU: 80 13 00 00 [08:08:18]Write to MH i2c: E2 08 00 04 6B 80 13 00 00 00 00 00 00 EB [08:08:18]Write i2c OK [08:08:18]MH_I2C_Read... [08:08:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:08:18]Read from MH i2c: E2 [08:08:18]MH_I2C_Read... [08:08:18]Read from MH i2c: E2 62 00 [08:08:18]MH_I2C_Read... [08:08:18]Read from MH i2c: E2 62 00 04 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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 43 [08:08:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 39 B9 00 00 0E 04 04 00 3B 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:08:18]wFMCommunicate OK [08:08:18]SAM_PROTO_GetFieldsCounters done [08:08:18]requested_item shift.num is exist - process it [08:08:18]requested_item shift.opened is exist - process it [08:08:18]req_shift_opened [08:08:18]FM_GetShiftState [08:08:18]SAM_PROTO_GetShiftState [08:08:18]wFMCommunicate request_size=4 [08:08:18]MH_SAM_APDU [08:08:18]CAPDU: 80 13 01 00 [08:08:18]Write to MH i2c: E2 08 00 05 6B 80 13 01 00 00 00 00 00 ED [08:08:18]Write i2c OK [08:08:18]MH_I2C_Read... [08:08:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:18]Read from MH i2c: E2 [08:08:18]MH_I2C_Read... [08:08:18]Read from MH i2c: E2 0E 00 [08:08:18]MH_I2C_Read... [08:08:18]Read from MH i2c: E2 0E 00 05 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 E1 [08:08:18]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:08:18]wFMCommunicate OK [08:08:18]SAM_PROTO_GetShiftState done [08:08:18]FM_GetShiftState done [08:08:18]req_shift_opened done [08:08:18]requested_item shift.open_date is exist - process it [08:08:18]req_shift_open_date [08:08:18]req_shift_open_date done [08:08:18]produce_requested_data done [08:08:18]produce_requested_data return {"fd.num":47417,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:08:18]process_action_free x_report [08:08:18]json_value_free [08:08:18]json_value_free done [08:08:18]process_json_proto returns [08:08:18]Send response to host [08:08:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47417,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:08:18]free response buf [08:08:18]execute_script done [08:08:18]execute_script returns [08:08:18]free content buf [08:08:18]Sock 9.Close socket [08:08:18]Sock 9.Thread stoped [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:21]accept exits with 7 [08:11:21]New connection [08:11:21]New thread 3066453348 created [08:11:21]Thread 3066596708 joined [08:11:21]Waiting for new connection... [08:11:21] Sock 7.Parse request [08:11:21]Sock 7.Check first char [08:11:21]Sock 7.First char is OK [08:11:21]request: POST /json_proto HTTP/1.0 [08:11:21]Method: POST [08:11:21]URL: /json_proto [08:11:21]Method is POST - this is cgi request [08:11:21]url: /json_proto [08:11:21]query_string will be loaded in cgi processing [08:11:21]execute_cgi json_proto POST (null) [08:11:21]execute_cgi path=json_proto method=POST [08:11:21]POST find Content-Length [08:11:21]Host: 172.17.32.68:8080 [08:11:21]Content-Length: 718 [08:11:21]Content-Type: application/json [08:11:21] [08:11:21]POST finish read [08:11:21]Found Content-Length = 718 [08:11:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242327", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:11:21]execute_script... [08:11: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)242327", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:11:21]POST & json_proto [08:11:21]process_json_proto [08:11:21]json parsed OK: [08:11:21]protocol is kg_v1.0 [08:11:21]action value=close_receipt [08:11:21]process_action close_receipt [08:11:21]cmd_close_receipt [08:11:21]MH_GetDate [08:11:21]Write to MH i2c: F0 00 00 06 6B 60 [08:11:21]Write i2c OK [08:11:21]MH_I2C_Read... [08:11:21]Read from MH i2c: F0 [08:11:21]MH_I2C_Read... [08:11:21]Read from MH i2c: F0 09 00 [08:11:21]MH_I2C_Read... [08:11:21]Read from MH i2c: F0 09 00 06 6B 00 BD 5F F1 65 0A 64 6E 65 1C [08:11:21]GetLastDocTimeStamp 1710317308 [08:11:21]current date 1710317501 [08:11:21]FM_GetShiftState [08:11:21]SAM_PROTO_GetShiftState [08:11:21]wFMCommunicate request_size=4 [08:11:21]MH_SAM_APDU [08:11:21]CAPDU: 80 13 01 00 [08:11:21]Write to MH i2c: E2 08 00 07 6B 80 13 01 00 00 00 00 00 EF [08:11:21]Write i2c OK [08:11:21]MH_I2C_Read... [08:11:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:11:21]Read from MH i2c: E2 [08:11:21]MH_I2C_Read... [08:11:21]Read from MH i2c: E2 0E 00 [08:11:21]MH_I2C_Read... [08:11:21]Read from MH i2c: E2 0E 00 07 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 E3 [08:11:21]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:11:21]wFMCommunicate OK [08:11:21]SAM_PROTO_GetShiftState done [08:11:21]FM_GetShiftState done [08:11:21]opened in 1710288804 [08:11:21]opened+sec_in_day 1710375204 [08:11:21]quantity*price = 22500 [08:11:21]sum+1 = 22501 [08:11:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 6 13.03.2024 08:11 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47418 ФПД: 202113594496433 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T081141&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47418&fm=202113594496433&tin=02508201610067®Number=0000000000092018&sum=22500 0 [08:11:22]StoreToDocumentArchive [08:11:22]shift 315 fd 47418 [08:11:22]save to /storage/0315/doc_00047418 [08:11:22]save last doc name /storage/0315/doc_00047418 to /storage/kkm_last_doc_name [08:11:22]save OK [08:11:22]Clear old archive folders... [08:11:22]Remove dir /storage/0266 [08:11:22]opendir ok [08:11:22]file . [08:11:22]file .. [08:11:22]file doc_1710317315 [08:11:22]remove file /storage/0266/doc_1710317315 [08:11:22]remove dir /storage/0266 [08:11:22]ProcessDocumentItem done err = 0, tmpTLVsize=302 [08:11:22]tlvbuf is 00426920 [08:11:22]SAM_PROTO_ClearQueue [08:11:22]wFMCommunicate request_size=4 [08:11:22]MH_SAM_APDU [08:11:22]CAPDU: 80 09 00 00 [08:11:22]Write to MH i2c: E2 08 00 14 6B 80 09 00 00 00 00 00 00 F1 [08:11:22]Write i2c OK [08:11:22]MH_I2C_Read... [08:11:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:11:22]Read from MH i2c: E2 [08:11:22]MH_I2C_Read... [08:11:22]Read from MH i2c: E2 03 00 [08:11:22]MH_I2C_Read... [08:11:22]Read from MH i2c: E2 03 00 14 6B 00 90 00 F3 [08:11:22]RAPDU: 90 00 [08:11:22]wFMCommunicate OK [08:11:22]SAM_PROTO_ClearQueue done [08:11:22]KKMCreateOFDPacket [08:11:22]OFDProtocolAddRootSTLVToBuf [08:11:22]FM_MakeSignedData [08:11:22]FM_MakeSignedData [08:11:22]SAM_PROTO_SignData [08:11:22]wFMCommunicate request_size=4 [08:11:22]MH_SAM_APDU [08:11:22]CAPDU: 80 0D 01 02 [08:11:22]Write to MH i2c: E2 08 00 15 6B 80 0D 01 02 00 00 00 00 F9 [08:11:22]Write i2c OK [08:11:22]MH_I2C_Read... [08:11:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:11:23]Read from MH i2c: E2 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 03 00 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 03 00 15 6B 00 90 00 F4 [08:11:23]RAPDU: 90 00 [08:11:23]wFMCommunicate OK [08:11:23]wFMCommunicate request_size=255 [08:11:23]MH_SAM_APDU [08:11:23]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 BD 5F F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 [08:11:23]Write to MH i2c: E2 02 01 16 6B 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 BD 5F F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 00 00 1E [08:11:23]Write i2c OK [08:11:23]MH_I2C_Read... [08:11:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:11:23]Read from MH i2c: E2 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 03 00 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 03 00 16 6B 00 90 00 F5 [08:11:23]RAPDU: 90 00 [08:11:23]wFMCommunicate OK [08:11:23]wFMCommunicate request_size=61 [08:11:23]MH_SAM_APDU [08:11:23]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3A B9 00 00 35 04 06 00 B7 D2 3D 01 15 B1 [08:11:23]Write to MH i2c: E2 40 00 17 6B 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3A B9 00 00 35 04 06 00 B7 D2 3D 01 15 B1 00 00 AB [08:11:23]Write i2c OK [08:11:23]MH_I2C_Read... [08:11:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:11:23]Read from MH i2c: E2 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 03 00 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 03 00 17 6B 00 90 00 F6 [08:11:23]RAPDU: 90 00 [08:11:23]wFMCommunicate OK [08:11:23]wFMCommunicate request_size=4 [08:11:23]MH_SAM_APDU [08:11:23]CAPDU: 80 0D 03 02 [08:11:23]Write to MH i2c: E2 08 00 18 6B 80 0D 03 02 00 00 00 00 FE [08:11:23]Write i2c OK [08:11:23]MH_I2C_Read... [08:11:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:11:23]Read from MH i2c: E2 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 0B 00 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 0B 00 18 6B 00 7E 1A 93 7A 18 A0 96 E4 90 00 D6 [08:11:23]RAPDU: 7E 1A 93 7A 18 A0 96 E4 90 00 [08:11:23]wFMCommunicate OK [08:11:23]SAM_PROTO_SignData done [08:11:23]FM_MakeSignedData done [08:11:23]CreateOFDProtocolMessage [08:11:23]wFMCommunicate request_size=4 [08:11:23]MH_SAM_APDU [08:11:23]CAPDU: 80 11 00 00 [08:11:23]Write to MH i2c: E2 08 00 19 6B 80 11 00 00 00 00 00 00 FE [08:11:23]Write i2c OK [08:11:23]MH_I2C_Read... [08:11:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:11:23]Read from MH i2c: E2 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 17 00 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: E2 17 00 19 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 50 [08:11:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:11:23]wFMCommunicate OK [08:11:23]CreateOFDProtocolMessage done [08:11:23]OFDSenderStorePacket 47418 [08:11:23]StoreOFDPacket docnum=47418 [08:11:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 42 01 00 00 59 67 3A 01 E3 3A 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 BD 5F F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3A B9 00 00 35 04 06 00 B7 D2 3D 01 15 B1 7E 1A 93 7A 18 A0 96 E4 [08:11:23]CheckFolder [08:11:23]dirname=/storage/ofd_packets [08:11:23]CheckFolder done [08:11:23]ProducePacketName [08:11:23]name=ofd_packets/00047418 [08:11:23]NVStorageSaveData ofd_packets/00047418 [08:11:23]File name is /storage/ofd_packets/00047418 [08:11:23]Write 352 bytes [08:11:23]NVStorageSaveData done [08:11:23]OFDSenderStorePacket done [08:11:23]KKMCreateOFDPacket done [08:11:23]NVStorageSaveData kkm_last_timestamp [08:11:23]File name is /storage/kkm_last_timestamp [08:11:23]Write 4 bytes [08:11:23]NVStorageSaveData done [08:11:23]ExternCall_PrintAddStr [08:11:23]wPrintStart [08:11:23]Write to MH i2c: 01 00 00 1A 6B 85 [08:11:23]Write i2c OK [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: 01 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: 01 07 00 [08:11:23]MH_I2C_Read... [08:11:23]Read from MH i2c: 01 07 00 1A 6B 00 00 00 00 00 FF 0F 9A [08:11:23]RasterBufferAndPrint [08:11:23]line Счет N : (3)242327 [08:11:23]line ИНН: 02508201610067 [08:11:23]line Контрольно-Кассовый Чек [08:11:23]line ПРОДАЖА [08:11:23]line Товар: 4606532000189 [08:11:23]line Тормозная жидкость РосДот-4 0,455кг [08:11:23]line 1.000 * 225.00 [08:11:23]line = 225.00 [08:11:23]line НДС 12% НСП 1% [08:11:23]line > о реализуемом товаре [08:11:23]line ИТОГО: 225.00 [08:11:23]line НСП 1% : 1.99 [08:11:23]line НДС 12% : 23.89 [08:11:23]line Наличными: 225.00 [08:11:23]line Безнал.: 0.00 [08:11:23]line Место: АЗС № 15 "Партнер Нефть" [08:11:23]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [08:11:23]line СНО: Общий режим [08:11:23]line Чек 6 13.03.2024 08:11 [08:11:23]line Смена: 315 ФФД: 1.0 [08:11:23]line ЗНМ: 0300000097 [08:11:23]line РНМ: 0000000000092018 [08:11:23]line Версия ККМ: 001 [08:11:23]line ФМ: 0000000000871816 [08:11:23]line ФД: 47418 [08:11:23]line ФПД: 202113594496433 [08:11:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T081141&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47418&fm=202113594496433&tin=02508201610067®Number=0000000000092018&sum=22500 [08:11:23]line 0 [08:11:23]OFD Sender: Processing packet 47418 [packets to send 8, broken 7] [08:11:23]ProducePacketName [08:11:23]name=ofd_packets/00047418 [08:11:23]OFD Sender: To server: pG, [08:11:23]CommunicateWithHost lk.salyk.kg:30040 [08:11:23]ConnectInit lk.salyk.kg [08:11:23]written 0, free lines is 4095 [08:11:23]Connected sock=11 [08:11:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 42 01 00 00 59 67 3A 01 E3 3A 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 BD 5F F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3A B9 00 00 35 04 06 00 B7 D2 3D 01 15 B1 7E 1A 93 7A 18 A0 96 E4 [08:11:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E1 64 47 00 98 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3A B9 00 00 F4 03 04 00 4D 0A F1 65 B6 04 01 00 00 DE ED 4A B6 FB AB 51 36 [08:11:24]CommunicateWithHost err = 0 [08:11:24]CheckOFDResponse [08:11:24]1017 (14) - 77093643461234 [08:11:24]1041 (16) - 0000000000871816 [08:11:24]1040 (4) - 47418 [08:11:24]1012 (4) - 13.03.2024 02:07 [08:11:24]1206 (1) - 0 [08:11:24]OFD Sender: Remove packet 47418 [08:11:24]ProducePacketName [08:11:24]name=ofd_packets/00047418 [08:11:24]NVStorageDeleteData [08:11:24]Write to MH i2c: 01 00 00 43 6B AE [08:11:24]Write i2c OK [08:11:24]MH_I2C_Read... [08:11:24]Read from MH i2c: 01 [08:11:24]MH_I2C_Read... [08:11:24]Read from MH i2c: 01 07 00 [08:11:24]MH_I2C_Read... [08:11:24]Read from MH i2c: 01 07 00 43 6B 00 00 00 00 00 D9 0C 9A [08:11:24]RasterBufferAndPrint [08:11:24]line [08:11:24]line [08:11:24]line [08:11:24]line [08:11:24]line [08:11:24]written 0, free lines is 3295 [08:11:24]MH_Cut [08:11:24]Write to MH i2c: D1 01 00 4A 6B 01 87 [08:11:24]Write i2c OK [08:11:24]MH_I2C_Read... [08:11:24]Read from MH i2c: D1 [08:11:24]MH_I2C_Read... [08:11:24]Read from MH i2c: D1 01 00 [08:11:24]MH_I2C_Read... [08:11:24]Read from MH i2c: D1 01 00 4A 6B 00 86 [08:11:24]Write to MH i2c: 01 00 00 4B 6B B6 [08:11:24]Write i2c OK [08:11:24]MH_I2C_Read... [08:11:24]OFD Sender: No OFD packet to send [08:11:25]*** Cut start [08:11:25]*** Purtial cut [08:11:25]*** Stage 1: CUTSNS_PIN = 1 [08:11:25]Read from MH i2c: 01 [08:11:25]MH_I2C_Read... [08:11:25]*** Stop cut motor [08:11:25]*** Cut end [08:11:25]Read from MH i2c: 01 07 00 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: 01 07 00 4B 6B 00 00 00 00 00 FF 0F CB [08:11:25]process_action close_receipt done [08:11:25]requested_data is exist [08:11:25]produce_requested_data [08:11:25]requested_item fm.sn is exist - process it [08:11:25]wFMCommunicate request_size=4 [08:11:25]MH_SAM_APDU [08:11:25]CAPDU: 80 11 00 00 [08:11:25]Write to MH i2c: E2 08 00 4C 6B 80 11 00 00 00 00 00 00 31 [08:11:25]Write i2c OK [08:11:25]MH_I2C_Read... [08:11:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:11:25]Read from MH i2c: E2 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: E2 17 00 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: E2 17 00 4C 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 83 [08:11:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:11:25]wFMCommunicate OK [08:11:25]requested_item fd.num is exist - process it [08:11:25]SAM_PROTO_GetFieldsCounters [08:11:25]wFMCommunicate request_size=4 [08:11:25]MH_SAM_APDU [08:11:25]CAPDU: 80 13 00 00 [08:11:25]Write to MH i2c: E2 08 00 4D 6B 80 13 00 00 00 00 00 00 34 [08:11:25]Write i2c OK [08:11:25]MH_I2C_Read... [08:11:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:11:25]Read from MH i2c: E2 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: E2 62 00 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: E2 62 00 4D 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3A B9 00 00 0E 04 04 00 3B 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 90 [08:11:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3A B9 00 00 0E 04 04 00 3B 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:11:25]wFMCommunicate OK [08:11:25]SAM_PROTO_GetFieldsCounters done [08:11:25]requested_item shift.num is exist - process it [08:11:25]requested_item shift.opened is exist - process it [08:11:25]req_shift_opened [08:11:25]FM_GetShiftState [08:11:25]SAM_PROTO_GetShiftState [08:11:25]wFMCommunicate request_size=4 [08:11:25]MH_SAM_APDU [08:11:25]CAPDU: 80 13 01 00 [08:11:25]Write to MH i2c: E2 08 00 4E 6B 80 13 01 00 00 00 00 00 36 [08:11:25]Write i2c OK [08:11:25]MH_I2C_Read... [08:11:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:11:25]Read from MH i2c: E2 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: E2 0E 00 [08:11:25]MH_I2C_Read... [08:11:25]Read from MH i2c: E2 0E 00 4E 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 2A [08:11:25]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:11:25]wFMCommunicate OK [08:11:25]SAM_PROTO_GetShiftState done [08:11:25]FM_GetShiftState done [08:11:25]req_shift_opened done [08:11:25]requested_item shift.open_date is exist - process it [08:11:25]req_shift_open_date [08:11:25]req_shift_open_date done [08:11:25]produce_requested_data done [08:11:25]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47418,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:11:25]process_action_free close_receipt [08:11:25]json_value_free [08:11:25]json_value_free done [08:11:25]process_json_proto returns [08:11:25]Send response to host [08:11:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47418,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:11:25]free response buf [08:11:25]execute_script done [08:11:25]execute_script returns [08:11:25]free content buf [08:11:25]Sock 7.Close socket [08:11:25]Sock 7.Thread stoped [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:40]recv_with_timeout no data received [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:17]recv_with_timeout no data received [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:36]recv_with_timeout no data received [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:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]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]recv_with_timeout no data received [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:37]accept exits with 9 [08:29:37]New connection [08:29:37]New thread 3066596708 created [08:29:37]Thread 3066453348 joined [08:29:37]Waiting for new connection... [08:29:37] Sock 9.Parse request [08:29:37]Sock 9.Check first char [08:29:37]Sock 9.First char is OK [08:29:37]request: POST /json_proto HTTP/1.0 [08:29:37]Method: POST [08:29:37]URL: /json_proto [08:29:37]Method is POST - this is cgi request [08:29:37]url: /json_proto [08:29:37]query_string will be loaded in cgi processing [08:29:37]execute_cgi json_proto POST (null) [08:29:37]execute_cgi path=json_proto method=POST [08:29:37]POST find Content-Length [08:29:37]Host: 172.17.32.68:8080 [08:29:37]Content-Length: 623 [08:29:37]Content-Type: application/json [08:29:37] [08:29:37]POST finish read [08:29:37]Found Content-Length = 623 [08:29:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242328", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:37]execute_script... [08: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)242328", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:37]POST & json_proto [08:29:37]process_json_proto [08:29:37]json parsed OK: [08:29:37]protocol is kg_v1.0 [08:29:37]action value=close_receipt [08:29:37]process_action close_receipt [08:29:37]cmd_close_receipt [08:29:37]MH_GetDate [08:29:37]Write to MH i2c: F0 00 00 4F 6B A9 [08:29:37]Write i2c OK [08:29:37]MH_I2C_Read... [08:29:37]Read from MH i2c: F0 [08:29:37]MH_I2C_Read... [08:29:37]Read from MH i2c: F0 09 00 [08:29:37]MH_I2C_Read... [08:29:37]Read from MH i2c: F0 09 00 4F 6B 00 05 64 F1 65 0A 64 6E 65 B2 [08:29:37]GetLastDocTimeStamp 1710317501 [08:29:37]current date 1710318597 [08:29:37]FM_GetShiftState [08:29:37]SAM_PROTO_GetShiftState [08:29:37]wFMCommunicate request_size=4 [08:29:37]MH_SAM_APDU [08:29:37]CAPDU: 80 13 01 00 [08:29:37]Write to MH i2c: E2 08 00 50 6B 80 13 01 00 00 00 00 00 38 [08:29:37]Write i2c OK [08:29:37]MH_I2C_Read... [08:29:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:37]Read from MH i2c: E2 [08:29:37]MH_I2C_Read... [08:29:37]Read from MH i2c: E2 0E 00 [08:29:37]MH_I2C_Read... [08:29:37]Read from MH i2c: E2 0E 00 50 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 2C [08:29:37]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:29:37]wFMCommunicate OK [08:29:37]SAM_PROTO_GetShiftState done [08:29:37]FM_GetShiftState done [08:29:37]opened in 1710288804 [08:29:37]opened+sec_in_day 1710375204 [08:29:37]quantity*price = 13500 [08:29:37]sum+1 = 13501 [08:29:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 7 13.03.2024 08:29 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47419 ФПД: 263272295849537 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T082957&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47419&fm=263272295849537&tin=02508201610067®Number=0000000000092018&sum=13500 0 [08:29:39]StoreToDocumentArchive [08:29:39]shift 315 fd 47419 [08:29:39]save to /storage/0315/doc_00047419 [08:29:39]save last doc name /storage/0315/doc_00047419 to /storage/kkm_last_doc_name [08:29:39]save OK [08:29:39]Clear old archive folders... [08:29:39]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:29:39]tlvbuf is 00426620 [08:29:39]SAM_PROTO_ClearQueue [08:29:39]wFMCommunicate request_size=4 [08:29:39]MH_SAM_APDU [08:29:39]CAPDU: 80 09 00 00 [08:29:39]Write to MH i2c: E2 08 00 5D 6B 80 09 00 00 00 00 00 00 3A [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:29:39]Read from MH i2c: E2 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 5D 6B 00 90 00 3C [08:29:39]RAPDU: 90 00 [08:29:39]wFMCommunicate OK [08:29:39]SAM_PROTO_ClearQueue done [08:29:39]KKMCreateOFDPacket [08:29:39]OFDProtocolAddRootSTLVToBuf [08:29:39]FM_MakeSignedData [08:29:39]FM_MakeSignedData [08:29:39]SAM_PROTO_SignData [08:29:39]wFMCommunicate request_size=4 [08:29:39]MH_SAM_APDU [08:29:39]CAPDU: 80 0D 01 02 [08:29:39]Write to MH i2c: E2 08 00 5E 6B 80 0D 01 02 00 00 00 00 42 [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:29:39]Read from MH i2c: E2 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 5E 6B 00 90 00 3D [08:29:39]RAPDU: 90 00 [08:29:39]wFMCommunicate OK [08:29:39]wFMCommunicate request_size=255 [08:29:39]MH_SAM_APDU [08:29:39]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 07 00 00 00 F4 03 04 00 05 64 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [08:29:39]Write to MH i2c: E2 02 01 5F 6B 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 07 00 00 00 F4 03 04 00 05 64 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 BD [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:39]Read from MH i2c: E2 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 5F 6B 00 90 00 3E [08:29:39]RAPDU: 90 00 [08:29:39]wFMCommunicate OK [08:29:39]wFMCommunicate request_size=34 [08:29:39]MH_SAM_APDU [08:29:39]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3B B9 00 00 35 04 06 00 EF 71 DB AC 5E 41 [08:29:39]Write to MH i2c: E2 25 00 60 6B 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3B B9 00 00 35 04 06 00 EF 71 DB AC 5E 41 00 00 7F [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:39]Read from MH i2c: E2 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 03 00 60 6B 00 90 00 3F [08:29:39]RAPDU: 90 00 [08:29:39]wFMCommunicate OK [08:29:39]wFMCommunicate request_size=4 [08:29:39]MH_SAM_APDU [08:29:39]CAPDU: 80 0D 03 02 [08:29:39]Write to MH i2c: E2 08 00 61 6B 80 0D 03 02 00 00 00 00 47 [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:29:39]Read from MH i2c: E2 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 0B 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 0B 00 61 6B 00 3E CF 0E FE B0 5F B7 EC 90 00 13 [08:29:39]RAPDU: 3E CF 0E FE B0 5F B7 EC 90 00 [08:29:39]wFMCommunicate OK [08:29:39]SAM_PROTO_SignData done [08:29:39]FM_MakeSignedData done [08:29:39]CreateOFDProtocolMessage [08:29:39]wFMCommunicate request_size=4 [08:29:39]MH_SAM_APDU [08:29:39]CAPDU: 80 11 00 00 [08:29:39]Write to MH i2c: E2 08 00 62 6B 80 11 00 00 00 00 00 00 47 [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:39]Read from MH i2c: E2 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 17 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: E2 17 00 62 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 99 [08:29:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:29:39]wFMCommunicate OK [08:29:39]CreateOFDProtocolMessage done [08:29:39]OFDSenderStorePacket 47419 [08:29:39]StoreOFDPacket docnum=47419 [08:29:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 2A 21 1F 01 89 94 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 07 00 00 00 F4 03 04 00 05 64 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3B B9 00 00 35 04 06 00 EF 71 DB AC 5E 41 3E CF 0E FE B0 5F B7 EC [08:29:39]CheckFolder [08:29:39]dirname=/storage/ofd_packets [08:29:39]CheckFolder done [08:29:39]ProducePacketName [08:29:39]name=ofd_packets/00047419 [08:29:39]NVStorageSaveData ofd_packets/00047419 [08:29:39]File name is /storage/ofd_packets/00047419 [08:29:39]Write 325 bytes [08:29:39]NVStorageSaveData done [08:29:39]OFDSenderStorePacket done [08:29:39]KKMCreateOFDPacket done [08:29:39]NVStorageSaveData kkm_last_timestamp [08:29:39]File name is /storage/kkm_last_timestamp [08:29:39]Write 4 bytes [08:29:39]NVStorageSaveData done [08:29:39]ExternCall_PrintAddStr [08:29:39]wPrintStart [08:29:39]Write to MH i2c: 01 00 00 63 6B CE [08:29:39]Write i2c OK [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: 01 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: 01 07 00 [08:29:39]MH_I2C_Read... [08:29:39]Read from MH i2c: 01 07 00 63 6B 00 00 00 00 00 FF 0F E3 [08:29:39]RasterBufferAndPrint [08:29:39]line Счет N : (3)242328 [08:29:39]line ИНН: 02508201610067 [08:29:39]line Контрольно-Кассовый Чек [08:29:39]line ПРОДАЖА [08:29:39]line Товар: 48743587 [08:29:39]line Сигареты Winston XStyle Silver [08:29:39]line 1.000 * 135.00 [08:29:39]line = 135.00 [08:29:39]line НДС 12% НСП 1% [08:29:39]line > о реализуемом товаре [08:29:39]line ИТОГО: 135.00 [08:29:39]line НСП 1% : 1.19 [08:29:39]line НДС 12% : 14.34 [08:29:39]line Наличными: 135.00 [08:29:39]line Безнал.: 0.00 [08:29:39]line Место: АЗС № 15 "Партнер Нефть" [08:29:39]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [08:29:39]line СНО: Общий режим [08:29:39]line Чек 7 13.03.2024 08:29 [08:29:39]line Смена: 315 ФФД: 1.0 [08:29:39]line ЗНМ: 0300000097 [08:29:39]line РНМ: 0000000000092018 [08:29:39]line Версия ККМ: 001 [08:29:39]line ФМ: 0000000000871816 [08:29:39]line ФД: 47419 [08:29:39]line ФПД: 263272295849537 [08:29:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T082957&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47419&fm=263272295849537&tin=02508201610067®Number=0000000000092018&sum=13500 [08:29:39]line 0 [08:29:39]OFD Sender: Processing packet 47419 [packets to send 8, broken 7] [08:29:39]ProducePacketName [08:29:39]name=ofd_packets/00047419 [08:29:39]OFD Sender: To server: pG, [08:29:39]CommunicateWithHost lk.salyk.kg:30040 [08:29:39]ConnectInit lk.salyk.kg [08:29:39]written 0, free lines is 4095 [08:29:40]Connected sock=10 [08:29:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 2A 21 1F 01 89 94 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 07 00 00 00 F4 03 04 00 05 64 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3B B9 00 00 35 04 06 00 EF 71 DB AC 5E 41 3E CF 0E FE B0 5F B7 EC [08:29:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 EA 88 47 00 A4 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3B B9 00 00 F4 03 04 00 95 0E F1 65 B6 04 01 00 00 2B 7B A5 FC C7 C9 AA 55 [08:29:40]CommunicateWithHost err = 0 [08:29:40]CheckOFDResponse [08:29:40]1017 (14) - 77093643461234 [08:29:40]1041 (16) - 0000000000871816 [08:29:40]1040 (4) - 47419 [08:29:40]1012 (4) - 13.03.2024 02:25 [08:29:40]1206 (1) - 0 [08:29:40]OFD Sender: Remove packet 47419 [08:29:40]ProducePacketName [08:29:40]name=ofd_packets/00047419 [08:29:40]NVStorageDeleteData [08:29:40]Write to MH i2c: 01 00 00 8C 6B F7 [08:29:40]Write i2c OK [08:29:40]MH_I2C_Read... [08:29:40]Read from MH i2c: 01 [08:29:40]MH_I2C_Read... [08:29:40]Read from MH i2c: 01 07 00 [08:29:40]MH_I2C_Read... [08:29:40]Read from MH i2c: 01 07 00 8C 6B 00 00 00 00 00 D4 0C DE [08:29:40]RasterBufferAndPrint [08:29:40]line [08:29:40]line [08:29:40]line [08:29:40]line [08:29:40]line [08:29:40]written 0, free lines is 3288 [08:29:40]MH_Cut [08:29:40]Write to MH i2c: D1 01 00 93 6B 01 D0 [08:29:40]Write i2c OK [08:29:40]MH_I2C_Read... [08:29:40]Read from MH i2c: D1 [08:29:40]MH_I2C_Read... [08:29:40]Read from MH i2c: D1 01 00 [08:29:40]MH_I2C_Read... [08:29:40]Read from MH i2c: D1 01 00 93 6B 00 CF [08:29:40]Write to MH i2c: 01 00 00 94 6B FF [08:29:40]Write i2c OK [08:29:40]MH_I2C_Read... [08:29:40]OFD Sender: No OFD packet to send [08:29:41]*** Cut start [08:29:41]*** Purtial cut [08:29:41]*** Stage 1: CUTSNS_PIN = 1 [08:29:41]Read from MH i2c: 01 [08:29:41]MH_I2C_Read... [08:29:41]*** Stop cut motor [08:29:41]*** Cut end [08:29:41]Read from MH i2c: 01 07 00 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: 01 07 00 94 6B 00 00 00 00 00 FF 0F 14 [08:29:41]process_action close_receipt done [08:29:41]requested_data is exist [08:29:41]produce_requested_data [08:29:41]requested_item fm.sn is exist - process it [08:29:41]wFMCommunicate request_size=4 [08:29:41]MH_SAM_APDU [08:29:41]CAPDU: 80 11 00 00 [08:29:41]Write to MH i2c: E2 08 00 95 6B 80 11 00 00 00 00 00 00 7A [08:29:41]Write i2c OK [08:29:41]MH_I2C_Read... [08:29:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:41]Read from MH i2c: E2 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: E2 17 00 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: E2 17 00 95 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 CC [08:29:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:29:41]wFMCommunicate OK [08:29:41]requested_item fd.num is exist - process it [08:29:41]SAM_PROTO_GetFieldsCounters [08:29:41]wFMCommunicate request_size=4 [08:29:41]MH_SAM_APDU [08:29:41]CAPDU: 80 13 00 00 [08:29:41]Write to MH i2c: E2 08 00 96 6B 80 13 00 00 00 00 00 00 7D [08:29:41]Write i2c OK [08:29:41]MH_I2C_Read... [08:29:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:29:41]Read from MH i2c: E2 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: E2 62 00 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: E2 62 00 96 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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 DD [08: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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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:29:41]wFMCommunicate OK [08:29:41]SAM_PROTO_GetFieldsCounters done [08:29:41]requested_item shift.num is exist - process it [08:29:41]requested_item shift.opened is exist - process it [08:29:41]req_shift_opened [08:29:41]FM_GetShiftState [08:29:41]SAM_PROTO_GetShiftState [08:29:41]wFMCommunicate request_size=4 [08:29:41]MH_SAM_APDU [08:29:41]CAPDU: 80 13 01 00 [08:29:41]Write to MH i2c: E2 08 00 97 6B 80 13 01 00 00 00 00 00 7F [08:29:41]Write i2c OK [08:29:41]MH_I2C_Read... [08:29:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:41]Read from MH i2c: E2 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: E2 0E 00 [08:29:41]MH_I2C_Read... [08:29:41]Read from MH i2c: E2 0E 00 97 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 73 [08:29:41]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:29:41]wFMCommunicate OK [08:29:41]SAM_PROTO_GetShiftState done [08:29:41]FM_GetShiftState done [08:29:41]req_shift_opened done [08:29:41]requested_item shift.open_date is exist - process it [08:29:41]req_shift_open_date [08:29:41]req_shift_open_date done [08:29:41]produce_requested_data done [08:29:41]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47419,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:29:41]process_action_free close_receipt [08:29:41]json_value_free [08:29:41]json_value_free done [08:29:41]process_json_proto returns [08:29:41]Send response to host [08:29:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47419,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:29:41]free response buf [08:29:41]execute_script done [08:29:41]execute_script returns [08:29:41]free content buf [08:29:41]Sock 9.Close socket [08:29:41]Sock 9.Thread stoped [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:32:58]accept exits with 7 [08:32:58]New connection [08:32:58]New thread 3066453348 created [08:32:58]Thread 3066596708 joined [08:32:58]Waiting for new connection... [08:32:58] Sock 7.Parse request [08:32:58]Sock 7.Check first char [08:32:58]Sock 7.First char is OK [08:32:58]request: POST /json_proto HTTP/1.0 [08:32:58]Method: POST [08:32:58]URL: /json_proto [08:32:58]Method is POST - this is cgi request [08:32:58]url: /json_proto [08:32:58]query_string will be loaded in cgi processing [08:32:58]execute_cgi json_proto POST (null) [08:32:58]execute_cgi path=json_proto method=POST [08:32:58]POST find Content-Length [08:32:58]Host: 172.17.32.68:8080 [08:32:58]Content-Length: 215 [08:32:58]Content-Type: application/json [08:32:58] [08:32:58]POST finish read [08:32:58]Found Content-Length = 215 [08:32:58]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:32:58]execute_script... [08:32:58]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:32:58]POST & json_proto [08:32:58]process_json_proto [08:32:58]json parsed OK: [08:32:58]protocol is kg_v1.0 [08:32:58]action value=get_value [08:32:58]process_action get_value [08:32:58]cmd_get_value [08:32:58]process_action get_value done [08:32:58]requested_data is exist [08:32:58]produce_requested_data [08:32:58]requested_item kkm.sn is exist - process it [08:32:58]requested_item kkm.ver is exist - process it [08:32:58]requested_item fm.sn is exist - process it [08:32:58]wFMCommunicate request_size=4 [08:32:58]MH_SAM_APDU [08:32:58]CAPDU: 80 11 00 00 [08:32:58]Write to MH i2c: E2 08 00 98 6B 80 11 00 00 00 00 00 00 7D [08:32:58]Write i2c OK [08:32:58]MH_I2C_Read... [08:32:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:58]Read from MH i2c: E2 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: E2 17 00 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: E2 17 00 98 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 CF [08:32:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:32:58]wFMCommunicate OK [08:32:58]requested_item fd.num is exist - process it [08:32:58]SAM_PROTO_GetFieldsCounters [08:32:58]wFMCommunicate request_size=4 [08:32:58]MH_SAM_APDU [08:32:58]CAPDU: 80 13 00 00 [08:32:58]Write to MH i2c: E2 08 00 99 6B 80 13 00 00 00 00 00 00 80 [08:32:58]Write i2c OK [08:32:58]MH_I2C_Read... [08:32:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:58]Read from MH i2c: E2 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: E2 62 00 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: E2 62 00 99 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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 E0 [08:32:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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:32:58]wFMCommunicate OK [08:32:58]SAM_PROTO_GetFieldsCounters done [08:32:58]requested_item shift.num is exist - process it [08:32:58]requested_item shift.opened is exist - process it [08:32:58]req_shift_opened [08:32:58]FM_GetShiftState [08:32:58]SAM_PROTO_GetShiftState [08:32:58]wFMCommunicate request_size=4 [08:32:58]MH_SAM_APDU [08:32:58]CAPDU: 80 13 01 00 [08:32:58]Write to MH i2c: E2 08 00 9A 6B 80 13 01 00 00 00 00 00 82 [08:32:58]Write i2c OK [08:32:58]MH_I2C_Read... [08:32:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:58]Read from MH i2c: E2 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: E2 0E 00 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: E2 0E 00 9A 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 76 [08:32:58]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:32:58]wFMCommunicate OK [08:32:58]SAM_PROTO_GetShiftState done [08:32:58]FM_GetShiftState done [08:32:58]req_shift_opened done [08:32:58]requested_item shift.open_date is exist - process it [08:32:58]req_shift_open_date [08:32:58]req_shift_open_date done [08:32:58]produce_requested_data done [08:32:58]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47419,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:32:58]process_action_free get_value [08:32:58]json_value_free [08:32:58]json_value_free done [08:32:58]process_json_proto returns [08:32:58]Send response to host [08:32:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47419,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:32:58]free response buf [08:32:58]execute_script done [08:32:58]execute_script returns [08:32:58]free content buf [08:32:58]Sock 7.Close socket [08:32:58]Sock 7.Thread stoped [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:09]accept exits with 10 [08:33:09]New connection [08:33:09]New thread 3066596708 created [08:33:09]Thread 3066453348 joined [08:33:09]Waiting for new connection... [08:33:09] Sock 10.Parse request [08:33:09]Sock 10.Check first char [08:33:09]Sock 10.First char is OK [08:33:09]request: POST /json_proto HTTP/1.0 [08:33:09]Method: POST [08:33:09]URL: /json_proto [08:33:09]Method is POST - this is cgi request [08:33:09]url: /json_proto [08:33:09]query_string will be loaded in cgi processing [08:33:09]execute_cgi json_proto POST (null) [08:33:09]execute_cgi path=json_proto method=POST [08:33:09]POST find Content-Length [08:33:09]Host: 172.17.32.68:8080 [08:33:09]Content-Length: 331 [08:33:09]Content-Type: application/json [08:33:09] [08:33:09]POST finish read [08:33:09]Found Content-Length = 331 [08:33:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:33:09]execute_script... [08:33:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:33:09]POST & json_proto [08:33:09]process_json_proto [08:33:09]json parsed OK: [08:33:09]protocol is kg_v1.0 [08:33:09]action value=get_value [08:33:09]process_action get_value [08:33:09]cmd_get_value [08:33:09]process_action get_value done [08:33:09]requested_data is exist [08:33:09]produce_requested_data [08:33:09]requested_item fm.sale.total is exist - process it [08:33:09]SAM_PROTO_GetFMData [08:33:09]wFMCommunicate request_size=4 [08:33:09]MH_SAM_APDU [08:33:09]CAPDU: 80 13 03 00 [08:33:09]Write to MH i2c: E2 08 00 9B 6B 80 13 03 00 00 00 00 00 85 [08:33:09]Write i2c OK [08:33:09]MH_I2C_Read... [08:33:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:33:09]Read from MH i2c: E2 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 FD 00 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 FD 00 9B 6B 00 C1 04 85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 AC [08:33:09]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [08:33:09]wFMCommunicate OK [08:33:09]wFMCommunicate request_size=4 [08:33:09]MH_SAM_APDU [08:33:09]CAPDU: 80 17 00 00 [08:33:09]Write to MH i2c: E2 08 00 9C 6B 80 17 00 00 00 00 00 00 87 [08:33:09]Write i2c OK [08:33:09]MH_I2C_Read... [08:33:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:09]Read from MH i2c: E2 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 FD 00 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 FD 00 9C 6B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 00 [08:33:09]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:33:09]wFMCommunicate OK [08:33:09]wFMCommunicate request_size=4 [08:33:09]MH_SAM_APDU [08:33:09]CAPDU: 80 17 00 00 [08:33:09]Write to MH i2c: E2 08 00 9D 6B 80 17 00 00 00 00 00 00 88 [08:33:09]Write i2c OK [08:33:09]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 FD 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 FD 00 9D 6B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 28 [08:33:10]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:33:10]wFMCommunicate OK [08:33:10]wFMCommunicate request_size=4 [08:33:10]MH_SAM_APDU [08:33:10]CAPDU: 80 17 00 00 [08:33:10]Write to MH i2c: E2 08 00 9E 6B 80 17 00 00 00 00 00 00 89 [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 FD 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 FD 00 9E 6B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 0E [08:33:10]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:33:10]wFMCommunicate OK [08:33:10]wFMCommunicate request_size=4 [08:33:10]MH_SAM_APDU [08:33:10]CAPDU: 80 17 00 00 [08:33:10]Write to MH i2c: E2 08 00 9F 6B 80 17 00 00 00 00 00 00 8A [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 DE 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 DE 00 9F 6B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 69 [08:33:10]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:33:10]wFMCommunicate OK [08:33:10]SAM_PROTO_GetFMData done [08:33:10]requested_item fm.sale_refund.total is exist - process it [08:33:10]requested_item fm.buy.total is exist - process it [08:33:10]requested_item shift.sale.total is exist - process it [08:33:10]SAM_PROTO_GetShiftData [08:33:10]wFMCommunicate request_size=4 [08:33:10]MH_SAM_APDU [08:33:10]CAPDU: 80 13 02 00 [08:33:10]Write to MH i2c: E2 08 00 A0 6B 80 13 02 00 00 00 00 00 89 [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]OFD Sender: No OFD packet to send [08:33:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:33:11]Read from MH i2c: E2 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: E2 FD 00 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: E2 FD 00 A0 6B 00 AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 A4 01 70 04 03 00 78 31 01 72 04 02 00 3C 73 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 AC 2C 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 B8 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 96 [08:33:11]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 A4 01 70 04 03 00 78 31 01 72 04 02 00 3C 73 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 AC 2C 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 B8 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:33:11]wFMCommunicate OK [08:33:11]wFMCommunicate request_size=4 [08:33:11]MH_SAM_APDU [08:33:11]CAPDU: 80 17 00 00 [08:33:11]Write to MH i2c: E2 08 00 A1 6B 80 17 00 00 00 00 00 00 8C [08:33:11]Write i2c OK [08:33:11]MH_I2C_Read... [08:33:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:11]Read from MH i2c: E2 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: E2 FD 00 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: E2 FD 00 A1 6B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 A1 [08:33:11]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:33:11]wFMCommunicate OK [08:33:11]wFMCommunicate request_size=4 [08:33:11]MH_SAM_APDU [08:33:11]CAPDU: 80 17 00 00 [08:33:11]Write to MH i2c: E2 08 00 A2 6B 80 17 00 00 00 00 00 00 8D [08:33:11]Write i2c OK [08:33:11]MH_I2C_Read... [08:33:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:11]Read from MH i2c: E2 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: E2 FD 00 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: E2 FD 00 A2 6B 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 4E [08:33:11]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:33:11]wFMCommunicate OK [08:33:11]wFMCommunicate request_size=4 [08:33:11]MH_SAM_APDU [08:33:11]CAPDU: 80 17 00 00 [08:33:11]Write to MH i2c: E2 08 00 A3 6B 80 17 00 00 00 00 00 00 8E [08:33:11]Write i2c OK [08:33:11]MH_I2C_Read... [08:33:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:12]Read from MH i2c: E2 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 FD 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 FD 00 A3 6B 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 03 [08:33:12]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:33:12]wFMCommunicate OK [08:33:12]wFMCommunicate request_size=4 [08:33:12]MH_SAM_APDU [08:33:12]CAPDU: 80 17 00 00 [08:33:12]Write to MH i2c: E2 08 00 A4 6B 80 17 00 00 00 00 00 00 8F [08:33:12]Write i2c OK [08:33:12]MH_I2C_Read... [08:33:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:33:12]Read from MH i2c: E2 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 C9 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 C9 00 A4 6B 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 73 [08:33:12]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:33:12]wFMCommunicate OK [08:33:12]SAM_PROTO_GetShiftData done [08:33:12]requested_item shift.sale.total_cash is exist - process it [08:33:12]requested_item shift.sale_refund.total is exist - process it [08:33:12]requested_item shift.sale_refund.total_cash is exist - process it [08:33:12]requested_item shift.buy.total is exist - process it [08:33:12]requested_item shift.buy.total_cash is exist - process it [08:33:12]produce_requested_data done [08:33:12]produce_requested_data return {"fm.sale.total":8066816.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":1077.00,"shift.sale.total_cash":782.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:33:12]process_action_free get_value [08:33:12]json_value_free [08:33:12]json_value_free done [08:33:12]process_json_proto returns [08:33:12]Send response to host [08:33:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8066816.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":1077.00,"shift.sale.total_cash":782.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:33:12]free response buf [08:33:12]execute_script done [08:33:12]execute_script returns [08:33:12]free content buf [08:33:12]Sock 10.Close socket [08:33:12]Sock 10.Thread stoped [08:33:12]accept exits with 9 [08:33:12]New connection [08:33:12]New thread 3066453348 created [08:33:12]Thread 3066596708 joined [08:33:12]Waiting for new connection... [08:33:12] Sock 9.Parse request [08:33:12]Sock 9.Check first char [08:33:12]Sock 9.First char is OK [08:33:12]request: POST /json_proto HTTP/1.0 [08:33:12]Method: POST [08:33:12]URL: /json_proto [08:33:12]Method is POST - this is cgi request [08:33:12]url: /json_proto [08:33:12]query_string will be loaded in cgi processing [08:33:12]execute_cgi json_proto POST (null) [08:33:12]execute_cgi path=json_proto method=POST [08:33:12]POST find Content-Length [08:33:12]Host: 172.17.32.68:8080 [08:33:12]Content-Length: 331 [08:33:12]Content-Type: application/json [08:33:12] [08:33:12]POST finish read [08:33:12]Found Content-Length = 331 [08:33:12]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:33:12]execute_script... [08:33:12]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:33:12]POST & json_proto [08:33:12]process_json_proto [08:33:12]json parsed OK: [08:33:12]protocol is kg_v1.0 [08:33:12]action value=get_value [08:33:12]process_action get_value [08:33:12]cmd_get_value [08:33:12]process_action get_value done [08:33:12]requested_data is exist [08:33:12]produce_requested_data [08:33:12]requested_item fm.sale.total is exist - process it [08:33:12]SAM_PROTO_GetFMData [08:33:12]wFMCommunicate request_size=4 [08:33:12]MH_SAM_APDU [08:33:12]CAPDU: 80 13 03 00 [08:33:12]Write to MH i2c: E2 08 00 A5 6B 80 13 03 00 00 00 00 00 8F [08:33:12]Write i2c OK [08:33:12]MH_I2C_Read... [08:33:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:33:12]Read from MH i2c: E2 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 FD 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 FD 00 A5 6B 00 C1 04 85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 B6 [08:33:12]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [08:33:13]wFMCommunicate OK [08:33:13]wFMCommunicate request_size=4 [08:33:13]MH_SAM_APDU [08:33:13]CAPDU: 80 17 00 00 [08:33:13]Write to MH i2c: E2 08 00 A6 6B 80 17 00 00 00 00 00 00 91 [08:33:13]Write i2c OK [08:33:13]MH_I2C_Read... [08:33:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:13]Read from MH i2c: E2 [08:33:13]MH_I2C_Read... [08:33:13]Read from MH i2c: E2 FD 00 [08:33:13]MH_I2C_Read... [08:33:13]Read from MH i2c: E2 FD 00 A6 6B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 0A [08:33:13]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:33:13]wFMCommunicate OK [08:33:13]wFMCommunicate request_size=4 [08:33:13]MH_SAM_APDU [08:33:13]CAPDU: 80 17 00 00 [08:33:13]Write to MH i2c: E2 08 00 A7 6B 80 17 00 00 00 00 00 00 92 [08:33:13]Write i2c OK [08:33:13]MH_I2C_Read... [08:33:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:13]Read from MH i2c: E2 [08:33:13]MH_I2C_Read... [08:33:13]Read from MH i2c: E2 FD 00 [08:33:13]MH_I2C_Read... [08:33:13]Read from MH i2c: E2 FD 00 A7 6B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 32 [08:33:13]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:33:13]wFMCommunicate OK [08:33:13]wFMCommunicate request_size=4 [08:33:13]MH_SAM_APDU [08:33:13]CAPDU: 80 17 00 00 [08:33:13]Write to MH i2c: E2 08 00 A8 6B 80 17 00 00 00 00 00 00 93 [08:33:13]Write i2c OK [08:33:13]MH_I2C_Read... [08:33:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:14]Read from MH i2c: E2 [08:33:14]MH_I2C_Read... [08:33:14]Read from MH i2c: E2 FD 00 [08:33:14]MH_I2C_Read... [08:33:14]Read from MH i2c: E2 FD 00 A8 6B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 18 [08:33:14]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:33:14]wFMCommunicate OK [08:33:14]wFMCommunicate request_size=4 [08:33:14]MH_SAM_APDU [08:33:14]CAPDU: 80 17 00 00 [08:33:14]Write to MH i2c: E2 08 00 A9 6B 80 17 00 00 00 00 00 00 94 [08:33:14]Write i2c OK [08:33:14]MH_I2C_Read... [08:33:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:33:14]Read from MH i2c: E2 [08:33:14]MH_I2C_Read... [08:33:14]Read from MH i2c: E2 DE 00 [08:33:14]MH_I2C_Read... [08:33:14]Read from MH i2c: E2 DE 00 A9 6B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 73 [08:33:14]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:33:14]wFMCommunicate OK [08:33:14]SAM_PROTO_GetFMData done [08:33:14]requested_item fm.sale_refund.total is exist - process it [08:33:14]requested_item fm.buy.total is exist - process it [08:33:14]requested_item shift.sale.total is exist - process it [08:33:14]SAM_PROTO_GetShiftData [08:33:14]wFMCommunicate request_size=4 [08:33:14]MH_SAM_APDU [08:33:14]CAPDU: 80 13 02 00 [08:33:14]Write to MH i2c: E2 08 00 AA 6B 80 13 02 00 00 00 00 00 93 [08:33:14]Write i2c OK [08:33:14]MH_I2C_Read... [08:33:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:33:15]Read from MH i2c: E2 [08:33:15]MH_I2C_Read... [08:33:15]Read from MH i2c: E2 FD 00 [08:33:15]MH_I2C_Read... [08:33:15]Read from MH i2c: E2 FD 00 AA 6B 00 AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 A4 01 70 04 03 00 78 31 01 72 04 02 00 3C 73 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 AC 2C 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 B8 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 A0 [08:33:15]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 A4 01 70 04 03 00 78 31 01 72 04 02 00 3C 73 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 AC 2C 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 B8 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:33:15]wFMCommunicate OK [08:33:15]wFMCommunicate request_size=4 [08:33:15]MH_SAM_APDU [08:33:15]CAPDU: 80 17 00 00 [08:33:15]Write to MH i2c: E2 08 00 AB 6B 80 17 00 00 00 00 00 00 96 [08:33:15]Write i2c OK [08:33:15]MH_I2C_Read... [08:33:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:15]Read from MH i2c: E2 [08:33:15]MH_I2C_Read... [08:33:15]Read from MH i2c: E2 FD 00 [08:33:15]MH_I2C_Read... [08:33:15]Read from MH i2c: E2 FD 00 AB 6B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AB [08:33:15]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:33:15]wFMCommunicate OK [08:33:15]wFMCommunicate request_size=4 [08:33:15]MH_SAM_APDU [08:33:15]CAPDU: 80 17 00 00 [08:33:15]Write to MH i2c: E2 08 00 AC 6B 80 17 00 00 00 00 00 00 97 [08:33:15]Write i2c OK [08:33:15]MH_I2C_Read... [08:33:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:15]Read from MH i2c: E2 [08:33:15]MH_I2C_Read... [08:33:15]Read from MH i2c: E2 FD 00 [08:33:15]MH_I2C_Read... [08:33:15]Read from MH i2c: E2 FD 00 AC 6B 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 58 [08:33:15]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:33:15]wFMCommunicate OK [08:33:15]wFMCommunicate request_size=4 [08:33:15]MH_SAM_APDU [08:33:15]CAPDU: 80 17 00 00 [08:33:15]Write to MH i2c: E2 08 00 AD 6B 80 17 00 00 00 00 00 00 98 [08:33:15]Write i2c OK [08:33:15]MH_I2C_Read... [08:33:16]OFD Sender: No OFD packet to send [08:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:16]Read from MH i2c: E2 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 FD 00 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 FD 00 AD 6B 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 0D [08:33:16]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:33:16]wFMCommunicate OK [08:33:16]wFMCommunicate request_size=4 [08:33:16]MH_SAM_APDU [08:33:16]CAPDU: 80 17 00 00 [08:33:16]Write to MH i2c: E2 08 00 AE 6B 80 17 00 00 00 00 00 00 99 [08:33:16]Write i2c OK [08:33:16]MH_I2C_Read... [08:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:33:16]Read from MH i2c: E2 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 C9 00 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 C9 00 AE 6B 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:33:16]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:33:16]wFMCommunicate OK [08:33:16]SAM_PROTO_GetShiftData done [08:33:16]requested_item shift.sale.total_cash is exist - process it [08:33:16]requested_item shift.sale_refund.total is exist - process it [08:33:16]requested_item shift.sale_refund.total_cash is exist - process it [08:33:16]requested_item shift.buy.total is exist - process it [08:33:16]requested_item shift.buy.total_cash is exist - process it [08:33:16]produce_requested_data done [08:33:16]produce_requested_data return {"fm.sale.total":8066816.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":1077.00,"shift.sale.total_cash":782.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:33:16]process_action_free get_value [08:33:16]json_value_free [08:33:16]json_value_free done [08:33:16]process_json_proto returns [08:33:16]Send response to host [08:33:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8066816.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":1077.00,"shift.sale.total_cash":782.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:33:16]free response buf [08:33:16]execute_script done [08:33:16]execute_script returns [08:33:16]free content buf [08:33:16]Sock 9.Close socket [08:33:16]Sock 9.Thread stoped [08:33:16]accept exits with 7 [08:33:16]New connection [08:33:16]New thread 3066596708 created [08:33:16]Thread 3066453348 joined [08:33:16]Waiting for new connection... [08:33:16] Sock 7.Parse request [08:33:16]Sock 7.Check first char [08:33:16]Sock 7.First char is OK [08:33:16]request: POST /json_proto HTTP/1.0 [08:33:16]Method: POST [08:33:16]URL: /json_proto [08:33:16]Method is POST - this is cgi request [08:33:16]url: /json_proto [08:33:16]query_string will be loaded in cgi processing [08:33:16]execute_cgi json_proto POST (null) [08:33:16]execute_cgi path=json_proto method=POST [08:33:16]POST find Content-Length [08:33:16]Host: 172.17.32.68:8080 [08:33:16]Content-Length: 263 [08:33:16]Content-Type: application/json [08:33:16] [08:33:16]POST finish read [08:33:16]Found Content-Length = 263 [08:33:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:16]execute_script... [08:33:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:16]POST & json_proto [08:33:16]process_json_proto [08:33:16]json parsed OK: [08:33:16]protocol is kg_v1.0 [08:33:16]action value=x_report [08:33:16]process_action x_report [08:33:16]cmd_x_report [08:33:16]MH_GetDate [08:33:16]Write to MH i2c: F0 00 00 AF 6B 09 [08:33:16]Write i2c OK [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: F0 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: F0 09 00 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: F0 09 00 AF 6B 00 E0 64 F1 65 0A 64 6E 65 ED [08:33:16]GetLastDocTimeStamp 1710318597 [08:33:16]current date 1710318816 [08:33:16]FM_GetShiftState [08:33:16]SAM_PROTO_GetShiftState [08:33:16]wFMCommunicate request_size=4 [08:33:16]MH_SAM_APDU [08:33:16]CAPDU: 80 13 01 00 [08:33:16]Write to MH i2c: E2 08 00 B0 6B 80 13 01 00 00 00 00 00 98 [08:33:16]Write i2c OK [08:33:16]MH_I2C_Read... [08:33:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:16]Read from MH i2c: E2 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 0E 00 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 0E 00 B0 6B 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 8C [08:33:16]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:33:16]wFMCommunicate OK [08:33:16]SAM_PROTO_GetShiftState done [08:33:16]FM_GetShiftState done [08:33:16]KKMCreateXReportDocument [08:33:16]Load OK [08:33:16]Malloc new data [08:33:16]MH_GetDate [08:33:16]Write to MH i2c: F0 00 00 B1 6B 0B [08:33:16]Write i2c OK [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: F0 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: F0 09 00 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: F0 09 00 B1 6B 00 E0 64 F1 65 0A 64 6E 65 EF [08:33:16]Malloc new data [08:33:16]Malloc new data [08:33:16]wFMCommunicate request_size=4 [08:33:16]MH_SAM_APDU [08:33:16]CAPDU: 80 11 00 00 [08:33:16]Write to MH i2c: E2 08 00 B2 6B 80 11 00 00 00 00 00 00 97 [08:33:16]Write i2c OK [08:33:16]MH_I2C_Read... [08:33:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:16]Read from MH i2c: E2 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 17 00 [08:33:16]MH_I2C_Read... [08:33:16]Read from MH i2c: E2 17 00 B2 6B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E9 [08:33:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:33:16]wFMCommunicate OK [08:33:16]SAM_PROTO_GetFieldsCounters [08:33:16]wFMCommunicate request_size=4 [08:33:16]MH_SAM_APDU [08:33:16]CAPDU: 80 13 00 00 [08:33:16]Write to MH i2c: E2 08 00 B3 6B 80 13 00 00 00 00 00 00 9A [08:33:16]Write i2c OK [08:33:16]MH_I2C_Read... [08:33:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:17]Read from MH i2c: E2 [08:33:17]MH_I2C_Read... [08:33:17]Read from MH i2c: E2 62 00 [08:33:17]MH_I2C_Read... [08:33:17]Read from MH i2c: E2 62 00 B3 6B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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 FA [08:33:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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:33:17]wFMCommunicate OK [08:33:17]SAM_PROTO_GetFieldsCounters done [08:33:17]Malloc new data [08:33:17]Malloc new data [08:33:17]Malloc new data [08:33:17]KKMCreateXReportDocument OK [08:33:17]KKMSetXReportData OK [08:33:17]KKMPrepareXReportFMData [08:33:17]SAM_PROTO_GetShiftData [08:33:17]wFMCommunicate request_size=4 [08:33:17]MH_SAM_APDU [08:33:17]CAPDU: 80 13 02 00 [08:33:17]Write to MH i2c: E2 08 00 B4 6B 80 13 02 00 00 00 00 00 9D [08:33:17]Write i2c OK [08:33:17]MH_I2C_Read... [08:33:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:33:17]Read from MH i2c: E2 [08:33:17]MH_I2C_Read... [08:33:17]Read from MH i2c: E2 FD 00 [08:33:17]MH_I2C_Read... [08:33:17]Read from MH i2c: E2 FD 00 B4 6B 00 AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 A4 01 70 04 03 00 78 31 01 72 04 02 00 3C 73 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 AC 2C 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 B8 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 AA [08:33:17]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 B4 A4 01 70 04 03 00 78 31 01 72 04 02 00 3C 73 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 AC 2C 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 B8 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:33:17]wFMCommunicate OK [08:33:17]wFMCommunicate request_size=4 [08:33:17]MH_SAM_APDU [08:33:17]CAPDU: 80 17 00 00 [08:33:17]Write to MH i2c: E2 08 00 B5 6B 80 17 00 00 00 00 00 00 A0 [08:33:17]Write i2c OK [08:33:17]MH_I2C_Read... [08:33:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:18]Read from MH i2c: E2 [08:33:18]MH_I2C_Read... [08:33:18]Read from MH i2c: E2 FD 00 [08:33:18]MH_I2C_Read... [08:33:18]Read from MH i2c: E2 FD 00 B5 6B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 B5 [08:33:18]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:33:18]wFMCommunicate OK [08:33:18]wFMCommunicate request_size=4 [08:33:18]MH_SAM_APDU [08:33:18]CAPDU: 80 17 00 00 [08:33:18]Write to MH i2c: E2 08 00 B6 6B 80 17 00 00 00 00 00 00 A1 [08:33:18]Write i2c OK [08:33:18]MH_I2C_Read... [08:33:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:18]Read from MH i2c: E2 [08:33:18]MH_I2C_Read... [08:33:18]Read from MH i2c: E2 FD 00 [08:33:18]MH_I2C_Read... [08:33:18]Read from MH i2c: E2 FD 00 B6 6B 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 62 [08:33:18]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:33:18]wFMCommunicate OK [08:33:18]wFMCommunicate request_size=4 [08:33:18]MH_SAM_APDU [08:33:18]CAPDU: 80 17 00 00 [08:33:18]Write to MH i2c: E2 08 00 B7 6B 80 17 00 00 00 00 00 00 A2 [08:33:18]Write i2c OK [08:33:18]MH_I2C_Read... [08:33:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:19]Read from MH i2c: E2 [08:33:19]MH_I2C_Read... [08:33:19]Read from MH i2c: E2 FD 00 [08:33:19]MH_I2C_Read... [08:33:19]Read from MH i2c: E2 FD 00 B7 6B 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 17 [08:33:19]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:33:19]wFMCommunicate OK [08:33:19]wFMCommunicate request_size=4 [08:33:19]MH_SAM_APDU [08:33:19]CAPDU: 80 17 00 00 [08:33:19]Write to MH i2c: E2 08 00 B8 6B 80 17 00 00 00 00 00 00 A3 [08:33:19]Write i2c OK [08:33:19]MH_I2C_Read... [08:33:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:33:19]Read from MH i2c: E2 [08:33:19]MH_I2C_Read... [08:33:19]Read from MH i2c: E2 C9 00 [08:33:19]MH_I2C_Read... [08:33:19]Read from MH i2c: E2 C9 00 B8 6B 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 87 [08:33:19]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:33:19]wFMCommunicate OK [08:33:19]SAM_PROTO_GetShiftData done [08:33:19]1194 (1192) - счетчики итогов смены [08:33:19] 1134 (4) - 7 - количество чеков со всеми признаками расчетов [08:33:19] 1129 (153) - счетчики операций «приход» [08:33:19] 1135 (4) - 7 - количество чеков по признаку расчетов [08:33:19] 1201 (3) - 1077.00 - общая итоговая сумма в чеках [08:33:19] 1136 (3) - 782.00 - итоговая сумма в чеках наличными [08:33:19] 1138 (2) - 295.00 - итоговая сумма в чеках безналичными [08:33:19] 1024 (121) - суммы налогов [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 0% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1006 (11) - суммы НДС [08:33:19] 1010 (1) - 12% - код ставки НДС [08:33:19] 1011 (2) - 114.36 - сумма НДС по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (11) - суммы НСП [08:33:19] 1014 (1) - 1% - код ставки НСП [08:33:19] 1015 (2) - 9.52 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 2% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 3% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 5% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0,50% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 1,50% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1130 (141) - счетчики операций «возврат прихода» [08:33:19] 1135 (4) - 0 - количество чеков по признаку расчетов [08:33:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:33:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:33:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:33:19] 1024 (117) - суммы налогов [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 0% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 12% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 1% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 2% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 3% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 5% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0,50% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 1,50% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1131 (141) - счетчики операций «расход» [08:33:19] 1135 (4) - 0 - количество чеков по признаку расчетов [08:33:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:33:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:33:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:33:19] 1024 (117) - суммы налогов [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 0% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 12% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 1% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 2% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 3% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 5% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0,50% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 1,50% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1132 (141) - счетчики операций «возврат расхода» [08:33:19] 1135 (4) - 0 - количество чеков по признаку расчетов [08:33:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:33:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:33:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:33:19] 1024 (117) - суммы налогов [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 0% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1006 (9) - суммы НДС [08:33:19] 1010 (1) - 12% - код ставки НДС [08:33:19] 1011 (0) - 0.00 - сумма НДС по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 0% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 1% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 2% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 3% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:19] 1014 (1) - 5% - код ставки НСП [08:33:19] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:19] 1007 (9) - суммы НСП [08:33:20] 1014 (1) - 0,50% - код ставки НСП [08:33:20] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:20] 1007 (9) - суммы НСП [08:33:20] 1014 (1) - 1,50% - код ставки НСП [08:33:20] 1015 (0) - 0.00 - сумма НСП по ставке [08:33:20] 1133 (588) - - счетчики коррекции - не используются [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1194 (04AA) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1134 (046E) [08:33:20]Malloc new data [08:33:20]Processing tag 1129 (0469) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1135 (046F) [08:33:20]Malloc new data [08:33:20]Processing tag 1201 (04B1) [08:33:20]Malloc new data [08:33:20]Processing tag 1136 (0470) [08:33:20]Malloc new data [08:33:20]Processing tag 1138 (0472) [08:33:20]Malloc new data [08:33:20]Processing tag 1024 (0400) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1130 (046A) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1135 (046F) [08:33:20]Malloc new data [08:33:20]Processing tag 1201 (04B1) [08:33:20]Malloc new data [08:33:20]Processing tag 1136 (0470) [08:33:20]Malloc new data [08:33:20]Processing tag 1138 (0472) [08:33:20]Malloc new data [08:33:20]Processing tag 1024 (0400) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1131 (046B) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1135 (046F) [08:33:20]Malloc new data [08:33:20]Processing tag 1201 (04B1) [08:33:20]Malloc new data [08:33:20]Processing tag 1136 (0470) [08:33:20]Malloc new data [08:33:20]Processing tag 1138 (0472) [08:33:20]Malloc new data [08:33:20]Processing tag 1024 (0400) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1132 (046C) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1135 (046F) [08:33:20]Malloc new data [08:33:20]Processing tag 1201 (04B1) [08:33:20]Malloc new data [08:33:20]Processing tag 1136 (0470) [08:33:20]Malloc new data [08:33:20]Processing tag 1138 (0472) [08:33:20]Malloc new data [08:33:20]Processing tag 1024 (0400) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1006 (03EE) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1010 (03F2) [08:33:20]Malloc new data [08:33:20]Processing tag 1011 (03F3) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1007 (03EF) [08:33:20]Load OK [08:33:20]SetTLVBufToDocument [08:33:20]Processing tag 1014 (03F6) [08:33:20]Malloc new data [08:33:20]Processing tag 1015 (03F7) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Processing tag 1133 (046D) [08:33:20]Malloc new data [08:33:20]SetTLVBufToDocument err=0 [08:33:20]SetTLVBufToDocument err=0 [08:33:20]Malloc new data [08:33:20]SAM_PROTO_GetFMData [08:33:20]wFMCommunicate request_size=4 [08:33:20]MH_SAM_APDU [08:33:20]CAPDU: 80 13 03 00 [08:33:20]Write to MH i2c: E2 08 00 B9 6B 80 13 03 00 00 00 00 00 A3 [08:33:20]Write i2c OK [08:33:20]MH_I2C_Read... [08:33:21]OFD Sender: No OFD packet to send [08:33:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:33:21]Read from MH i2c: E2 [08:33:21]MH_I2C_Read... [08:33:21]Read from MH i2c: E2 FD 00 [08:33:21]MH_I2C_Read... [08:33:21]Read from MH i2c: E2 FD 00 B9 6B 00 C1 04 85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 CA [08:33:21]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [08:33:21]wFMCommunicate OK [08:33:21]wFMCommunicate request_size=4 [08:33:21]MH_SAM_APDU [08:33:21]CAPDU: 80 17 00 00 [08:33:21]Write to MH i2c: E2 08 00 BA 6B 80 17 00 00 00 00 00 00 A5 [08:33:21]Write i2c OK [08:33:21]MH_I2C_Read... [08:33:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:21]Read from MH i2c: E2 [08:33:21]MH_I2C_Read... [08:33:21]Read from MH i2c: E2 FD 00 [08:33:21]MH_I2C_Read... [08:33:21]Read from MH i2c: E2 FD 00 BA 6B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 1E [08:33:21]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:33:22]wFMCommunicate OK [08:33:22]wFMCommunicate request_size=4 [08:33:22]MH_SAM_APDU [08:33:22]CAPDU: 80 17 00 00 [08:33:22]Write to MH i2c: E2 08 00 BB 6B 80 17 00 00 00 00 00 00 A6 [08:33:22]Write i2c OK [08:33:22]MH_I2C_Read... [08:33:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:22]Read from MH i2c: E2 [08:33:22]MH_I2C_Read... [08:33:22]Read from MH i2c: E2 FD 00 [08:33:22]MH_I2C_Read... [08:33:22]Read from MH i2c: E2 FD 00 BB 6B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 46 [08:33:22]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:33:22]wFMCommunicate OK [08:33:22]wFMCommunicate request_size=4 [08:33:22]MH_SAM_APDU [08:33:22]CAPDU: 80 17 00 00 [08:33:22]Write to MH i2c: E2 08 00 BC 6B 80 17 00 00 00 00 00 00 A7 [08:33:22]Write i2c OK [08:33:22]MH_I2C_Read... [08:33:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:22]Read from MH i2c: E2 [08:33:22]MH_I2C_Read... [08:33:22]Read from MH i2c: E2 FD 00 [08:33:22]MH_I2C_Read... [08:33:22]Read from MH i2c: E2 FD 00 BC 6B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 2C [08:33:22]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:33:23]wFMCommunicate OK [08:33:23]wFMCommunicate request_size=4 [08:33:23]MH_SAM_APDU [08:33:23]CAPDU: 80 17 00 00 [08:33:23]Write to MH i2c: E2 08 00 BD 6B 80 17 00 00 00 00 00 00 A8 [08:33:23]Write i2c OK [08:33:23]MH_I2C_Read... [08:33:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:33:23]Read from MH i2c: E2 [08:33:23]MH_I2C_Read... [08:33:23]Read from MH i2c: E2 DE 00 [08:33:23]MH_I2C_Read... [08:33:23]Read from MH i2c: E2 DE 00 BD 6B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 87 [08:33:23]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:33:23]wFMCommunicate OK [08:33:23]SAM_PROTO_GetFMData done [08:33:23]FM_GetFMData:85 04 BD 04 6E 04 04 00 C4 B6 00 00 69 04 A0 00 6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:33:24]oper:6F 04 04 00 9B B5 00 00 B1 04 04 00 1F FC 14 30 70 04 04 00 F4 DC 24 28 72 04 04 00 2B 1F F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FB 1E 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5B D9 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:33:24]total:1F FC 14 30 [08:33:24]Malloc new data [08:33:24]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:33:24]total:2C 8D 6E [08:33:24]Malloc new data [08:33:24]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:33:24]total: [08:33:24]Malloc new data [08:33:24]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:33:24]total: [08:33:24]Malloc new data [08:33:24]KKMPrepareXReportFMData err=0 [08:33:24]Х отчет ИНН: 02508201610067 Кассир: Жээнбеков Д. 13.03.2024 08:33 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 7 ИТОГИ ПРИХОД Чеков: 7 Общий итог: 1077.00 Итого наличными: 782.00 Итого безнал.: 295.00 НДС 0% : 0.00 НДС 12% : 114.36 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 9.52 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 782.00 НС Приход: 8066816.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [08:33:24]StoreToDocumentArchive [08:33:24]MH_GetDate [08:33:24]Write to MH i2c: F0 00 00 BE 6B 18 [08:33:24]Write i2c OK [08:33:24]MH_I2C_Read... [08:33:24]Read from MH i2c: F0 [08:33:24]MH_I2C_Read... [08:33:24]Read from MH i2c: F0 09 00 [08:33:24]MH_I2C_Read... [08:33:24]Read from MH i2c: F0 09 00 BE 6B 00 E8 64 F1 65 0A 64 6E 65 04 [08:33:24]shift 266 fd 1710318824 [08:33:24]Create dir for shift 0266 [08:33:24]save to /storage/0266/doc_1710318824 [08:33:24]save last doc name /storage/0266/doc_1710318824 to /storage/kkm_last_doc_name [08:33:24]save OK [08:33:24]Clear old archive folders... [08:33:24]NVStorageSaveData kkm_last_timestamp [08:33:24]File name is /storage/kkm_last_timestamp [08:33:24]Write 4 bytes [08:33:24]NVStorageSaveData done [08:33:24]ExternCall_PrintAddStr [08:33:24]wPrintStart [08:33:24]Write to MH i2c: 01 00 00 BF 6B 2A [08:33:24]Write i2c OK [08:33:24]MH_I2C_Read... [08:33:24]Read from MH i2c: 01 [08:33:24]MH_I2C_Read... [08:33:24]Read from MH i2c: 01 07 00 [08:33:24]MH_I2C_Read... [08:33:24]Read from MH i2c: 01 07 00 BF 6B 00 00 00 00 00 FF 0F 3F [08:33:24]RasterBufferAndPrint [08:33:24]line Х отчет [08:33:24]line ИНН: 02508201610067 [08:33:24]line Кассир: Жээнбеков Д. [08:33:24]line 13.03.2024 08:33 [08:33:24]line Смена: 266 [08:33:24]line РНМ: 0000000000092018 [08:33:24]line ЗНМ: 0300000097 [08:33:24]line СНО: Общий режим [08:33:24]line Всего чеков: 7 [08:33:24]line ИТОГИ ПРИХОД [08:33:24]line Чеков: 7 [08:33:24]line Общий итог: 1077.00 [08:33:24]line Итого наличными: 782.00 [08:33:24]line Итого безнал.: 295.00 [08:33:24]line НДС 0% : 0.00 [08:33:24]line НДС 12% : 114.36 [08:33:24]line НСП 0% : 0.00 [08:33:24]line НСП 1,50% : 0.00 [08:33:24]line НСП 0,50% : 0.00 [08:33:24]line НСП 5% : 0.00 [08:33:24]line НСП 3% : 0.00 [08:33:24]line НСП 2% : 0.00 [08:33:24]line НСП 1% : 9.52 [08:33:24]line ИТОГИ ВОЗВРАТ ПРИХОДА [08:33:24]line Чеков: 0 [08:33:24]line Общий итог: 0.00 [08:33:24]line Итого наличными: 0.00 [08:33:24]line Итого безнал.: 0.00 [08:33:24]line НДС 0% : 0.00 [08:33:24]line НДС 12% : 0.00 [08:33:24]line НСП 0% : 0.00 [08:33:24]line НСП 1,50% : 0.00 [08:33:24]line НСП 0,50% : 0.00 [08:33:24]line НСП 5% : 0.00 [08:33:24]line НСП 3% : 0.00 [08:33:24]line НСП 2% : 0.00 [08:33:24]line НСП 1% : 0.00 [08:33:24]line ИТОГИ РАСХОД [08:33:24]line Чеков: 0 [08:33:24]line Общий итог: 0.00 [08:33:24]line Итого наличными: 0.00 [08:33:24]line Итого безнал.: 0.00 [08:33:24]line НДС 0% : 0.00 [08:33:24]line НДС 12% : 0.00 [08:33:24]line НСП 0% : 0.00 [08:33:24]line НСП 1,50% : 0.00 [08:33:24]line НСП 0,50% : 0.00 [08:33:24]line НСП 5% : 0.00 [08:33:24]line НСП 3% : 0.00 [08:33:24]line НСП 2% : 0.00 [08:33:24]line НСП 1% : 0.00 [08:33:24]line ИТОГИ ВОЗВРАТ РАСХОДА [08:33:24]line Чеков: 0 [08:33:24]line Общий итог: 0.00 [08:33:24]line Итого наличными: 0.00 [08:33:24]line Итого безнал.: 0.00 [08:33:24]line НДС 0% : 0.00 [08:33:24]line НДС 12% : 0.00 [08:33:24]line НСП 0% : 0.00 [08:33:24]line НСП 1,50% : 0.00 [08:33:24]line НСП 0,50% : 0.00 [08:33:24]line НСП 5% : 0.00 [08:33:24]line НСП 3% : 0.00 [08:33:24]line НСП 2% : 0.00 [08:33:24]line НСП 1% : 0.00 [08:33:24]line Сумма внесений: 0.00 [08:33:24]line Сумма выплат: 0.00 [08:33:24]line Нал. в кассе: 782.00 [08:33:24]line НС Приход: 8066816.31 [08:33:24]line НС Возвр.Прихода: 72451.00 [08:33:24]line НС Расход: 0.00 [08:33:24]line НС Возвр.Расхода: 0.00 [08:33:24]line ФМ: 0000000000871816 [08:33:24]written 0, free lines is 4095 [08:33:25]Write to MH i2c: 01 00 00 0A 6C 76 [08:33:25]Write i2c OK [08:33:25]MH_I2C_Read... [08:33:25]Read from MH i2c: 01 [08:33:25]MH_I2C_Read... [08:33:25]Read from MH i2c: 01 07 00 [08:33:25]MH_I2C_Read... [08:33:25]Read from MH i2c: 01 07 00 0A 6C 00 00 00 00 00 96 0A 1D [08:33:25]RasterBufferAndPrint [08:33:25]line [08:33:25]line [08:33:25]line [08:33:25]line [08:33:25]line [08:33:25]written 0, free lines is 2738 [08:33:25]MH_Cut [08:33:25]Write to MH i2c: D1 01 00 11 6C 01 4F [08:33:25]Write i2c OK [08:33:25]MH_I2C_Read... [08:33:25]Read from MH i2c: D1 [08:33:25]MH_I2C_Read... [08:33:25]Read from MH i2c: D1 01 00 [08:33:25]MH_I2C_Read... [08:33:25]Read from MH i2c: D1 01 00 11 6C 00 4E [08:33:25]Write to MH i2c: 01 00 00 12 6C 7E [08:33:25]Write i2c OK [08:33:25]MH_I2C_Read... [08:33:26]OFD Sender: No OFD packet to send [08:33:26]*** Cut start [08:33:26]*** Purtial cut [08:33:26]*** Stage 1: CUTSNS_PIN = 1 [08:33:26]Read from MH i2c: 01 [08:33:26]MH_I2C_Read... [08:33:26]*** Stop cut motor [08:33:26]*** Cut end [08:33:26]Read from MH i2c: 01 07 00 [08:33:26]MH_I2C_Read... [08:33:26]Read from MH i2c: 01 07 00 12 6C 00 00 00 00 00 FF 0F 93 [08:33:26]process_action x_report done [08:33:26]requested_data is exist [08:33:26]produce_requested_data [08:33:26]requested_item fd.num is exist - process it [08:33:26]SAM_PROTO_GetFieldsCounters [08:33:26]wFMCommunicate request_size=4 [08:33:26]MH_SAM_APDU [08:33:26]CAPDU: 80 13 00 00 [08:33:26]Write to MH i2c: E2 08 00 13 6C 80 13 00 00 00 00 00 00 FB [08:33:26]Write i2c OK [08:33:26]MH_I2C_Read... [08:33:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:27]Read from MH i2c: E2 [08:33:27]MH_I2C_Read... [08:33:27]Read from MH i2c: E2 62 00 [08:33:27]MH_I2C_Read... [08:33:27]Read from MH i2c: E2 62 00 13 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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 5B [08:33:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3B B9 00 00 0E 04 04 00 3B 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:33:27]wFMCommunicate OK [08:33:27]SAM_PROTO_GetFieldsCounters done [08:33:27]requested_item shift.num is exist - process it [08:33:27]requested_item shift.opened is exist - process it [08:33:27]req_shift_opened [08:33:27]FM_GetShiftState [08:33:27]SAM_PROTO_GetShiftState [08:33:27]wFMCommunicate request_size=4 [08:33:27]MH_SAM_APDU [08:33:27]CAPDU: 80 13 01 00 [08:33:27]Write to MH i2c: E2 08 00 14 6C 80 13 01 00 00 00 00 00 FD [08:33:27]Write i2c OK [08:33:27]MH_I2C_Read... [08:33:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:27]Read from MH i2c: E2 [08:33:27]MH_I2C_Read... [08:33:27]Read from MH i2c: E2 0E 00 [08:33:27]MH_I2C_Read... [08:33:27]Read from MH i2c: E2 0E 00 14 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 F1 [08:33:27]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:33:27]wFMCommunicate OK [08:33:27]SAM_PROTO_GetShiftState done [08:33:27]FM_GetShiftState done [08:33:27]req_shift_opened done [08:33:27]requested_item shift.open_date is exist - process it [08:33:27]req_shift_open_date [08:33:27]req_shift_open_date done [08:33:27]produce_requested_data done [08:33:27]produce_requested_data return {"fd.num":47419,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:33:27]process_action_free x_report [08:33:27]json_value_free [08:33:27]json_value_free done [08:33:27]process_json_proto returns [08:33:27]Send response to host [08:33:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47419,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:33:27]free response buf [08:33:27]execute_script done [08:33:27]execute_script returns [08:33:27]free content buf [08:33:27]Sock 7.Close socket [08:33:27]Sock 7.Thread stoped [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:43]recv_with_timeout no data received [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:55]recv_with_timeout no data received [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]recv_with_timeout no data received [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:27]recv_with_timeout no data received [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:50]recv_with_timeout no data received [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:15]recv_with_timeout no data received [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]accept exits with 9 [08:50:46]New connection [08:50:46]New thread 3066453348 created [08:50:46]Thread 3066596708 joined [08:50:46]Waiting for new connection... [08:50:46] Sock 9.Parse request [08:50:46]Sock 9.Check first char [08:50:46]Sock 9.First char is OK [08:50:46]request: POST /json_proto HTTP/1.0 [08:50:46]Method: POST [08:50:46]URL: /json_proto [08:50:46]Method is POST - this is cgi request [08:50:46]url: /json_proto [08:50:46]query_string will be loaded in cgi processing [08:50:46]execute_cgi json_proto POST (null) [08:50:46]execute_cgi path=json_proto method=POST [08:50:46]POST find Content-Length [08:50:46]Host: 172.17.32.68:8080 [08:50:46]Content-Length: 676 [08:50:46]Content-Type: application/json [08:50:46] [08:50:46]POST finish read [08:50:46]Found Content-Length = 676 [08:50:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1039706", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 62.90, "quantity" : 15.900, "sum" : 1000.11, "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" ] } } [08:50:46]execute_script... [08:50:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1039706", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 62.90, "quantity" : 15.900, "sum" : 1000.11, "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" ] } } [08:50:46]POST & json_proto [08:50:46]process_json_proto [08:50:46]json parsed OK: [08:50:46]protocol is kg_v1.0 [08:50:46]action value=close_receipt [08:50:46]process_action close_receipt [08:50:46]cmd_close_receipt [08:50:46]MH_GetDate [08:50:46]Write to MH i2c: F0 00 00 15 6C 70 [08:50:46]Write i2c OK [08:50:46]MH_I2C_Read... [08:50:46]Read from MH i2c: F0 [08:50:46]MH_I2C_Read... [08:50:46]Read from MH i2c: F0 09 00 [08:50:46]MH_I2C_Read... [08:50:46]Read from MH i2c: F0 09 00 15 6C 00 FA 68 F1 65 0A 64 6E 65 72 [08:50:46]GetLastDocTimeStamp 1710318816 [08:50:46]current date 1710319866 [08:50:46]FM_GetShiftState [08:50:46]SAM_PROTO_GetShiftState [08:50:46]wFMCommunicate request_size=4 [08:50:46]MH_SAM_APDU [08:50:46]CAPDU: 80 13 01 00 [08:50:46]Write to MH i2c: E2 08 00 16 6C 80 13 01 00 00 00 00 00 FF [08:50:46]Write i2c OK [08:50:46]MH_I2C_Read... [08:50:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:46]Read from MH i2c: E2 [08:50:46]MH_I2C_Read... [08:50:46]Read from MH i2c: E2 0E 00 [08:50:46]MH_I2C_Read... [08:50:46]Read from MH i2c: E2 0E 00 16 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 F3 [08:50:46]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:50:46]wFMCommunicate OK [08:50:46]SAM_PROTO_GetShiftState done [08:50:46]FM_GetShiftState done [08:50:46]opened in 1710288804 [08:50:46]opened+sec_in_day 1710375204 [08:50:46]quantity*price = 100011 [08:50:46]sum+1 = 100012 [08:50:46]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.11 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 8 13.03.2024 08:51 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47420 ФПД: 189043420384742 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T085106&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47420&fm=189043420384742&tin=02508201610067®Number=0000000000092018&sum=100000 [08:50:47]StoreToDocumentArchive [08:50:47]shift 315 fd 47420 [08:50:47]save to /storage/0315/doc_00047420 [08:50:47]save last doc name /storage/0315/doc_00047420 to /storage/kkm_last_doc_name [08:50:47]save OK [08:50:47]Clear old archive folders... [08:50:47]Remove dir /storage/0266 [08:50:47]opendir ok [08:50:47]file . [08:50:47]file .. [08:50:47]file doc_1710318824 [08:50:47]remove file /storage/0266/doc_1710318824 [08:50:47]remove dir /storage/0266 [08:50:47]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:50:47]tlvbuf is 003E1200 [08:50:47]SAM_PROTO_ClearQueue [08:50:47]wFMCommunicate request_size=4 [08:50:47]MH_SAM_APDU [08:50:47]CAPDU: 80 09 00 00 [08:50:47]Write to MH i2c: E2 08 00 23 6C 80 09 00 00 00 00 00 00 01 [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:50:47]Read from MH i2c: E2 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 23 6C 00 90 00 03 [08:50:47]RAPDU: 90 00 [08:50:47]wFMCommunicate OK [08:50:47]SAM_PROTO_ClearQueue done [08:50:47]KKMCreateOFDPacket [08:50:47]OFDProtocolAddRootSTLVToBuf [08:50:47]FM_MakeSignedData [08:50:47]FM_MakeSignedData [08:50:47]SAM_PROTO_SignData [08:50:47]wFMCommunicate request_size=4 [08:50:47]MH_SAM_APDU [08:50:47]CAPDU: 80 0D 01 02 [08:50:47]Write to MH i2c: E2 08 00 24 6C 80 0D 01 02 00 00 00 00 09 [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:50:47]Read from MH i2c: E2 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 24 6C 00 90 00 04 [08:50:47]RAPDU: 90 00 [08:50:47]wFMCommunicate OK [08:50:47]wFMCommunicate request_size=255 [08:50:47]MH_SAM_APDU [08:50:47]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 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 3E 00 00 00 00 00 37 04 06 00 92 18 00 00 00 00 13 04 06 00 AB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 FA 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3C B9 00 00 35 04 06 00 [08:50:47]Write to MH i2c: E2 02 01 25 6C 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 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 3E 00 00 00 00 00 37 04 06 00 92 18 00 00 00 00 13 04 06 00 AB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 FA 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3C B9 00 00 35 04 06 00 00 00 CA [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:47]Read from MH i2c: E2 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 25 6C 00 90 00 05 [08:50:47]RAPDU: 90 00 [08:50:47]wFMCommunicate OK [08:50:47]wFMCommunicate request_size=11 [08:50:47]MH_SAM_APDU [08:50:47]CAPDU: 80 0D 02 02 06 AB EF 19 EB 4D E6 [08:50:47]Write to MH i2c: E2 0E 00 26 6C 80 0D 02 02 06 00 AB EF 19 EB 4D E6 00 00 E9 [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:47]Read from MH i2c: E2 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 03 00 26 6C 00 90 00 06 [08:50:47]RAPDU: 90 00 [08:50:47]wFMCommunicate OK [08:50:47]wFMCommunicate request_size=4 [08:50:47]MH_SAM_APDU [08:50:47]CAPDU: 80 0D 03 02 [08:50:47]Write to MH i2c: E2 08 00 27 6C 80 0D 03 02 00 00 00 00 0E [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:50:47]Read from MH i2c: E2 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 0B 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 0B 00 27 6C 00 35 D4 4D E9 4F 02 08 BD 90 00 64 [08:50:47]RAPDU: 35 D4 4D E9 4F 02 08 BD 90 00 [08:50:47]wFMCommunicate OK [08:50:47]SAM_PROTO_SignData done [08:50:47]FM_MakeSignedData done [08:50:47]CreateOFDProtocolMessage [08:50:47]wFMCommunicate request_size=4 [08:50:47]MH_SAM_APDU [08:50:47]CAPDU: 80 11 00 00 [08:50:47]Write to MH i2c: E2 08 00 28 6C 80 11 00 00 00 00 00 00 0E [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:47]Read from MH i2c: E2 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 17 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: E2 17 00 28 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 60 [08:50:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:50:47]wFMCommunicate OK [08:50:47]CreateOFDProtocolMessage done [08:50:47]OFDSenderStorePacket 47420 [08:50:47]StoreOFDPacket docnum=47420 [08:50:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 01 00 00 41 00 08 01 EB 9C 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 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 3E 00 00 00 00 00 37 04 06 00 92 18 00 00 00 00 13 04 06 00 AB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 FA 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3C B9 00 00 35 04 06 00 AB EF 19 EB 4D E6 35 D4 4D E9 4F 02 08 BD [08:50:47]CheckFolder [08:50:47]dirname=/storage/ofd_packets [08:50:47]CheckFolder done [08:50:47]ProducePacketName [08:50:47]name=ofd_packets/00047420 [08:50:47]NVStorageSaveData ofd_packets/00047420 [08:50:47]File name is /storage/ofd_packets/00047420 [08:50:47]Write 302 bytes [08:50:47]NVStorageSaveData done [08:50:47]OFDSenderStorePacket done [08:50:47]KKMCreateOFDPacket done [08:50:47]NVStorageSaveData kkm_last_timestamp [08:50:47]File name is /storage/kkm_last_timestamp [08:50:47]Write 4 bytes [08:50:47]NVStorageSaveData done [08:50:47]ExternCall_PrintAddStr [08:50:47]wPrintStart [08:50:47]Write to MH i2c: 01 00 00 29 6C 95 [08:50:47]Write i2c OK [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: 01 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: 01 07 00 [08:50:47]MH_I2C_Read... [08:50:47]Read from MH i2c: 01 07 00 29 6C 00 00 00 00 00 FF 0F AA [08:50:47]RasterBufferAndPrint [08:50:47]line Счет N : (1)1039706 [08:50:47]line ИНН: 02508201610067 [08:50:47]line Контрольно-Кассовый Чек [08:50:47]line ПРОДАЖА [08:50:47]line ТРК (МРК, ГНК) : 51 [08:50:47]line Товар: 2710124130 [08:50:47]line Super-92-К-5 [08:50:47]line 15.900 * 62.90 [08:50:47]line = 1000.11 [08:50:47]line НДС 12% НСП 1% [08:50:47]line > о реализуемом товаре [08:50:47]line ОКРУГЛЕНИЕ: -0.11 [08:50:47]line ИТОГО: 1000.00 [08:50:47]line Внесено: 1000.00 [08:50:47]line СДАЧА: 0.00 [08:50:47]line НСП 1% : 8.85 [08:50:47]line НДС 12% : 106.21 [08:50:47]line Наличными: 1000.00 [08:50:47]line Безнал.: 0.00 [08:50:47]line Место: АЗС № 15 "Партнер Нефть" [08:50:47]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [08:50:47]line СНО: Общий режим [08:50:47]line Чек 8 13.03.2024 08:51 [08:50:47]line Смена: 315 ФФД: 1.0 [08:50:47]line ЗНМ: 0300000097 [08:50:47]line РНМ: 0000000000092018 [08:50:47]line Версия ККМ: 001 [08:50:47]line ФМ: 0000000000871816 [08:50:47]line ФД: 47420 [08:50:47]line ФПД: 189043420384742 [08:50:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T085106&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47420&fm=189043420384742&tin=02508201610067®Number=0000000000092018&sum=100000 [08:50:48]OFD Sender: Processing packet 47420 [packets to send 8, broken 7] [08:50:48]ProducePacketName [08:50:48]name=ofd_packets/00047420 [08:50:48]OFD Sender: To server: pG, [08:50:48]CommunicateWithHost lk.salyk.kg:30040 [08:50:48]ConnectInit lk.salyk.kg [08:50:48]written 0, free lines is 4095 [08:50:48]Connected sock=10 [08:50:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 01 00 00 41 00 08 01 EB 9C 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 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 3E 00 00 00 00 00 37 04 06 00 92 18 00 00 00 00 13 04 06 00 AB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 FA 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3C B9 00 00 35 04 06 00 AB EF 19 EB 4D E6 35 D4 4D E9 4F 02 08 BD [08:50:48]Write to MH i2c: 01 00 00 54 6C C0 [08:50:48]Write i2c OK [08:50:48]MH_I2C_Read... [08:50:48]Read from MH i2c: 01 [08:50:48]MH_I2C_Read... [08:50:48]Read from MH i2c: 01 07 00 [08:50:48]MH_I2C_Read... [08:50:48]Read from MH i2c: 01 07 00 54 6C 00 00 00 00 00 D2 0C A5 [08:50:48]RasterBufferAndPrint [08:50:48]line [08:50:48]line [08:50:48]line [08:50:48]line [08:50:48]line [08:50:48]written 0, free lines is 3288 [08:50:48]MH_Cut [08:50:48]Write to MH i2c: D1 01 00 5B 6C 01 99 [08:50:48]Write i2c OK [08:50:48]MH_I2C_Read... [08:50:48]Read from MH i2c: D1 [08:50:48]MH_I2C_Read... [08:50:48]Read from MH i2c: D1 01 00 [08:50:48]MH_I2C_Read... [08:50:48]Read from MH i2c: D1 01 00 5B 6C 00 98 [08:50:48]Write to MH i2c: 01 00 00 5C 6C C8 [08:50:48]Write i2c OK [08:50:48]MH_I2C_Read... [08:50:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 3E F5 47 00 30 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3C B9 00 00 F4 03 04 00 8A 13 F1 65 B6 04 01 00 00 00 7E 3A EA BB 5F D5 4A [08:50:49]CommunicateWithHost err = 0 [08:50:49]CheckOFDResponse [08:50:49]1017 (14) - 77093643461234 [08:50:49]1041 (16) - 0000000000871816 [08:50:49]1040 (4) - 47420 [08:50:49]1012 (4) - 13.03.2024 02:46 [08:50:49]1206 (1) - 0 [08:50:49]OFD Sender: Remove packet 47420 [08:50:49]ProducePacketName [08:50:49]name=ofd_packets/00047420 [08:50:49]NVStorageDeleteData [08:50:49]*** Cut start [08:50:49]*** Purtial cut [08:50:49]*** Stage 1: CUTSNS_PIN = 1 [08:50:49]OFD Sender: No OFD packet to send [08:50:49]Read from MH i2c: 01 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: 01 07 00 [08:50:49]MH_I2C_Read... [08:50:49]*** Stop cut motor [08:50:49]*** Cut end [08:50:49]Read from MH i2c: 01 07 00 5C 6C 00 00 00 00 00 FF 0F DD [08:50:49]process_action close_receipt done [08:50:49]requested_data is exist [08:50:49]produce_requested_data [08:50:49]requested_item fm.sn is exist - process it [08:50:49]wFMCommunicate request_size=4 [08:50:49]MH_SAM_APDU [08:50:49]CAPDU: 80 11 00 00 [08:50:49]Write to MH i2c: E2 08 00 5D 6C 80 11 00 00 00 00 00 00 43 [08:50:49]Write i2c OK [08:50:49]MH_I2C_Read... [08:50:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:49]Read from MH i2c: E2 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: E2 17 00 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: E2 17 00 5D 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 95 [08:50:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:50:49]wFMCommunicate OK [08:50:49]requested_item fd.num is exist - process it [08:50:49]SAM_PROTO_GetFieldsCounters [08:50:49]wFMCommunicate request_size=4 [08:50:49]MH_SAM_APDU [08:50:49]CAPDU: 80 13 00 00 [08:50:49]Write to MH i2c: E2 08 00 5E 6C 80 13 00 00 00 00 00 00 46 [08:50:49]Write i2c OK [08:50:49]MH_I2C_Read... [08:50:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:50:49]Read from MH i2c: E2 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: E2 62 00 [08:50:49]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 62 00 5E 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3C B9 00 00 0E 04 04 00 3B 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 AA [08:50:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3C B9 00 00 0E 04 04 00 3B 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:50:50]wFMCommunicate OK [08:50:50]SAM_PROTO_GetFieldsCounters done [08:50:50]requested_item shift.num is exist - process it [08:50:50]requested_item shift.opened is exist - process it [08:50:50]req_shift_opened [08:50:50]FM_GetShiftState [08:50:50]SAM_PROTO_GetShiftState [08:50:50]wFMCommunicate request_size=4 [08:50:50]MH_SAM_APDU [08:50:50]CAPDU: 80 13 01 00 [08:50:50]Write to MH i2c: E2 08 00 5F 6C 80 13 01 00 00 00 00 00 48 [08:50:50]Write i2c OK [08:50:50]MH_I2C_Read... [08:50:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:50]Read from MH i2c: E2 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 0E 00 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 0E 00 5F 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 3C [08:50:50]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:50:50]wFMCommunicate OK [08:50:50]SAM_PROTO_GetShiftState done [08:50:50]FM_GetShiftState done [08:50:50]req_shift_opened done [08:50:50]requested_item shift.open_date is exist - process it [08:50:50]req_shift_open_date [08:50:50]req_shift_open_date done [08:50:50]produce_requested_data done [08:50:50]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47420,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:50:50]process_action_free close_receipt [08:50:50]json_value_free [08:50:50]json_value_free done [08:50:50]process_json_proto returns [08:50:50]Send response to host [08:50:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47420,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:50:50]free response buf [08:50:50]execute_script done [08:50:50]execute_script returns [08:50:50]free content buf [08:50:50]Sock 9.Close socket [08:50:50]Sock 9.Thread stoped [08:50:50]accept exits with 7 [08:50:50]New connection [08:50:50]New thread 3066596708 created [08:50:50]Thread 3066453348 joined [08:50:50]Waiting for new connection... [08:50:50] Sock 7.Parse request [08:50:50]Sock 7.Check first char [08:50:50]Sock 7.First char is OK [08:50:50]request: POST /json_proto HTTP/1.0 [08:50:50]Method: POST [08:50:50]URL: /json_proto [08:50:50]Method is POST - this is cgi request [08:50:50]url: /json_proto [08:50:50]query_string will be loaded in cgi processing [08:50:50]execute_cgi json_proto POST (null) [08:50:50]execute_cgi path=json_proto method=POST [08:50:50]POST find Content-Length [08:50:50]Host: 172.17.32.68:8080 [08:50:50]Content-Length: 678 [08:50:50]Content-Type: application/json [08:50:50] [08:50:50]POST finish read [08:50:50]Found Content-Length = 678 [08:50:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1039707", "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" : 61.90, "quantity" : 8.080, "sum" : 500.15, "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" ] } } [08:50:50]execute_script... [08:50:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1039707", "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" : 61.90, "quantity" : 8.080, "sum" : 500.15, "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" ] } } [08:50:50]POST & json_proto [08:50:50]process_json_proto [08:50:50]json parsed OK: [08:50:50]protocol is kg_v1.0 [08:50:50]action value=close_receipt [08:50:50]process_action close_receipt [08:50:50]cmd_close_receipt [08:50:50]MH_GetDate [08:50:50]Write to MH i2c: F0 00 00 60 6C BB [08:50:50]Write i2c OK [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: F0 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: F0 09 00 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: F0 09 00 60 6C 00 FE 68 F1 65 0A 64 6E 65 C1 [08:50:50]GetLastDocTimeStamp 1710319866 [08:50:50]current date 1710319870 [08:50:50]FM_GetShiftState [08:50:50]SAM_PROTO_GetShiftState [08:50:50]wFMCommunicate request_size=4 [08:50:50]MH_SAM_APDU [08:50:50]CAPDU: 80 13 01 00 [08:50:50]Write to MH i2c: E2 08 00 61 6C 80 13 01 00 00 00 00 00 4A [08:50:50]Write i2c OK [08:50:50]MH_I2C_Read... [08:50:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:50]Read from MH i2c: E2 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 0E 00 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 0E 00 61 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 3E [08:50:50]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:50:50]wFMCommunicate OK [08:50:50]SAM_PROTO_GetShiftState done [08:50:50]FM_GetShiftState done [08:50:50]opened in 1710288804 [08:50:50]opened+sec_in_day 1710375204 [08:50:50]quantity*price = 50015 [08:50:50]sum+1 = 50016 [08:50:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.15 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.11 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 9 13.03.2024 08:51 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47421 ФПД: 32851207239371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T085110&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47421&fm=32851207239371&tin=02508201610067®Number=0000000000092018&sum=50000 [08:50:51]StoreToDocumentArchive [08:50:51]shift 315 fd 47421 [08:50:51]save to /storage/0315/doc_00047421 [08:50:51]save last doc name /storage/0315/doc_00047421 to /storage/kkm_last_doc_name [08:50:51]save OK [08:50:51]Clear old archive folders... [08:50:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:50:51]tlvbuf is 002B3800 [08:50:51]SAM_PROTO_ClearQueue [08:50:51]wFMCommunicate request_size=4 [08:50:51]MH_SAM_APDU [08:50:51]CAPDU: 80 09 00 00 [08:50:51]Write to MH i2c: E2 08 00 6E 6C 80 09 00 00 00 00 00 00 4C [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:50:51]Read from MH i2c: E2 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 6E 6C 00 90 00 4E [08:50:51]RAPDU: 90 00 [08:50:51]wFMCommunicate OK [08:50:51]SAM_PROTO_ClearQueue done [08:50:51]KKMCreateOFDPacket [08:50:51]OFDProtocolAddRootSTLVToBuf [08:50:51]FM_MakeSignedData [08:50:51]FM_MakeSignedData [08:50:51]SAM_PROTO_SignData [08:50:51]wFMCommunicate request_size=4 [08:50:51]MH_SAM_APDU [08:50:51]CAPDU: 80 0D 01 02 [08:50:51]Write to MH i2c: E2 08 00 6F 6C 80 0D 01 02 00 00 00 00 54 [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:50:51]Read from MH i2c: E2 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 6F 6C 00 90 00 4F [08:50:51]RAPDU: 90 00 [08:50:51]wFMCommunicate OK [08:50:51]wFMCommunicate request_size=255 [08:50:51]MH_SAM_APDU [08:50:51]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 90 1F 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 5F 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 BF 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 09 00 00 00 F4 03 04 00 FE 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3D B9 00 00 35 04 06 00 1D [08:50:51]Write to MH i2c: E2 02 01 70 6C 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 90 1F 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 5F 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 BF 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 09 00 00 00 F4 03 04 00 FE 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3D B9 00 00 35 04 06 00 1D 00 00 38 [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:52]Read from MH i2c: E2 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 03 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 03 00 70 6C 00 90 00 50 [08:50:52]RAPDU: 90 00 [08:50:52]wFMCommunicate OK [08:50:52]wFMCommunicate request_size=10 [08:50:52]MH_SAM_APDU [08:50:52]CAPDU: 80 0D 02 02 05 E0 C4 89 B6 CB [08:50:52]Write to MH i2c: E2 0D 00 71 6C 80 0D 02 02 05 00 E0 C4 89 B6 CB 00 00 0F [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:52]Read from MH i2c: E2 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 03 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 03 00 71 6C 00 90 00 51 [08:50:52]RAPDU: 90 00 [08:50:52]wFMCommunicate OK [08:50:52]wFMCommunicate request_size=4 [08:50:52]MH_SAM_APDU [08:50:52]CAPDU: 80 0D 03 02 [08:50:52]Write to MH i2c: E2 08 00 72 6C 80 0D 03 02 00 00 00 00 59 [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:50:52]Read from MH i2c: E2 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 0B 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 0B 00 72 6C 00 4B 2B 87 78 9A E1 49 3F 90 00 D2 [08:50:52]RAPDU: 4B 2B 87 78 9A E1 49 3F 90 00 [08:50:52]wFMCommunicate OK [08:50:52]SAM_PROTO_SignData done [08:50:52]FM_MakeSignedData done [08:50:52]CreateOFDProtocolMessage [08:50:52]wFMCommunicate request_size=4 [08:50:52]MH_SAM_APDU [08:50:52]CAPDU: 80 11 00 00 [08:50:52]Write to MH i2c: E2 08 00 73 6C 80 11 00 00 00 00 00 00 59 [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:52]Read from MH i2c: E2 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 17 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: E2 17 00 73 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AB [08:50:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:50:52]wFMCommunicate OK [08:50:52]CreateOFDProtocolMessage done [08:50:52]OFDSenderStorePacket 47421 [08:50:52]StoreOFDPacket docnum=47421 [08:50:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0F 01 00 00 D3 53 07 01 A7 5E 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 90 1F 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 5F 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 BF 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 09 00 00 00 F4 03 04 00 FE 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3D B9 00 00 35 04 06 00 1D E0 C4 89 B6 CB 4B 2B 87 78 9A E1 49 3F [08:50:52]CheckFolder [08:50:52]dirname=/storage/ofd_packets [08:50:52]CheckFolder done [08:50:52]ProducePacketName [08:50:52]name=ofd_packets/00047421 [08:50:52]NVStorageSaveData ofd_packets/00047421 [08:50:52]File name is /storage/ofd_packets/00047421 [08:50:52]Write 301 bytes [08:50:52]NVStorageSaveData done [08:50:52]OFDSenderStorePacket done [08:50:52]KKMCreateOFDPacket done [08:50:52]NVStorageSaveData kkm_last_timestamp [08:50:52]File name is /storage/kkm_last_timestamp [08:50:52]Write 4 bytes [08:50:52]NVStorageSaveData done [08:50:52]ExternCall_PrintAddStr [08:50:52]wPrintStart [08:50:52]Write to MH i2c: 01 00 00 74 6C E0 [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: 01 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: 01 07 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: 01 07 00 74 6C 00 00 00 00 00 FF 0F F5 [08:50:52]RasterBufferAndPrint [08:50:52]line Счет N : (1)1039707 [08:50:52]line ИНН: 02508201610067 [08:50:52]line Контрольно-Кассовый Чек [08:50:52]line ПРОДАЖА [08:50:52]line ТРК (МРК, ГНК) : 13 [08:50:52]line Товар: 2710124130 [08:50:52]line Аи-92-К-5 [08:50:52]line 8.080 * 61.90 [08:50:52]line = 500.15 [08:50:52]line НДС 12% НСП 1% [08:50:52]line > о реализуемом товаре [08:50:52]line ОКРУГЛЕНИЕ: -0.15 [08:50:52]line ИТОГО: 500.00 [08:50:52]line Внесено: 500.00 [08:50:52]line СДАЧА: 0.00 [08:50:52]line НСП 1% : 4.43 [08:50:52]line НДС 12% : 53.11 [08:50:52]line Наличными: 500.00 [08:50:52]line Безнал.: 0.00 [08:50:52]line Место: АЗС № 15 "Партнер Нефть" [08:50:52]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [08:50:52]line СНО: Общий режим [08:50:52]line Чек 9 13.03.2024 08:51 [08:50:52]line Смена: 315 ФФД: 1.0 [08:50:52]line ЗНМ: 0300000097 [08:50:52]line РНМ: 0000000000092018 [08:50:52]line Версия ККМ: 001 [08:50:52]line ФМ: 0000000000871816 [08:50:52]line ФД: 47421 [08:50:52]line ФПД: 32851207239371 [08:50:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T085110&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47421&fm=32851207239371&tin=02508201610067®Number=0000000000092018&sum=50000 [08:50:52]OFD Sender: Processing packet 47421 [packets to send 8, broken 7] [08:50:52]ProducePacketName [08:50:52]name=ofd_packets/00047421 [08:50:52]OFD Sender: To server: pG, [08:50:52]CommunicateWithHost lk.salyk.kg:30040 [08:50:52]ConnectInit lk.salyk.kg [08:50:52]written 0, free lines is 4095 [08:50:53]Connected sock=11 [08:50:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0F 01 00 00 D3 53 07 01 A7 5E 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 90 1F 00 00 00 00 00 37 04 06 00 2E 18 00 00 00 00 13 04 06 00 5F 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 BF 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 09 00 00 00 F4 03 04 00 FE 68 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3D B9 00 00 35 04 06 00 1D E0 C4 89 B6 CB 4B 2B 87 78 9A E1 49 3F [08:50:53]Write to MH i2c: 01 00 00 9F 6C 0B [08:50:53]Write i2c OK [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: 01 [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: 01 07 00 [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: 01 07 00 9F 6C 00 00 00 00 00 DE 0C FC [08:50:53]RasterBufferAndPrint [08:50:53]line [08:50:53]line [08:50:53]line [08:50:53]line [08:50:53]line [08:50:53]written 0, free lines is 3309 [08:50:53]MH_Cut [08:50:53]Write to MH i2c: D1 01 00 A6 6C 01 E4 [08:50:53]Write i2c OK [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: D1 [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: D1 01 00 [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: D1 01 00 A6 6C 00 E3 [08:50:53]Write to MH i2c: 01 00 00 A7 6C 13 [08:50:53]Write i2c OK [08:50:53]MH_I2C_Read... [08:50:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 69 4C 47 00 B3 CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3D B9 00 00 F4 03 04 00 8E 13 F1 65 B6 04 01 00 00 BE 27 14 20 0A F1 3E 4F [08:50:53]CommunicateWithHost err = 0 [08:50:53]CheckOFDResponse [08:50:53]1017 (14) - 77093643461234 [08:50:53]1041 (16) - 0000000000871816 [08:50:53]1040 (4) - 47421 [08:50:53]1012 (4) - 13.03.2024 02:46 [08:50:53]1206 (1) - 0 [08:50:53]OFD Sender: Remove packet 47421 [08:50:53]ProducePacketName [08:50:53]name=ofd_packets/00047421 [08:50:53]NVStorageDeleteData [08:50:54]*** Cut start [08:50:54]*** Purtial cut [08:50:54]*** Stage 1: CUTSNS_PIN = 1 [08:50:54]OFD Sender: No OFD packet to send [08:50:54]Read from MH i2c: 01 [08:50:54]MH_I2C_Read... [08:50:54]*** Stop cut motor [08:50:54]*** Cut end [08:50:54]Read from MH i2c: 01 07 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: 01 07 00 A7 6C 00 00 00 00 00 FF 0F 28 [08:50:54]process_action close_receipt done [08:50:54]requested_data is exist [08:50:54]produce_requested_data [08:50:54]requested_item fm.sn is exist - process it [08:50:54]wFMCommunicate request_size=4 [08:50:54]MH_SAM_APDU [08:50:54]CAPDU: 80 11 00 00 [08:50:54]Write to MH i2c: E2 08 00 A8 6C 80 11 00 00 00 00 00 00 8E [08:50:54]Write i2c OK [08:50:54]MH_I2C_Read... [08:50:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:54]Read from MH i2c: E2 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 17 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 17 00 A8 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E0 [08:50:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [08:50:54]wFMCommunicate OK [08:50:54]requested_item fd.num is exist - process it [08:50:54]SAM_PROTO_GetFieldsCounters [08:50:54]wFMCommunicate request_size=4 [08:50:54]MH_SAM_APDU [08:50:54]CAPDU: 80 13 00 00 [08:50:54]Write to MH i2c: E2 08 00 A9 6C 80 13 00 00 00 00 00 00 91 [08:50:54]Write i2c OK [08:50:54]MH_I2C_Read... [08:50:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:50:54]Read from MH i2c: E2 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 62 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 62 00 A9 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3D B9 00 00 0E 04 04 00 3B 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 F9 [08:50:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3D B9 00 00 0E 04 04 00 3B 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 [08:50:54]wFMCommunicate OK [08:50:54]SAM_PROTO_GetFieldsCounters done [08:50:54]requested_item shift.num is exist - process it [08:50:54]requested_item shift.opened is exist - process it [08:50:54]req_shift_opened [08:50:54]FM_GetShiftState [08:50:54]SAM_PROTO_GetShiftState [08:50:54]wFMCommunicate request_size=4 [08:50:54]MH_SAM_APDU [08:50:54]CAPDU: 80 13 01 00 [08:50:54]Write to MH i2c: E2 08 00 AA 6C 80 13 01 00 00 00 00 00 93 [08:50:54]Write i2c OK [08:50:54]MH_I2C_Read... [08:50:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:54]Read from MH i2c: E2 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 0E 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 0E 00 AA 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 87 [08:50:54]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [08:50:54]wFMCommunicate OK [08:50:54]SAM_PROTO_GetShiftState done [08:50:54]FM_GetShiftState done [08:50:54]req_shift_opened done [08:50:54]requested_item shift.open_date is exist - process it [08:50:54]req_shift_open_date [08:50:54]req_shift_open_date done [08:50:54]produce_requested_data done [08:50:54]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47421,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [08:50:54]process_action_free close_receipt [08:50:54]json_value_free [08:50:54]json_value_free done [08:50:54]process_json_proto returns [08:50:54]Send response to host [08:50:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47421,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [08:50:54]free response buf [08:50:54]execute_script done [08:50:54]execute_script returns [08:50:54]free content buf [08:50:54]Sock 7.Close socket [08:50:54]Sock 7.Thread stoped [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:27]recv_with_timeout no data received [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:05]recv_with_timeout no data received [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:48]recv_with_timeout no data received [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:44]recv_with_timeout no data received [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:26]recv_with_timeout no data received [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:34]recv_with_timeout no data received [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:11]accept exits with 9 [09:13:11]New connection [09:13:11]New thread 3066453348 created [09:13:11]Thread 3066596708 joined [09:13:11]Waiting for new connection... [09:13:11] Sock 9.Parse request [09:13:11]Sock 9.Check first char [09:13:11]Sock 9.First char is OK [09:13:11]request: POST /json_proto HTTP/1.0 [09:13:11]Method: POST [09:13:11]URL: /json_proto [09:13:11]Method is POST - this is cgi request [09:13:11]url: /json_proto [09:13:11]query_string will be loaded in cgi processing [09:13:11]execute_cgi json_proto POST (null) [09:13:11]execute_cgi path=json_proto method=POST [09:13:11]POST find Content-Length [09:13:11]Host: 172.17.32.68:8080 [09:13:11]Content-Length: 621 [09:13:11]Content-Type: application/json [09:13:11] [09:13:11]POST finish read [09:13:11]Found Content-Length = 621 [09:13:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242329", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "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" ] } } [09:13:11]execute_script... [09: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 : (3)242329", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "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" ] } } [09:13:11]POST & json_proto [09:13:11]process_json_proto [09:13:11]json parsed OK: [09:13:11]protocol is kg_v1.0 [09:13:11]action value=close_receipt [09:13:11]process_action close_receipt [09:13:11]cmd_close_receipt [09:13:11]MH_GetDate [09:13:11]Write to MH i2c: F0 00 00 AB 6C 06 [09:13:11]Write i2c OK [09:13:11]MH_I2C_Read... [09:13:11]Read from MH i2c: F0 [09:13:11]MH_I2C_Read... [09:13:11]Read from MH i2c: F0 09 00 [09:13:11]MH_I2C_Read... [09:13:11]Read from MH i2c: F0 09 00 AB 6C 00 3B 6E F1 65 0A 64 6E 65 4F [09:13:11]GetLastDocTimeStamp 1710319870 [09:13:11]current date 1710321211 [09:13:11]FM_GetShiftState [09:13:11]SAM_PROTO_GetShiftState [09:13:11]wFMCommunicate request_size=4 [09:13:11]MH_SAM_APDU [09:13:11]CAPDU: 80 13 01 00 [09:13:11]Write to MH i2c: E2 08 00 AC 6C 80 13 01 00 00 00 00 00 95 [09:13:11]Write i2c OK [09:13:11]MH_I2C_Read... [09:13:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:11]Read from MH i2c: E2 [09:13:11]MH_I2C_Read... [09:13:11]Read from MH i2c: E2 0E 00 [09:13:11]MH_I2C_Read... [09:13:11]Read from MH i2c: E2 0E 00 AC 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 89 [09:13:11]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [09:13:11]wFMCommunicate OK [09:13:11]SAM_PROTO_GetShiftState done [09:13:11]FM_GetShiftState done [09:13:11]opened in 1710288804 [09:13:11]opened+sec_in_day 1710375204 [09:13:11]quantity*price = 12500 [09:13:11]sum+1 = 12501 [09:13:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 10 13.03.2024 09:13 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47422 ФПД: 49768446166750 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T091331&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47422&fm=49768446166750&tin=02508201610067®Number=0000000000092018&sum=12500 0 [09:13:12]StoreToDocumentArchive [09:13:12]shift 315 fd 47422 [09:13:12]save to /storage/0315/doc_00047422 [09:13:12]save last doc name /storage/0315/doc_00047422 to /storage/kkm_last_doc_name [09:13:12]save OK [09:13:12]Clear old archive folders... [09:13:12]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:13:12]tlvbuf is 003CC480 [09:13:12]SAM_PROTO_ClearQueue [09:13:12]wFMCommunicate request_size=4 [09:13:12]MH_SAM_APDU [09:13:12]CAPDU: 80 09 00 00 [09:13:12]Write to MH i2c: E2 08 00 B9 6C 80 09 00 00 00 00 00 00 97 [09:13:12]Write i2c OK [09:13:12]MH_I2C_Read... [09:13:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:13:12]Read from MH i2c: E2 [09:13:12]MH_I2C_Read... [09:13:12]Read from MH i2c: E2 03 00 [09:13:12]MH_I2C_Read... [09:13:12]Read from MH i2c: E2 03 00 B9 6C 00 90 00 99 [09:13:12]RAPDU: 90 00 [09:13:12]wFMCommunicate OK [09:13:12]SAM_PROTO_ClearQueue done [09:13:12]KKMCreateOFDPacket [09:13:12]OFDProtocolAddRootSTLVToBuf [09:13:12]FM_MakeSignedData [09:13:12]FM_MakeSignedData [09:13:12]SAM_PROTO_SignData [09:13:12]wFMCommunicate request_size=4 [09:13:12]MH_SAM_APDU [09:13:12]CAPDU: 80 0D 01 02 [09:13:12]Write to MH i2c: E2 08 00 BA 6C 80 0D 01 02 00 00 00 00 9F [09:13:12]Write i2c OK [09:13:12]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 [09:13:13]MH_I2C_Read... [09:13:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:13:13]Read from MH i2c: E2 03 00 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 03 00 BA 6C 00 90 00 9A [09:13:13]RAPDU: 90 00 [09:13:13]wFMCommunicate OK [09:13:13]wFMCommunicate request_size=255 [09:13:13]MH_SAM_APDU [09:13:13]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 0A 00 00 00 F4 03 04 00 3B 6E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [09:13:13]Write to MH i2c: E2 02 01 BB 6C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 0A 00 00 00 F4 03 04 00 3B 6E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 C8 [09:13:13]Write i2c OK [09:13:13]MH_I2C_Read... [09:13:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:13]Read from MH i2c: E2 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 03 00 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 03 00 BB 6C 00 90 00 9B [09:13:13]RAPDU: 90 00 [09:13:13]wFMCommunicate OK [09:13:13]wFMCommunicate request_size=32 [09:13:13]MH_SAM_APDU [09:13:13]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 3E B9 00 00 35 04 06 00 2D 43 9E 8E 06 DE [09:13:13]Write to MH i2c: E2 23 00 BC 6C 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 3E B9 00 00 35 04 06 00 2D 43 9E 8E 06 DE 00 00 75 [09:13:13]Write i2c OK [09:13:13]MH_I2C_Read... [09:13:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:13]Read from MH i2c: E2 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 03 00 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 03 00 BC 6C 00 90 00 9C [09:13:13]RAPDU: 90 00 [09:13:13]wFMCommunicate OK [09:13:13]wFMCommunicate request_size=4 [09:13:13]MH_SAM_APDU [09:13:13]CAPDU: 80 0D 03 02 [09:13:13]Write to MH i2c: E2 08 00 BD 6C 80 0D 03 02 00 00 00 00 A4 [09:13:13]Write i2c OK [09:13:13]MH_I2C_Read... [09:13:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:13:13]Read from MH i2c: E2 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 0B 00 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 0B 00 BD 6C 00 00 E0 7B 98 6C CF B6 5B 90 00 E4 [09:13:13]RAPDU: 00 E0 7B 98 6C CF B6 5B 90 00 [09:13:13]wFMCommunicate OK [09:13:13]SAM_PROTO_SignData done [09:13:13]FM_MakeSignedData done [09:13:13]CreateOFDProtocolMessage [09:13:13]wFMCommunicate request_size=4 [09:13:13]MH_SAM_APDU [09:13:13]CAPDU: 80 11 00 00 [09:13:13]Write to MH i2c: E2 08 00 BE 6C 80 11 00 00 00 00 00 00 A4 [09:13:13]Write i2c OK [09:13:13]MH_I2C_Read... [09:13:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:13]Read from MH i2c: E2 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 17 00 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: E2 17 00 BE 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F6 [09:13:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:13:13]wFMCommunicate OK [09:13:13]CreateOFDProtocolMessage done [09:13:13]OFDSenderStorePacket 47422 [09:13:13]StoreOFDPacket docnum=47422 [09:13:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 5D AB 1D 01 88 6F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 0A 00 00 00 F4 03 04 00 3B 6E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3E B9 00 00 35 04 06 00 2D 43 9E 8E 06 DE 00 E0 7B 98 6C CF B6 5B [09:13:13]CheckFolder [09:13:13]dirname=/storage/ofd_packets [09:13:13]CheckFolder done [09:13:13]ProducePacketName [09:13:13]name=ofd_packets/00047422 [09:13:13]NVStorageSaveData ofd_packets/00047422 [09:13:13]File name is /storage/ofd_packets/00047422 [09:13:13]Write 323 bytes [09:13:13]NVStorageSaveData done [09:13:13]OFDSenderStorePacket done [09:13:13]KKMCreateOFDPacket done [09:13:13]NVStorageSaveData kkm_last_timestamp [09:13:13]File name is /storage/kkm_last_timestamp [09:13:13]Write 4 bytes [09:13:13]NVStorageSaveData done [09:13:13]ExternCall_PrintAddStr [09:13:13]wPrintStart [09:13:13]Write to MH i2c: 01 00 00 BF 6C 2B [09:13:13]Write i2c OK [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: 01 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: 01 07 00 [09:13:13]MH_I2C_Read... [09:13:13]Read from MH i2c: 01 07 00 BF 6C 00 00 00 00 00 FF 0F 40 [09:13:13]RasterBufferAndPrint [09:13:13]line Счет N : (3)242329 [09:13:13]line ИНН: 02508201610067 [09:13:13]line Контрольно-Кассовый Чек [09:13:13]line ПРОДАЖА [09:13:13]line Товар: 4780014240406 [09:13:13]line Сигареты Sovereign Blue [09:13:13]line 1.000 * 125.00 [09:13:13]line = 125.00 [09:13:13]line НДС 12% НСП 1% [09:13:13]line > о реализуемом товаре [09:13:13]line ИТОГО: 125.00 [09:13:13]line НСП 1% : 1.11 [09:13:13]line НДС 12% : 13.27 [09:13:13]line Наличными: 125.00 [09:13:13]line Безнал.: 0.00 [09:13:13]line Место: АЗС № 15 "Партнер Нефть" [09:13:13]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:13:13]line СНО: Общий режим [09:13:13]line Чек 10 13.03.2024 09:13 [09:13:13]line Смена: 315 ФФД: 1.0 [09:13:13]line ЗНМ: 0300000097 [09:13:13]line РНМ: 0000000000092018 [09:13:13]line Версия ККМ: 001 [09:13:13]line ФМ: 0000000000871816 [09:13:13]line ФД: 47422 [09:13:13]line ФПД: 49768446166750 [09:13:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T091331&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47422&fm=49768446166750&tin=02508201610067®Number=0000000000092018&sum=12500 [09:13:13]line 0 [09:13:13]OFD Sender: Processing packet 47422 [packets to send 8, broken 7] [09:13:13]ProducePacketName [09:13:13]name=ofd_packets/00047422 [09:13:13]OFD Sender: To server: pG, [09:13:13]CommunicateWithHost lk.salyk.kg:30040 [09:13:13]ConnectInit lk.salyk.kg [09:13:13]written 0, free lines is 4095 [09:13:13]Connected sock=10 [09:13:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 5D AB 1D 01 88 6F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 0A 00 00 00 F4 03 04 00 3B 6E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3E B9 00 00 35 04 06 00 2D 43 9E 8E 06 DE 00 E0 7B 98 6C CF B6 5B [09:13:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 27 6E 47 00 58 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3E B9 00 00 F4 03 04 00 CB 18 F1 65 B6 04 01 00 00 8B 03 0F B1 EE 80 F4 81 [09:13:14]CommunicateWithHost err = 0 [09:13:14]CheckOFDResponse [09:13:14]1017 (14) - 77093643461234 [09:13:14]1041 (16) - 0000000000871816 [09:13:14]1040 (4) - 47422 [09:13:14]1012 (4) - 13.03.2024 03:08 [09:13:14]1206 (1) - 0 [09:13:14]OFD Sender: Remove packet 47422 [09:13:14]ProducePacketName [09:13:14]name=ofd_packets/00047422 [09:13:14]NVStorageDeleteData [09:13:14]Write to MH i2c: 01 00 00 E7 6C 53 [09:13:14]Write i2c OK [09:13:14]MH_I2C_Read... [09:13:14]Read from MH i2c: 01 [09:13:14]MH_I2C_Read... [09:13:14]Read from MH i2c: 01 07 00 [09:13:14]MH_I2C_Read... [09:13:14]Read from MH i2c: 01 07 00 E7 6C 00 00 00 00 00 F2 0C 58 [09:13:14]RasterBufferAndPrint [09:13:14]line [09:13:14]line [09:13:14]line [09:13:14]line [09:13:14]line [09:13:14]written 0, free lines is 3319 [09:13:14]MH_Cut [09:13:14]Write to MH i2c: D1 01 00 EE 6C 01 2C [09:13:14]Write i2c OK [09:13:14]MH_I2C_Read... [09:13:14]Read from MH i2c: D1 [09:13:14]MH_I2C_Read... [09:13:14]Read from MH i2c: D1 01 00 [09:13:14]MH_I2C_Read... [09:13:14]Read from MH i2c: D1 01 00 EE 6C 00 2B [09:13:14]Write to MH i2c: 01 00 00 EF 6C 5B [09:13:14]Write i2c OK [09:13:14]MH_I2C_Read... [09:13:14]OFD Sender: No OFD packet to send [09:13:14]*** Cut start [09:13:14]*** Purtial cut [09:13:14]*** Stage 1: CUTSNS_PIN = 1 [09:13:15]Read from MH i2c: 01 [09:13:15]MH_I2C_Read... [09:13:15]*** Stop cut motor [09:13:15]*** Cut end [09:13:15]Read from MH i2c: 01 07 00 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: 01 07 00 EF 6C 00 00 00 00 00 FF 0F 70 [09:13:15]process_action close_receipt done [09:13:15]requested_data is exist [09:13:15]produce_requested_data [09:13:15]requested_item fm.sn is exist - process it [09:13:15]wFMCommunicate request_size=4 [09:13:15]MH_SAM_APDU [09:13:15]CAPDU: 80 11 00 00 [09:13:15]Write to MH i2c: E2 08 00 F0 6C 80 11 00 00 00 00 00 00 D6 [09:13:15]Write i2c OK [09:13:15]MH_I2C_Read... [09:13:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:15]Read from MH i2c: E2 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: E2 17 00 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: E2 17 00 F0 6C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 28 [09:13:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:13:15]wFMCommunicate OK [09:13:15]requested_item fd.num is exist - process it [09:13:15]SAM_PROTO_GetFieldsCounters [09:13:15]wFMCommunicate request_size=4 [09:13:15]MH_SAM_APDU [09:13:15]CAPDU: 80 13 00 00 [09:13:15]Write to MH i2c: E2 08 00 F1 6C 80 13 00 00 00 00 00 00 D9 [09:13:15]Write i2c OK [09:13:15]MH_I2C_Read... [09:13:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:13:15]Read from MH i2c: E2 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: E2 62 00 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: E2 62 00 F1 6C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3E B9 00 00 0E 04 04 00 3B 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 45 [09: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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3E B9 00 00 0E 04 04 00 3B 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:13:15]wFMCommunicate OK [09:13:15]SAM_PROTO_GetFieldsCounters done [09:13:15]requested_item shift.num is exist - process it [09:13:15]requested_item shift.opened is exist - process it [09:13:15]req_shift_opened [09:13:15]FM_GetShiftState [09:13:15]SAM_PROTO_GetShiftState [09:13:15]wFMCommunicate request_size=4 [09:13:15]MH_SAM_APDU [09:13:15]CAPDU: 80 13 01 00 [09:13:15]Write to MH i2c: E2 08 00 F2 6C 80 13 01 00 00 00 00 00 DB [09:13:15]Write i2c OK [09:13:15]MH_I2C_Read... [09:13:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:15]Read from MH i2c: E2 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: E2 0E 00 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: E2 0E 00 F2 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 CF [09:13:15]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [09:13:15]wFMCommunicate OK [09:13:15]SAM_PROTO_GetShiftState done [09:13:15]FM_GetShiftState done [09:13:15]req_shift_opened done [09:13:15]requested_item shift.open_date is exist - process it [09:13:15]req_shift_open_date [09:13:15]req_shift_open_date done [09:13:15]produce_requested_data done [09:13:15]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47422,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [09:13:15]process_action_free close_receipt [09:13:15]json_value_free [09:13:15]json_value_free done [09:13:15]process_json_proto returns [09:13:15]Send response to host [09:13:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47422,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [09:13:15]free response buf [09:13:15]execute_script done [09:13:15]execute_script returns [09:13:15]free content buf [09:13:15]Sock 9.Close socket [09:13:15]Sock 9.Thread stoped [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:36]recv_with_timeout no data received [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:27]ConnectInit Can't connect to host [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:25:59]recv_with_timeout no data received [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:21]recv_with_timeout no data received [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:15]OFD Sender: No OFD packet to send [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:30]OFD Sender: No OFD packet to send [09:35:35]OFD Sender: No OFD packet to send [09:35:40]OFD Sender: No OFD packet to send [09:35:45]OFD Sender: No OFD packet to send [09:35:50]OFD Sender: No OFD packet to send [09:35:55]OFD Sender: No OFD packet to send [09:36:00]OFD Sender: No OFD packet to send [09:36:05]OFD Sender: No OFD packet to send [09:36:10]OFD Sender: No OFD packet to send [09:36:15]OFD Sender: No OFD packet to send [09:36:20]OFD Sender: No OFD packet to send [09:36:25]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:00]OFD Sender: No OFD packet to send [09:37:05]OFD Sender: No OFD packet to send [09:37:10]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:34]accept exits with 7 [09:39:34]New connection [09:39:34]New thread 3066596708 created [09:39:34]Thread 3066453348 joined [09:39:34]Waiting for new connection... [09:39:34] Sock 7.Parse request [09:39:34]Sock 7.Check first char [09:39:34]Sock 7.First char is OK [09:39:34]request: POST /json_proto HTTP/1.0 [09:39:34]Method: POST [09:39:34]URL: /json_proto [09:39:34]Method is POST - this is cgi request [09:39:34]url: /json_proto [09:39:34]query_string will be loaded in cgi processing [09:39:34]execute_cgi json_proto POST (null) [09:39:34]execute_cgi path=json_proto method=POST [09:39:34]POST find Content-Length [09:39:34]Host: 172.17.32.68:8080 [09:39:34]Content-Length: 1098 [09:39:34]Content-Type: application/json [09:39:34] [09:39:34]POST finish read [09:39:34]Found Content-Length = 1098 [09:39:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242330", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:39:34]execute_script... [09:39:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242330", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:39:34]POST & json_proto [09:39:34]process_json_proto [09:39:34]json parsed OK: [09:39:34]protocol is kg_v1.0 [09:39:34]action value=close_receipt [09:39:34]process_action close_receipt [09:39:34]cmd_close_receipt [09:39:34]MH_GetDate [09:39:34]Write to MH i2c: F0 00 00 F3 6C 4E [09:39:34]Write i2c OK [09:39:34]MH_I2C_Read... [09:39:34]Read from MH i2c: F0 [09:39:34]MH_I2C_Read... [09:39:34]Read from MH i2c: F0 09 00 [09:39:34]MH_I2C_Read... [09:39:34]Read from MH i2c: F0 09 00 F3 6C 00 6B 74 F1 65 0A 64 6E 65 CD [09:39:34]GetLastDocTimeStamp 1710321211 [09:39:34]current date 1710322795 [09:39:34]FM_GetShiftState [09:39:34]SAM_PROTO_GetShiftState [09:39:34]wFMCommunicate request_size=4 [09:39:34]MH_SAM_APDU [09:39:34]CAPDU: 80 13 01 00 [09:39:34]Write to MH i2c: E2 08 00 F4 6C 80 13 01 00 00 00 00 00 DD [09:39:34]Write i2c OK [09:39:34]MH_I2C_Read... [09:39:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:39:34]Read from MH i2c: E2 [09:39:34]MH_I2C_Read... [09:39:34]Read from MH i2c: E2 0E 00 [09:39:34]MH_I2C_Read... [09:39:34]Read from MH i2c: E2 0E 00 F4 6C 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 D1 [09:39:34]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [09:39:34]wFMCommunicate OK [09:39:34]SAM_PROTO_GetShiftState done [09:39:34]FM_GetShiftState done [09:39:34]opened in 1710288804 [09:39:34]opened+sec_in_day 1710375204 [09:39:34]quantity*price = 10500 [09:39:34]sum+1 = 10501 [09:39:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032710015 Сочник DC творог 75г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 11 13.03.2024 09:39 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47423 ФПД: 119451364489628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T093955&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47423&fm=119451364489628&tin=02508201610067®Number=0000000000092018&sum=14000 0 [09:39:36]StoreToDocumentArchive [09:39:36]shift 315 fd 47423 [09:39:36]save to /storage/0315/doc_00047423 [09:39:36]save last doc name /storage/0315/doc_00047423 to /storage/kkm_last_doc_name [09:39:36]save OK [09:39:36]Clear old archive folders... [09:39:36]ProcessDocumentItem done err = 0, tmpTLVsize=393 [09:39:36]tlvbuf is 0027A550 [09:39:36]SAM_PROTO_ClearQueue [09:39:36]wFMCommunicate request_size=4 [09:39:36]MH_SAM_APDU [09:39:36]CAPDU: 80 09 00 00 [09:39:36]Write to MH i2c: E2 08 00 01 6D 80 09 00 00 00 00 00 00 E0 [09:39:36]Write i2c OK [09:39:36]MH_I2C_Read... [09:39:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:39:36]Read from MH i2c: E2 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 01 6D 00 90 00 E2 [09:39:36]RAPDU: 90 00 [09:39:36]wFMCommunicate OK [09:39:36]SAM_PROTO_ClearQueue done [09:39:36]KKMCreateOFDPacket [09:39:36]OFDProtocolAddRootSTLVToBuf [09:39:36]FM_MakeSignedData [09:39:36]FM_MakeSignedData [09:39:36]SAM_PROTO_SignData [09:39:36]wFMCommunicate request_size=4 [09:39:36]MH_SAM_APDU [09:39:36]CAPDU: 80 0D 01 02 [09:39:36]Write to MH i2c: E2 08 00 02 6D 80 0D 01 02 00 00 00 00 E8 [09:39:36]Write i2c OK [09:39:36]MH_I2C_Read... [09:39:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:39:36]Read from MH i2c: E2 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 02 6D 00 90 00 E3 [09:39:36]RAPDU: 90 00 [09:39:36]wFMCommunicate OK [09:39:36]wFMCommunicate request_size=255 [09:39:36]MH_SAM_APDU [09:39:36]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 [09:39:36]Write to MH i2c: E2 02 01 03 6D 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 0D [09:39:36]Write i2c OK [09:39:36]MH_I2C_Read... [09:39:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:39:36]Read from MH i2c: E2 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 03 6D 00 90 00 E4 [09:39:36]RAPDU: 90 00 [09:39:36]wFMCommunicate OK [09:39:36]wFMCommunicate request_size=152 [09:39:36]MH_SAM_APDU [09:39:36]CAPDU: 80 0D 02 02 93 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 0B 00 00 00 F4 03 04 00 6B 74 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3F B9 00 00 35 04 06 00 6C A3 F0 25 F9 9C [09:39:36]Write to MH i2c: E2 9B 00 04 6D 80 0D 02 02 93 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 0B 00 00 00 F4 03 04 00 6B 74 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3F B9 00 00 35 04 06 00 6C A3 F0 25 F9 9C 00 00 96 [09:39:36]Write i2c OK [09:39:36]MH_I2C_Read... [09:39:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:39:36]Read from MH i2c: E2 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 03 00 04 6D 00 90 00 E5 [09:39:36]RAPDU: 90 00 [09:39:36]wFMCommunicate OK [09:39:36]wFMCommunicate request_size=4 [09:39:36]MH_SAM_APDU [09:39:36]CAPDU: 80 0D 03 02 [09:39:36]Write to MH i2c: E2 08 00 05 6D 80 0D 03 02 00 00 00 00 ED [09:39:36]Write i2c OK [09:39:36]MH_I2C_Read... [09:39:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:39:36]Read from MH i2c: E2 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 0B 00 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 0B 00 05 6D 00 AB 28 1D 69 76 C5 9D 32 90 00 51 [09:39:36]RAPDU: AB 28 1D 69 76 C5 9D 32 90 00 [09:39:36]wFMCommunicate OK [09:39:36]SAM_PROTO_SignData done [09:39:36]FM_MakeSignedData done [09:39:36]CreateOFDProtocolMessage [09:39:36]wFMCommunicate request_size=4 [09:39:36]MH_SAM_APDU [09:39:36]CAPDU: 80 11 00 00 [09:39:36]Write to MH i2c: E2 08 00 06 6D 80 11 00 00 00 00 00 00 ED [09:39:36]Write i2c OK [09:39:36]MH_I2C_Read... [09:39:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:39:36]Read from MH i2c: E2 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 17 00 [09:39:36]MH_I2C_Read... [09:39:36]Read from MH i2c: E2 17 00 06 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3F [09:39:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:39:36]wFMCommunicate OK [09:39:36]CreateOFDProtocolMessage done [09:39:36]OFDSenderStorePacket 47423 [09:39:36]StoreOFDPacket docnum=47423 [09:39:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 9D 01 00 00 9D C4 95 01 83 3A 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 0B 00 00 00 F4 03 04 00 6B 74 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3F B9 00 00 35 04 06 00 6C A3 F0 25 F9 9C AB 28 1D 69 76 C5 9D 32 [09:39:36]CheckFolder [09:39:36]dirname=/storage/ofd_packets [09:39:36]CheckFolder done [09:39:36]ProducePacketName [09:39:36]name=ofd_packets/00047423 [09:39:36]NVStorageSaveData ofd_packets/00047423 [09:39:36]File name is /storage/ofd_packets/00047423 [09:39:37]Write 443 bytes [09:39:37]NVStorageSaveData done [09:39:37]OFDSenderStorePacket done [09:39:37]KKMCreateOFDPacket done [09:39:37]NVStorageSaveData kkm_last_timestamp [09:39:37]File name is /storage/kkm_last_timestamp [09:39:37]Write 4 bytes [09:39:37]NVStorageSaveData done [09:39:37]ExternCall_PrintAddStr [09:39:37]wPrintStart [09:39:37]Write to MH i2c: 01 00 00 07 6D 74 [09:39:37]Write i2c OK [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: 01 [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: 01 07 00 [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: 01 07 00 07 6D 00 00 00 00 00 FF 0F 89 [09:39:37]RasterBufferAndPrint [09:39:37]line Счет N : (3)242330 [09:39:37]line ИНН: 02508201610067 [09:39:37]line Контрольно-Кассовый Чек [09:39:37]line ПРОДАЖА [09:39:37]line Товар: 4700452010610 [09:39:37]line Кофе капучино 200мл (АКЦИЯ) [09:39:37]line 1.000 * 105.00 [09:39:37]line = 105.00 [09:39:37]line НДС 12% НСП 1% [09:39:37]line > о реализуемом товаре [09:39:37]line Товар: 2000032710015 [09:39:37]line Сочник DC творог 75г [09:39:37]line 1.000 * 35.00 [09:39:37]line = 35.00 [09:39:37]line НДС 12% НСП 1% [09:39:37]line > о реализуемом товаре [09:39:37]line ИТОГО: 140.00 [09:39:37]line НСП 1% : 1.24 [09:39:37]line НДС 12% : 14.87 [09:39:37]line Наличными: 0.00 [09:39:37]line Безнал.: 140.00 [09:39:37]line Место: АЗС № 15 "Партнер Нефть" [09:39:37]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:39:37]line СНО: Общий режим [09:39:37]line Чек 11 13.03.2024 09:39 [09:39:37]line Смена: 315 ФФД: 1.0 [09:39:37]line ЗНМ: 0300000097 [09:39:37]line РНМ: 0000000000092018 [09:39:37]line Версия ККМ: 001 [09:39:37]line Платежная система: O! деньги [09:39:37]line ФМ: 0000000000871816 [09:39:37]line ФД: 47423 [09:39:37]line ФПД: 119451364489628 [09:39:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T093955&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47423&fm=119451364489628&tin=02508201610067®Number=0000000000092018&sum=14000 [09:39:37]line 0 [09:39:37]written 0, free lines is 4095 [09:39:37]OFD Sender: Processing packet 47423 [packets to send 8, broken 7] [09:39:37]ProducePacketName [09:39:37]name=ofd_packets/00047423 [09:39:37]OFD Sender: To server: pG, [09:39:37]CommunicateWithHost lk.salyk.kg:30040 [09:39:37]ConnectInit lk.salyk.kg [09:39:37]Connected sock=9 [09:39:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 9D 01 00 00 9D C4 95 01 83 3A 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 0B 00 00 00 F4 03 04 00 6B 74 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 3F B9 00 00 35 04 06 00 6C A3 F0 25 F9 9C AB 28 1D 69 76 C5 9D 32 [09:39:37]Write to MH i2c: 01 00 00 38 6D A5 [09:39:37]Write i2c OK [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: 01 [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: 01 07 00 [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: 01 07 00 38 6D 00 00 00 00 00 56 0C 0E [09:39:37]RasterBufferAndPrint [09:39:37]line [09:39:37]line [09:39:37]line [09:39:37]line [09:39:37]line [09:39:37]written 0, free lines is 3165 [09:39:37]MH_Cut [09:39:37]Write to MH i2c: D1 01 00 3F 6D 01 7E [09:39:37]Write i2c OK [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: D1 [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: D1 01 00 [09:39:37]MH_I2C_Read... [09:39:37]Read from MH i2c: D1 01 00 3F 6D 00 7D [09:39:37]Write to MH i2c: 01 00 00 40 6D AD [09:39:37]Write i2c OK [09:39:37]MH_I2C_Read... [09:39:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 19 F5 47 00 B2 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 31 38 31 36 10 04 04 00 3F B9 00 00 F4 03 04 00 FA 1E F1 65 B6 04 01 00 00 10 89 04 11 7F 42 9A 3C [09:39:37]CommunicateWithHost err = 0 [09:39:37]CheckOFDResponse [09:39:37]1017 (14) - 77093643461234 [09:39:37]1041 (16) - 0000000000871816 [09:39:37]1040 (4) - 47423 [09:39:37]1012 (4) - 13.03.2024 03:35 [09:39:37]1206 (1) - 0 [09:39:37]OFD Sender: Remove packet 47423 [09:39:37]ProducePacketName [09:39:37]name=ofd_packets/00047423 [09:39:37]NVStorageDeleteData [09:39:38]OFD Sender: No OFD packet to send [09:39:38]*** Cut start [09:39:38]*** Purtial cut [09:39:38]*** Stage 1: CUTSNS_PIN = 1 [09:39:38]Read from MH i2c: 01 [09:39:38]MH_I2C_Read... [09:39:38]*** Stop cut motor [09:39:38]*** Cut end [09:39:38]Read from MH i2c: 01 07 00 [09:39:38]MH_I2C_Read... [09:39:38]Read from MH i2c: 01 07 00 40 6D 00 00 00 00 00 FF 0F C2 [09:39:38]process_action close_receipt done [09:39:38]requested_data is exist [09:39:38]produce_requested_data [09:39:38]requested_item fm.sn is exist - process it [09:39:38]wFMCommunicate request_size=4 [09:39:38]MH_SAM_APDU [09:39:38]CAPDU: 80 11 00 00 [09:39:38]Write to MH i2c: E2 08 00 41 6D 80 11 00 00 00 00 00 00 28 [09:39:38]Write i2c OK [09:39:38]MH_I2C_Read... [09:39:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:39:38]Read from MH i2c: E2 [09:39:38]MH_I2C_Read... [09:39:38]Read from MH i2c: E2 17 00 [09:39:38]MH_I2C_Read... [09:39:38]Read from MH i2c: E2 17 00 41 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7A [09:39:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:39:38]wFMCommunicate OK [09:39:38]requested_item fd.num is exist - process it [09:39:38]SAM_PROTO_GetFieldsCounters [09:39:38]wFMCommunicate request_size=4 [09:39:38]MH_SAM_APDU [09:39:38]CAPDU: 80 13 00 00 [09:39:38]Write to MH i2c: E2 08 00 42 6D 80 13 00 00 00 00 00 00 2B [09:39:38]Write i2c OK [09:39:38]MH_I2C_Read... [09:39:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:39:38]Read from MH i2c: E2 [09:39:38]MH_I2C_Read... [09:39:38]Read from MH i2c: E2 62 00 [09:39:38]MH_I2C_Read... [09:39:38]Read from MH i2c: E2 62 00 42 6D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3F B9 00 00 0E 04 04 00 3B 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 9B [09:39:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 3F B9 00 00 0E 04 04 00 3B 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 [09:39:38]wFMCommunicate OK [09:39:38]SAM_PROTO_GetFieldsCounters done [09:39:38]requested_item shift.num is exist - process it [09:39:38]requested_item shift.opened is exist - process it [09:39:38]req_shift_opened [09:39:38]FM_GetShiftState [09:39:38]SAM_PROTO_GetShiftState [09:39:38]wFMCommunicate request_size=4 [09:39:38]MH_SAM_APDU [09:39:38]CAPDU: 80 13 01 00 [09:39:38]Write to MH i2c: E2 08 00 43 6D 80 13 01 00 00 00 00 00 2D [09:39:38]Write i2c OK [09:39:38]MH_I2C_Read... [09:39:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:39:39]Read from MH i2c: E2 [09:39:39]MH_I2C_Read... [09:39:39]Read from MH i2c: E2 0E 00 [09:39:39]MH_I2C_Read... [09:39:39]Read from MH i2c: E2 0E 00 43 6D 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 21 [09:39:39]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [09:39:39]wFMCommunicate OK [09:39:39]SAM_PROTO_GetShiftState done [09:39:39]FM_GetShiftState done [09:39:39]req_shift_opened done [09:39:39]requested_item shift.open_date is exist - process it [09:39:39]req_shift_open_date [09:39:39]req_shift_open_date done [09:39:39]produce_requested_data done [09:39:39]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47423,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [09:39:39]process_action_free close_receipt [09:39:39]json_value_free [09:39:39]json_value_free done [09:39:39]process_json_proto returns [09:39:39]Send response to host [09:39:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47423,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [09:39:39]free response buf [09:39:39]execute_script done [09:39:39]execute_script returns [09:39:39]free content buf [09:39:39]Sock 7.Close socket [09:39:39]Sock 7.Thread stoped [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:17]ConnectInit Can't connect to host [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:06]ConnectInit Can't connect to host [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:44]ConnectInit Can't connect to host [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:13]OFD Sender: No OFD packet to send [09:54:18]OFD Sender: No OFD packet to send [09:54:23]OFD Sender: No OFD packet to send [09:54:28]OFD Sender: No OFD packet to send [09:54:33]OFD Sender: No OFD packet to send [09:54:38]OFD Sender: No OFD packet to send [09:54:43]OFD Sender: No OFD packet to send [09:54:48]OFD Sender: No OFD packet to send [09:54:53]OFD Sender: No OFD packet to send [09:54:58]OFD Sender: No OFD packet to send [09:55:03]OFD Sender: No OFD packet to send [09:55:08]OFD Sender: No OFD packet to send [09:55:13]OFD Sender: No OFD packet to send [09:55:18]OFD Sender: No OFD packet to send [09:55:23]OFD Sender: No OFD packet to send [09:55:28]OFD Sender: No OFD packet to send [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:18]OFD Sender: No OFD packet to send [09:56:23]OFD Sender: No OFD packet to send [09:56:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]accept exits with 10 [09:57:23]New connection [09:57:23]New thread 3066453348 created [09:57:23]Thread 3066596708 joined [09:57:23]Waiting for new connection... [09:57:23] Sock 10.Parse request [09:57:23]Sock 10.Check first char [09:57:23]Sock 10.First char is OK [09:57:23]request: POST /json_proto HTTP/1.0 [09:57:23]Method: POST [09:57:23]URL: /json_proto [09:57:23]Method is POST - this is cgi request [09:57:23]url: /json_proto [09:57:23]query_string will be loaded in cgi processing [09:57:23]execute_cgi json_proto POST (null) [09:57:23]execute_cgi path=json_proto method=POST [09:57:23]POST find Content-Length [09:57:23]Host: 172.17.32.68:8080 [09:57:23]Content-Length: 623 [09:57:23]Content-Type: application/json [09:57:23] [09:57:23]POST finish read [09:57:23]Found Content-Length = 623 [09:57:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242331", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:23]execute_script... [09:57:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242331", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:23]POST & json_proto [09:57:23]process_json_proto [09:57:23]json parsed OK: [09:57:23]protocol is kg_v1.0 [09:57:23]action value=close_receipt [09:57:23]process_action close_receipt [09:57:23]cmd_close_receipt [09:57:23]MH_GetDate [09:57:23]Write to MH i2c: F0 00 00 44 6D A0 [09:57:23]Write i2c OK [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: F0 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: F0 09 00 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: F0 09 00 44 6D 00 97 78 F1 65 0A 64 6E 65 4F [09:57:23]GetLastDocTimeStamp 1710322795 [09:57:23]current date 1710323863 [09:57:23]FM_GetShiftState [09:57:23]SAM_PROTO_GetShiftState [09:57:23]wFMCommunicate request_size=4 [09:57:23]MH_SAM_APDU [09:57:23]CAPDU: 80 13 01 00 [09:57:23]Write to MH i2c: E2 08 00 45 6D 80 13 01 00 00 00 00 00 2F [09:57:23]Write i2c OK [09:57:23]MH_I2C_Read... [09:57:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:23]Read from MH i2c: E2 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: E2 0E 00 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: E2 0E 00 45 6D 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 23 [09:57:23]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [09:57:23]wFMCommunicate OK [09:57:23]SAM_PROTO_GetShiftState done [09:57:23]FM_GetShiftState done [09:57:23]opened in 1710288804 [09:57:23]opened+sec_in_day 1710375204 [09:57:23]quantity*price = 13500 [09:57:23]sum+1 = 13501 [09:57:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 12 13.03.2024 09:57 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47424 ФПД: 61323212711512 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T095743&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47424&fm=61323212711512&tin=02508201610067®Number=0000000000092018&sum=13500 0 [09:57:24]StoreToDocumentArchive [09:57:24]shift 315 fd 47424 [09:57:24]save to /storage/0315/doc_00047424 [09:57:24]save last doc name /storage/0315/doc_00047424 to /storage/kkm_last_doc_name [09:57:24]save OK [09:57:24]Clear old archive folders... [09:57:24]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:57:24]tlvbuf is 004AE7C0 [09:57:24]SAM_PROTO_ClearQueue [09:57:24]wFMCommunicate request_size=4 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 09 00 00 [09:57:24]Write to MH i2c: E2 08 00 52 6D 80 09 00 00 00 00 00 00 31 [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 52 6D 00 90 00 33 [09:57:24]RAPDU: 90 00 [09:57:24]wFMCommunicate OK [09:57:24]SAM_PROTO_ClearQueue done [09:57:24]KKMCreateOFDPacket [09:57:24]OFDProtocolAddRootSTLVToBuf [09:57:24]FM_MakeSignedData [09:57:24]FM_MakeSignedData [09:57:24]SAM_PROTO_SignData [09:57:24]wFMCommunicate request_size=4 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 0D 01 02 [09:57:24]Write to MH i2c: E2 08 00 53 6D 80 0D 01 02 00 00 00 00 39 [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 53 6D 00 90 00 34 [09:57:24]RAPDU: 90 00 [09:57:24]wFMCommunicate OK [09:57:24]wFMCommunicate request_size=255 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 0C 00 00 00 F4 03 04 00 97 78 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [09:57:24]Write to MH i2c: E2 02 01 54 6D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 0C 00 00 00 F4 03 04 00 97 78 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 5F [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:25]Read from MH i2c: E2 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 03 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 03 00 54 6D 00 90 00 35 [09:57:25]RAPDU: 90 00 [09:57:25]wFMCommunicate OK [09:57:25]wFMCommunicate request_size=34 [09:57:25]MH_SAM_APDU [09:57:25]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 40 B9 00 00 35 04 06 00 37 C5 EC 4F 66 58 [09:57:25]Write to MH i2c: E2 25 00 55 6D 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 40 B9 00 00 35 04 06 00 37 C5 EC 4F 66 58 00 00 EA [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:25]Read from MH i2c: E2 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 03 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 03 00 55 6D 00 90 00 36 [09:57:25]RAPDU: 90 00 [09:57:25]wFMCommunicate OK [09:57:25]wFMCommunicate request_size=4 [09:57:25]MH_SAM_APDU [09:57:25]CAPDU: 80 0D 03 02 [09:57:25]Write to MH i2c: E2 08 00 56 6D 80 0D 03 02 00 00 00 00 3E [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:57:25]Read from MH i2c: E2 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 0B 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 0B 00 56 6D 00 8F B5 3C 0C CA 12 5C 37 90 00 3A [09:57:25]RAPDU: 8F B5 3C 0C CA 12 5C 37 90 00 [09:57:25]wFMCommunicate OK [09:57:25]SAM_PROTO_SignData done [09:57:25]FM_MakeSignedData done [09:57:25]CreateOFDProtocolMessage [09:57:25]wFMCommunicate request_size=4 [09:57:25]MH_SAM_APDU [09:57:25]CAPDU: 80 11 00 00 [09:57:25]Write to MH i2c: E2 08 00 57 6D 80 11 00 00 00 00 00 00 3E [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:25]Read from MH i2c: E2 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 17 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: E2 17 00 57 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 90 [09:57:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:57:25]wFMCommunicate OK [09:57:25]CreateOFDProtocolMessage done [09:57:25]OFDSenderStorePacket 47424 [09:57:25]StoreOFDPacket docnum=47424 [09:57:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 EF 17 1F 01 ED CB 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 0C 00 00 00 F4 03 04 00 97 78 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 40 B9 00 00 35 04 06 00 37 C5 EC 4F 66 58 8F B5 3C 0C CA 12 5C 37 [09:57:25]CheckFolder [09:57:25]dirname=/storage/ofd_packets [09:57:25]CheckFolder done [09:57:25]ProducePacketName [09:57:25]name=ofd_packets/00047424 [09:57:25]NVStorageSaveData ofd_packets/00047424 [09:57:25]File name is /storage/ofd_packets/00047424 [09:57:25]Write 325 bytes [09:57:25]NVStorageSaveData done [09:57:25]OFDSenderStorePacket done [09:57:25]KKMCreateOFDPacket done [09:57:25]NVStorageSaveData kkm_last_timestamp [09:57:25]File name is /storage/kkm_last_timestamp [09:57:25]Write 4 bytes [09:57:25]NVStorageSaveData done [09:57:25]ExternCall_PrintAddStr [09:57:25]wPrintStart [09:57:25]Write to MH i2c: 01 00 00 58 6D C5 [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: 01 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: 01 07 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: 01 07 00 58 6D 00 00 00 00 00 FF 0F DA [09:57:25]RasterBufferAndPrint [09:57:25]line Счет N : (3)242331 [09:57:25]line ИНН: 02508201610067 [09:57:25]line Контрольно-Кассовый Чек [09:57:25]line ПРОДАЖА [09:57:25]line Товар: 48743587 [09:57:25]line Сигареты Winston XStyle Silver [09:57:25]line 1.000 * 135.00 [09:57:25]line = 135.00 [09:57:25]line НДС 12% НСП 1% [09:57:25]line > о реализуемом товаре [09:57:25]line ИТОГО: 135.00 [09:57:25]line НСП 1% : 1.19 [09:57:25]line НДС 12% : 14.34 [09:57:25]line Наличными: 135.00 [09:57:25]line Безнал.: 0.00 [09:57:25]line Место: АЗС № 15 "Партнер Нефть" [09:57:25]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [09:57:25]line СНО: Общий режим [09:57:25]line Чек 12 13.03.2024 09:57 [09:57:25]line Смена: 315 ФФД: 1.0 [09:57:25]line ЗНМ: 0300000097 [09:57:25]line РНМ: 0000000000092018 [09:57:25]line Версия ККМ: 001 [09:57:25]line ФМ: 0000000000871816 [09:57:25]line ФД: 47424 [09:57:25]line ФПД: 61323212711512 [09:57:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T095743&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47424&fm=61323212711512&tin=02508201610067®Number=0000000000092018&sum=13500 [09:57:25]line 0 [09:57:25]OFD Sender: Processing packet 47424 [packets to send 8, broken 7] [09:57:25]ProducePacketName [09:57:25]name=ofd_packets/00047424 [09:57:25]OFD Sender: To server: pG, [09:57:25]CommunicateWithHost lk.salyk.kg:30040 [09:57:25]ConnectInit lk.salyk.kg [09:57:25]written 0, free lines is 4095 [09:57:25]Connected sock=9 [09:57:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 EF 17 1F 01 ED CB 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 0C 00 00 00 F4 03 04 00 97 78 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 40 B9 00 00 35 04 06 00 37 C5 EC 4F 66 58 8F B5 3C 0C CA 12 5C 37 [09:57:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 CE 5A 47 00 92 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 40 B9 00 00 F4 03 04 00 27 23 F1 65 B6 04 01 00 00 64 7F 06 48 BC C2 5A 9B [09:57:25]CommunicateWithHost err = 0 [09:57:25]CheckOFDResponse [09:57:25]1017 (14) - 77093643461234 [09:57:25]1041 (16) - 0000000000871816 [09:57:25]1040 (4) - 47424 [09:57:25]1012 (4) - 13.03.2024 03:53 [09:57:25]1206 (1) - 0 [09:57:25]OFD Sender: Remove packet 47424 [09:57:25]ProducePacketName [09:57:25]name=ofd_packets/00047424 [09:57:25]NVStorageDeleteData [09:57:26]Write to MH i2c: 01 00 00 81 6D EE [09:57:26]Write i2c OK [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: 01 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: 01 07 00 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: 01 07 00 81 6D 00 00 00 00 00 D1 0C D2 [09:57:26]RasterBufferAndPrint [09:57:26]line [09:57:26]line [09:57:26]line [09:57:26]line [09:57:26]line [09:57:26]written 0, free lines is 3285 [09:57:26]MH_Cut [09:57:26]Write to MH i2c: D1 01 00 88 6D 01 C7 [09:57:26]Write i2c OK [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: D1 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: D1 01 00 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: D1 01 00 88 6D 00 C6 [09:57:26]Write to MH i2c: 01 00 00 89 6D F6 [09:57:26]Write i2c OK [09:57:26]MH_I2C_Read... [09:57:26]OFD Sender: No OFD packet to send [09:57:26]*** Cut start [09:57:26]*** Purtial cut [09:57:26]*** Stage 1: CUTSNS_PIN = 1 [09:57:27]Read from MH i2c: 01 [09:57:27]MH_I2C_Read... [09:57:27]*** Stop cut motor [09:57:27]*** Cut end [09:57:27]Read from MH i2c: 01 07 00 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: 01 07 00 89 6D 00 00 00 00 00 FF 0F 0B [09:57:27]process_action close_receipt done [09:57:27]requested_data is exist [09:57:27]produce_requested_data [09:57:27]requested_item fm.sn is exist - process it [09:57:27]wFMCommunicate request_size=4 [09:57:27]MH_SAM_APDU [09:57:27]CAPDU: 80 11 00 00 [09:57:27]Write to MH i2c: E2 08 00 8A 6D 80 11 00 00 00 00 00 00 71 [09:57:27]Write i2c OK [09:57:27]MH_I2C_Read... [09:57:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:27]Read from MH i2c: E2 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 17 00 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 17 00 8A 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C3 [09:57:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [09:57:27]wFMCommunicate OK [09:57:27]requested_item fd.num is exist - process it [09:57:27]SAM_PROTO_GetFieldsCounters [09:57:27]wFMCommunicate request_size=4 [09:57:27]MH_SAM_APDU [09:57:27]CAPDU: 80 13 00 00 [09:57:27]Write to MH i2c: E2 08 00 8B 6D 80 13 00 00 00 00 00 00 74 [09:57:27]Write i2c OK [09:57:27]MH_I2C_Read... [09:57:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:57:27]Read from MH i2c: E2 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 62 00 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 62 00 8B 6D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 40 B9 00 00 0E 04 04 00 3B 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 E8 [09:57:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 40 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:57:27]wFMCommunicate OK [09:57:27]SAM_PROTO_GetFieldsCounters done [09:57:27]requested_item shift.num is exist - process it [09:57:27]requested_item shift.opened is exist - process it [09:57:27]req_shift_opened [09:57:27]FM_GetShiftState [09:57:27]SAM_PROTO_GetShiftState [09:57:27]wFMCommunicate request_size=4 [09:57:27]MH_SAM_APDU [09:57:27]CAPDU: 80 13 01 00 [09:57:27]Write to MH i2c: E2 08 00 8C 6D 80 13 01 00 00 00 00 00 76 [09:57:27]Write i2c OK [09:57:27]MH_I2C_Read... [09:57:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:27]Read from MH i2c: E2 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 0E 00 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 0E 00 8C 6D 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 6A [09:57:27]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [09:57:27]wFMCommunicate OK [09:57:27]SAM_PROTO_GetShiftState done [09:57:27]FM_GetShiftState done [09:57:27]req_shift_opened done [09:57:27]requested_item shift.open_date is exist - process it [09:57:27]req_shift_open_date [09:57:27]req_shift_open_date done [09:57:27]produce_requested_data done [09:57:27]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47424,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [09:57:27]process_action_free close_receipt [09:57:27]json_value_free [09:57:27]json_value_free done [09:57:27]process_json_proto returns [09:57:27]Send response to host [09:57:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47424,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [09:57:27]free response buf [09:57:27]execute_script done [09:57:27]execute_script returns [09:57:27]free content buf [09:57:27]Sock 10.Close socket [09:57:27]Sock 10.Thread stoped [09:57:31]OFD Sender: No OFD packet to send [09:57:36]OFD Sender: No OFD packet to send [09:57:41]OFD Sender: No OFD packet to send [09:57:46]OFD Sender: No OFD packet to send [09:57:51]OFD Sender: No OFD packet to send [09:57:56]OFD Sender: No OFD packet to send [09:58:01]OFD Sender: No OFD packet to send [09:58:06]OFD Sender: No OFD packet to send [09:58:11]OFD Sender: No OFD packet to send [09:58:16]OFD Sender: No OFD packet to send [09:58:21]OFD Sender: No OFD packet to send [09:58:26]OFD Sender: No OFD packet to send [09:58:31]OFD Sender: No OFD packet to send [09:58:36]OFD Sender: No OFD packet to send [09:58:41]OFD Sender: No OFD packet to send [09:58:46]OFD Sender: No OFD packet to send [09:58:51]OFD Sender: No OFD packet to send [09:58:56]OFD Sender: No OFD packet to send [09:59:01]OFD Sender: No OFD packet to send [09:59:06]OFD Sender: No OFD packet to send [09:59:11]OFD Sender: No OFD packet to send [09:59:16]OFD Sender: No OFD packet to send [09:59:21]OFD Sender: No OFD packet to send [09:59:26]OFD Sender: No OFD packet to send [09:59:31]OFD Sender: No OFD packet to send [09:59:36]OFD Sender: No OFD packet to send [09:59:41]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:41]OFD Sender: No OFD packet to send [10:00:46]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:49]accept exits with 7 [10:20:49]New connection [10:20:49]New thread 3066596708 created [10:20:49]Thread 3066453348 joined [10:20:49]Waiting for new connection... [10:20:49] Sock 7.Parse request [10:20:49]Sock 7.Check first char [10:20:49]Sock 7.First char is OK [10:20:49]request: POST /json_proto HTTP/1.0 [10:20:49]Method: POST [10:20:49]URL: /json_proto [10:20:49]Method is POST - this is cgi request [10:20:49]url: /json_proto [10:20:49]query_string will be loaded in cgi processing [10:20:49]execute_cgi json_proto POST (null) [10:20:49]execute_cgi path=json_proto method=POST [10:20:49]POST find Content-Length [10:20:49]Host: 172.17.32.68:8080 [10:20:49]Content-Length: 870 [10:20:49]Content-Type: application/json [10:20:49] [10:20:49]POST finish read [10:20:49]Found Content-Length = 870 [10:20:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242332", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:20:49]execute_script... [10:20:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242332", "tax_sys" : 0, "items" : [ { "code": "4700452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 200\u043C\u043B (\u0410\u041A\u0426\u0418\u042F)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:20:49]POST & json_proto [10:20:49]process_json_proto [10:20:49]json parsed OK: [10:20:49]protocol is kg_v1.0 [10:20:49]action value=close_receipt [10:20:49]process_action close_receipt [10:20:49]cmd_close_receipt [10:20:49]MH_GetDate [10:20:49]Write to MH i2c: F0 00 00 8D 6D E9 [10:20:49]Write i2c OK [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: F0 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: F0 09 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: F0 09 00 8D 6D 00 16 7E F1 65 0A 64 6E 65 1D [10:20:49]GetLastDocTimeStamp 1710323863 [10:20:49]current date 1710325270 [10:20:49]FM_GetShiftState [10:20:49]SAM_PROTO_GetShiftState [10:20:49]wFMCommunicate request_size=4 [10:20:49]MH_SAM_APDU [10:20:49]CAPDU: 80 13 01 00 [10:20:49]Write to MH i2c: E2 08 00 8E 6D 80 13 01 00 00 00 00 00 78 [10:20:49]Write i2c OK [10:20:49]MH_I2C_Read... [10:20:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:49]Read from MH i2c: E2 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 0E 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 0E 00 8E 6D 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 6C [10:20:49]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [10:20:49]wFMCommunicate OK [10:20:49]SAM_PROTO_GetShiftState done [10:20:49]FM_GetShiftState done [10:20:49]opened in 1710288804 [10:20:49]opened+sec_in_day 1710375204 [10:20:49]quantity*price = 10500 [10:20:49]sum+1 = 10501 [10:20:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 13 13.03.2024 10:21 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47425 ФПД: 71909800608510 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T102110&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47425&fm=71909800608510&tin=02508201610067®Number=0000000000092018&sum=10500 0 [10:20:50]StoreToDocumentArchive [10:20:50]shift 315 fd 47425 [10:20:50]save to /storage/0315/doc_00047425 [10:20:50]save last doc name /storage/0315/doc_00047425 to /storage/kkm_last_doc_name [10:20:50]save OK [10:20:50]Clear old archive folders... [10:20:50]ProcessDocumentItem done err = 0, tmpTLVsize=288 [10:20:50]tlvbuf is 003E1340 [10:20:50]SAM_PROTO_ClearQueue [10:20:50]wFMCommunicate request_size=4 [10:20:50]MH_SAM_APDU [10:20:50]CAPDU: 80 09 00 00 [10:20:50]Write to MH i2c: E2 08 00 9B 6D 80 09 00 00 00 00 00 00 7A [10:20:50]Write i2c OK [10:20:50]MH_I2C_Read... [10:20:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:20:50]Read from MH i2c: E2 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 03 00 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 03 00 9B 6D 00 90 00 7C [10:20:50]RAPDU: 90 00 [10:20:50]wFMCommunicate OK [10:20:50]SAM_PROTO_ClearQueue done [10:20:50]KKMCreateOFDPacket [10:20:50]OFDProtocolAddRootSTLVToBuf [10:20:50]FM_MakeSignedData [10:20:50]FM_MakeSignedData [10:20:50]SAM_PROTO_SignData [10:20:50]wFMCommunicate request_size=4 [10:20:50]MH_SAM_APDU [10:20:50]CAPDU: 80 0D 01 02 [10:20:50]Write to MH i2c: E2 08 00 9C 6D 80 0D 01 02 00 00 00 00 82 [10:20:50]Write i2c OK [10:20:50]MH_I2C_Read... [10:20:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:20:50]Read from MH i2c: E2 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 03 00 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 03 00 9C 6D 00 90 00 7D [10:20:50]RAPDU: 90 00 [10:20:50]wFMCommunicate OK [10:20:50]wFMCommunicate request_size=255 [10:20:50]MH_SAM_APDU [10:20:50]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 16 7E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [10:20:50]Write to MH i2c: E2 02 01 9D 6D 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 16 7E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 79 [10:20:50]Write i2c OK [10:20:50]MH_I2C_Read... [10:20:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:51]Read from MH i2c: E2 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 03 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 03 00 9D 6D 00 90 00 7E [10:20:51]RAPDU: 90 00 [10:20:51]wFMCommunicate OK [10:20:51]wFMCommunicate request_size=47 [10:20:51]MH_SAM_APDU [10:20:51]CAPDU: 80 0D 02 02 2A 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 41 B9 00 00 35 04 06 00 41 66 CE 1F 02 FE [10:20:51]Write to MH i2c: E2 32 00 9E 6D 80 0D 02 02 2A 00 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 41 B9 00 00 35 04 06 00 41 66 CE 1F 02 FE 00 00 CD [10:20:51]Write i2c OK [10:20:51]MH_I2C_Read... [10:20:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:51]Read from MH i2c: E2 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 03 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 03 00 9E 6D 00 90 00 7F [10:20:51]RAPDU: 90 00 [10:20:51]wFMCommunicate OK [10:20:51]wFMCommunicate request_size=4 [10:20:51]MH_SAM_APDU [10:20:51]CAPDU: 80 0D 03 02 [10:20:51]Write to MH i2c: E2 08 00 9F 6D 80 0D 03 02 00 00 00 00 87 [10:20:51]Write i2c OK [10:20:51]MH_I2C_Read... [10:20:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:20:51]Read from MH i2c: E2 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 0B 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 0B 00 9F 6D 00 46 1C 3D E5 E9 FB 5B 6B 90 00 B6 [10:20:51]RAPDU: 46 1C 3D E5 E9 FB 5B 6B 90 00 [10:20:51]wFMCommunicate OK [10:20:51]SAM_PROTO_SignData done [10:20:51]FM_MakeSignedData done [10:20:51]CreateOFDProtocolMessage [10:20:51]wFMCommunicate request_size=4 [10:20:51]MH_SAM_APDU [10:20:51]CAPDU: 80 11 00 00 [10:20:51]Write to MH i2c: E2 08 00 A0 6D 80 11 00 00 00 00 00 00 87 [10:20:51]Write i2c OK [10:20:51]MH_I2C_Read... [10:20:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:51]Read from MH i2c: E2 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 17 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 17 00 A0 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D9 [10:20:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:20:51]wFMCommunicate OK [10:20:51]CreateOFDProtocolMessage done [10:20:51]OFDSenderStorePacket 47425 [10:20:51]StoreOFDPacket docnum=47425 [10:20:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 34 01 00 00 F1 DA 2C 01 DA 38 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 16 7E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 41 B9 00 00 35 04 06 00 41 66 CE 1F 02 FE 46 1C 3D E5 E9 FB 5B 6B [10:20:51]CheckFolder [10:20:51]dirname=/storage/ofd_packets [10:20:51]CheckFolder done [10:20:51]ProducePacketName [10:20:51]name=ofd_packets/00047425 [10:20:51]NVStorageSaveData ofd_packets/00047425 [10:20:51]File name is /storage/ofd_packets/00047425 [10:20:51]Write 338 bytes [10:20:51]NVStorageSaveData done [10:20:51]OFDSenderStorePacket done [10:20:51]KKMCreateOFDPacket done [10:20:51]NVStorageSaveData kkm_last_timestamp [10:20:51]File name is /storage/kkm_last_timestamp [10:20:51]Write 4 bytes [10:20:51]NVStorageSaveData done [10:20:51]ExternCall_PrintAddStr [10:20:51]wPrintStart [10:20:51]Write to MH i2c: 01 00 00 A1 6D 0E [10:20:51]Write i2c OK [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: 01 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: 01 07 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: 01 07 00 A1 6D 00 00 00 00 00 FF 0F 23 [10:20:51]RasterBufferAndPrint [10:20:51]line Счет N : (3)242332 [10:20:51]line ИНН: 02508201610067 [10:20:51]line Контрольно-Кассовый Чек [10:20:51]line ПРОДАЖА [10:20:51]line Товар: 4700452010610 [10:20:51]line Кофе капучино 200мл (АКЦИЯ) [10:20:51]line 1.000 * 105.00 [10:20:51]line = 105.00 [10:20:51]line НДС 12% НСП 1% [10:20:51]line > о реализуемом товаре [10:20:51]line ИТОГО: 105.00 [10:20:51]line НСП 1% : 0.93 [10:20:51]line НДС 12% : 11.15 [10:20:51]line Наличными: 0.00 [10:20:51]line Безнал.: 105.00 [10:20:51]line Место: АЗС № 15 "Партнер Нефть" [10:20:51]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [10:20:51]line СНО: Общий режим [10:20:51]line Чек 13 13.03.2024 10:21 [10:20:51]line Смена: 315 ФФД: 1.0 [10:20:51]line ЗНМ: 0300000097 [10:20:51]line РНМ: 0000000000092018 [10:20:51]line Версия ККМ: 001 [10:20:51]line Платежная система: Демир КИ Банк [10:20:51]line ФМ: 0000000000871816 [10:20:51]line ФД: 47425 [10:20:51]line ФПД: 71909800608510 [10:20:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T102110&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47425&fm=71909800608510&tin=02508201610067®Number=0000000000092018&sum=10500 [10:20:51]line 0 [10:20:51]OFD Sender: Processing packet 47425 [packets to send 8, broken 7] [10:20:51]ProducePacketName [10:20:51]name=ofd_packets/00047425 [10:20:51]OFD Sender: To server: pG, [10:20:51]CommunicateWithHost lk.salyk.kg:30040 [10:20:51]ConnectInit lk.salyk.kg [10:20:51]written 0, free lines is 4095 [10:20:51]Connected sock=10 [10:20:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 34 01 00 00 F1 DA 2C 01 DA 38 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 34 35 32 30 31 30 36 31 30 06 04 2E 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 32 30 30 D0 BC D0 BB 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 16 7E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 41 B9 00 00 35 04 06 00 41 66 CE 1F 02 FE 46 1C 3D E5 E9 FB 5B 6B [10:20:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E4 98 47 00 B3 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 31 38 31 36 10 04 04 00 41 B9 00 00 F4 03 04 00 A5 28 F1 65 B6 04 01 00 00 C2 55 E6 CE E8 17 AF E0 [10:20:51]CommunicateWithHost err = 0 [10:20:51]CheckOFDResponse [10:20:51]1017 (14) - 77093643461234 [10:20:51]1041 (16) - 0000000000871816 [10:20:51]1040 (4) - 47425 [10:20:51]1012 (4) - 13.03.2024 04:16 [10:20:51]1206 (1) - 0 [10:20:51]OFD Sender: Remove packet 47425 [10:20:51]ProducePacketName [10:20:51]name=ofd_packets/00047425 [10:20:51]NVStorageDeleteData [10:20:52]Write to MH i2c: 01 00 00 CC 6D 39 [10:20:52]Write i2c OK [10:20:52]MH_I2C_Read... [10:20:52]Read from MH i2c: 01 [10:20:52]MH_I2C_Read... [10:20:52]Read from MH i2c: 01 07 00 [10:20:52]MH_I2C_Read... [10:20:52]Read from MH i2c: 01 07 00 CC 6D 00 00 00 00 00 BB 0C 07 [10:20:52]RasterBufferAndPrint [10:20:52]line [10:20:52]line [10:20:52]line [10:20:52]line [10:20:52]line [10:20:52]written 0, free lines is 3265 [10:20:52]MH_Cut [10:20:52]Write to MH i2c: D1 01 00 D3 6D 01 12 [10:20:52]Write i2c OK [10:20:52]MH_I2C_Read... [10:20:52]Read from MH i2c: D1 [10:20:52]MH_I2C_Read... [10:20:52]Read from MH i2c: D1 01 00 [10:20:52]MH_I2C_Read... [10:20:52]Read from MH i2c: D1 01 00 D3 6D 00 11 [10:20:52]Write to MH i2c: 01 00 00 D4 6D 41 [10:20:52]Write i2c OK [10:20:52]MH_I2C_Read... [10:20:52]OFD Sender: No OFD packet to send [10:20:52]*** Cut start [10:20:52]*** Purtial cut [10:20:52]*** Stage 1: CUTSNS_PIN = 1 [10:20:53]Read from MH i2c: 01 [10:20:53]MH_I2C_Read... [10:20:53]*** Stop cut motor [10:20:53]*** Cut end [10:20:53]Read from MH i2c: 01 07 00 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: 01 07 00 D4 6D 00 00 00 00 00 FF 0F 56 [10:20:53]process_action close_receipt done [10:20:53]requested_data is exist [10:20:53]produce_requested_data [10:20:53]requested_item fm.sn is exist - process it [10:20:53]wFMCommunicate request_size=4 [10:20:53]MH_SAM_APDU [10:20:53]CAPDU: 80 11 00 00 [10:20:53]Write to MH i2c: E2 08 00 D5 6D 80 11 00 00 00 00 00 00 BC [10:20:53]Write i2c OK [10:20:53]MH_I2C_Read... [10:20:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:53]Read from MH i2c: E2 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: E2 17 00 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: E2 17 00 D5 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 0E [10:20:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:20:53]wFMCommunicate OK [10:20:53]requested_item fd.num is exist - process it [10:20:53]SAM_PROTO_GetFieldsCounters [10:20:53]wFMCommunicate request_size=4 [10:20:53]MH_SAM_APDU [10:20:53]CAPDU: 80 13 00 00 [10:20:53]Write to MH i2c: E2 08 00 D6 6D 80 13 00 00 00 00 00 00 BF [10:20:53]Write i2c OK [10:20:53]MH_I2C_Read... [10:20:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:20:53]Read from MH i2c: E2 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: E2 62 00 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: E2 62 00 D6 6D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 41 B9 00 00 0E 04 04 00 3B 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 37 [10:20:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 41 B9 00 00 0E 04 04 00 3B 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 [10:20:53]wFMCommunicate OK [10:20:53]SAM_PROTO_GetFieldsCounters done [10:20:53]requested_item shift.num is exist - process it [10:20:53]requested_item shift.opened is exist - process it [10:20:53]req_shift_opened [10:20:53]FM_GetShiftState [10:20:53]SAM_PROTO_GetShiftState [10:20:53]wFMCommunicate request_size=4 [10:20:53]MH_SAM_APDU [10:20:53]CAPDU: 80 13 01 00 [10:20:53]Write to MH i2c: E2 08 00 D7 6D 80 13 01 00 00 00 00 00 C1 [10:20:53]Write i2c OK [10:20:53]MH_I2C_Read... [10:20:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:53]Read from MH i2c: E2 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: E2 0E 00 [10:20:53]MH_I2C_Read... [10:20:53]Read from MH i2c: E2 0E 00 D7 6D 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 B5 [10:20:53]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [10:20:53]wFMCommunicate OK [10:20:53]SAM_PROTO_GetShiftState done [10:20:53]FM_GetShiftState done [10:20:53]req_shift_opened done [10:20:53]requested_item shift.open_date is exist - process it [10:20:53]req_shift_open_date [10:20:53]req_shift_open_date done [10:20:53]produce_requested_data done [10:20:53]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47425,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [10:20:53]process_action_free close_receipt [10:20:53]json_value_free [10:20:53]json_value_free done [10:20:53]process_json_proto returns [10:20:53]Send response to host [10:20:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47425,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [10:20:53]free response buf [10:20:53]execute_script done [10:20:53]execute_script returns [10:20:53]free content buf [10:20:53]Sock 7.Close socket [10:20:53]Sock 7.Thread stoped [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:53]accept exits with 9 [10:34:53]New connection [10:34:53]New thread 3066453348 created [10:34:53]Thread 3066596708 joined [10:34:53]Waiting for new connection... [10:34:53] Sock 9.Parse request [10:34:53]Sock 9.Check first char [10:34:53]Sock 9.First char is OK [10:34:53]request: POST /json_proto HTTP/1.0 [10:34:53]Method: POST [10:34:53]URL: /json_proto [10:34:53]Method is POST - this is cgi request [10:34:53]url: /json_proto [10:34:53]query_string will be loaded in cgi processing [10:34:53]execute_cgi json_proto POST (null) [10:34:53]execute_cgi path=json_proto method=POST [10:34:53]POST find Content-Length [10:34:53]Host: 172.17.32.68:8080 [10:34:53]Content-Length: 620 [10:34:53]Content-Type: application/json [10:34:53] [10:34:53]POST finish read [10:34:53]Found Content-Length = 620 [10:34:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242333", "tax_sys" : 0, "items" : [ { "code": "46214645", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:53]execute_script... [10:34:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242333", "tax_sys" : 0, "items" : [ { "code": "46214645", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:53]POST & json_proto [10:34:53]process_json_proto [10:34:53]json parsed OK: [10:34:53]protocol is kg_v1.0 [10:34:53]action value=close_receipt [10:34:53]process_action close_receipt [10:34:53]cmd_close_receipt [10:34:53]MH_GetDate [10:34:53]Write to MH i2c: F0 00 00 D8 6D 34 [10:34:53]Write i2c OK [10:34:53]MH_I2C_Read... [10:34:53]Read from MH i2c: F0 [10:34:53]MH_I2C_Read... [10:34:53]Read from MH i2c: F0 09 00 [10:34:53]MH_I2C_Read... [10:34:53]Read from MH i2c: F0 09 00 D8 6D 00 62 81 F1 65 0A 64 6E 65 B7 [10:34:53]GetLastDocTimeStamp 1710325270 [10:34:53]current date 1710326114 [10:34:53]FM_GetShiftState [10:34:53]SAM_PROTO_GetShiftState [10:34:53]wFMCommunicate request_size=4 [10:34:53]MH_SAM_APDU [10:34:53]CAPDU: 80 13 01 00 [10:34:53]Write to MH i2c: E2 08 00 D9 6D 80 13 01 00 00 00 00 00 C3 [10:34:53]Write i2c OK [10:34:53]MH_I2C_Read... [10:34:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:53]Read from MH i2c: E2 [10:34:53]MH_I2C_Read... [10:34:53]Read from MH i2c: E2 0E 00 [10:34:53]MH_I2C_Read... [10:34:53]Read from MH i2c: E2 0E 00 D9 6D 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 B7 [10:34:53]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [10:34:53]wFMCommunicate OK [10:34:53]SAM_PROTO_GetShiftState done [10:34:53]FM_GetShiftState done [10:34:53]opened in 1710288804 [10:34:53]opened+sec_in_day 1710375204 [10:34:53]quantity*price = 4900 [10:34:53]sum+1 = 4901 [10:34:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 14 13.03.2024 10:35 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47426 ФПД: 123240097293941 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T103514&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47426&fm=123240097293941&tin=02508201610067®Number=0000000000092018&sum=4900 0 [10:34:54]StoreToDocumentArchive [10:34:54]shift 315 fd 47426 [10:34:54]save to /storage/0315/doc_00047426 [10:34:54]save last doc name /storage/0315/doc_00047426 to /storage/kkm_last_doc_name [10:34:54]save OK [10:34:54]Clear old archive folders... [10:34:54]ProcessDocumentItem done err = 0, tmpTLVsize=279 [10:34:54]tlvbuf is 0027CAC0 [10:34:54]SAM_PROTO_ClearQueue [10:34:54]wFMCommunicate request_size=4 [10:34:54]MH_SAM_APDU [10:34:54]CAPDU: 80 09 00 00 [10:34:54]Write to MH i2c: E2 08 00 E6 6D 80 09 00 00 00 00 00 00 C5 [10:34:54]Write i2c OK [10:34:54]MH_I2C_Read... [10:34:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:34:54]Read from MH i2c: E2 [10:34:54]MH_I2C_Read... [10:34:54]Read from MH i2c: E2 03 00 [10:34:54]MH_I2C_Read... [10:34:54]Read from MH i2c: E2 03 00 E6 6D 00 90 00 C7 [10:34:54]RAPDU: 90 00 [10:34:54]wFMCommunicate OK [10:34:54]SAM_PROTO_ClearQueue done [10:34:54]KKMCreateOFDPacket [10:34:54]OFDProtocolAddRootSTLVToBuf [10:34:54]FM_MakeSignedData [10:34:54]FM_MakeSignedData [10:34:54]SAM_PROTO_SignData [10:34:54]wFMCommunicate request_size=4 [10:34:54]MH_SAM_APDU [10:34:54]CAPDU: 80 0D 01 02 [10:34:54]Write to MH i2c: E2 08 00 E7 6D 80 0D 01 02 00 00 00 00 CD [10:34:54]Write i2c OK [10:34:54]MH_I2C_Read... [10:34:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:34:54]Read from MH i2c: E2 [10:34:54]MH_I2C_Read... [10:34:54]Read from MH i2c: E2 03 00 [10:34:54]MH_I2C_Read... [10:34:54]Read from MH i2c: E2 03 00 E7 6D 00 90 00 C8 [10:34:54]RAPDU: 90 00 [10:34:54]wFMCommunicate OK [10:34:54]wFMCommunicate request_size=255 [10:34:54]MH_SAM_APDU [10:34:54]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 62 81 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 [10:34:54]Write to MH i2c: E2 02 01 E8 6D 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 62 81 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 00 00 93 [10:34:54]Write i2c OK [10:34:54]MH_I2C_Read... [10:34:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:55]Read from MH i2c: E2 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 03 00 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 03 00 E8 6D 00 90 00 C9 [10:34:55]RAPDU: 90 00 [10:34:55]wFMCommunicate OK [10:34:55]wFMCommunicate request_size=38 [10:34:55]MH_SAM_APDU [10:34:55]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 42 B9 00 00 35 04 06 00 70 16 12 38 A6 75 [10:34:55]Write to MH i2c: E2 29 00 E9 6D 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 42 B9 00 00 35 04 06 00 70 16 12 38 A6 75 00 00 3E [10:34:55]Write i2c OK [10:34:55]MH_I2C_Read... [10:34:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:55]Read from MH i2c: E2 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 03 00 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 03 00 E9 6D 00 90 00 CA [10:34:55]RAPDU: 90 00 [10:34:55]wFMCommunicate OK [10:34:55]wFMCommunicate request_size=4 [10:34:55]MH_SAM_APDU [10:34:55]CAPDU: 80 0D 03 02 [10:34:55]Write to MH i2c: E2 08 00 EA 6D 80 0D 03 02 00 00 00 00 D2 [10:34:55]Write i2c OK [10:34:55]MH_I2C_Read... [10:34:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:34:55]Read from MH i2c: E2 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 0B 00 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 0B 00 EA 6D 00 90 98 CB F5 53 D8 05 50 90 00 3B [10:34:55]RAPDU: 90 98 CB F5 53 D8 05 50 90 00 [10:34:55]wFMCommunicate OK [10:34:55]SAM_PROTO_SignData done [10:34:55]FM_MakeSignedData done [10:34:55]CreateOFDProtocolMessage [10:34:55]wFMCommunicate request_size=4 [10:34:55]MH_SAM_APDU [10:34:55]CAPDU: 80 11 00 00 [10:34:55]Write to MH i2c: E2 08 00 EB 6D 80 11 00 00 00 00 00 00 D2 [10:34:55]Write i2c OK [10:34:55]MH_I2C_Read... [10:34:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:55]Read from MH i2c: E2 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 17 00 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: E2 17 00 EB 6D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 24 [10:34:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:34:55]wFMCommunicate OK [10:34:55]CreateOFDProtocolMessage done [10:34:55]OFDSenderStorePacket 47426 [10:34:55]StoreOFDPacket docnum=47426 [10:34:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2B 01 00 00 1C 82 23 01 CD 43 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 62 81 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 42 B9 00 00 35 04 06 00 70 16 12 38 A6 75 90 98 CB F5 53 D8 05 50 [10:34:55]CheckFolder [10:34:55]dirname=/storage/ofd_packets [10:34:55]CheckFolder done [10:34:55]ProducePacketName [10:34:55]name=ofd_packets/00047426 [10:34:55]NVStorageSaveData ofd_packets/00047426 [10:34:55]File name is /storage/ofd_packets/00047426 [10:34:55]Write 329 bytes [10:34:55]NVStorageSaveData done [10:34:55]OFDSenderStorePacket done [10:34:55]KKMCreateOFDPacket done [10:34:55]NVStorageSaveData kkm_last_timestamp [10:34:55]File name is /storage/kkm_last_timestamp [10:34:55]Write 4 bytes [10:34:55]NVStorageSaveData done [10:34:55]ExternCall_PrintAddStr [10:34:55]wPrintStart [10:34:55]Write to MH i2c: 01 00 00 EC 6D 59 [10:34:55]Write i2c OK [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: 01 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: 01 07 00 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: 01 07 00 EC 6D 00 00 00 00 00 FF 0F 6E [10:34:55]RasterBufferAndPrint [10:34:55]line Счет N : (3)242333 [10:34:55]line ИНН: 02508201610067 [10:34:55]line Контрольно-Кассовый Чек [10:34:55]line ПРОДАЖА [10:34:55]line Товар: 46214645 [10:34:55]line Р/ж mentos pure white клуб 16/15,5г [10:34:55]line 1.000 * 49.00 [10:34:55]line = 49.00 [10:34:55]line НДС 12% НСП 1% [10:34:55]line > о реализуемом товаре [10:34:55]line ИТОГО: 49.00 [10:34:55]line НСП 1% : 0.43 [10:34:55]line НДС 12% : 5.20 [10:34:55]line Наличными: 49.00 [10:34:55]line Безнал.: 0.00 [10:34:55]line Место: АЗС № 15 "Партнер Нефть" [10:34:55]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [10:34:55]line СНО: Общий режим [10:34:55]line Чек 14 13.03.2024 10:35 [10:34:55]line Смена: 315 ФФД: 1.0 [10:34:55]line ЗНМ: 0300000097 [10:34:55]line РНМ: 0000000000092018 [10:34:55]line Версия ККМ: 001 [10:34:55]line ФМ: 0000000000871816 [10:34:55]line ФД: 47426 [10:34:55]line ФПД: 123240097293941 [10:34:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T103514&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47426&fm=123240097293941&tin=02508201610067®Number=0000000000092018&sum=4900 [10:34:55]line 0 [10:34:55]OFD Sender: Processing packet 47426 [packets to send 8, broken 7] [10:34:55]ProducePacketName [10:34:55]name=ofd_packets/00047426 [10:34:55]OFD Sender: To server: pG, [10:34:55]CommunicateWithHost lk.salyk.kg:30040 [10:34:55]ConnectInit lk.salyk.kg [10:34:55]written 0, free lines is 4095 [10:34:55]Connected sock=10 [10:34:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2B 01 00 00 1C 82 23 01 CD 43 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 62 81 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 42 B9 00 00 35 04 06 00 70 16 12 38 A6 75 90 98 CB F5 53 D8 05 50 [10:34:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 48 FB 47 00 AD 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 42 B9 00 00 F4 03 04 00 F1 2B F1 65 B6 04 01 00 00 13 AF 26 F4 B8 C9 64 3F [10:34:55]CommunicateWithHost err = 0 [10:34:55]CheckOFDResponse [10:34:55]1017 (14) - 77093643461234 [10:34:55]1041 (16) - 0000000000871816 [10:34:55]1040 (4) - 47426 [10:34:55]1012 (4) - 13.03.2024 04:30 [10:34:55]1206 (1) - 0 [10:34:55]OFD Sender: Remove packet 47426 [10:34:55]ProducePacketName [10:34:55]name=ofd_packets/00047426 [10:34:55]NVStorageDeleteData [10:34:55]Write to MH i2c: 01 00 00 15 6E 83 [10:34:55]Write i2c OK [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: 01 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: 01 07 00 [10:34:55]MH_I2C_Read... [10:34:55]Read from MH i2c: 01 07 00 15 6E 00 00 00 00 00 CF 0C 65 [10:34:55]RasterBufferAndPrint [10:34:55]line [10:34:55]line [10:34:55]line [10:34:55]line [10:34:55]line [10:34:55]written 0, free lines is 3283 [10:34:56]MH_Cut [10:34:56]Write to MH i2c: D1 01 00 1C 6E 01 5C [10:34:56]Write i2c OK [10:34:56]MH_I2C_Read... [10:34:56]Read from MH i2c: D1 [10:34:56]MH_I2C_Read... [10:34:56]Read from MH i2c: D1 01 00 [10:34:56]MH_I2C_Read... [10:34:56]Read from MH i2c: D1 01 00 1C 6E 00 5B [10:34:56]Write to MH i2c: 01 00 00 1D 6E 8B [10:34:56]Write i2c OK [10:34:56]MH_I2C_Read... [10:34:56]OFD Sender: No OFD packet to send [10:34:56]*** Cut start [10:34:56]*** Purtial cut [10:34:56]*** Stage 1: CUTSNS_PIN = 1 [10:34:57]Read from MH i2c: 01 [10:34:57]MH_I2C_Read... [10:34:57]*** Stop cut motor [10:34:57]*** Cut end [10:34:57]Read from MH i2c: 01 07 00 [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: 01 07 00 1D 6E 00 00 00 00 00 FF 0F A0 [10:34:57]process_action close_receipt done [10:34:57]requested_data is exist [10:34:57]produce_requested_data [10:34:57]requested_item fm.sn is exist - process it [10:34:57]wFMCommunicate request_size=4 [10:34:57]MH_SAM_APDU [10:34:57]CAPDU: 80 11 00 00 [10:34:57]Write to MH i2c: E2 08 00 1E 6E 80 11 00 00 00 00 00 00 06 [10:34:57]Write i2c OK [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: E2 [10:34:57]MH_I2C_Read... [10:34:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:57]Read from MH i2c: E2 17 00 [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: E2 17 00 1E 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 58 [10:34:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [10:34:57]wFMCommunicate OK [10:34:57]requested_item fd.num is exist - process it [10:34:57]SAM_PROTO_GetFieldsCounters [10:34:57]wFMCommunicate request_size=4 [10:34:57]MH_SAM_APDU [10:34:57]CAPDU: 80 13 00 00 [10:34:57]Write to MH i2c: E2 08 00 1F 6E 80 13 00 00 00 00 00 00 09 [10:34:57]Write i2c OK [10:34:57]MH_I2C_Read... [10:34:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:34:57]Read from MH i2c: E2 [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: E2 62 00 [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: E2 62 00 1F 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 42 B9 00 00 0E 04 04 00 3B 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 85 [10:34:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 42 B9 00 00 0E 04 04 00 3B 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 [10:34:57]wFMCommunicate OK [10:34:57]SAM_PROTO_GetFieldsCounters done [10:34:57]requested_item shift.num is exist - process it [10:34:57]requested_item shift.opened is exist - process it [10:34:57]req_shift_opened [10:34:57]FM_GetShiftState [10:34:57]SAM_PROTO_GetShiftState [10:34:57]wFMCommunicate request_size=4 [10:34:57]MH_SAM_APDU [10:34:57]CAPDU: 80 13 01 00 [10:34:57]Write to MH i2c: E2 08 00 20 6E 80 13 01 00 00 00 00 00 0B [10:34:57]Write i2c OK [10:34:57]MH_I2C_Read... [10:34:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:57]Read from MH i2c: E2 [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: E2 0E 00 [10:34:57]MH_I2C_Read... [10:34:57]Read from MH i2c: E2 0E 00 20 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 FF [10:34:57]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [10:34:57]wFMCommunicate OK [10:34:57]SAM_PROTO_GetShiftState done [10:34:57]FM_GetShiftState done [10:34:57]req_shift_opened done [10:34:57]requested_item shift.open_date is exist - process it [10:34:57]req_shift_open_date [10:34:57]req_shift_open_date done [10:34:57]produce_requested_data done [10:34:57]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47426,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [10:34:57]process_action_free close_receipt [10:34:57]json_value_free [10:34:57]json_value_free done [10:34:57]process_json_proto returns [10:34:57]Send response to host [10:34:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47426,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [10:34:57]free response buf [10:34:57]execute_script done [10:34:57]execute_script returns [10:34:57]free content buf [10:34:57]Sock 9.Close socket [10:34:57]Sock 9.Thread stoped [10:35:01]OFD Sender: No OFD packet to send [10:35:06]OFD Sender: No OFD packet to send [10:35:11]OFD Sender: No OFD packet to send [10:35:16]OFD Sender: No OFD packet to send [10:35:21]OFD Sender: No OFD packet to send [10:35:26]OFD Sender: No OFD packet to send [10:35:31]OFD Sender: No OFD packet to send [10:35:36]OFD Sender: No OFD packet to send [10:35:41]OFD Sender: No OFD packet to send [10:35:46]OFD Sender: No OFD packet to send [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:36:01]OFD Sender: No OFD packet to send [10:36:06]OFD Sender: No OFD packet to send [10:36:11]OFD Sender: No OFD packet to send [10:36:16]OFD Sender: No OFD packet to send [10:36:21]OFD Sender: No OFD packet to send [10:36:26]OFD Sender: No OFD packet to send [10:36:31]OFD Sender: No OFD packet to send [10:36:36]OFD Sender: No OFD packet to send [10:36:41]OFD Sender: No OFD packet to send [10:36:46]OFD Sender: No OFD packet to send [10:36:51]OFD Sender: No OFD packet to send [10:36:56]OFD Sender: No OFD packet to send [10:37:01]OFD Sender: No OFD packet to send [10:37:06]OFD Sender: No OFD packet to send [10:37:11]OFD Sender: No OFD packet to send [10:37:16]OFD Sender: No OFD packet to send [10:37:21]OFD Sender: No OFD packet to send [10:37:26]OFD Sender: No OFD packet to send [10:37:31]OFD Sender: No OFD packet to send [10:37:36]OFD Sender: No OFD packet to send [10:37:41]OFD Sender: No OFD packet to send [10:37:46]OFD Sender: No OFD packet to send [10:37:51]OFD Sender: No OFD packet to send [10:37:56]OFD Sender: No OFD packet to send [10:38:01]OFD Sender: No OFD packet to send [10:38:06]OFD Sender: No OFD packet to send [10:38:11]OFD Sender: No OFD packet to send [10:38:16]OFD Sender: No OFD packet to send [10:38:21]OFD Sender: No OFD packet to send [10:38:26]OFD Sender: No OFD packet to send [10:38:31]OFD Sender: No OFD packet to send [10:38:36]OFD Sender: No OFD packet to send [10:38:41]OFD Sender: No OFD packet to send [10:38:46]OFD Sender: No OFD packet to send [10:38:51]OFD Sender: No OFD packet to send [10:38:56]OFD Sender: No OFD packet to send [10:39:01]OFD Sender: No OFD packet to send [10:39:06]OFD Sender: No OFD packet to send [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10: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:46]accept exits with 7 [11:11:46]New connection [11:11:46]New thread 3066596708 created [11:11:46]Thread 3066453348 joined [11:11:46]Waiting for new connection... [11:11:46] Sock 7.Parse request [11:11:46]Sock 7.Check first char [11:11:46]Sock 7.First char is OK [11:11:46]request: POST /json_proto HTTP/1.0 [11:11:46]Method: POST [11:11:46]URL: /json_proto [11:11:46]Method is POST - this is cgi request [11:11:46]url: /json_proto [11:11:46]query_string will be loaded in cgi processing [11:11:46]execute_cgi json_proto POST (null) [11:11:46]execute_cgi path=json_proto method=POST [11:11:46]POST find Content-Length [11:11:46]Host: 172.17.32.68:8080 [11:11:46]Content-Length: 628 [11:11:46]Content-Type: application/json [11:11:46] [11:11:46]POST finish read [11:11:46]Found Content-Length = 628 [11:11:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242334", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:11:46]execute_script... [11:11: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)242334", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:11:46]POST & json_proto [11:11:46]process_json_proto [11:11:46]json parsed OK: [11:11:46]protocol is kg_v1.0 [11:11:46]action value=close_receipt [11:11:46]process_action close_receipt [11:11:46]cmd_close_receipt [11:11:46]MH_GetDate [11:11:46]Write to MH i2c: F0 00 00 21 6E 7E [11:11:46]Write i2c OK [11:11:46]MH_I2C_Read... [11:11:46]Read from MH i2c: F0 [11:11:46]MH_I2C_Read... [11:11:46]Read from MH i2c: F0 09 00 [11:11:46]MH_I2C_Read... [11:11:46]Read from MH i2c: F0 09 00 21 6E 00 07 8A F1 65 0A 64 6E 65 AF [11:11:46]GetLastDocTimeStamp 1710326114 [11:11:46]current date 1710328327 [11:11:46]FM_GetShiftState [11:11:46]SAM_PROTO_GetShiftState [11:11:46]wFMCommunicate request_size=4 [11:11:46]MH_SAM_APDU [11:11:46]CAPDU: 80 13 01 00 [11:11:46]Write to MH i2c: E2 08 00 22 6E 80 13 01 00 00 00 00 00 0D [11:11:46]Write i2c OK [11:11:46]MH_I2C_Read... [11:11:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:11:46]Read from MH i2c: E2 [11:11:46]MH_I2C_Read... [11:11:46]Read from MH i2c: E2 0E 00 [11:11:46]MH_I2C_Read... [11:11:46]Read from MH i2c: E2 0E 00 22 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 01 [11:11:46]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:11:46]wFMCommunicate OK [11:11:46]SAM_PROTO_GetShiftState done [11:11:46]FM_GetShiftState done [11:11:46]opened in 1710288804 [11:11:46]opened+sec_in_day 1710375204 [11:11:46]quantity*price = 13000 [11:11:46]sum+1 = 13001 [11:11:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 15 13.03.2024 11:12 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47427 ФПД: 91550359982319 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T111207&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47427&fm=91550359982319&tin=02508201610067®Number=0000000000092018&sum=13000 0 [11:11:47]StoreToDocumentArchive [11:11:47]shift 315 fd 47427 [11:11:47]save to /storage/0315/doc_00047427 [11:11:47]save last doc name /storage/0315/doc_00047427 to /storage/kkm_last_doc_name [11:11:47]save OK [11:11:47]Clear old archive folders... [11:11:47]ProcessDocumentItem done err = 0, tmpTLVsize=276 [11:11:47]tlvbuf is 003E1190 [11:11:47]SAM_PROTO_ClearQueue [11:11:47]wFMCommunicate request_size=4 [11:11:47]MH_SAM_APDU [11:11:47]CAPDU: 80 09 00 00 [11:11:47]Write to MH i2c: E2 08 00 2F 6E 80 09 00 00 00 00 00 00 0F [11:11:47]Write i2c OK [11:11:47]MH_I2C_Read... [11:11:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:11:47]Read from MH i2c: E2 [11:11:47]MH_I2C_Read... [11:11:47]Read from MH i2c: E2 03 00 [11:11:47]MH_I2C_Read... [11:11:47]Read from MH i2c: E2 03 00 2F 6E 00 90 00 11 [11:11:47]RAPDU: 90 00 [11:11:47]wFMCommunicate OK [11:11:47]SAM_PROTO_ClearQueue done [11:11:47]KKMCreateOFDPacket [11:11:47]OFDProtocolAddRootSTLVToBuf [11:11:47]FM_MakeSignedData [11:11:47]FM_MakeSignedData [11:11:47]SAM_PROTO_SignData [11:11:47]wFMCommunicate request_size=4 [11:11:47]MH_SAM_APDU [11:11:47]CAPDU: 80 0D 01 02 [11:11:47]Write to MH i2c: E2 08 00 30 6E 80 0D 01 02 00 00 00 00 17 [11:11:47]Write i2c OK [11:11:47]MH_I2C_Read... [11:11:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:11:47]Read from MH i2c: E2 [11:11:47]MH_I2C_Read... [11:11:47]Read from MH i2c: E2 03 00 [11:11:47]MH_I2C_Read... [11:11:47]Read from MH i2c: E2 03 00 30 6E 00 90 00 12 [11:11:47]RAPDU: 90 00 [11:11:47]wFMCommunicate OK [11:11:47]wFMCommunicate request_size=255 [11:11:47]MH_SAM_APDU [11:11:47]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 07 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [11:11:47]Write to MH i2c: E2 02 01 31 6E 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 07 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 5F [11:11:47]Write i2c OK [11:11:47]MH_I2C_Read... [11:11:48]OFD Sender: No OFD packet to send [11:11:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:11:48]Read from MH i2c: E2 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 03 00 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 03 00 31 6E 00 90 00 13 [11:11:48]RAPDU: 90 00 [11:11:48]wFMCommunicate OK [11:11:48]wFMCommunicate request_size=35 [11:11:48]MH_SAM_APDU [11:11:48]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 43 B9 00 00 35 04 06 00 53 43 BA AF 90 EF [11:11:48]Write to MH i2c: E2 26 00 32 6E 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 43 B9 00 00 35 04 06 00 53 43 BA AF 90 EF 00 00 86 [11:11:48]Write i2c OK [11:11:48]MH_I2C_Read... [11:11:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:11:48]Read from MH i2c: E2 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 03 00 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 03 00 32 6E 00 90 00 14 [11:11:48]RAPDU: 90 00 [11:11:48]wFMCommunicate OK [11:11:48]wFMCommunicate request_size=4 [11:11:48]MH_SAM_APDU [11:11:48]CAPDU: 80 0D 03 02 [11:11:48]Write to MH i2c: E2 08 00 33 6E 80 0D 03 02 00 00 00 00 1C [11:11:48]Write i2c OK [11:11:48]MH_I2C_Read... [11:11:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:11:48]Read from MH i2c: E2 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 0B 00 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 0B 00 33 6E 00 91 5C A4 BE C9 A0 B0 61 90 00 E6 [11:11:48]RAPDU: 91 5C A4 BE C9 A0 B0 61 90 00 [11:11:48]wFMCommunicate OK [11:11:48]SAM_PROTO_SignData done [11:11:48]FM_MakeSignedData done [11:11:48]CreateOFDProtocolMessage [11:11:48]wFMCommunicate request_size=4 [11:11:48]MH_SAM_APDU [11:11:48]CAPDU: 80 11 00 00 [11:11:48]Write to MH i2c: E2 08 00 34 6E 80 11 00 00 00 00 00 00 1C [11:11:48]Write i2c OK [11:11:48]MH_I2C_Read... [11:11:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:11:48]Read from MH i2c: E2 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 17 00 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: E2 17 00 34 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 6E [11:11:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:11:48]wFMCommunicate OK [11:11:48]CreateOFDProtocolMessage done [11:11:48]OFDSenderStorePacket 47427 [11:11:48]StoreOFDPacket docnum=47427 [11:11:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 CA 8C 20 01 57 C5 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 07 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 43 B9 00 00 35 04 06 00 53 43 BA AF 90 EF 91 5C A4 BE C9 A0 B0 61 [11:11:48]CheckFolder [11:11:48]dirname=/storage/ofd_packets [11:11:48]CheckFolder done [11:11:48]ProducePacketName [11:11:48]name=ofd_packets/00047427 [11:11:48]NVStorageSaveData ofd_packets/00047427 [11:11:48]File name is /storage/ofd_packets/00047427 [11:11:48]Write 326 bytes [11:11:48]NVStorageSaveData done [11:11:48]OFDSenderStorePacket done [11:11:48]KKMCreateOFDPacket done [11:11:48]NVStorageSaveData kkm_last_timestamp [11:11:48]File name is /storage/kkm_last_timestamp [11:11:48]Write 4 bytes [11:11:48]NVStorageSaveData done [11:11:48]ExternCall_PrintAddStr [11:11:48]wPrintStart [11:11:48]Write to MH i2c: 01 00 00 35 6E A3 [11:11:48]Write i2c OK [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: 01 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: 01 07 00 [11:11:48]MH_I2C_Read... [11:11:48]Read from MH i2c: 01 07 00 35 6E 00 00 00 00 00 FF 0F B8 [11:11:48]RasterBufferAndPrint [11:11:48]line Счет N : (3)242334 [11:11:48]line ИНН: 02508201610067 [11:11:48]line Контрольно-Кассовый Чек [11:11:48]line ПРОДАЖА [11:11:48]line Товар: 2000036230011 [11:11:48]line Кофе Латте XL(GABB TRADE) [11:11:48]line 1.000 * 130.00 [11:11:48]line = 130.00 [11:11:48]line НДС 12% НСП 1% [11:11:48]line > о реализуемом товаре [11:11:48]line ИТОГО: 130.00 [11:11:48]line НСП 1% : 1.15 [11:11:48]line НДС 12% : 13.80 [11:11:48]line Наличными: 130.00 [11:11:48]line Безнал.: 0.00 [11:11:48]line Место: АЗС № 15 "Партнер Нефть" [11:11:48]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:11:48]line СНО: Общий режим [11:11:48]line Чек 15 13.03.2024 11:12 [11:11:48]line Смена: 315 ФФД: 1.0 [11:11:48]line ЗНМ: 0300000097 [11:11:48]line РНМ: 0000000000092018 [11:11:48]line Версия ККМ: 001 [11:11:48]line ФМ: 0000000000871816 [11:11:48]line ФД: 47427 [11:11:48]line ФПД: 91550359982319 [11:11:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T111207&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47427&fm=91550359982319&tin=02508201610067®Number=0000000000092018&sum=13000 [11:11:48]line 0 [11:11:48]OFD Sender: Processing packet 47427 [packets to send 8, broken 7] [11:11:48]ProducePacketName [11:11:48]name=ofd_packets/00047427 [11:11:48]OFD Sender: To server: pG, [11:11:48]CommunicateWithHost lk.salyk.kg:30040 [11:11:48]ConnectInit lk.salyk.kg [11:11:48]written 0, free lines is 4095 [11:11:48]Connected sock=10 [11:11:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 CA 8C 20 01 57 C5 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 07 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 43 B9 00 00 35 04 06 00 53 43 BA AF 90 EF 91 5C A4 BE C9 A0 B0 61 [11:11:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 BF C5 47 00 16 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 31 38 31 36 10 04 04 00 43 B9 00 00 F4 03 04 00 96 34 F1 65 B6 04 01 00 00 E3 D9 29 9D 03 D5 D3 DA [11:11:48]CommunicateWithHost err = 0 [11:11:48]CheckOFDResponse [11:11:48]1017 (14) - 77093643461234 [11:11:48]1041 (16) - 0000000000871816 [11:11:48]1040 (4) - 47427 [11:11:48]1012 (4) - 13.03.2024 05:07 [11:11:48]1206 (1) - 0 [11:11:48]OFD Sender: Remove packet 47427 [11:11:48]ProducePacketName [11:11:48]name=ofd_packets/00047427 [11:11:48]NVStorageDeleteData [11:11:49]Write to MH i2c: 01 00 00 5D 6E CB [11:11:49]Write i2c OK [11:11:49]MH_I2C_Read... [11:11:49]Read from MH i2c: 01 [11:11:49]MH_I2C_Read... [11:11:49]Read from MH i2c: 01 07 00 [11:11:49]MH_I2C_Read... [11:11:49]Read from MH i2c: 01 07 00 5D 6E 00 00 00 00 00 F1 0C CF [11:11:49]RasterBufferAndPrint [11:11:49]line [11:11:49]line [11:11:49]line [11:11:49]line [11:11:49]line [11:11:49]written 0, free lines is 3319 [11:11:49]MH_Cut [11:11:49]Write to MH i2c: D1 01 00 64 6E 01 A4 [11:11:49]Write i2c OK [11:11:49]MH_I2C_Read... [11:11:49]Read from MH i2c: D1 [11:11:49]MH_I2C_Read... [11:11:49]Read from MH i2c: D1 01 00 [11:11:49]MH_I2C_Read... [11:11:49]Read from MH i2c: D1 01 00 64 6E 00 A3 [11:11:49]Write to MH i2c: 01 00 00 65 6E D3 [11:11:49]Write i2c OK [11:11:49]MH_I2C_Read... [11:11:49]OFD Sender: No OFD packet to send [11:11:49]*** Cut start [11:11:49]*** Purtial cut [11:11:49]*** Stage 1: CUTSNS_PIN = 1 [11:11:50]Read from MH i2c: 01 [11:11:50]MH_I2C_Read... [11:11:50]*** Stop cut motor [11:11:50]*** Cut end [11:11:50]Read from MH i2c: 01 07 00 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: 01 07 00 65 6E 00 00 00 00 00 FF 0F E8 [11:11:50]process_action close_receipt done [11:11:50]requested_data is exist [11:11:50]produce_requested_data [11:11:50]requested_item fm.sn is exist - process it [11:11:50]wFMCommunicate request_size=4 [11:11:50]MH_SAM_APDU [11:11:50]CAPDU: 80 11 00 00 [11:11:50]Write to MH i2c: E2 08 00 66 6E 80 11 00 00 00 00 00 00 4E [11:11:50]Write i2c OK [11:11:50]MH_I2C_Read... [11:11:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:11:50]Read from MH i2c: E2 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: E2 17 00 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: E2 17 00 66 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A0 [11:11:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:11:50]wFMCommunicate OK [11:11:50]requested_item fd.num is exist - process it [11:11:50]SAM_PROTO_GetFieldsCounters [11:11:50]wFMCommunicate request_size=4 [11:11:50]MH_SAM_APDU [11:11:50]CAPDU: 80 13 00 00 [11:11:50]Write to MH i2c: E2 08 00 67 6E 80 13 00 00 00 00 00 00 51 [11:11:50]Write i2c OK [11:11:50]MH_I2C_Read... [11:11:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:11:50]Read from MH i2c: E2 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: E2 62 00 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: E2 62 00 67 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 43 B9 00 00 0E 04 04 00 3B 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 D1 [11:11:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 43 B9 00 00 0E 04 04 00 3B 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:11:50]wFMCommunicate OK [11:11:50]SAM_PROTO_GetFieldsCounters done [11:11:50]requested_item shift.num is exist - process it [11:11:50]requested_item shift.opened is exist - process it [11:11:50]req_shift_opened [11:11:50]FM_GetShiftState [11:11:50]SAM_PROTO_GetShiftState [11:11:50]wFMCommunicate request_size=4 [11:11:50]MH_SAM_APDU [11:11:50]CAPDU: 80 13 01 00 [11:11:50]Write to MH i2c: E2 08 00 68 6E 80 13 01 00 00 00 00 00 53 [11:11:50]Write i2c OK [11:11:50]MH_I2C_Read... [11:11:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:11:50]Read from MH i2c: E2 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: E2 0E 00 [11:11:50]MH_I2C_Read... [11:11:50]Read from MH i2c: E2 0E 00 68 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 47 [11:11:50]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:11:50]wFMCommunicate OK [11:11:50]SAM_PROTO_GetShiftState done [11:11:50]FM_GetShiftState done [11:11:50]req_shift_opened done [11:11:50]requested_item shift.open_date is exist - process it [11:11:50]req_shift_open_date [11:11:50]req_shift_open_date done [11:11:50]produce_requested_data done [11:11:50]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47427,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [11:11:50]process_action_free close_receipt [11:11:50]json_value_free [11:11:50]json_value_free done [11:11:50]process_json_proto returns [11:11:50]Send response to host [11:11:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47427,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [11:11:50]free response buf [11:11:50]execute_script done [11:11:50]execute_script returns [11:11:50]free content buf [11:11:50]Sock 7.Close socket [11:11:50]Sock 7.Thread stoped [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:17]accept exits with 9 [11:12:17]New connection [11:12:17]New thread 3066453348 created [11:12:17]Thread 3066596708 joined [11:12:17]Waiting for new connection... [11:12:17] Sock 9.Parse request [11:12:17]Sock 9.Check first char [11:12:17]Sock 9.First char is OK [11:12:17]request: POST /json_proto HTTP/1.0 [11:12:17]Method: POST [11:12:17]URL: /json_proto [11:12:17]Method is POST - this is cgi request [11:12:17]url: /json_proto [11:12:17]query_string will be loaded in cgi processing [11:12:17]execute_cgi json_proto POST (null) [11:12:17]execute_cgi path=json_proto method=POST [11:12:17]POST find Content-Length [11:12:17]Host: 172.17.32.68:8080 [11:12:17]Content-Length: 684 [11:12:17]Content-Type: application/json [11:12:17] [11:12:17]POST finish read [11:12:17]Found Content-Length = 684 [11:12:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242335", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "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" ] } } [11:12:17]execute_script... [11:12: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)242335", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "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" ] } } [11:12:17]POST & json_proto [11:12:17]process_json_proto [11:12:17]json parsed OK: [11:12:17]protocol is kg_v1.0 [11:12:17]action value=close_receipt [11:12:17]process_action close_receipt [11:12:17]cmd_close_receipt [11:12:17]MH_GetDate [11:12:17]Write to MH i2c: F0 00 00 69 6E C6 [11:12:17]Write i2c OK [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: F0 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: F0 09 00 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: F0 09 00 69 6E 00 26 8A F1 65 0A 64 6E 65 16 [11:12:17]GetLastDocTimeStamp 1710328327 [11:12:17]current date 1710328358 [11:12:17]FM_GetShiftState [11:12:17]SAM_PROTO_GetShiftState [11:12:17]wFMCommunicate request_size=4 [11:12:17]MH_SAM_APDU [11:12:17]CAPDU: 80 13 01 00 [11:12:17]Write to MH i2c: E2 08 00 6A 6E 80 13 01 00 00 00 00 00 55 [11:12:17]Write i2c OK [11:12:17]MH_I2C_Read... [11:12:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:17]Read from MH i2c: E2 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: E2 0E 00 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: E2 0E 00 6A 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 49 [11:12:17]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:12:17]wFMCommunicate OK [11:12:17]SAM_PROTO_GetShiftState done [11:12:17]FM_GetShiftState done [11:12:17]opened in 1710288804 [11:12:17]opened+sec_in_day 1710375204 [11:12:17]quantity*price = 12500 [11:12:17]sum+1 = 12501 [11:12:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 16 13.03.2024 11:12 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47428 ФПД: 61175106298907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T111238&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47428&fm=61175106298907&tin=02508201610067®Number=0000000000092018&sum=12500 0 [11:12:18]StoreToDocumentArchive [11:12:18]shift 315 fd 47428 [11:12:18]save to /storage/0315/doc_00047428 [11:12:18]save last doc name /storage/0315/doc_00047428 to /storage/kkm_last_doc_name [11:12:18]save OK [11:12:18]Clear old archive folders... [11:12:18]ProcessDocumentItem done err = 0, tmpTLVsize=292 [11:12:18]tlvbuf is B6E83830 [11:12:18]SAM_PROTO_ClearQueue [11:12:18]wFMCommunicate request_size=4 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 09 00 00 [11:12:18]Write to MH i2c: E2 08 00 77 6E 80 09 00 00 00 00 00 00 57 [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:12:18]Read from MH i2c: E2 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 77 6E 00 90 00 59 [11:12:18]RAPDU: 90 00 [11:12:18]wFMCommunicate OK [11:12:18]SAM_PROTO_ClearQueue done [11:12:18]KKMCreateOFDPacket [11:12:18]OFDProtocolAddRootSTLVToBuf [11:12:18]FM_MakeSignedData [11:12:18]FM_MakeSignedData [11:12:18]SAM_PROTO_SignData [11:12:18]wFMCommunicate request_size=4 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 0D 01 02 [11:12:18]Write to MH i2c: E2 08 00 78 6E 80 0D 01 02 00 00 00 00 5F [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:12:18]Read from MH i2c: E2 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 78 6E 00 90 00 5A [11:12:18]RAPDU: 90 00 [11:12:18]wFMCommunicate OK [11:12:18]wFMCommunicate request_size=255 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 10 00 00 00 F4 03 04 00 26 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [11:12:18]Write to MH i2c: E2 02 01 79 6E 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 10 00 00 00 F4 03 04 00 26 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 77 [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 03 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 03 00 79 6E 00 90 00 5B [11:12:19]RAPDU: 90 00 [11:12:19]wFMCommunicate OK [11:12:19]wFMCommunicate request_size=51 [11:12:19]MH_SAM_APDU [11:12:19]CAPDU: 80 0D 02 02 2E 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 44 B9 00 00 35 04 06 00 37 A3 70 7A E4 1B [11:12:19]Write to MH i2c: E2 36 00 7A 6E 80 0D 02 02 2E 00 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 44 B9 00 00 35 04 06 00 37 A3 70 7A E4 1B 00 00 AD [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 03 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 03 00 7A 6E 00 90 00 5C [11:12:19]RAPDU: 90 00 [11:12:19]wFMCommunicate OK [11:12:19]wFMCommunicate request_size=4 [11:12:19]MH_SAM_APDU [11:12:19]CAPDU: 80 0D 03 02 [11:12:19]Write to MH i2c: E2 08 00 7B 6E 80 0D 03 02 00 00 00 00 64 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 0B 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 0B 00 7B 6E 00 B1 14 C8 12 C4 37 E8 D0 90 00 B7 [11:12:19]RAPDU: B1 14 C8 12 C4 37 E8 D0 90 00 [11:12:19]wFMCommunicate OK [11:12:19]SAM_PROTO_SignData done [11:12:19]FM_MakeSignedData done [11:12:19]CreateOFDProtocolMessage [11:12:19]wFMCommunicate request_size=4 [11:12:19]MH_SAM_APDU [11:12:19]CAPDU: 80 11 00 00 [11:12:19]Write to MH i2c: E2 08 00 7C 6E 80 11 00 00 00 00 00 00 64 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 17 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 17 00 7C 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B6 [11:12:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:12:19]wFMCommunicate OK [11:12:19]CreateOFDProtocolMessage done [11:12:19]OFDSenderStorePacket 47428 [11:12:19]StoreOFDPacket docnum=47428 [11:12:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 38 01 00 00 40 94 30 01 56 AB 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 10 00 00 00 F4 03 04 00 26 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 44 B9 00 00 35 04 06 00 37 A3 70 7A E4 1B B1 14 C8 12 C4 37 E8 D0 [11:12:19]CheckFolder [11:12:19]dirname=/storage/ofd_packets [11:12:19]CheckFolder done [11:12:19]ProducePacketName [11:12:19]name=ofd_packets/00047428 [11:12:19]NVStorageSaveData ofd_packets/00047428 [11:12:19]File name is /storage/ofd_packets/00047428 [11:12:19]Write 342 bytes [11:12:19]NVStorageSaveData done [11:12:19]OFDSenderStorePacket done [11:12:19]KKMCreateOFDPacket done [11:12:19]NVStorageSaveData kkm_last_timestamp [11:12:19]File name is /storage/kkm_last_timestamp [11:12:19]Write 4 bytes [11:12:19]NVStorageSaveData done [11:12:19]ExternCall_PrintAddStr [11:12:19]wPrintStart [11:12:19]Write to MH i2c: 01 00 00 7D 6E EB [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 7D 6E 00 00 00 00 00 FF 0F 00 [11:12:19]RasterBufferAndPrint [11:12:19]line Счет N : (3)242335 [11:12:19]line ИНН: 02508201610067 [11:12:19]line Контрольно-Кассовый Чек [11:12:19]line ПРОДАЖА [11:12:19]line Товар: 4870202521230 [11:12:19]line Напиток MAXI чай 1,2 черн.лимон [11:12:19]line 1.000 * 125.00 [11:12:19]line = 125.00 [11:12:19]line НДС 12% НСП 1% [11:12:19]line > о реализуемом товаре [11:12:19]line ИТОГО: 125.00 [11:12:19]line НСП 1% : 1.11 [11:12:19]line НДС 12% : 13.27 [11:12:19]line Наличными: 125.00 [11:12:19]line Безнал.: 0.00 [11:12:19]line Место: АЗС № 15 "Партнер Нефть" [11:12:19]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:12:19]line СНО: Общий режим [11:12:19]line Чек 16 13.03.2024 11:12 [11:12:19]line Смена: 315 ФФД: 1.0 [11:12:19]line ЗНМ: 0300000097 [11:12:19]line РНМ: 0000000000092018 [11:12:19]line Версия ККМ: 001 [11:12:19]line ФМ: 0000000000871816 [11:12:19]line ФД: 47428 [11:12:19]line ФПД: 61175106298907 [11:12:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T111238&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47428&fm=61175106298907&tin=02508201610067®Number=0000000000092018&sum=12500 [11:12:19]line 0 [11:12:19]OFD Sender: Processing packet 47428 [packets to send 8, broken 7] [11:12:19]ProducePacketName [11:12:19]name=ofd_packets/00047428 [11:12:19]OFD Sender: To server: pG, [11:12:19]CommunicateWithHost lk.salyk.kg:30040 [11:12:19]ConnectInit lk.salyk.kg [11:12:19]written 0, free lines is 4095 [11:12:19]Connected sock=10 [11:12:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 38 01 00 00 40 94 30 01 56 AB 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 10 00 00 00 F4 03 04 00 26 8A F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 44 B9 00 00 35 04 06 00 37 A3 70 7A E4 1B B1 14 C8 12 C4 37 E8 D0 [11:12:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E1 34 47 00 49 F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 44 B9 00 00 F4 03 04 00 B5 34 F1 65 B6 04 01 00 00 61 BB 7D 6C 3A EF DC 6F [11:12:19]CommunicateWithHost err = 0 [11:12:19]CheckOFDResponse [11:12:19]1017 (14) - 77093643461234 [11:12:19]1041 (16) - 0000000000871816 [11:12:19]1040 (4) - 47428 [11:12:19]1012 (4) - 13.03.2024 05:08 [11:12:19]1206 (1) - 0 [11:12:19]OFD Sender: Remove packet 47428 [11:12:19]ProducePacketName [11:12:19]name=ofd_packets/00047428 [11:12:19]NVStorageDeleteData [11:12:19]Write to MH i2c: 01 00 00 A6 6E 14 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 A6 6E 00 00 00 00 00 D1 0C F8 [11:12:19]RasterBufferAndPrint [11:12:19]line [11:12:19]line [11:12:19]line [11:12:20]line [11:12:20]line [11:12:20]written 0, free lines is 3287 [11:12:20]MH_Cut [11:12:20]Write to MH i2c: D1 01 00 AD 6E 01 ED [11:12:20]Write i2c OK [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: D1 [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: D1 01 00 [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: D1 01 00 AD 6E 00 EC [11:12:20]Write to MH i2c: 01 00 00 AE 6E 1C [11:12:20]Write i2c OK [11:12:20]MH_I2C_Read... [11:12:20]OFD Sender: No OFD packet to send [11:12:20]*** Cut start [11:12:20]*** Purtial cut [11:12:20]*** Stage 1: CUTSNS_PIN = 1 [11:12:21]Read from MH i2c: 01 [11:12:21]MH_I2C_Read... [11:12:21]*** Stop cut motor [11:12:21]*** Cut end [11:12:21]Read from MH i2c: 01 07 00 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: 01 07 00 AE 6E 00 00 00 00 00 FF 0F 31 [11:12:21]process_action close_receipt done [11:12:21]requested_data is exist [11:12:21]produce_requested_data [11:12:21]requested_item fm.sn is exist - process it [11:12:21]wFMCommunicate request_size=4 [11:12:21]MH_SAM_APDU [11:12:21]CAPDU: 80 11 00 00 [11:12:21]Write to MH i2c: E2 08 00 AF 6E 80 11 00 00 00 00 00 00 97 [11:12:21]Write i2c OK [11:12:21]MH_I2C_Read... [11:12:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:21]Read from MH i2c: E2 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: E2 17 00 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: E2 17 00 AF 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E9 [11:12:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:12:21]wFMCommunicate OK [11:12:21]requested_item fd.num is exist - process it [11:12:21]SAM_PROTO_GetFieldsCounters [11:12:21]wFMCommunicate request_size=4 [11:12:21]MH_SAM_APDU [11:12:21]CAPDU: 80 13 00 00 [11:12:21]Write to MH i2c: E2 08 00 B0 6E 80 13 00 00 00 00 00 00 9A [11:12:21]Write i2c OK [11:12:21]MH_I2C_Read... [11:12:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:12:21]Read from MH i2c: E2 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: E2 62 00 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: E2 62 00 B0 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 44 B9 00 00 0E 04 04 00 3B 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 1E [11:12:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 44 B9 00 00 0E 04 04 00 3B 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:12:21]wFMCommunicate OK [11:12:21]SAM_PROTO_GetFieldsCounters done [11:12:21]requested_item shift.num is exist - process it [11:12:21]requested_item shift.opened is exist - process it [11:12:21]req_shift_opened [11:12:21]FM_GetShiftState [11:12:21]SAM_PROTO_GetShiftState [11:12:21]wFMCommunicate request_size=4 [11:12:21]MH_SAM_APDU [11:12:21]CAPDU: 80 13 01 00 [11:12:21]Write to MH i2c: E2 08 00 B1 6E 80 13 01 00 00 00 00 00 9C [11:12:21]Write i2c OK [11:12:21]MH_I2C_Read... [11:12:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:21]Read from MH i2c: E2 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: E2 0E 00 [11:12:21]MH_I2C_Read... [11:12:21]Read from MH i2c: E2 0E 00 B1 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 90 [11:12:21]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:12:21]wFMCommunicate OK [11:12:21]SAM_PROTO_GetShiftState done [11:12:21]FM_GetShiftState done [11:12:21]req_shift_opened done [11:12:21]requested_item shift.open_date is exist - process it [11:12:21]req_shift_open_date [11:12:21]req_shift_open_date done [11:12:21]produce_requested_data done [11:12:21]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47428,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [11:12:21]process_action_free close_receipt [11:12:21]json_value_free [11:12:21]json_value_free done [11:12:21]process_json_proto returns [11:12:21]Send response to host [11:12:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47428,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [11:12:21]free response buf [11:12:21]execute_script done [11:12:21]execute_script returns [11:12:21]free content buf [11:12:21]Sock 9.Close socket [11:12:21]Sock 9.Thread stoped [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:15:59]accept exits with 7 [11:15:59]New connection [11:15:59]New thread 3066596708 created [11:15:59]Thread 3066453348 joined [11:15:59]Waiting for new connection... [11:15:59] Sock 7.Parse request [11:15:59]Sock 7.Check first char [11:15:59]Sock 7.First char is OK [11:15:59]request: POST /json_proto HTTP/1.0 [11:15:59]Method: POST [11:15:59]URL: /json_proto [11:15:59]Method is POST - this is cgi request [11:15:59]url: /json_proto [11:15:59]query_string will be loaded in cgi processing [11:15:59]execute_cgi json_proto POST (null) [11:15:59]execute_cgi path=json_proto method=POST [11:15:59]POST find Content-Length [11:15:59]Host: 172.17.32.68:8080 [11:15:59]Content-Length: 623 [11:15:59]Content-Type: application/json [11:15:59] [11:15:59]POST finish read [11:15:59]Found Content-Length = 623 [11:15:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242336", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:59]execute_script... [11:15:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242336", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:59]POST & json_proto [11:15:59]process_json_proto [11:15:59]json parsed OK: [11:15:59]protocol is kg_v1.0 [11:15:59]action value=close_receipt [11:15:59]process_action close_receipt [11:15:59]cmd_close_receipt [11:15:59]MH_GetDate [11:15:59]Write to MH i2c: F0 00 00 B2 6E 0F [11:15:59]Write i2c OK [11:15:59]MH_I2C_Read... [11:15:59]Read from MH i2c: F0 [11:15:59]MH_I2C_Read... [11:15:59]Read from MH i2c: F0 09 00 [11:15:59]MH_I2C_Read... [11:15:59]Read from MH i2c: F0 09 00 B2 6E 00 04 8B F1 65 0A 64 6E 65 3E [11:15:59]GetLastDocTimeStamp 1710328358 [11:15:59]current date 1710328580 [11:15:59]FM_GetShiftState [11:15:59]SAM_PROTO_GetShiftState [11:15:59]wFMCommunicate request_size=4 [11:15:59]MH_SAM_APDU [11:15:59]CAPDU: 80 13 01 00 [11:15:59]Write to MH i2c: E2 08 00 B3 6E 80 13 01 00 00 00 00 00 9E [11:15:59]Write i2c OK [11:15:59]MH_I2C_Read... [11:15:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:59]Read from MH i2c: E2 [11:15:59]MH_I2C_Read... [11:15:59]Read from MH i2c: E2 0E 00 [11:15:59]MH_I2C_Read... [11:15:59]Read from MH i2c: E2 0E 00 B3 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 92 [11:15:59]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:15:59]wFMCommunicate OK [11:15:59]SAM_PROTO_GetShiftState done [11:15:59]FM_GetShiftState done [11:15:59]opened in 1710288804 [11:15:59]opened+sec_in_day 1710375204 [11:15:59]quantity*price = 13500 [11:15:59]sum+1 = 13501 [11:15:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 17 13.03.2024 11:16 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47429 ФПД: 38056960144361 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T111620&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47429&fm=38056960144361&tin=02508201610067®Number=0000000000092018&sum=13500 0 [11:16:00]StoreToDocumentArchive [11:16:00]shift 315 fd 47429 [11:16:00]save to /storage/0315/doc_00047429 [11:16:00]save last doc name /storage/0315/doc_00047429 to /storage/kkm_last_doc_name [11:16:00]save OK [11:16:00]Clear old archive folders... [11:16:00]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:16:00]tlvbuf is 004CECA0 [11:16:00]SAM_PROTO_ClearQueue [11:16:00]wFMCommunicate request_size=4 [11:16:00]MH_SAM_APDU [11:16:00]CAPDU: 80 09 00 00 [11:16:00]Write to MH i2c: E2 08 00 C0 6E 80 09 00 00 00 00 00 00 A0 [11:16:00]Write i2c OK [11:16:00]MH_I2C_Read... [11:16:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:16:00]Read from MH i2c: E2 [11:16:00]MH_I2C_Read... [11:16:00]Read from MH i2c: E2 03 00 [11:16:00]MH_I2C_Read... [11:16:00]Read from MH i2c: E2 03 00 C0 6E 00 90 00 A2 [11:16:00]RAPDU: 90 00 [11:16:00]wFMCommunicate OK [11:16:00]SAM_PROTO_ClearQueue done [11:16:00]KKMCreateOFDPacket [11:16:00]OFDProtocolAddRootSTLVToBuf [11:16:00]FM_MakeSignedData [11:16:00]FM_MakeSignedData [11:16:00]SAM_PROTO_SignData [11:16:00]wFMCommunicate request_size=4 [11:16:00]MH_SAM_APDU [11:16:00]CAPDU: 80 0D 01 02 [11:16:00]Write to MH i2c: E2 08 00 C1 6E 80 0D 01 02 00 00 00 00 A8 [11:16:00]Write i2c OK [11:16:00]MH_I2C_Read... [11:16:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:16:00]Read from MH i2c: E2 [11:16:00]MH_I2C_Read... [11:16:00]Read from MH i2c: E2 03 00 [11:16:00]MH_I2C_Read... [11:16:00]Read from MH i2c: E2 03 00 C1 6E 00 90 00 A3 [11:16:00]RAPDU: 90 00 [11:16:00]wFMCommunicate OK [11:16:00]wFMCommunicate request_size=255 [11:16:00]MH_SAM_APDU [11:16:00]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 11 00 00 00 F4 03 04 00 04 8B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [11:16:00]Write to MH i2c: E2 02 01 C2 6E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 11 00 00 00 F4 03 04 00 04 8B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 53 [11:16:00]Write i2c OK [11:16:00]MH_I2C_Read... [11:16:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:00]Read from MH i2c: E2 [11:16:00]MH_I2C_Read... [11:16:00]Read from MH i2c: E2 03 00 [11:16:00]MH_I2C_Read... [11:16:00]Read from MH i2c: E2 03 00 C2 6E 00 90 00 A4 [11:16:00]RAPDU: 90 00 [11:16:00]wFMCommunicate OK [11:16:00]wFMCommunicate request_size=34 [11:16:00]MH_SAM_APDU [11:16:00]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 45 B9 00 00 35 04 06 00 22 9C D3 97 33 E9 [11:16:00]Write to MH i2c: E2 25 00 C3 6E 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 45 B9 00 00 35 04 06 00 22 9C D3 97 33 E9 00 00 AD [11:16:00]Write i2c OK [11:16:00]MH_I2C_Read... [11:16:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:01]Read from MH i2c: E2 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: E2 03 00 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: E2 03 00 C3 6E 00 90 00 A5 [11:16:01]RAPDU: 90 00 [11:16:01]wFMCommunicate OK [11:16:01]wFMCommunicate request_size=4 [11:16:01]MH_SAM_APDU [11:16:01]CAPDU: 80 0D 03 02 [11:16:01]Write to MH i2c: E2 08 00 C4 6E 80 0D 03 02 00 00 00 00 AD [11:16:01]Write i2c OK [11:16:01]MH_I2C_Read... [11:16:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:16:01]Read from MH i2c: E2 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: E2 0B 00 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: E2 0B 00 C4 6E 00 E9 2C 73 09 39 F8 15 B8 90 00 3D [11:16:01]RAPDU: E9 2C 73 09 39 F8 15 B8 90 00 [11:16:01]wFMCommunicate OK [11:16:01]SAM_PROTO_SignData done [11:16:01]FM_MakeSignedData done [11:16:01]CreateOFDProtocolMessage [11:16:01]wFMCommunicate request_size=4 [11:16:01]MH_SAM_APDU [11:16:01]CAPDU: 80 11 00 00 [11:16:01]Write to MH i2c: E2 08 00 C5 6E 80 11 00 00 00 00 00 00 AD [11:16:01]Write i2c OK [11:16:01]MH_I2C_Read... [11:16:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:01]Read from MH i2c: E2 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: E2 17 00 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: E2 17 00 C5 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FF [11:16:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:16:01]wFMCommunicate OK [11:16:01]CreateOFDProtocolMessage done [11:16:01]OFDSenderStorePacket 47429 [11:16:01]StoreOFDPacket docnum=47429 [11:16:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 48 0D 1F 01 B0 37 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 11 00 00 00 F4 03 04 00 04 8B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 45 B9 00 00 35 04 06 00 22 9C D3 97 33 E9 E9 2C 73 09 39 F8 15 B8 [11:16:01]CheckFolder [11:16:01]dirname=/storage/ofd_packets [11:16:01]CheckFolder done [11:16:01]ProducePacketName [11:16:01]name=ofd_packets/00047429 [11:16:01]NVStorageSaveData ofd_packets/00047429 [11:16:01]File name is /storage/ofd_packets/00047429 [11:16:01]Write 325 bytes [11:16:01]NVStorageSaveData done [11:16:01]OFDSenderStorePacket done [11:16:01]KKMCreateOFDPacket done [11:16:01]NVStorageSaveData kkm_last_timestamp [11:16:01]File name is /storage/kkm_last_timestamp [11:16:01]Write 4 bytes [11:16:01]NVStorageSaveData done [11:16:01]ExternCall_PrintAddStr [11:16:01]wPrintStart [11:16:01]Write to MH i2c: 01 00 00 C6 6E 34 [11:16:01]Write i2c OK [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: 01 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: 01 07 00 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: 01 07 00 C6 6E 00 00 00 00 00 FF 0F 49 [11:16:01]RasterBufferAndPrint [11:16:01]line Счет N : (3)242336 [11:16:01]line ИНН: 02508201610067 [11:16:01]line Контрольно-Кассовый Чек [11:16:01]line ПРОДАЖА [11:16:01]line Товар: 48743587 [11:16:01]line Сигареты Winston XStyle Silver [11:16:01]line 1.000 * 135.00 [11:16:01]line = 135.00 [11:16:01]line НДС 12% НСП 1% [11:16:01]line > о реализуемом товаре [11:16:01]line ИТОГО: 135.00 [11:16:01]line НСП 1% : 1.19 [11:16:01]line НДС 12% : 14.34 [11:16:01]line Наличными: 135.00 [11:16:01]line Безнал.: 0.00 [11:16:01]line Место: АЗС № 15 "Партнер Нефть" [11:16:01]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:16:01]line СНО: Общий режим [11:16:01]line Чек 17 13.03.2024 11:16 [11:16:01]line Смена: 315 ФФД: 1.0 [11:16:01]line ЗНМ: 0300000097 [11:16:01]line РНМ: 0000000000092018 [11:16:01]line Версия ККМ: 001 [11:16:01]line ФМ: 0000000000871816 [11:16:01]line ФД: 47429 [11:16:01]line ФПД: 38056960144361 [11:16:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T111620&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47429&fm=38056960144361&tin=02508201610067®Number=0000000000092018&sum=13500 [11:16:01]line 0 [11:16:01]OFD Sender: Processing packet 47429 [packets to send 8, broken 7] [11:16:01]ProducePacketName [11:16:01]name=ofd_packets/00047429 [11:16:01]OFD Sender: To server: pG, [11:16:01]CommunicateWithHost lk.salyk.kg:30040 [11:16:01]ConnectInit lk.salyk.kg [11:16:01]written 0, free lines is 4095 [11:16:01]Connected sock=10 [11:16:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 48 0D 1F 01 B0 37 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 11 00 00 00 F4 03 04 00 04 8B F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 45 B9 00 00 35 04 06 00 22 9C D3 97 33 E9 E9 2C 73 09 39 F8 15 B8 [11:16:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 AF 45 47 00 87 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 45 B9 00 00 F4 03 04 00 93 35 F1 65 B6 04 01 00 00 12 43 8E 9F 22 2D B8 DD [11:16:01]CommunicateWithHost err = 0 [11:16:01]CheckOFDResponse [11:16:01]1017 (14) - 77093643461234 [11:16:01]1041 (16) - 0000000000871816 [11:16:01]1040 (4) - 47429 [11:16:01]1012 (4) - 13.03.2024 05:11 [11:16:01]1206 (1) - 0 [11:16:01]OFD Sender: Remove packet 47429 [11:16:01]ProducePacketName [11:16:01]name=ofd_packets/00047429 [11:16:01]NVStorageDeleteData [11:16:01]Write to MH i2c: 01 00 00 EF 6E 5D [11:16:01]Write i2c OK [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: 01 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: 01 07 00 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: 01 07 00 EF 6E 00 00 00 00 00 CB 0C 3B [11:16:01]RasterBufferAndPrint [11:16:01]line [11:16:01]line [11:16:01]line [11:16:01]line [11:16:01]line [11:16:01]written 0, free lines is 3281 [11:16:01]MH_Cut [11:16:01]Write to MH i2c: D1 01 00 F6 6E 01 36 [11:16:01]Write i2c OK [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: D1 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: D1 01 00 [11:16:01]MH_I2C_Read... [11:16:01]Read from MH i2c: D1 01 00 F6 6E 00 35 [11:16:01]Write to MH i2c: 01 00 00 F7 6E 65 [11:16:01]Write i2c OK [11:16:01]MH_I2C_Read... [11:16:02]OFD Sender: No OFD packet to send [11:16:02]*** Cut start [11:16:02]*** Purtial cut [11:16:02]*** Stage 1: CUTSNS_PIN = 1 [11:16:03]Read from MH i2c: 01 [11:16:03]MH_I2C_Read... [11:16:03]*** Stop cut motor [11:16:03]*** Cut end [11:16:03]Read from MH i2c: 01 07 00 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: 01 07 00 F7 6E 00 00 00 00 00 FF 0F 7A [11:16:03]process_action close_receipt done [11:16:03]requested_data is exist [11:16:03]produce_requested_data [11:16:03]requested_item fm.sn is exist - process it [11:16:03]wFMCommunicate request_size=4 [11:16:03]MH_SAM_APDU [11:16:03]CAPDU: 80 11 00 00 [11:16:03]Write to MH i2c: E2 08 00 F8 6E 80 11 00 00 00 00 00 00 E0 [11:16:03]Write i2c OK [11:16:03]MH_I2C_Read... [11:16:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:03]Read from MH i2c: E2 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 17 00 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 17 00 F8 6E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 32 [11:16:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:16:03]wFMCommunicate OK [11:16:03]requested_item fd.num is exist - process it [11:16:03]SAM_PROTO_GetFieldsCounters [11:16:03]wFMCommunicate request_size=4 [11:16:03]MH_SAM_APDU [11:16:03]CAPDU: 80 13 00 00 [11:16:03]Write to MH i2c: E2 08 00 F9 6E 80 13 00 00 00 00 00 00 E3 [11:16:03]Write i2c OK [11:16:03]MH_I2C_Read... [11:16:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:16:03]Read from MH i2c: E2 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 62 00 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 62 00 F9 6E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 45 B9 00 00 0E 04 04 00 3B 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 6B [11:16:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 45 B9 00 00 0E 04 04 00 3B 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:16:03]wFMCommunicate OK [11:16:03]SAM_PROTO_GetFieldsCounters done [11:16:03]requested_item shift.num is exist - process it [11:16:03]requested_item shift.opened is exist - process it [11:16:03]req_shift_opened [11:16:03]FM_GetShiftState [11:16:03]SAM_PROTO_GetShiftState [11:16:03]wFMCommunicate request_size=4 [11:16:03]MH_SAM_APDU [11:16:03]CAPDU: 80 13 01 00 [11:16:03]Write to MH i2c: E2 08 00 FA 6E 80 13 01 00 00 00 00 00 E5 [11:16:03]Write i2c OK [11:16:03]MH_I2C_Read... [11:16:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:03]Read from MH i2c: E2 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 0E 00 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 0E 00 FA 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 D9 [11:16:03]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:16:03]wFMCommunicate OK [11:16:03]SAM_PROTO_GetShiftState done [11:16:03]FM_GetShiftState done [11:16:03]req_shift_opened done [11:16:03]requested_item shift.open_date is exist - process it [11:16:03]req_shift_open_date [11:16:03]req_shift_open_date done [11:16:03]produce_requested_data done [11:16:03]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47429,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [11:16:03]process_action_free close_receipt [11:16:03]json_value_free [11:16:03]json_value_free done [11:16:03]process_json_proto returns [11:16:03]Send response to host [11:16:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47429,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [11:16:03]free response buf [11:16:03]execute_script done [11:16:03]execute_script returns [11:16:03]free content buf [11:16:03]Sock 7.Close socket [11:16:03]Sock 7.Thread stoped [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:57]OFD Sender: No OFD packet to send [11:24:02]OFD Sender: No OFD packet to send [11:24:07]OFD Sender: No OFD packet to send [11:24:12]OFD Sender: No OFD packet to send [11:24:17]OFD Sender: No OFD packet to send [11:24:22]OFD Sender: No OFD packet to send [11:24:27]OFD Sender: No OFD packet to send [11:24:32]OFD Sender: No OFD packet to send [11:24:37]OFD Sender: No OFD packet to send [11:24:42]OFD Sender: No OFD packet to send [11:24:47]OFD Sender: No OFD packet to send [11:24:52]OFD Sender: No OFD packet to send [11:24:57]OFD Sender: No OFD packet to send [11:25:02]OFD Sender: No OFD packet to send [11:25:07]OFD Sender: No OFD packet to send [11:25:12]OFD Sender: No OFD packet to send [11:25:17]OFD Sender: No OFD packet to send [11:25:22]OFD Sender: No OFD packet to send [11:25:27]OFD Sender: No OFD packet to send [11:25:32]OFD Sender: No OFD packet to send [11:25:37]OFD Sender: No OFD packet to send [11:25:42]OFD Sender: No OFD packet to send [11:25:47]OFD Sender: No OFD packet to send [11:25:52]OFD Sender: No OFD packet to send [11:25:57]OFD Sender: No OFD packet to send [11:26:02]OFD Sender: No OFD packet to send [11:26:07]OFD Sender: No OFD packet to send [11:26:12]OFD Sender: No OFD packet to send [11:26:17]OFD Sender: No OFD packet to send [11:26:22]OFD Sender: No OFD packet to send [11:26:27]OFD Sender: No OFD packet to send [11:26:32]OFD Sender: No OFD packet to send [11:26:37]OFD Sender: No OFD packet to send [11:26:42]OFD Sender: No OFD packet to send [11:26:47]OFD Sender: No OFD packet to send [11:26:52]OFD Sender: No OFD packet to send [11:26:57]OFD Sender: No OFD packet to send [11:27:02]OFD Sender: No OFD packet to send [11:27:07]OFD Sender: No OFD packet to send [11:27:12]OFD Sender: No OFD packet to send [11:27:17]OFD Sender: No OFD packet to send [11:27:22]OFD Sender: No OFD packet to send [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:57]OFD Sender: No OFD packet to send [11:30:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:12]OFD Sender: No OFD packet to send [11:30:17]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:55]accept exits with 9 [11:30:55]New connection [11:30:55]New thread 3066453348 created [11:30:55]Thread 3066596708 joined [11:30:55]Waiting for new connection... [11:30:55] Sock 9.Parse request [11:30:55]Sock 9.Check first char [11:30:55]Sock 9.First char is OK [11:30:55]request: POST /json_proto HTTP/1.0 [11:30:55]Method: POST [11:30:55]URL: /json_proto [11:30:55]Method is POST - this is cgi request [11:30:55]url: /json_proto [11:30:55]query_string will be loaded in cgi processing [11:30:55]execute_cgi json_proto POST (null) [11:30:55]execute_cgi path=json_proto method=POST [11:30:55]POST find Content-Length [11:30:55]Host: 172.17.32.68:8080 [11:30:55]Content-Length: 899 [11:30:55]Content-Type: application/json [11:30:55] [11:30:55]POST finish read [11:30:55]Found Content-Length = 899 [11:30:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242337", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:55]execute_script... [11:30: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)242337", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:55]POST & json_proto [11:30:55]process_json_proto [11:30:55]json parsed OK: [11:30:55]protocol is kg_v1.0 [11:30:55]action value=close_receipt [11:30:55]process_action close_receipt [11:30:55]cmd_close_receipt [11:30:55]MH_GetDate [11:30:55]Write to MH i2c: F0 00 00 FB 6E 58 [11:30:55]Write i2c OK [11:30:55]MH_I2C_Read... [11:30:55]Read from MH i2c: F0 [11:30:55]MH_I2C_Read... [11:30:55]Read from MH i2c: F0 09 00 [11:30:55]MH_I2C_Read... [11:30:55]Read from MH i2c: F0 09 00 FB 6E 00 84 8E F1 65 0A 64 6E 65 0A [11:30:55]GetLastDocTimeStamp 1710328580 [11:30:55]current date 1710329476 [11:30:55]FM_GetShiftState [11:30:55]SAM_PROTO_GetShiftState [11:30:55]wFMCommunicate request_size=4 [11:30:55]MH_SAM_APDU [11:30:55]CAPDU: 80 13 01 00 [11:30:55]Write to MH i2c: E2 08 00 FC 6E 80 13 01 00 00 00 00 00 E7 [11:30:55]Write i2c OK [11:30:55]MH_I2C_Read... [11:30:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:55]Read from MH i2c: E2 [11:30:55]MH_I2C_Read... [11:30:55]Read from MH i2c: E2 0E 00 [11:30:55]MH_I2C_Read... [11:30:55]Read from MH i2c: E2 0E 00 FC 6E 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 DB [11:30:55]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:30:55]wFMCommunicate OK [11:30:55]SAM_PROTO_GetShiftState done [11:30:55]FM_GetShiftState done [11:30:55]opened in 1710288804 [11:30:55]opened+sec_in_day 1710375204 [11:30:55]quantity*price = 9000 [11:30:55]sum+1 = 9001 [11:30:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 18 13.03.2024 11:31 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47430 ФПД: 91618727704978 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T113116&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47430&fm=91618727704978&tin=02508201610067®Number=0000000000092018&sum=9000 0 [11:30:56]StoreToDocumentArchive [11:30:56]shift 315 fd 47430 [11:30:56]save to /storage/0315/doc_00047430 [11:30:56]save last doc name /storage/0315/doc_00047430 to /storage/kkm_last_doc_name [11:30:56]save OK [11:30:56]Clear old archive folders... [11:30:56]ProcessDocumentItem done err = 0, tmpTLVsize=304 [11:30:56]tlvbuf is 003C9EF0 [11:30:56]SAM_PROTO_ClearQueue [11:30:56]wFMCommunicate request_size=4 [11:30:56]MH_SAM_APDU [11:30:56]CAPDU: 80 09 00 00 [11:30:56]Write to MH i2c: E2 08 00 09 6F 80 09 00 00 00 00 00 00 EA [11:30:56]Write i2c OK [11:30:56]MH_I2C_Read... [11:30:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:30:56]Read from MH i2c: E2 [11:30:56]MH_I2C_Read... [11:30:56]Read from MH i2c: E2 03 00 [11:30:56]MH_I2C_Read... [11:30:56]Read from MH i2c: E2 03 00 09 6F 00 90 00 EC [11:30:56]RAPDU: 90 00 [11:30:56]wFMCommunicate OK [11:30:56]SAM_PROTO_ClearQueue done [11:30:56]KKMCreateOFDPacket [11:30:56]OFDProtocolAddRootSTLVToBuf [11:30:56]FM_MakeSignedData [11:30:56]FM_MakeSignedData [11:30:56]SAM_PROTO_SignData [11:30:56]wFMCommunicate request_size=4 [11:30:56]MH_SAM_APDU [11:30:56]CAPDU: 80 0D 01 02 [11:30:56]Write to MH i2c: E2 08 00 0A 6F 80 0D 01 02 00 00 00 00 F2 [11:30:56]Write i2c OK [11:30:56]MH_I2C_Read... [11:30:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:30:56]Read from MH i2c: E2 [11:30:56]MH_I2C_Read... [11:30:56]Read from MH i2c: E2 03 00 [11:30:56]MH_I2C_Read... [11:30:56]Read from MH i2c: E2 03 00 0A 6F 00 90 00 ED [11:30:56]RAPDU: 90 00 [11:30:56]wFMCommunicate OK [11:30:56]wFMCommunicate request_size=255 [11:30:56]MH_SAM_APDU [11:30:56]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 84 8E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 [11:30:56]Write to MH i2c: E2 02 01 0B 6F 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 84 8E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 00 00 DD [11:30:56]Write i2c OK [11:30:56]MH_I2C_Read... [11:30:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:57]Read from MH i2c: E2 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 03 00 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 03 00 0B 6F 00 90 00 EE [11:30:57]RAPDU: 90 00 [11:30:57]wFMCommunicate OK [11:30:57]wFMCommunicate request_size=63 [11:30:57]MH_SAM_APDU [11:30:57]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 46 B9 00 00 35 04 06 00 53 53 A5 B8 39 92 [11:30:57]Write to MH i2c: E2 42 00 0C 6F 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 46 B9 00 00 35 04 06 00 53 53 A5 B8 39 92 00 00 06 [11:30:57]Write i2c OK [11:30:57]MH_I2C_Read... [11:30:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:57]Read from MH i2c: E2 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 03 00 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 03 00 0C 6F 00 90 00 EF [11:30:57]RAPDU: 90 00 [11:30:57]wFMCommunicate OK [11:30:57]wFMCommunicate request_size=4 [11:30:57]MH_SAM_APDU [11:30:57]CAPDU: 80 0D 03 02 [11:30:57]Write to MH i2c: E2 08 00 0D 6F 80 0D 03 02 00 00 00 00 F7 [11:30:57]Write i2c OK [11:30:57]MH_I2C_Read... [11:30:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:30:57]Read from MH i2c: E2 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 0B 00 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 0B 00 0D 6F 00 5C AA 7C 03 A3 F7 5C 86 90 00 F9 [11:30:57]RAPDU: 5C AA 7C 03 A3 F7 5C 86 90 00 [11:30:57]wFMCommunicate OK [11:30:57]SAM_PROTO_SignData done [11:30:57]FM_MakeSignedData done [11:30:57]CreateOFDProtocolMessage [11:30:57]wFMCommunicate request_size=4 [11:30:57]MH_SAM_APDU [11:30:57]CAPDU: 80 11 00 00 [11:30:57]Write to MH i2c: E2 08 00 0E 6F 80 11 00 00 00 00 00 00 F7 [11:30:57]Write i2c OK [11:30:57]MH_I2C_Read... [11:30:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:57]Read from MH i2c: E2 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 17 00 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: E2 17 00 0E 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 49 [11:30:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:30:57]wFMCommunicate OK [11:30:57]CreateOFDProtocolMessage done [11:30:57]OFDSenderStorePacket 47430 [11:30:57]StoreOFDPacket docnum=47430 [11:30:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 44 01 00 00 5A 25 3C 01 41 78 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 84 8E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 46 B9 00 00 35 04 06 00 53 53 A5 B8 39 92 5C AA 7C 03 A3 F7 5C 86 [11:30:57]CheckFolder [11:30:57]dirname=/storage/ofd_packets [11:30:57]CheckFolder done [11:30:57]ProducePacketName [11:30:57]name=ofd_packets/00047430 [11:30:57]NVStorageSaveData ofd_packets/00047430 [11:30:57]File name is /storage/ofd_packets/00047430 [11:30:57]Write 354 bytes [11:30:57]NVStorageSaveData done [11:30:57]OFDSenderStorePacket done [11:30:57]KKMCreateOFDPacket done [11:30:57]NVStorageSaveData kkm_last_timestamp [11:30:57]File name is /storage/kkm_last_timestamp [11:30:57]Write 4 bytes [11:30:57]NVStorageSaveData done [11:30:57]ExternCall_PrintAddStr [11:30:57]wPrintStart [11:30:57]Write to MH i2c: 01 00 00 0F 6F 7E [11:30:57]Write i2c OK [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: 01 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: 01 07 00 [11:30:57]MH_I2C_Read... [11:30:57]Read from MH i2c: 01 07 00 0F 6F 00 00 00 00 00 FF 0F 93 [11:30:57]RasterBufferAndPrint [11:30:57]line Счет N : (3)242337 [11:30:57]line ИНН: 02508201610067 [11:30:57]line Контрольно-Кассовый Чек [11:30:57]line ПРОДАЖА [11:30:57]line Товар: 4700000480302 [11:30:57]line Напиток энерг Nitro манго-клуб 0.45 ж/б [11:30:57]line 1.000 * 90.00 [11:30:57]line = 90.00 [11:30:57]line НДС 12% НСП 1% [11:30:57]line > о реализуемом товаре [11:30:57]line ИТОГО: 90.00 [11:30:57]line НСП 1% : 0.80 [11:30:57]line НДС 12% : 9.56 [11:30:57]line Наличными: 0.00 [11:30:57]line Безнал.: 90.00 [11:30:57]line Место: АЗС № 15 "Партнер Нефть" [11:30:57]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:30:57]line СНО: Общий режим [11:30:57]line Чек 18 13.03.2024 11:31 [11:30:57]line Смена: 315 ФФД: 1.0 [11:30:57]line ЗНМ: 0300000097 [11:30:57]line РНМ: 0000000000092018 [11:30:57]line Версия ККМ: 001 [11:30:57]line Платежная система: Демир КИ Банк [11:30:57]line ФМ: 0000000000871816 [11:30:57]line ФД: 47430 [11:30:57]line ФПД: 91618727704978 [11:30:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T113116&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47430&fm=91618727704978&tin=02508201610067®Number=0000000000092018&sum=9000 [11:30:57]line 0 [11:30:57]OFD Sender: Processing packet 47430 [packets to send 8, broken 7] [11:30:57]ProducePacketName [11:30:57]name=ofd_packets/00047430 [11:30:57]OFD Sender: To server: pG, [11:30:57]CommunicateWithHost lk.salyk.kg:30040 [11:30:57]ConnectInit lk.salyk.kg [11:30:57]written 0, free lines is 4095 [11:30:57]Connected sock=10 [11:30:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 44 01 00 00 5A 25 3C 01 41 78 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 84 8E F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 46 B9 00 00 35 04 06 00 53 53 A5 B8 39 92 5C AA 7C 03 A3 F7 5C 86 [11:30:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E3 BB 47 00 62 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 46 B9 00 00 F4 03 04 00 13 39 F1 65 B6 04 01 00 00 95 17 F3 EA 78 32 73 95 [11:30:57]CommunicateWithHost err = 0 [11:30:57]CheckOFDResponse [11:30:57]1017 (14) - 77093643461234 [11:30:57]1041 (16) - 0000000000871816 [11:30:57]1040 (4) - 47430 [11:30:57]1012 (4) - 13.03.2024 05:26 [11:30:57]1206 (1) - 0 [11:30:57]OFD Sender: Remove packet 47430 [11:30:57]ProducePacketName [11:30:57]name=ofd_packets/00047430 [11:30:57]NVStorageDeleteData [11:30:57]Write to MH i2c: 01 00 00 3A 6F A9 [11:30:57]Write i2c OK [11:30:58]MH_I2C_Read... [11:30:58]Read from MH i2c: 01 [11:30:58]MH_I2C_Read... [11:30:58]Read from MH i2c: 01 07 00 [11:30:58]MH_I2C_Read... [11:30:58]Read from MH i2c: 01 07 00 3A 6F 00 00 00 00 00 B5 0C 71 [11:30:58]RasterBufferAndPrint [11:30:58]line [11:30:58]line [11:30:58]line [11:30:58]line [11:30:58]line [11:30:58]written 0, free lines is 3259 [11:30:58]MH_Cut [11:30:58]Write to MH i2c: D1 01 00 41 6F 01 82 [11:30:58]Write i2c OK [11:30:58]MH_I2C_Read... [11:30:58]Read from MH i2c: D1 [11:30:58]MH_I2C_Read... [11:30:58]Read from MH i2c: D1 01 00 [11:30:58]MH_I2C_Read... [11:30:58]Read from MH i2c: D1 01 00 41 6F 00 81 [11:30:58]Write to MH i2c: 01 00 00 42 6F B1 [11:30:58]Write i2c OK [11:30:58]MH_I2C_Read... [11:30:58]OFD Sender: No OFD packet to send [11:30:58]*** Cut start [11:30:58]*** Purtial cut [11:30:58]*** Stage 1: CUTSNS_PIN = 1 [11:30:59]Read from MH i2c: 01 [11:30:59]MH_I2C_Read... [11:30:59]*** Stop cut motor [11:30:59]*** Cut end [11:30:59]Read from MH i2c: 01 07 00 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: 01 07 00 42 6F 00 00 00 00 00 FF 0F C6 [11:30:59]process_action close_receipt done [11:30:59]requested_data is exist [11:30:59]produce_requested_data [11:30:59]requested_item fm.sn is exist - process it [11:30:59]wFMCommunicate request_size=4 [11:30:59]MH_SAM_APDU [11:30:59]CAPDU: 80 11 00 00 [11:30:59]Write to MH i2c: E2 08 00 43 6F 80 11 00 00 00 00 00 00 2C [11:30:59]Write i2c OK [11:30:59]MH_I2C_Read... [11:30:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:59]Read from MH i2c: E2 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: E2 17 00 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: E2 17 00 43 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7E [11:30:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:30:59]wFMCommunicate OK [11:30:59]requested_item fd.num is exist - process it [11:30:59]SAM_PROTO_GetFieldsCounters [11:30:59]wFMCommunicate request_size=4 [11:30:59]MH_SAM_APDU [11:30:59]CAPDU: 80 13 00 00 [11:30:59]Write to MH i2c: E2 08 00 44 6F 80 13 00 00 00 00 00 00 2F [11:30:59]Write i2c OK [11:30:59]MH_I2C_Read... [11:30:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:30:59]Read from MH i2c: E2 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: E2 62 00 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: E2 62 00 44 6F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 46 B9 00 00 0E 04 04 00 3B 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 BB [11:30:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 46 B9 00 00 0E 04 04 00 3B 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 [11:30:59]wFMCommunicate OK [11:30:59]SAM_PROTO_GetFieldsCounters done [11:30:59]requested_item shift.num is exist - process it [11:30:59]requested_item shift.opened is exist - process it [11:30:59]req_shift_opened [11:30:59]FM_GetShiftState [11:30:59]SAM_PROTO_GetShiftState [11:30:59]wFMCommunicate request_size=4 [11:30:59]MH_SAM_APDU [11:30:59]CAPDU: 80 13 01 00 [11:30:59]Write to MH i2c: E2 08 00 45 6F 80 13 01 00 00 00 00 00 31 [11:30:59]Write i2c OK [11:30:59]MH_I2C_Read... [11:30:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:59]Read from MH i2c: E2 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: E2 0E 00 [11:30:59]MH_I2C_Read... [11:30:59]Read from MH i2c: E2 0E 00 45 6F 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 25 [11:30:59]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:30:59]wFMCommunicate OK [11:30:59]SAM_PROTO_GetShiftState done [11:30:59]FM_GetShiftState done [11:30:59]req_shift_opened done [11:30:59]requested_item shift.open_date is exist - process it [11:30:59]req_shift_open_date [11:30:59]req_shift_open_date done [11:30:59]produce_requested_data done [11:30:59]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47430,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [11:30:59]process_action_free close_receipt [11:30:59]json_value_free [11:30:59]json_value_free done [11:30:59]process_json_proto returns [11:30:59]Send response to host [11:30:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47430,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [11:30:59]free response buf [11:30:59]execute_script done [11:30:59]execute_script returns [11:30:59]free content buf [11:30:59]Sock 9.Close socket [11:30:59]Sock 9.Thread stoped [11:31:03]OFD Sender: No OFD packet to send [11:31:08]OFD Sender: No OFD packet to send [11:31:13]OFD Sender: No OFD packet to send [11:31:18]OFD Sender: No OFD packet to send [11:31:23]OFD Sender: No OFD packet to send [11:31:28]OFD Sender: No OFD packet to send [11:31:33]OFD Sender: No OFD packet to send [11:31:38]OFD Sender: No OFD packet to send [11:31:43]OFD Sender: No OFD packet to send [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:03]OFD Sender: No OFD packet to send [11:32:08]OFD Sender: No OFD packet to send [11:32:13]OFD Sender: No OFD packet to send [11:32:18]OFD Sender: No OFD packet to send [11:32:23]OFD Sender: No OFD packet to send [11:32:28]OFD Sender: No OFD packet to send [11:32:33]OFD Sender: No OFD packet to send [11:32:38]OFD Sender: No OFD packet to send [11:32:43]OFD Sender: No OFD packet to send [11:32:48]OFD Sender: No OFD packet to send [11:32:53]OFD Sender: No OFD packet to send [11:32:58]OFD Sender: No OFD packet to send [11:33:03]OFD Sender: No OFD packet to send [11:33:08]OFD Sender: No OFD packet to send [11:33:13]OFD Sender: No OFD packet to send [11:33:18]OFD Sender: No OFD packet to send [11:33:23]OFD Sender: No OFD packet to send [11:33:28]OFD Sender: No OFD packet to send [11:33:33]OFD Sender: No OFD packet to send [11:33:38]OFD Sender: No OFD packet to send [11:33:43]OFD Sender: No OFD packet to send [11:33:48]OFD Sender: No OFD packet to send [11:33:53]OFD Sender: No OFD packet to send [11:33:58]OFD Sender: No OFD packet to send [11:34:03]OFD Sender: No OFD packet to send [11:34:08]OFD Sender: No OFD packet to send [11:34:13]OFD Sender: No OFD packet to send [11:34:18]OFD Sender: No OFD packet to send [11:34:23]OFD Sender: No OFD packet to send [11:34:28]OFD Sender: No OFD packet to send [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:38]OFD Sender: No OFD packet to send [11:35:43]OFD Sender: No OFD packet to send [11:35:48]OFD Sender: No OFD packet to send [11:35:53]OFD Sender: No OFD packet to send [11:35:58]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:33]OFD Sender: No OFD packet to send [11:39:38]OFD Sender: No OFD packet to send [11:39:43]OFD Sender: No OFD packet to send [11:39:48]OFD Sender: No OFD packet to send [11:39:53]OFD Sender: No OFD packet to send [11:39:58]OFD Sender: No OFD packet to send [11:40:03]OFD Sender: No OFD packet to send [11:40:08]OFD Sender: No OFD packet to send [11:40:13]OFD Sender: No OFD packet to send [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:56]accept exits with 7 [11:41:56]New connection [11:41:56]New thread 3066596708 created [11:41:56]Thread 3066453348 joined [11:41:56]Waiting for new connection... [11:41:56] Sock 7.Parse request [11:41:56]Sock 7.Check first char [11:41:56]Sock 7.First char is OK [11:41:56]request: POST /json_proto HTTP/1.0 [11:41:56]Method: POST [11:41:56]URL: /json_proto [11:41:56]Method is POST - this is cgi request [11:41:56]url: /json_proto [11:41:56]query_string will be loaded in cgi processing [11:41:56]execute_cgi json_proto POST (null) [11:41:56]execute_cgi path=json_proto method=POST [11:41:56]POST find Content-Length [11:41:56]Host: 172.17.32.68:8080 [11:41:56]Content-Length: 659 [11:41:56]Content-Type: application/json [11:41:56] [11:41:56]POST finish read [11:41:56]Found Content-Length = 659 [11:41:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242338", "tax_sys" : 0, "items" : [ { "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:41:56]execute_script... [11:41:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242338", "tax_sys" : 0, "items" : [ { "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:41:56]POST & json_proto [11:41:56]process_json_proto [11:41:56]json parsed OK: [11:41:56]protocol is kg_v1.0 [11:41:56]action value=close_receipt [11:41:56]process_action close_receipt [11:41:56]cmd_close_receipt [11:41:56]MH_GetDate [11:41:56]Write to MH i2c: F0 00 00 46 6F A4 [11:41:56]Write i2c OK [11:41:56]MH_I2C_Read... [11:41:56]Read from MH i2c: F0 [11:41:56]MH_I2C_Read... [11:41:56]Read from MH i2c: F0 09 00 [11:41:56]MH_I2C_Read... [11:41:56]Read from MH i2c: F0 09 00 46 6F 00 19 91 F1 65 0A 64 6E 65 EE [11:41:56]GetLastDocTimeStamp 1710329476 [11:41:56]current date 1710330137 [11:41:56]FM_GetShiftState [11:41:56]SAM_PROTO_GetShiftState [11:41:56]wFMCommunicate request_size=4 [11:41:56]MH_SAM_APDU [11:41:56]CAPDU: 80 13 01 00 [11:41:56]Write to MH i2c: E2 08 00 47 6F 80 13 01 00 00 00 00 00 33 [11:41:56]Write i2c OK [11:41:56]MH_I2C_Read... [11:41:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:41:56]Read from MH i2c: E2 [11:41:56]MH_I2C_Read... [11:41:56]Read from MH i2c: E2 0E 00 [11:41:56]MH_I2C_Read... [11:41:56]Read from MH i2c: E2 0E 00 47 6F 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 27 [11:41:56]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:41:56]wFMCommunicate OK [11:41:56]SAM_PROTO_GetShiftState done [11:41:56]FM_GetShiftState done [11:41:56]opened in 1710288804 [11:41:56]opened+sec_in_day 1710375204 [11:41:56]quantity*price = 5100 [11:41:56]sum+1 = 5101 [11:41:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 19 13.03.2024 11:42 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47431 ФПД: 147159983815056 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T114217&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47431&fm=147159983815056&tin=02508201610067®Number=0000000000092018&sum=5100 0 [11:41:57]StoreToDocumentArchive [11:41:57]shift 315 fd 47431 [11:41:57]save to /storage/0315/doc_00047431 [11:41:57]save last doc name /storage/0315/doc_00047431 to /storage/kkm_last_doc_name [11:41:57]save OK [11:41:57]Clear old archive folders... [11:41:57]ProcessDocumentItem done err = 0, tmpTLVsize=286 [11:41:57]tlvbuf is 0042A0F0 [11:41:57]SAM_PROTO_ClearQueue [11:41:57]wFMCommunicate request_size=4 [11:41:57]MH_SAM_APDU [11:41:57]CAPDU: 80 09 00 00 [11:41:57]Write to MH i2c: E2 08 00 54 6F 80 09 00 00 00 00 00 00 35 [11:41:57]Write i2c OK [11:41:57]MH_I2C_Read... [11:41:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:41:57]Read from MH i2c: E2 [11:41:57]MH_I2C_Read... [11:41:57]Read from MH i2c: E2 03 00 [11:41:57]MH_I2C_Read... [11:41:57]Read from MH i2c: E2 03 00 54 6F 00 90 00 37 [11:41:57]RAPDU: 90 00 [11:41:57]wFMCommunicate OK [11:41:57]SAM_PROTO_ClearQueue done [11:41:57]KKMCreateOFDPacket [11:41:57]OFDProtocolAddRootSTLVToBuf [11:41:57]FM_MakeSignedData [11:41:57]FM_MakeSignedData [11:41:57]SAM_PROTO_SignData [11:41:57]wFMCommunicate request_size=4 [11:41:57]MH_SAM_APDU [11:41:57]CAPDU: 80 0D 01 02 [11:41:57]Write to MH i2c: E2 08 00 55 6F 80 0D 01 02 00 00 00 00 3D [11:41:57]Write i2c OK [11:41:57]MH_I2C_Read... [11:41:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:41:57]Read from MH i2c: E2 [11:41:57]MH_I2C_Read... [11:41:57]Read from MH i2c: E2 03 00 [11:41:57]MH_I2C_Read... [11:41:57]Read from MH i2c: E2 03 00 55 6F 00 90 00 38 [11:41:57]RAPDU: 90 00 [11:41:57]wFMCommunicate OK [11:41:57]wFMCommunicate request_size=255 [11:41:57]MH_SAM_APDU [11:41:57]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 13 00 00 00 F4 03 04 00 19 91 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 [11:41:57]Write to MH i2c: E2 02 01 56 6F 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 13 00 00 00 F4 03 04 00 19 91 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 00 00 87 [11:41:57]Write i2c OK [11:41:57]MH_I2C_Read... [11:41:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:41:58]Read from MH i2c: E2 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 03 00 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 03 00 56 6F 00 90 00 39 [11:41:58]RAPDU: 90 00 [11:41:58]wFMCommunicate OK [11:41:58]wFMCommunicate request_size=45 [11:41:58]MH_SAM_APDU [11:41:58]CAPDU: 80 0D 02 02 28 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 47 B9 00 00 35 04 06 00 85 D7 5A 8F 79 90 [11:41:58]Write to MH i2c: E2 30 00 57 6F 80 0D 02 02 28 00 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 47 B9 00 00 35 04 06 00 85 D7 5A 8F 79 90 00 00 E2 [11:41:58]Write i2c OK [11:41:58]MH_I2C_Read... [11:41:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:41:58]Read from MH i2c: E2 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 03 00 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 03 00 57 6F 00 90 00 3A [11:41:58]RAPDU: 90 00 [11:41:58]wFMCommunicate OK [11:41:58]wFMCommunicate request_size=4 [11:41:58]MH_SAM_APDU [11:41:58]CAPDU: 80 0D 03 02 [11:41:58]Write to MH i2c: E2 08 00 58 6F 80 0D 03 02 00 00 00 00 42 [11:41:58]Write i2c OK [11:41:58]MH_I2C_Read... [11:41:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:41:58]Read from MH i2c: E2 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 0B 00 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 0B 00 58 6F 00 A3 18 0A 9B D0 53 E1 E2 90 00 89 [11:41:58]RAPDU: A3 18 0A 9B D0 53 E1 E2 90 00 [11:41:58]wFMCommunicate OK [11:41:58]SAM_PROTO_SignData done [11:41:58]FM_MakeSignedData done [11:41:58]CreateOFDProtocolMessage [11:41:58]wFMCommunicate request_size=4 [11:41:58]MH_SAM_APDU [11:41:58]CAPDU: 80 11 00 00 [11:41:58]Write to MH i2c: E2 08 00 59 6F 80 11 00 00 00 00 00 00 42 [11:41:58]Write i2c OK [11:41:58]MH_I2C_Read... [11:41:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:41:58]Read from MH i2c: E2 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 17 00 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: E2 17 00 59 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 94 [11:41:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:41:58]wFMCommunicate OK [11:41:58]CreateOFDProtocolMessage done [11:41:58]OFDSenderStorePacket 47431 [11:41:58]StoreOFDPacket docnum=47431 [11:41:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 32 01 00 00 4B A6 2A 01 FB 1E 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 13 00 00 00 F4 03 04 00 19 91 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 47 B9 00 00 35 04 06 00 85 D7 5A 8F 79 90 A3 18 0A 9B D0 53 E1 E2 [11:41:58]CheckFolder [11:41:58]dirname=/storage/ofd_packets [11:41:58]CheckFolder done [11:41:58]ProducePacketName [11:41:58]name=ofd_packets/00047431 [11:41:58]NVStorageSaveData ofd_packets/00047431 [11:41:58]File name is /storage/ofd_packets/00047431 [11:41:58]Write 336 bytes [11:41:58]NVStorageSaveData done [11:41:58]OFDSenderStorePacket done [11:41:58]KKMCreateOFDPacket done [11:41:58]NVStorageSaveData kkm_last_timestamp [11:41:58]File name is /storage/kkm_last_timestamp [11:41:58]Write 4 bytes [11:41:58]NVStorageSaveData done [11:41:58]ExternCall_PrintAddStr [11:41:58]wPrintStart [11:41:58]Write to MH i2c: 01 00 00 5A 6F C9 [11:41:58]Write i2c OK [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: 01 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: 01 07 00 [11:41:58]MH_I2C_Read... [11:41:58]Read from MH i2c: 01 07 00 5A 6F 00 00 00 00 00 FF 0F DE [11:41:58]RasterBufferAndPrint [11:41:58]line Счет N : (3)242338 [11:41:58]line ИНН: 02508201610067 [11:41:58]line Контрольно-Кассовый Чек [11:41:58]line ПРОДАЖА [11:41:58]line Товар: 4700041420152 [11:41:58]line Салфетки влажн BEST GOLD 20шт [11:41:58]line 1.000 * 51.00 [11:41:58]line = 51.00 [11:41:58]line НДС 12% НСП 1% [11:41:58]line > о реализуемом товаре [11:41:58]line ИТОГО: 51.00 [11:41:58]line НСП 1% : 0.45 [11:41:58]line НДС 12% : 5.42 [11:41:58]line Наличными: 51.00 [11:41:58]line Безнал.: 0.00 [11:41:58]line Место: АЗС № 15 "Партнер Нефть" [11:41:58]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [11:41:58]line СНО: Общий режим [11:41:58]line Чек 19 13.03.2024 11:42 [11:41:58]line Смена: 315 ФФД: 1.0 [11:41:58]line ЗНМ: 0300000097 [11:41:58]line РНМ: 0000000000092018 [11:41:58]line Версия ККМ: 001 [11:41:58]line ФМ: 0000000000871816 [11:41:58]line ФД: 47431 [11:41:58]line ФПД: 147159983815056 [11:41:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T114217&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47431&fm=147159983815056&tin=02508201610067®Number=0000000000092018&sum=5100 [11:41:58]line 0 [11:41:58]OFD Sender: Processing packet 47431 [packets to send 8, broken 7] [11:41:58]ProducePacketName [11:41:58]name=ofd_packets/00047431 [11:41:58]OFD Sender: To server: pG, [11:41:58]CommunicateWithHost lk.salyk.kg:30040 [11:41:58]ConnectInit lk.salyk.kg [11:41:58]written 0, free lines is 4095 [11:41:58]Connected sock=10 [11:41:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 32 01 00 00 4B A6 2A 01 FB 1E 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 13 00 00 00 F4 03 04 00 19 91 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 47 B9 00 00 35 04 06 00 85 D7 5A 8F 79 90 A3 18 0A 9B D0 53 E1 E2 [11:41:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 AE 0F 47 00 A4 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 47 B9 00 00 F4 03 04 00 A8 3B F1 65 B6 04 01 00 00 79 E9 2A C9 6A FE F3 FA [11:41:58]CommunicateWithHost err = 0 [11:41:58]CheckOFDResponse [11:41:58]1017 (14) - 77093643461234 [11:41:58]1041 (16) - 0000000000871816 [11:41:58]1040 (4) - 47431 [11:41:58]1012 (4) - 13.03.2024 05:37 [11:41:58]1206 (1) - 0 [11:41:58]OFD Sender: Remove packet 47431 [11:41:58]ProducePacketName [11:41:58]name=ofd_packets/00047431 [11:41:58]NVStorageDeleteData [11:41:59]Write to MH i2c: 01 00 00 83 6F F2 [11:41:59]Write i2c OK [11:41:59]MH_I2C_Read... [11:41:59]Read from MH i2c: 01 [11:41:59]MH_I2C_Read... [11:41:59]Read from MH i2c: 01 07 00 [11:41:59]MH_I2C_Read... [11:41:59]Read from MH i2c: 01 07 00 83 6F 00 00 00 00 00 BF 0C C4 [11:41:59]RasterBufferAndPrint [11:41:59]line [11:41:59]line [11:41:59]line [11:41:59]line [11:41:59]line [11:41:59]written 0, free lines is 3269 [11:41:59]MH_Cut [11:41:59]Write to MH i2c: D1 01 00 8A 6F 01 CB [11:41:59]Write i2c OK [11:41:59]MH_I2C_Read... [11:41:59]Read from MH i2c: D1 [11:41:59]MH_I2C_Read... [11:41:59]Read from MH i2c: D1 01 00 [11:41:59]MH_I2C_Read... [11:41:59]Read from MH i2c: D1 01 00 8A 6F 00 CA [11:41:59]Write to MH i2c: 01 00 00 8B 6F FA [11:41:59]Write i2c OK [11:41:59]MH_I2C_Read... [11:41:59]OFD Sender: No OFD packet to send [11:41:59]*** Cut start [11:41:59]*** Purtial cut [11:41:59]*** Stage 1: CUTSNS_PIN = 1 [11:42:00]Read from MH i2c: 01 [11:42:00]MH_I2C_Read... [11:42:00]*** Stop cut motor [11:42:00]*** Cut end [11:42:00]Read from MH i2c: 01 07 00 [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: 01 07 00 8B 6F 00 00 00 00 00 FF 0F 0F [11:42:00]process_action close_receipt done [11:42:00]requested_data is exist [11:42:00]produce_requested_data [11:42:00]requested_item fm.sn is exist - process it [11:42:00]wFMCommunicate request_size=4 [11:42:00]MH_SAM_APDU [11:42:00]CAPDU: 80 11 00 00 [11:42:00]Write to MH i2c: E2 08 00 8C 6F 80 11 00 00 00 00 00 00 75 [11:42:00]Write i2c OK [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: E2 [11:42:00]MH_I2C_Read... [11:42:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:42:00]Read from MH i2c: E2 17 00 [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: E2 17 00 8C 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C7 [11:42:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [11:42:00]wFMCommunicate OK [11:42:00]requested_item fd.num is exist - process it [11:42:00]SAM_PROTO_GetFieldsCounters [11:42:00]wFMCommunicate request_size=4 [11:42:00]MH_SAM_APDU [11:42:00]CAPDU: 80 13 00 00 [11:42:00]Write to MH i2c: E2 08 00 8D 6F 80 13 00 00 00 00 00 00 78 [11:42:00]Write i2c OK [11:42:00]MH_I2C_Read... [11:42:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:42:00]Read from MH i2c: E2 [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: E2 62 00 [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: E2 62 00 8D 6F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 47 B9 00 00 0E 04 04 00 3B 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 08 [11:42:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 47 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:42:00]wFMCommunicate OK [11:42:00]SAM_PROTO_GetFieldsCounters done [11:42:00]requested_item shift.num is exist - process it [11:42:00]requested_item shift.opened is exist - process it [11:42:00]req_shift_opened [11:42:00]FM_GetShiftState [11:42:00]SAM_PROTO_GetShiftState [11:42:00]wFMCommunicate request_size=4 [11:42:00]MH_SAM_APDU [11:42:00]CAPDU: 80 13 01 00 [11:42:00]Write to MH i2c: E2 08 00 8E 6F 80 13 01 00 00 00 00 00 7A [11:42:00]Write i2c OK [11:42:00]MH_I2C_Read... [11:42:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:42:00]Read from MH i2c: E2 [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: E2 0E 00 [11:42:00]MH_I2C_Read... [11:42:00]Read from MH i2c: E2 0E 00 8E 6F 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 6E [11:42:00]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [11:42:00]wFMCommunicate OK [11:42:00]SAM_PROTO_GetShiftState done [11:42:00]FM_GetShiftState done [11:42:00]req_shift_opened done [11:42:00]requested_item shift.open_date is exist - process it [11:42:00]req_shift_open_date [11:42:00]req_shift_open_date done [11:42:00]produce_requested_data done [11:42:00]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47431,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [11:42:00]process_action_free close_receipt [11:42:00]json_value_free [11:42:00]json_value_free done [11:42:00]process_json_proto returns [11:42:00]Send response to host [11:42:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47431,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [11:42:00]free response buf [11:42:00]execute_script done [11:42:00]execute_script returns [11:42:00]free content buf [11:42:00]Sock 7.Close socket [11:42:00]Sock 7.Thread stoped [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:19]OFD Sender: No OFD packet to send [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]OFD Sender: No OFD packet to send [11:43:44]OFD Sender: No OFD packet to send [11:43:49]OFD Sender: No OFD packet to send [11:43:54]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:47:59]OFD Sender: No OFD packet to send [11:48:04]OFD Sender: No OFD packet to send [11:48:09]OFD Sender: No OFD packet to send [11:48:14]OFD Sender: No OFD packet to send [11:48:19]OFD Sender: No OFD packet to send [11:48:24]OFD Sender: No OFD packet to send [11:48:29]OFD Sender: No OFD packet to send [11:48:34]OFD Sender: No OFD packet to send [11:48:39]OFD Sender: No OFD packet to send [11:48:44]OFD Sender: No OFD packet to send [11:48:49]OFD Sender: No OFD packet to send [11:48:54]OFD Sender: No OFD packet to send [11:48:59]OFD Sender: No OFD packet to send [11:49:04]OFD Sender: No OFD packet to send [11:49:09]OFD Sender: No OFD packet to send [11:49:14]OFD Sender: No OFD packet to send [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:39]OFD Sender: No OFD packet to send [11:49:44]OFD Sender: No OFD packet to send [11:49:49]OFD Sender: No OFD packet to send [11:49:54]OFD Sender: No OFD packet to send [11:49:59]OFD Sender: No OFD packet to send [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:39]OFD Sender: No OFD packet to send [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]OFD Sender: No OFD packet to send [11:51:59]OFD Sender: No OFD packet to send [11:52:04]OFD Sender: No OFD packet to send [11:52:09]OFD Sender: No OFD packet to send [11:52:14]OFD Sender: No OFD packet to send [11:52:19]OFD Sender: No OFD packet to send [11:52:24]OFD Sender: No OFD packet to send [11:52:29]OFD Sender: No OFD packet to send [11:52:34]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:39]OFD Sender: No OFD packet to send [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57:30]OFD Sender: No OFD packet to send [11:57:35]OFD Sender: No OFD packet to send [11:57:40]OFD Sender: No OFD packet to send [11:57:45]OFD Sender: No OFD packet to send [11:57:50]OFD Sender: No OFD packet to send [11:57:55]OFD Sender: No OFD packet to send [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [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:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:01]OFD Sender: No OFD packet to send [12:19:06]OFD Sender: No OFD packet to send [12:19:11]OFD Sender: No OFD packet to send [12:19:16]OFD Sender: No OFD packet to send [12:19:21]OFD Sender: No OFD packet to send [12:19:26]OFD Sender: No OFD packet to send [12:19:31]OFD Sender: No OFD packet to send [12:19:36]OFD Sender: No OFD packet to send [12:19:41]OFD Sender: No OFD packet to send [12:19:46]OFD Sender: No OFD packet to send [12:19:51]OFD Sender: No OFD packet to send [12:19:56]OFD Sender: No OFD packet to send [12:20:01]OFD Sender: No OFD packet to send [12:20:06]OFD Sender: No OFD packet to send [12:20:11]OFD Sender: No OFD packet to send [12:20:16]OFD Sender: No OFD packet to send [12:20:21]OFD Sender: No OFD packet to send [12:20:26]OFD Sender: No OFD packet to send [12:20:31]OFD Sender: No OFD packet to send [12:20:36]OFD Sender: No OFD packet to send [12:20:41]OFD Sender: No OFD packet to send [12:20:46]OFD Sender: No OFD packet to send [12:20:51]OFD Sender: No OFD packet to send [12:20:56]OFD Sender: No OFD packet to send [12:21:01]OFD Sender: No OFD packet to send [12:21:06]OFD Sender: No OFD packet to send [12:21:11]OFD Sender: No OFD packet to send [12:21:16]OFD Sender: No OFD packet to send [12:21:21]OFD Sender: No OFD packet to send [12:21:26]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:56]OFD Sender: No OFD packet to send [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:07]OFD Sender: No OFD packet to send [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:07]OFD Sender: No OFD packet to send [12:53:12]OFD Sender: No OFD packet to send [12:53:17]OFD Sender: No OFD packet to send [12:53:22]OFD Sender: No OFD packet to send [12:53:27]OFD Sender: No OFD packet to send [12:53:32]OFD Sender: No OFD packet to send [12:53:37]OFD Sender: No OFD packet to send [12:53:42]OFD Sender: No OFD packet to send [12:53:47]OFD Sender: No OFD packet to send [12:53:52]OFD Sender: No OFD packet to send [12:53:57]OFD Sender: No OFD packet to send [12:54:02]OFD Sender: No OFD packet to send [12:54:07]OFD Sender: No OFD packet to send [12:54:12]OFD Sender: No OFD packet to send [12:54:17]OFD Sender: No OFD packet to send [12:54:22]OFD Sender: No OFD packet to send [12:54:27]OFD Sender: No OFD packet to send [12:54:32]OFD Sender: No OFD packet to send [12:54:37]OFD Sender: No OFD packet to send [12:54:42]OFD Sender: No OFD packet to send [12:54:47]OFD Sender: No OFD packet to send [12:54:52]OFD Sender: No OFD packet to send [12:54:57]OFD Sender: No OFD packet to send [12:55:02]OFD Sender: No OFD packet to send [12:55:07]OFD Sender: No OFD packet to send [12:55:12]OFD Sender: No OFD packet to send [12:55:17]OFD Sender: No OFD packet to send [12:55:22]OFD Sender: No OFD packet to send [12:55:27]OFD Sender: No OFD packet to send [12:55:32]OFD Sender: No OFD packet to send [12:55:37]OFD Sender: No OFD packet to send [12:55:42]OFD Sender: No OFD packet to send [12:55:47]OFD Sender: No OFD packet to send [12:55:52]OFD Sender: No OFD packet to send [12:55:57]OFD Sender: No OFD packet to send [12:56:02]OFD Sender: No OFD packet to send [12:56:07]OFD Sender: No OFD packet to send [12:56:12]OFD Sender: No OFD packet to send [12:56:17]OFD Sender: No OFD packet to send [12:56:22]OFD Sender: No OFD packet to send [12:56:27]OFD Sender: No OFD packet to send [12:56:32]OFD Sender: No OFD packet to send [12:56:37]OFD Sender: No OFD packet to send [12:56:42]OFD Sender: No OFD packet to send [12:56:47]OFD Sender: No OFD packet to send [12:56:52]OFD Sender: No OFD packet to send [12:56:57]OFD Sender: No OFD packet to send [12:57:02]OFD Sender: No OFD packet to send [12:57:07]OFD Sender: No OFD packet to send [12:57:12]OFD Sender: No OFD packet to send [12:57:17]OFD Sender: No OFD packet to send [12:57:22]OFD Sender: No OFD packet to send [12:57:27]OFD Sender: No OFD packet to send [12:57:32]OFD Sender: No OFD packet to send [12:57:37]OFD Sender: No OFD packet to send [12:57:42]OFD Sender: No OFD packet to send [12:57:47]OFD Sender: No OFD packet to send [12:57:52]OFD Sender: No OFD packet to send [12:57:57]OFD Sender: No OFD packet to send [12:58:02]OFD Sender: No OFD packet to send [12:58:07]OFD Sender: No OFD packet to send [12:58:12]OFD Sender: No OFD packet to send [12:58:17]OFD Sender: No OFD packet to send [12:58:22]OFD Sender: No OFD packet to send [12:58:27]OFD Sender: No OFD packet to send [12:58:32]OFD Sender: No OFD packet to send [12:58:37]OFD Sender: No OFD packet to send [12:58:42]OFD Sender: No OFD packet to send [12:58:47]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:43]OFD Sender: No OFD packet to send [13:08:48]OFD Sender: No OFD packet to send [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:13]OFD Sender: No OFD packet to send [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:40]accept exits with 9 [13:17:40]New connection [13:17:40]New thread 3066453348 created [13:17:40]Thread 3066596708 joined [13:17:40]Waiting for new connection... [13:17:40] Sock 9.Parse request [13:17:40]Sock 9.Check first char [13:17:40]Sock 9.First char is OK [13:17:40]request: POST /json_proto HTTP/1.0 [13:17:40]Method: POST [13:17:40]URL: /json_proto [13:17:40]Method is POST - this is cgi request [13:17:40]url: /json_proto [13:17:40]query_string will be loaded in cgi processing [13:17:40]execute_cgi json_proto POST (null) [13:17:40]execute_cgi path=json_proto method=POST [13:17:40]POST find Content-Length [13:17:40]Host: 172.17.32.68:8080 [13:17:40]Content-Length: 654 [13:17:40]Content-Type: application/json [13:17:40] [13:17:40]POST finish read [13:17:40]Found Content-Length = 654 [13:17:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242339", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:40]execute_script... [13:17:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242339", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:40]POST & json_proto [13:17:40]process_json_proto [13:17:40]json parsed OK: [13:17:40]protocol is kg_v1.0 [13:17:40]action value=close_receipt [13:17:40]process_action close_receipt [13:17:40]cmd_close_receipt [13:17:40]MH_GetDate [13:17:40]Write to MH i2c: F0 00 00 8F 6F ED [13:17:40]Write i2c OK [13:17:40]MH_I2C_Read... [13:17:40]Read from MH i2c: F0 [13:17:40]MH_I2C_Read... [13:17:40]Read from MH i2c: F0 09 00 [13:17:40]MH_I2C_Read... [13:17:40]Read from MH i2c: F0 09 00 8F 6F 00 89 A7 F1 65 0A 64 6E 65 BD [13:17:40]GetLastDocTimeStamp 1710330137 [13:17:40]current date 1710335881 [13:17:40]FM_GetShiftState [13:17:40]SAM_PROTO_GetShiftState [13:17:40]wFMCommunicate request_size=4 [13:17:40]MH_SAM_APDU [13:17:40]CAPDU: 80 13 01 00 [13:17:40]Write to MH i2c: E2 08 00 90 6F 80 13 01 00 00 00 00 00 7C [13:17:40]Write i2c OK [13:17:40]MH_I2C_Read... [13:17:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:40]Read from MH i2c: E2 [13:17:40]MH_I2C_Read... [13:17:40]Read from MH i2c: E2 0E 00 [13:17:40]MH_I2C_Read... [13:17:40]Read from MH i2c: E2 0E 00 90 6F 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 70 [13:17:40]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:17:40]wFMCommunicate OK [13:17:40]SAM_PROTO_GetShiftState done [13:17:40]FM_GetShiftState done [13:17:40]opened in 1710288804 [13:17:40]opened+sec_in_day 1710375204 [13:17:40]quantity*price = 9000 [13:17:40]sum+1 = 9001 [13:17:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 20 13.03.2024 13:18 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47432 ФПД: 186251329288704 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T131801&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47432&fm=186251329288704&tin=02508201610067®Number=0000000000092018&sum=9000 0 [13:17:41]StoreToDocumentArchive [13:17:41]shift 315 fd 47432 [13:17:41]save to /storage/0315/doc_00047432 [13:17:41]save last doc name /storage/0315/doc_00047432 to /storage/kkm_last_doc_name [13:17:41]save OK [13:17:41]Clear old archive folders... [13:17:41]ProcessDocumentItem done err = 0, tmpTLVsize=293 [13:17:41]tlvbuf is B6F01230 [13:17:41]SAM_PROTO_ClearQueue [13:17:41]wFMCommunicate request_size=4 [13:17:41]MH_SAM_APDU [13:17:41]CAPDU: 80 09 00 00 [13:17:41]Write to MH i2c: E2 08 00 9D 6F 80 09 00 00 00 00 00 00 7E [13:17:41]Write i2c OK [13:17:41]MH_I2C_Read... [13:17:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:17:41]Read from MH i2c: E2 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 9D 6F 00 90 00 80 [13:17:41]RAPDU: 90 00 [13:17:41]wFMCommunicate OK [13:17:41]SAM_PROTO_ClearQueue done [13:17:41]KKMCreateOFDPacket [13:17:41]OFDProtocolAddRootSTLVToBuf [13:17:41]FM_MakeSignedData [13:17:41]FM_MakeSignedData [13:17:41]SAM_PROTO_SignData [13:17:41]wFMCommunicate request_size=4 [13:17:41]MH_SAM_APDU [13:17:41]CAPDU: 80 0D 01 02 [13:17:41]Write to MH i2c: E2 08 00 9E 6F 80 0D 01 02 00 00 00 00 86 [13:17:41]Write i2c OK [13:17:41]MH_I2C_Read... [13:17:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:17:41]Read from MH i2c: E2 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 9E 6F 00 90 00 81 [13:17:41]RAPDU: 90 00 [13:17:41]wFMCommunicate OK [13:17:41]wFMCommunicate request_size=255 [13:17:41]MH_SAM_APDU [13:17:41]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 89 A7 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [13:17:41]Write to MH i2c: E2 02 01 9F 6F 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 89 A7 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 EB [13:17:41]Write i2c OK [13:17:41]MH_I2C_Read... [13:17:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:41]Read from MH i2c: E2 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 9F 6F 00 90 00 82 [13:17:41]RAPDU: 90 00 [13:17:41]wFMCommunicate OK [13:17:41]wFMCommunicate request_size=52 [13:17:41]MH_SAM_APDU [13:17:41]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 48 B9 00 00 35 04 06 00 A9 65 04 52 3A 00 [13:17:41]Write to MH i2c: E2 37 00 A0 6F 80 0D 02 02 2F 00 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 48 B9 00 00 35 04 06 00 A9 65 04 52 3A 00 00 00 E5 [13:17:41]Write i2c OK [13:17:41]MH_I2C_Read... [13:17:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:41]Read from MH i2c: E2 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 [13:17:41]MH_I2C_Read... [13:17:41]Read from MH i2c: E2 03 00 A0 6F 00 90 00 83 [13:17:41]RAPDU: 90 00 [13:17:41]wFMCommunicate OK [13:17:41]wFMCommunicate request_size=4 [13:17:41]MH_SAM_APDU [13:17:41]CAPDU: 80 0D 03 02 [13:17:41]Write to MH i2c: E2 08 00 A1 6F 80 0D 03 02 00 00 00 00 8B [13:17:41]Write i2c OK [13:17:41]MH_I2C_Read... [13:17:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:17:42]Read from MH i2c: E2 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: E2 0B 00 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: E2 0B 00 A1 6F 00 5F 83 4F 2A FA 43 64 A5 90 00 2D [13:17:42]RAPDU: 5F 83 4F 2A FA 43 64 A5 90 00 [13:17:42]wFMCommunicate OK [13:17:42]SAM_PROTO_SignData done [13:17:42]FM_MakeSignedData done [13:17:42]CreateOFDProtocolMessage [13:17:42]wFMCommunicate request_size=4 [13:17:42]MH_SAM_APDU [13:17:42]CAPDU: 80 11 00 00 [13:17:42]Write to MH i2c: E2 08 00 A2 6F 80 11 00 00 00 00 00 00 8B [13:17:42]Write i2c OK [13:17:42]MH_I2C_Read... [13:17:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:42]Read from MH i2c: E2 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: E2 17 00 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: E2 17 00 A2 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DD [13:17:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:17:42]wFMCommunicate OK [13:17:42]CreateOFDProtocolMessage done [13:17:42]OFDSenderStorePacket 47432 [13:17:42]StoreOFDPacket docnum=47432 [13:17:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 82 3B 31 01 28 73 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 89 A7 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 48 B9 00 00 35 04 06 00 A9 65 04 52 3A 00 5F 83 4F 2A FA 43 64 A5 [13:17:42]CheckFolder [13:17:42]dirname=/storage/ofd_packets [13:17:42]CheckFolder done [13:17:42]ProducePacketName [13:17:42]name=ofd_packets/00047432 [13:17:42]NVStorageSaveData ofd_packets/00047432 [13:17:42]File name is /storage/ofd_packets/00047432 [13:17:42]Write 343 bytes [13:17:42]NVStorageSaveData done [13:17:42]OFDSenderStorePacket done [13:17:42]KKMCreateOFDPacket done [13:17:42]NVStorageSaveData kkm_last_timestamp [13:17:42]File name is /storage/kkm_last_timestamp [13:17:42]Write 4 bytes [13:17:42]NVStorageSaveData done [13:17:42]ExternCall_PrintAddStr [13:17:42]wPrintStart [13:17:42]Write to MH i2c: 01 00 00 A3 6F 12 [13:17:42]Write i2c OK [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: 01 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: 01 07 00 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: 01 07 00 A3 6F 00 00 00 00 00 FF 0F 27 [13:17:42]RasterBufferAndPrint [13:17:42]line Счет N : (3)242339 [13:17:42]line ИНН: 02508201610067 [13:17:42]line Контрольно-Кассовый Чек [13:17:42]line ПРОДАЖА [13:17:42]line Товар: 4700000480050 [13:17:42]line Напиток Nitro Energy эн green ж/б 0,45л [13:17:42]line 1.000 * 90.00 [13:17:42]line = 90.00 [13:17:42]line НДС 12% НСП 1% [13:17:42]line > о реализуемом товаре [13:17:42]line ИТОГО: 90.00 [13:17:42]line НСП 1% : 0.80 [13:17:42]line НДС 12% : 9.56 [13:17:42]line Наличными: 90.00 [13:17:42]line Безнал.: 0.00 [13:17:42]line Место: АЗС № 15 "Партнер Нефть" [13:17:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:17:42]line СНО: Общий режим [13:17:42]line Чек 20 13.03.2024 13:18 [13:17:42]line Смена: 315 ФФД: 1.0 [13:17:42]line ЗНМ: 0300000097 [13:17:42]line РНМ: 0000000000092018 [13:17:42]line Версия ККМ: 001 [13:17:42]line ФМ: 0000000000871816 [13:17:42]line ФД: 47432 [13:17:42]line ФПД: 186251329288704 [13:17:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T131801&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47432&fm=186251329288704&tin=02508201610067®Number=0000000000092018&sum=9000 [13:17:42]line 0 [13:17:42]OFD Sender: Processing packet 47432 [packets to send 8, broken 7] [13:17:42]ProducePacketName [13:17:42]name=ofd_packets/00047432 [13:17:42]OFD Sender: To server: pG, [13:17:42]CommunicateWithHost lk.salyk.kg:30040 [13:17:42]ConnectInit lk.salyk.kg [13:17:42]written 0, free lines is 4095 [13:17:42]Connected sock=10 [13:17:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 82 3B 31 01 28 73 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 89 A7 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 48 B9 00 00 35 04 06 00 A9 65 04 52 3A 00 5F 83 4F 2A FA 43 64 A5 [13:17:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 2F E1 47 00 AA 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 31 38 31 36 10 04 04 00 48 B9 00 00 F4 03 04 00 18 52 F1 65 B6 04 01 00 00 F5 DC 3D 6F 64 80 51 D8 [13:17:42]CommunicateWithHost err = 0 [13:17:42]CheckOFDResponse [13:17:42]1017 (14) - 77093643461234 [13:17:42]1041 (16) - 0000000000871816 [13:17:42]1040 (4) - 47432 [13:17:42]1012 (4) - 13.03.2024 07:13 [13:17:42]1206 (1) - 0 [13:17:42]OFD Sender: Remove packet 47432 [13:17:42]ProducePacketName [13:17:42]name=ofd_packets/00047432 [13:17:42]NVStorageDeleteData [13:17:42]Write to MH i2c: 01 00 00 CC 6F 3B [13:17:42]Write i2c OK [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: 01 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: 01 07 00 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: 01 07 00 CC 6F 00 00 00 00 00 E1 0C 2F [13:17:42]RasterBufferAndPrint [13:17:42]line [13:17:42]line [13:17:42]line [13:17:42]line [13:17:42]line [13:17:42]written 0, free lines is 3303 [13:17:42]MH_Cut [13:17:42]Write to MH i2c: D1 01 00 D3 6F 01 14 [13:17:42]Write i2c OK [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: D1 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: D1 01 00 [13:17:42]MH_I2C_Read... [13:17:42]Read from MH i2c: D1 01 00 D3 6F 00 13 [13:17:42]Write to MH i2c: 01 00 00 D4 6F 43 [13:17:42]Write i2c OK [13:17:42]MH_I2C_Read... [13:17:43]OFD Sender: No OFD packet to send [13:17:43]*** Cut start [13:17:43]*** Purtial cut [13:17:43]*** Stage 1: CUTSNS_PIN = 1 [13:17:43]Read from MH i2c: 01 [13:17:43]MH_I2C_Read... [13:17:43]*** Stop cut motor [13:17:43]*** Cut end [13:17:43]Read from MH i2c: 01 07 00 [13:17:43]MH_I2C_Read... [13:17:43]Read from MH i2c: 01 07 00 D4 6F 00 00 00 00 00 FF 0F 58 [13:17:43]process_action close_receipt done [13:17:43]requested_data is exist [13:17:43]produce_requested_data [13:17:43]requested_item fm.sn is exist - process it [13:17:43]wFMCommunicate request_size=4 [13:17:43]MH_SAM_APDU [13:17:43]CAPDU: 80 11 00 00 [13:17:43]Write to MH i2c: E2 08 00 D5 6F 80 11 00 00 00 00 00 00 BE [13:17:43]Write i2c OK [13:17:43]MH_I2C_Read... [13:17:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:44]Read from MH i2c: E2 [13:17:44]MH_I2C_Read... [13:17:44]Read from MH i2c: E2 17 00 [13:17:44]MH_I2C_Read... [13:17:44]Read from MH i2c: E2 17 00 D5 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 10 [13:17:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:17:44]wFMCommunicate OK [13:17:44]requested_item fd.num is exist - process it [13:17:44]SAM_PROTO_GetFieldsCounters [13:17:44]wFMCommunicate request_size=4 [13:17:44]MH_SAM_APDU [13:17:44]CAPDU: 80 13 00 00 [13:17:44]Write to MH i2c: E2 08 00 D6 6F 80 13 00 00 00 00 00 00 C1 [13:17:44]Write i2c OK [13:17:44]MH_I2C_Read... [13:17:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:17:44]Read from MH i2c: E2 [13:17:44]MH_I2C_Read... [13:17:44]Read from MH i2c: E2 62 00 [13:17:44]MH_I2C_Read... [13:17:44]Read from MH i2c: E2 62 00 D6 6F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 48 B9 00 00 0E 04 04 00 3B 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 55 [13:17:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 48 B9 00 00 0E 04 04 00 3B 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 [13:17:44]wFMCommunicate OK [13:17:44]SAM_PROTO_GetFieldsCounters done [13:17:44]requested_item shift.num is exist - process it [13:17:44]requested_item shift.opened is exist - process it [13:17:44]req_shift_opened [13:17:44]FM_GetShiftState [13:17:44]SAM_PROTO_GetShiftState [13:17:44]wFMCommunicate request_size=4 [13:17:44]MH_SAM_APDU [13:17:44]CAPDU: 80 13 01 00 [13:17:44]Write to MH i2c: E2 08 00 D7 6F 80 13 01 00 00 00 00 00 C3 [13:17:44]Write i2c OK [13:17:44]MH_I2C_Read... [13:17:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:44]Read from MH i2c: E2 [13:17:44]MH_I2C_Read... [13:17:44]Read from MH i2c: E2 0E 00 [13:17:44]MH_I2C_Read... [13:17:44]Read from MH i2c: E2 0E 00 D7 6F 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 B7 [13:17:44]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:17:44]wFMCommunicate OK [13:17:44]SAM_PROTO_GetShiftState done [13:17:44]FM_GetShiftState done [13:17:44]req_shift_opened done [13:17:44]requested_item shift.open_date is exist - process it [13:17:44]req_shift_open_date [13:17:44]req_shift_open_date done [13:17:44]produce_requested_data done [13:17:44]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47432,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:17:44]process_action_free close_receipt [13:17:44]json_value_free [13:17:44]json_value_free done [13:17:44]process_json_proto returns [13:17:44]Send response to host [13:17:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47432,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:17:44]free response buf [13:17:44]execute_script done [13:17:44]execute_script returns [13:17:44]free content buf [13:17:44]Sock 9.Close socket [13:17:44]Sock 9.Thread stoped [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]OFD Sender: No OFD packet to send [13:18:08]OFD Sender: No OFD packet to send [13:18:13]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:58]OFD Sender: No OFD packet to send [13:19:03]OFD Sender: No OFD packet to send [13:19:08]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:18]accept exits with 7 [13:20:18]New connection [13:20:18]New thread 3066596708 created [13:20:18]Thread 3066453348 joined [13:20:18]Waiting for new connection... [13:20:18] Sock 7.Parse request [13:20:18]Sock 7.Check first char [13:20:18]Sock 7.First char is OK [13:20:18]request: POST /json_proto HTTP/1.0 [13:20:18]Method: POST [13:20:18]URL: /json_proto [13:20:18]Method is POST - this is cgi request [13:20:18]url: /json_proto [13:20:18]query_string will be loaded in cgi processing [13:20:18]execute_cgi json_proto POST (null) [13:20:18]execute_cgi path=json_proto method=POST [13:20:18]POST find Content-Length [13:20:18]Host: 172.17.32.68:8080 [13:20:18]Content-Length: 1299 [13:20:18]Content-Type: application/json [13:20:18] [13:20:18]POST finish read [13:20:18]Found Content-Length = 1299 [13:20:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242340", "tax_sys" : 0, "items" : [ { "code": "4771173210751", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Jega \u0421\u044B\u0440 \u043F\u043B\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0439 200 \u0433\u0440", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690388119133", "name": "\u0427\u0438\u043F\u0441\u044B Lay`s \u041C\u043E\u043B\u043E\u0434 \u0417\u0435\u043B\u0435\u043D\u044B\u0439 \u041B\u0443\u043A 70\u0433", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:18]execute_script... [13:20: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)242340", "tax_sys" : 0, "items" : [ { "code": "4771173210751", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Jega \u0421\u044B\u0440 \u043F\u043B\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0439 200 \u0433\u0440", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690388119133", "name": "\u0427\u0438\u043F\u0441\u044B Lay`s \u041C\u043E\u043B\u043E\u0434 \u0417\u0435\u043B\u0435\u043D\u044B\u0439 \u041B\u0443\u043A 70\u0433", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:18]POST & json_proto [13:20:18]process_json_proto [13:20:18]json parsed OK: [13:20:18]protocol is kg_v1.0 [13:20:18]action value=close_receipt [13:20:18]process_action close_receipt [13:20:18]cmd_close_receipt [13:20:18]MH_GetDate [13:20:18]Write to MH i2c: F0 00 00 D8 6F 36 [13:20:18]Write i2c OK [13:20:18]MH_I2C_Read... [13:20:18]Read from MH i2c: F0 [13:20:18]MH_I2C_Read... [13:20:18]Read from MH i2c: F0 09 00 [13:20:18]MH_I2C_Read... [13:20:18]Read from MH i2c: F0 09 00 D8 6F 00 28 A8 F1 65 0A 64 6E 65 A6 [13:20:18]GetLastDocTimeStamp 1710335881 [13:20:18]current date 1710336040 [13:20:18]FM_GetShiftState [13:20:18]SAM_PROTO_GetShiftState [13:20:18]wFMCommunicate request_size=4 [13:20:18]MH_SAM_APDU [13:20:18]CAPDU: 80 13 01 00 [13:20:18]Write to MH i2c: E2 08 00 D9 6F 80 13 01 00 00 00 00 00 C5 [13:20:18]Write i2c OK [13:20:18]MH_I2C_Read... [13:20:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:18]Read from MH i2c: E2 [13:20:18]MH_I2C_Read... [13:20:18]Read from MH i2c: E2 0E 00 [13:20:18]MH_I2C_Read... [13:20:18]Read from MH i2c: E2 0E 00 D9 6F 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 B9 [13:20:18]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:20:18]wFMCommunicate OK [13:20:18]SAM_PROTO_GetShiftState done [13:20:18]FM_GetShiftState done [13:20:18]opened in 1710288804 [13:20:18]opened+sec_in_day 1710375204 [13:20:18]quantity*price = 24500 [13:20:18]sum+1 = 24501 [13:20:18]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189325 Холодный чай Fuse персик 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4690388119133 Чипсы Lay`s Молод Зеленый Лук 70г 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.71 НДС 12% : 44.60 Наличными: 420.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 21 13.03.2024 13:20 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47433 ФПД: 64952126707460 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132040&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47433&fm=64952126707460&tin=02508201610067®Number=0000000000092018&sum=42000 0 [13:20:20]StoreToDocumentArchive [13:20:20]shift 315 fd 47433 [13:20:20]save to /storage/0315/doc_00047433 [13:20:20]save last doc name /storage/0315/doc_00047433 to /storage/kkm_last_doc_name [13:20:20]save OK [13:20:20]Clear old archive folders... [13:20:20]ProcessDocumentItem done err = 0, tmpTLVsize=541 [13:20:20]tlvbuf is 0042A920 [13:20:20]SAM_PROTO_ClearQueue [13:20:20]wFMCommunicate request_size=4 [13:20:20]MH_SAM_APDU [13:20:20]CAPDU: 80 09 00 00 [13:20:20]Write to MH i2c: E2 08 00 E6 6F 80 09 00 00 00 00 00 00 C7 [13:20:20]Write i2c OK [13:20:20]MH_I2C_Read... [13:20:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:20:20]Read from MH i2c: E2 [13:20:20]MH_I2C_Read... [13:20:20]Read from MH i2c: E2 03 00 [13:20:20]MH_I2C_Read... [13:20:20]Read from MH i2c: E2 03 00 E6 6F 00 90 00 C9 [13:20:20]RAPDU: 90 00 [13:20:20]wFMCommunicate OK [13:20:20]SAM_PROTO_ClearQueue done [13:20:20]KKMCreateOFDPacket [13:20:20]OFDProtocolAddRootSTLVToBuf [13:20:20]FM_MakeSignedData [13:20:20]FM_MakeSignedData [13:20:20]SAM_PROTO_SignData [13:20:20]wFMCommunicate request_size=4 [13:20:20]MH_SAM_APDU [13:20:20]CAPDU: 80 0D 01 02 [13:20:20]Write to MH i2c: E2 08 00 E7 6F 80 0D 01 02 00 00 00 00 CF [13:20:20]Write i2c OK [13:20:20]MH_I2C_Read... [13:20:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:20:20]Read from MH i2c: E2 [13:20:20]MH_I2C_Read... [13:20:20]Read from MH i2c: E2 03 00 [13:20:20]MH_I2C_Read... [13:20:20]Read from MH i2c: E2 03 00 E7 6F 00 90 00 CA [13:20:20]RAPDU: 90 00 [13:20:20]wFMCommunicate OK [13:20:20]wFMCommunicate request_size=255 [13:20:20]MH_SAM_APDU [13:20:20]CAPDU: 80 0D 02 02 FA 03 00 1D 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 37 31 31 37 33 32 31 30 37 35 31 06 04 36 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 A1 D1 8B D1 80 20 D0 BF D0 BB D0 B0 D0 B2 D0 BB D0 B5 D0 BD D0 BD D1 8B D0 B9 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [13:20:20]Write to MH i2c: E2 02 01 E8 6F 80 0D 02 02 FA 00 03 00 1D 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 37 31 31 37 33 32 31 30 37 35 31 06 04 36 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 A1 D1 8B D1 80 20 D0 BF D0 BB D0 B0 D0 B2 D0 BB D0 B5 D0 BD D0 BD D1 8B D0 B9 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 CE [13:20:20]Write i2c OK [13:20:20]MH_I2C_Read... [13:20:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:20]Read from MH i2c: E2 [13:20:20]MH_I2C_Read... [13:20:20]Read from MH i2c: E2 03 00 [13:20:20]MH_I2C_Read... [13:20:20]Read from MH i2c: E2 03 00 E8 6F 00 90 00 CB [13:20:20]RAPDU: 90 00 [13:20:20]wFMCommunicate OK [13:20:20]wFMCommunicate request_size=255 [13:20:20]MH_SAM_APDU [13:20:20]CAPDU: 80 0D 02 02 FA 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 39 31 33 33 06 04 36 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 4C 61 79 60 73 20 D0 9C D0 BE D0 BB D0 BE D0 B4 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 9B D1 83 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 28 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [13:20:20]Write to MH i2c: E2 02 01 E9 6F 80 0D 02 02 FA 00 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 39 31 33 33 06 04 36 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 4C 61 79 60 73 20 D0 9C D0 BE D0 BB D0 BE D0 B4 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 9B D1 83 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 28 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 83 [13:20:20]Write i2c OK [13:20:20]MH_I2C_Read... [13:20:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:21]Read from MH i2c: E2 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 03 00 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 03 00 E9 6F 00 90 00 CC [13:20:21]RAPDU: 90 00 [13:20:21]wFMCommunicate OK [13:20:21]wFMCommunicate request_size=50 [13:20:21]MH_SAM_APDU [13:20:21]CAPDU: 80 0D 02 02 2D 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 49 B9 00 00 35 04 06 00 3B 12 D8 70 97 04 [13:20:21]Write to MH i2c: E2 35 00 EA 6F 80 0D 02 02 2D 00 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 49 B9 00 00 35 04 06 00 3B 12 D8 70 97 04 00 00 5E [13:20:21]Write i2c OK [13:20:21]MH_I2C_Read... [13:20:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:21]Read from MH i2c: E2 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 03 00 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 03 00 EA 6F 00 90 00 CD [13:20:21]RAPDU: 90 00 [13:20:21]wFMCommunicate OK [13:20:21]wFMCommunicate request_size=4 [13:20:21]MH_SAM_APDU [13:20:21]CAPDU: 80 0D 03 02 [13:20:21]Write to MH i2c: E2 08 00 EB 6F 80 0D 03 02 00 00 00 00 D5 [13:20:21]Write i2c OK [13:20:21]MH_I2C_Read... [13:20:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:20:21]Read from MH i2c: E2 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 0B 00 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 0B 00 EB 6F 00 D4 2F FA 85 DD B3 7D 2B 90 00 90 [13:20:21]RAPDU: D4 2F FA 85 DD B3 7D 2B 90 00 [13:20:21]wFMCommunicate OK [13:20:21]SAM_PROTO_SignData done [13:20:21]FM_MakeSignedData done [13:20:21]CreateOFDProtocolMessage [13:20:21]wFMCommunicate request_size=4 [13:20:21]MH_SAM_APDU [13:20:21]CAPDU: 80 11 00 00 [13:20:21]Write to MH i2c: E2 08 00 EC 6F 80 11 00 00 00 00 00 00 D5 [13:20:21]Write i2c OK [13:20:21]MH_I2C_Read... [13:20:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:21]Read from MH i2c: E2 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 17 00 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: E2 17 00 EC 6F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 27 [13:20:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:20:21]wFMCommunicate OK [13:20:21]CreateOFDProtocolMessage done [13:20:21]OFDSenderStorePacket 47433 [13:20:21]StoreOFDPacket docnum=47433 [13:20:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 31 02 00 00 AF 9F 29 02 23 E2 5A 03 01 00 03 00 1D 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 37 31 31 37 33 32 31 30 37 35 31 06 04 36 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 A1 D1 8B D1 80 20 D0 BF D0 BB D0 B0 D0 B2 D0 BB D0 B5 D0 BD D0 BD D1 8B D0 B9 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 39 31 33 33 06 04 36 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 4C 61 79 60 73 20 D0 9C D0 BE D0 BB D0 BE D0 B4 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 9B D1 83 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 28 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 49 B9 00 00 35 04 06 00 3B 12 D8 70 97 04 D4 2F FA 85 DD B3 7D 2B [13:20:21]CheckFolder [13:20:21]dirname=/storage/ofd_packets [13:20:21]CheckFolder done [13:20:21]ProducePacketName [13:20:21]name=ofd_packets/00047433 [13:20:21]NVStorageSaveData ofd_packets/00047433 [13:20:21]File name is /storage/ofd_packets/00047433 [13:20:21]Write 591 bytes [13:20:21]NVStorageSaveData done [13:20:21]OFDSenderStorePacket done [13:20:21]KKMCreateOFDPacket done [13:20:21]NVStorageSaveData kkm_last_timestamp [13:20:21]File name is /storage/kkm_last_timestamp [13:20:21]Write 4 bytes [13:20:21]NVStorageSaveData done [13:20:21]ExternCall_PrintAddStr [13:20:21]wPrintStart [13:20:21]Write to MH i2c: 01 00 00 ED 6F 5C [13:20:21]Write i2c OK [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: 01 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: 01 07 00 [13:20:21]MH_I2C_Read... [13:20:21]Read from MH i2c: 01 07 00 ED 6F 00 00 00 00 00 FF 0F 71 [13:20:21]RasterBufferAndPrint [13:20:21]line Счет N : (3)242340 [13:20:21]line ИНН: 02508201610067 [13:20:21]line Контрольно-Кассовый Чек [13:20:21]line ПРОДАЖА [13:20:21]line Товар: 4771173210751 [13:20:21]line Арахис Jega Сыр плавленный 200 гр [13:20:21]line 1.000 * 245.00 [13:20:21]line = 245.00 [13:20:21]line НДС 12% НСП 1% [13:20:21]line > о реализуемом товаре [13:20:21]line Товар: 5449000189325 [13:20:21]line Холодный чай Fuse персик 0,5л [13:20:21]line 1.000 * 75.00 [13:20:21]line = 75.00 [13:20:21]line НДС 12% НСП 1% [13:20:21]line > о реализуемом товаре [13:20:21]line Товар: 4690388119133 [13:20:21]line Чипсы Lay`s Молод Зеленый Лук 70г [13:20:21]line 1.000 * 100.00 [13:20:21]line = 100.00 [13:20:21]line НДС 12% НСП 1% [13:20:21]line > о реализуемом товаре [13:20:21]line ИТОГО: 420.00 [13:20:21]line НСП 1% : 3.71 [13:20:21]line НДС 12% : 44.60 [13:20:21]line Наличными: 420.00 [13:20:21]line Безнал.: 0.00 [13:20:21]line Место: АЗС № 15 "Партнер Нефть" [13:20:21]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:20:21]line СНО: Общий режим [13:20:21]line Чек 21 13.03.2024 13:20 [13:20:21]line Смена: 315 ФФД: 1.0 [13:20:21]line ЗНМ: 0300000097 [13:20:21]line РНМ: 0000000000092018 [13:20:21]line Версия ККМ: 001 [13:20:21]line ФМ: 0000000000871816 [13:20:21]line ФД: 47433 [13:20:21]line ФПД: 64952126707460 [13:20:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132040&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47433&fm=64952126707460&tin=02508201610067®Number=0000000000092018&sum=42000 [13:20:21]line 0 [13:20:21]OFD Sender: Processing packet 47433 [packets to send 8, broken 7] [13:20:21]ProducePacketName [13:20:21]name=ofd_packets/00047433 [13:20:21]OFD Sender: To server: pG, [13:20:21]CommunicateWithHost lk.salyk.kg:30040 [13:20:21]ConnectInit lk.salyk.kg [13:20:21]written 0, free lines is 4095 [13:20:21]Connected sock=10 [13:20:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 31 02 00 00 AF 9F 29 02 23 E2 5A 03 01 00 03 00 1D 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 37 31 31 37 33 32 31 30 37 35 31 06 04 36 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 A1 D1 8B D1 80 20 D0 BF D0 BB D0 B0 D0 B2 D0 BB D0 B5 D0 BD D0 BD D1 8B D0 B9 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 39 31 33 33 06 04 36 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 4C 61 79 60 73 20 D0 9C D0 BE D0 BB D0 BE D0 B4 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 9B D1 83 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 28 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 49 B9 00 00 35 04 06 00 3B 12 D8 70 97 04 D4 2F FA 85 DD B3 7D 2B [13:20:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 A2 0A 47 00 29 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 49 B9 00 00 F4 03 04 00 B7 52 F1 65 B6 04 01 00 00 0C 3A FB 4B 88 84 C2 9E [13:20:21]CommunicateWithHost err = 0 [13:20:21]CheckOFDResponse [13:20:21]1017 (14) - 77093643461234 [13:20:21]1041 (16) - 0000000000871816 [13:20:21]1040 (4) - 47433 [13:20:21]1012 (4) - 13.03.2024 07:16 [13:20:21]1206 (1) - 0 [13:20:21]OFD Sender: Remove packet 47433 [13:20:21]ProducePacketName [13:20:21]name=ofd_packets/00047433 [13:20:21]NVStorageDeleteData [13:20:22]Write to MH i2c: 01 00 00 24 70 94 [13:20:22]Write i2c OK [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: 01 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: 01 07 00 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: 01 07 00 24 70 00 00 00 00 00 F6 0B 9C [13:20:22]RasterBufferAndPrint [13:20:22]line [13:20:22]line [13:20:22]line [13:20:22]line [13:20:22]line [13:20:22]written 0, free lines is 3069 [13:20:22]MH_Cut [13:20:22]Write to MH i2c: D1 01 00 2B 70 01 6D [13:20:22]Write i2c OK [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: D1 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: D1 01 00 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: D1 01 00 2B 70 00 6C [13:20:22]Write to MH i2c: 01 00 00 2C 70 9C [13:20:22]Write i2c OK [13:20:22]MH_I2C_Read... [13:20:22]OFD Sender: No OFD packet to send [13:20:23]*** Cut start [13:20:23]*** Purtial cut [13:20:23]*** Stage 1: CUTSNS_PIN = 1 [13:20:23]Read from MH i2c: 01 [13:20:23]MH_I2C_Read... [13:20:23]*** Stop cut motor [13:20:23]*** Cut end [13:20:23]Read from MH i2c: 01 07 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: 01 07 00 2C 70 00 00 00 00 00 FF 0F B1 [13:20:23]process_action close_receipt done [13:20:23]requested_data is exist [13:20:23]produce_requested_data [13:20:23]requested_item fm.sn is exist - process it [13:20:23]wFMCommunicate request_size=4 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 11 00 00 [13:20:23]Write to MH i2c: E2 08 00 2D 70 80 11 00 00 00 00 00 00 17 [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:23]Read from MH i2c: E2 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 17 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 17 00 2D 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 69 [13:20:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:20:23]wFMCommunicate OK [13:20:23]requested_item fd.num is exist - process it [13:20:23]SAM_PROTO_GetFieldsCounters [13:20:23]wFMCommunicate request_size=4 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 13 00 00 [13:20:23]Write to MH i2c: E2 08 00 2E 70 80 13 00 00 00 00 00 00 1A [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:20:23]Read from MH i2c: E2 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 62 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 62 00 2E 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 49 B9 00 00 0E 04 04 00 3B 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 B2 [13:20:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 49 B9 00 00 0E 04 04 00 3B 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 [13:20:23]wFMCommunicate OK [13:20:23]SAM_PROTO_GetFieldsCounters done [13:20:23]requested_item shift.num is exist - process it [13:20:23]requested_item shift.opened is exist - process it [13:20:23]req_shift_opened [13:20:23]FM_GetShiftState [13:20:23]SAM_PROTO_GetShiftState [13:20:23]wFMCommunicate request_size=4 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 13 01 00 [13:20:23]Write to MH i2c: E2 08 00 2F 70 80 13 01 00 00 00 00 00 1C [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:23]Read from MH i2c: E2 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 0E 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 0E 00 2F 70 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 10 [13:20:23]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:20:23]wFMCommunicate OK [13:20:23]SAM_PROTO_GetShiftState done [13:20:23]FM_GetShiftState done [13:20:23]req_shift_opened done [13:20:23]requested_item shift.open_date is exist - process it [13:20:23]req_shift_open_date [13:20:23]req_shift_open_date done [13:20:23]produce_requested_data done [13:20:23]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47433,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:20:23]process_action_free close_receipt [13:20:23]json_value_free [13:20:23]json_value_free done [13:20:23]process_json_proto returns [13:20:23]Send response to host [13:20:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47433,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:20:23]free response buf [13:20:23]execute_script done [13:20:23]execute_script returns [13:20:23]free content buf [13:20:23]Sock 7.Close socket [13:20:23]Sock 7.Thread stoped [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:05]accept exits with 9 [13:22:05]New connection [13:22:05]New thread 3066453348 created [13:22:05]Thread 3066596708 joined [13:22:05]Waiting for new connection... [13:22:05] Sock 9.Parse request [13:22:05]Sock 9.Check first char [13:22:05]Sock 9.First char is OK [13:22:05]request: POST /json_proto HTTP/1.0 [13:22:05]Method: POST [13:22:05]URL: /json_proto [13:22:05]Method is POST - this is cgi request [13:22:05]url: /json_proto [13:22:05]query_string will be loaded in cgi processing [13:22:05]execute_cgi json_proto POST (null) [13:22:05]execute_cgi path=json_proto method=POST [13:22:05]POST find Content-Length [13:22:05]Host: 172.17.32.68:8080 [13:22:05]Content-Length: 679 [13:22:05]Content-Type: application/json [13:22:05] [13:22:05]POST finish read [13:22:05]Found Content-Length = 679 [13:22:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242341", "tax_sys" : 0, "items" : [ { "code": "2000032780026", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:05]execute_script... [13:22: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)242341", "tax_sys" : 0, "items" : [ { "code": "2000032780026", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:05]POST & json_proto [13:22:05]process_json_proto [13:22:05]json parsed OK: [13:22:05]protocol is kg_v1.0 [13:22:05]action value=close_receipt [13:22:05]process_action close_receipt [13:22:05]cmd_close_receipt [13:22:05]MH_GetDate [13:22:05]Write to MH i2c: F0 00 00 30 70 8F [13:22:05]Write i2c OK [13:22:05]MH_I2C_Read... [13:22:05]Read from MH i2c: F0 [13:22:05]MH_I2C_Read... [13:22:05]Read from MH i2c: F0 09 00 [13:22:05]MH_I2C_Read... [13:22:05]Read from MH i2c: F0 09 00 30 70 00 92 A8 F1 65 0A 64 6E 65 69 [13:22:05]GetLastDocTimeStamp 1710336040 [13:22:05]current date 1710336146 [13:22:05]FM_GetShiftState [13:22:05]SAM_PROTO_GetShiftState [13:22:05]wFMCommunicate request_size=4 [13:22:05]MH_SAM_APDU [13:22:05]CAPDU: 80 13 01 00 [13:22:05]Write to MH i2c: E2 08 00 31 70 80 13 01 00 00 00 00 00 1E [13:22:05]Write i2c OK [13:22:05]MH_I2C_Read... [13:22:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:05]Read from MH i2c: E2 [13:22:05]MH_I2C_Read... [13:22:05]Read from MH i2c: E2 0E 00 [13:22:05]MH_I2C_Read... [13:22:05]Read from MH i2c: E2 0E 00 31 70 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 12 [13:22:05]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:22:05]wFMCommunicate OK [13:22:05]SAM_PROTO_GetShiftState done [13:22:05]FM_GetShiftState done [13:22:05]opened in 1710288804 [13:22:05]opened+sec_in_day 1710375204 [13:22:05]quantity*price = 8000 [13:22:05]sum+1 = 8001 [13:22:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 22 13.03.2024 13:22 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47434 ФПД: 88771455644757 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132226&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47434&fm=88771455644757&tin=02508201610067®Number=0000000000092018&sum=8000 0 [13:22:06]StoreToDocumentArchive [13:22:06]shift 315 fd 47434 [13:22:06]save to /storage/0315/doc_00047434 [13:22:06]save last doc name /storage/0315/doc_00047434 to /storage/kkm_last_doc_name [13:22:06]save OK [13:22:06]Clear old archive folders... [13:22:06]ProcessDocumentItem done err = 0, tmpTLVsize=290 [13:22:06]tlvbuf is B6F01DE0 [13:22:06]SAM_PROTO_ClearQueue [13:22:06]wFMCommunicate request_size=4 [13:22:06]MH_SAM_APDU [13:22:06]CAPDU: 80 09 00 00 [13:22:06]Write to MH i2c: E2 08 00 3E 70 80 09 00 00 00 00 00 00 20 [13:22:06]Write i2c OK [13:22:06]MH_I2C_Read... [13:22:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:06]Read from MH i2c: E2 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 3E 70 00 90 00 22 [13:22:06]RAPDU: 90 00 [13:22:06]wFMCommunicate OK [13:22:06]SAM_PROTO_ClearQueue done [13:22:06]KKMCreateOFDPacket [13:22:06]OFDProtocolAddRootSTLVToBuf [13:22:06]FM_MakeSignedData [13:22:06]FM_MakeSignedData [13:22:06]SAM_PROTO_SignData [13:22:06]wFMCommunicate request_size=4 [13:22:06]MH_SAM_APDU [13:22:06]CAPDU: 80 0D 01 02 [13:22:06]Write to MH i2c: E2 08 00 3F 70 80 0D 01 02 00 00 00 00 28 [13:22:06]Write i2c OK [13:22:06]MH_I2C_Read... [13:22:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:06]Read from MH i2c: E2 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 3F 70 00 90 00 23 [13:22:06]RAPDU: 90 00 [13:22:06]wFMCommunicate OK [13:22:06]wFMCommunicate request_size=255 [13:22:06]MH_SAM_APDU [13:22:06]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 92 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [13:22:06]Write to MH i2c: E2 02 01 40 70 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 92 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 30 [13:22:06]Write i2c OK [13:22:06]MH_I2C_Read... [13:22:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:06]Read from MH i2c: E2 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 40 70 00 90 00 24 [13:22:06]RAPDU: 90 00 [13:22:06]wFMCommunicate OK [13:22:06]wFMCommunicate request_size=49 [13:22:06]MH_SAM_APDU [13:22:06]CAPDU: 80 0D 02 02 2C 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4A B9 00 00 35 04 06 00 50 BC B7 14 74 55 [13:22:06]Write to MH i2c: E2 34 00 41 70 80 0D 02 02 2C 00 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4A B9 00 00 35 04 06 00 50 BC B7 14 74 55 00 00 F5 [13:22:06]Write i2c OK [13:22:06]MH_I2C_Read... [13:22:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:06]Read from MH i2c: E2 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 [13:22:06]MH_I2C_Read... [13:22:06]Read from MH i2c: E2 03 00 41 70 00 90 00 25 [13:22:06]RAPDU: 90 00 [13:22:06]wFMCommunicate OK [13:22:06]wFMCommunicate request_size=4 [13:22:06]MH_SAM_APDU [13:22:06]CAPDU: 80 0D 03 02 [13:22:06]Write to MH i2c: E2 08 00 42 70 80 0D 03 02 00 00 00 00 2D [13:22:06]Write i2c OK [13:22:06]MH_I2C_Read... [13:22:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:22:07]Read from MH i2c: E2 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: E2 0B 00 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: E2 0B 00 42 70 00 98 4A 36 A1 F6 5B 85 06 90 00 C3 [13:22:07]RAPDU: 98 4A 36 A1 F6 5B 85 06 90 00 [13:22:07]wFMCommunicate OK [13:22:07]SAM_PROTO_SignData done [13:22:07]FM_MakeSignedData done [13:22:07]CreateOFDProtocolMessage [13:22:07]wFMCommunicate request_size=4 [13:22:07]MH_SAM_APDU [13:22:07]CAPDU: 80 11 00 00 [13:22:07]Write to MH i2c: E2 08 00 43 70 80 11 00 00 00 00 00 00 2D [13:22:07]Write i2c OK [13:22:07]MH_I2C_Read... [13:22:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:07]Read from MH i2c: E2 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: E2 17 00 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: E2 17 00 43 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7F [13:22:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:22:07]wFMCommunicate OK [13:22:07]CreateOFDProtocolMessage done [13:22:07]OFDSenderStorePacket 47434 [13:22:07]StoreOFDPacket docnum=47434 [13:22:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 36 01 00 00 B4 54 2E 01 B7 44 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 92 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4A B9 00 00 35 04 06 00 50 BC B7 14 74 55 98 4A 36 A1 F6 5B 85 06 [13:22:07]CheckFolder [13:22:07]dirname=/storage/ofd_packets [13:22:07]CheckFolder done [13:22:07]ProducePacketName [13:22:07]name=ofd_packets/00047434 [13:22:07]NVStorageSaveData ofd_packets/00047434 [13:22:07]File name is /storage/ofd_packets/00047434 [13:22:07]Write 340 bytes [13:22:07]NVStorageSaveData done [13:22:07]OFDSenderStorePacket done [13:22:07]KKMCreateOFDPacket done [13:22:07]NVStorageSaveData kkm_last_timestamp [13:22:07]File name is /storage/kkm_last_timestamp [13:22:07]Write 4 bytes [13:22:07]OFD Sender: Processing packet 47434 [packets to send 8, broken 7] [13:22:07]ProducePacketName [13:22:07]name=ofd_packets/00047434 [13:22:07]OFD Sender: To server: pG, [13:22:07]CommunicateWithHost lk.salyk.kg:30040 [13:22:07]ConnectInit lk.salyk.kg [13:22:07]NVStorageSaveData done [13:22:07]ExternCall_PrintAddStr [13:22:07]wPrintStart [13:22:07]Write to MH i2c: 01 00 00 44 70 B4 [13:22:07]Write i2c OK [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: 01 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: 01 07 00 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: 01 07 00 44 70 00 00 00 00 00 FF 0F C9 [13:22:07]RasterBufferAndPrint [13:22:07]line Счет N : (3)242341 [13:22:07]line ИНН: 02508201610067 [13:22:07]line Контрольно-Кассовый Чек [13:22:07]line ПРОДАЖА [13:22:07]line Товар: 2000032780026 [13:22:07]line АКЦИЯ Сосиска в тесте DC 110г [13:22:07]line 2.000 * 40.00 [13:22:07]line = 80.00 [13:22:07]line НДС 12% НСП 1% [13:22:07]line > о реализуемом товаре [13:22:07]line ИТОГО: 80.00 [13:22:07]line НСП 1% : 0.71 [13:22:07]line НДС 12% : 8.50 [13:22:07]line Наличными: 80.00 [13:22:07]line Безнал.: 0.00 [13:22:07]line Место: АЗС № 15 "Партнер Нефть" [13:22:07]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:22:07]line СНО: Общий режим [13:22:07]line Чек 22 13.03.2024 13:22 [13:22:07]line Смена: 315 ФФД: 1.0 [13:22:07]line ЗНМ: 0300000097 [13:22:07]line РНМ: 0000000000092018 [13:22:07]line Версия ККМ: 001 [13:22:07]line ФМ: 0000000000871816 [13:22:07]line ФД: 47434 [13:22:07]line ФПД: 88771455644757 [13:22:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132226&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47434&fm=88771455644757&tin=02508201610067®Number=0000000000092018&sum=8000 [13:22:07]line 0 [13:22:07]Connected sock=11 [13:22:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 36 01 00 00 B4 54 2E 01 B7 44 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 92 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4A B9 00 00 35 04 06 00 50 BC B7 14 74 55 98 4A 36 A1 F6 5B 85 06 [13:22:07]written 0, free lines is 4095 [13:22:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 6F A8 47 00 0A CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4A B9 00 00 F4 03 04 00 21 53 F1 65 B6 04 01 00 00 CA A7 25 6F C6 53 D2 0F [13:22:07]CommunicateWithHost err = 0 [13:22:07]CheckOFDResponse [13:22:07]1017 (14) - 77093643461234 [13:22:07]1041 (16) - 0000000000871816 [13:22:07]1040 (4) - 47434 [13:22:07]1012 (4) - 13.03.2024 07:17 [13:22:07]1206 (1) - 0 [13:22:07]OFD Sender: Remove packet 47434 [13:22:07]ProducePacketName [13:22:07]name=ofd_packets/00047434 [13:22:07]NVStorageDeleteData [13:22:07]Write to MH i2c: 01 00 00 6D 70 DD [13:22:07]Write i2c OK [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: 01 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: 01 07 00 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: 01 07 00 6D 70 00 00 00 00 00 C6 0C B6 [13:22:07]RasterBufferAndPrint [13:22:07]line [13:22:07]line [13:22:07]line [13:22:07]line [13:22:07]line [13:22:07]written 0, free lines is 3277 [13:22:07]MH_Cut [13:22:07]Write to MH i2c: D1 01 00 74 70 01 B6 [13:22:07]Write i2c OK [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: D1 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: D1 01 00 [13:22:07]MH_I2C_Read... [13:22:07]Read from MH i2c: D1 01 00 74 70 00 B5 [13:22:07]Write to MH i2c: 01 00 00 75 70 E5 [13:22:07]Write i2c OK [13:22:07]MH_I2C_Read... [13:22:08]OFD Sender: No OFD packet to send [13:22:08]*** Cut start [13:22:08]*** Purtial cut [13:22:08]*** Stage 1: CUTSNS_PIN = 1 [13:22:08]Read from MH i2c: 01 [13:22:08]MH_I2C_Read... [13:22:08]*** Stop cut motor [13:22:08]*** Cut end [13:22:08]Read from MH i2c: 01 07 00 [13:22:08]MH_I2C_Read... [13:22:08]Read from MH i2c: 01 07 00 75 70 00 00 00 00 00 FF 0F FA [13:22:08]process_action close_receipt done [13:22:08]requested_data is exist [13:22:08]produce_requested_data [13:22:08]requested_item fm.sn is exist - process it [13:22:08]wFMCommunicate request_size=4 [13:22:08]MH_SAM_APDU [13:22:08]CAPDU: 80 11 00 00 [13:22:08]Write to MH i2c: E2 08 00 76 70 80 11 00 00 00 00 00 00 60 [13:22:08]Write i2c OK [13:22:08]MH_I2C_Read... [13:22:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:09]Read from MH i2c: E2 [13:22:09]MH_I2C_Read... [13:22:09]Read from MH i2c: E2 17 00 [13:22:09]MH_I2C_Read... [13:22:09]Read from MH i2c: E2 17 00 76 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B2 [13:22:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:22:09]wFMCommunicate OK [13:22:09]requested_item fd.num is exist - process it [13:22:09]SAM_PROTO_GetFieldsCounters [13:22:09]wFMCommunicate request_size=4 [13:22:09]MH_SAM_APDU [13:22:09]CAPDU: 80 13 00 00 [13:22:09]Write to MH i2c: E2 08 00 77 70 80 13 00 00 00 00 00 00 63 [13:22:09]Write i2c OK [13:22:09]MH_I2C_Read... [13:22:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:09]Read from MH i2c: E2 [13:22:09]MH_I2C_Read... [13:22:09]Read from MH i2c: E2 62 00 [13:22:09]MH_I2C_Read... [13:22:09]Read from MH i2c: E2 62 00 77 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4A B9 00 00 0E 04 04 00 3B 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 FF [13:22:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4A B9 00 00 0E 04 04 00 3B 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 [13:22:09]wFMCommunicate OK [13:22:09]SAM_PROTO_GetFieldsCounters done [13:22:09]requested_item shift.num is exist - process it [13:22:09]requested_item shift.opened is exist - process it [13:22:09]req_shift_opened [13:22:09]FM_GetShiftState [13:22:09]SAM_PROTO_GetShiftState [13:22:09]wFMCommunicate request_size=4 [13:22:09]MH_SAM_APDU [13:22:09]CAPDU: 80 13 01 00 [13:22:09]Write to MH i2c: E2 08 00 78 70 80 13 01 00 00 00 00 00 65 [13:22:09]Write i2c OK [13:22:09]MH_I2C_Read... [13:22:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:09]Read from MH i2c: E2 [13:22:09]MH_I2C_Read... [13:22:09]Read from MH i2c: E2 0E 00 [13:22:09]MH_I2C_Read... [13:22:09]Read from MH i2c: E2 0E 00 78 70 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 59 [13:22:09]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:22:09]wFMCommunicate OK [13:22:09]SAM_PROTO_GetShiftState done [13:22:09]FM_GetShiftState done [13:22:09]req_shift_opened done [13:22:09]requested_item shift.open_date is exist - process it [13:22:09]req_shift_open_date [13:22:09]req_shift_open_date done [13:22:09]produce_requested_data done [13:22:09]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47434,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:22:09]process_action_free close_receipt [13:22:09]json_value_free [13:22:09]json_value_free done [13:22:09]process_json_proto returns [13:22:09]Send response to host [13:22:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47434,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:22:09]free response buf [13:22:09]execute_script done [13:22:09]execute_script returns [13:22:09]free content buf [13:22:09]Sock 9.Close socket [13:22:09]Sock 9.Thread stoped [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:13]accept exits with 7 [13:23:13]New connection [13:23:13]New thread 3066596708 created [13:23:13]Thread 3066453348 joined [13:23:13]Waiting for new connection... [13:23:13] Sock 7.Parse request [13:23:13]Sock 7.Check first char [13:23:13]Sock 7.First char is OK [13:23:13]request: POST /json_proto HTTP/1.0 [13:23:13]Method: POST [13:23:13]URL: /json_proto [13:23:13]Method is POST - this is cgi request [13:23:13]url: /json_proto [13:23:13]query_string will be loaded in cgi processing [13:23:13]execute_cgi json_proto POST (null) [13:23:13]execute_cgi path=json_proto method=POST [13:23:13]POST find Content-Length [13:23:13]Host: 172.17.32.68:8080 [13:23:13]Content-Length: 620 [13:23:13]Content-Type: application/json [13:23:13] [13:23:13]POST finish read [13:23:13]Found Content-Length = 620 [13:23:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242342", "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" ] } } [13:23:13]execute_script... [13:23: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)242342", "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" ] } } [13:23:13]POST & json_proto [13:23:13]process_json_proto [13:23:13]json parsed OK: [13:23:13]protocol is kg_v1.0 [13:23:13]action value=close_receipt [13:23:13]process_action close_receipt [13:23:13]cmd_close_receipt [13:23:13]MH_GetDate [13:23:13]Write to MH i2c: F0 00 00 79 70 D8 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: F0 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: F0 09 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: F0 09 00 79 70 00 D6 A8 F1 65 0A 64 6E 65 F6 [13:23:13]GetLastDocTimeStamp 1710336146 [13:23:13]current date 1710336214 [13:23:13]FM_GetShiftState [13:23:13]SAM_PROTO_GetShiftState [13:23:13]wFMCommunicate request_size=4 [13:23:13]MH_SAM_APDU [13:23:13]CAPDU: 80 13 01 00 [13:23:13]Write to MH i2c: E2 08 00 7A 70 80 13 01 00 00 00 00 00 67 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:13]Read from MH i2c: E2 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 0E 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 0E 00 7A 70 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 5B [13:23:13]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:23:13]wFMCommunicate OK [13:23:13]SAM_PROTO_GetShiftState done [13:23:13]FM_GetShiftState done [13:23:13]opened in 1710288804 [13:23:13]opened+sec_in_day 1710375204 [13:23:13]quantity*price = 13500 [13:23:13]sum+1 = 13501 [13:23:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 23 13.03.2024 13:23 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47435 ФПД: 11379664027187 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132334&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47435&fm=11379664027187&tin=02508201610067®Number=0000000000092018&sum=13500 0 [13:23:14]StoreToDocumentArchive [13:23:14]shift 315 fd 47435 [13:23:14]save to /storage/0315/doc_00047435 [13:23:14]save last doc name /storage/0315/doc_00047435 to /storage/kkm_last_doc_name [13:23:14]save OK [13:23:14]Clear old archive folders... [13:23:14]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:23:14]tlvbuf is 003CA900 [13:23:14]SAM_PROTO_ClearQueue [13:23:14]wFMCommunicate request_size=4 [13:23:14]MH_SAM_APDU [13:23:14]CAPDU: 80 09 00 00 [13:23:14]Write to MH i2c: E2 08 00 87 70 80 09 00 00 00 00 00 00 69 [13:23:14]Write i2c OK [13:23:14]MH_I2C_Read... [13:23:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:14]Read from MH i2c: E2 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 87 70 00 90 00 6B [13:23:14]RAPDU: 90 00 [13:23:14]wFMCommunicate OK [13:23:14]SAM_PROTO_ClearQueue done [13:23:14]KKMCreateOFDPacket [13:23:14]OFDProtocolAddRootSTLVToBuf [13:23:14]FM_MakeSignedData [13:23:14]FM_MakeSignedData [13:23:14]SAM_PROTO_SignData [13:23:14]wFMCommunicate request_size=4 [13:23:14]MH_SAM_APDU [13:23:14]CAPDU: 80 0D 01 02 [13:23:14]Write to MH i2c: E2 08 00 88 70 80 0D 01 02 00 00 00 00 71 [13:23:14]Write i2c OK [13:23:14]MH_I2C_Read... [13:23:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:14]Read from MH i2c: E2 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 88 70 00 90 00 6C [13:23:14]RAPDU: 90 00 [13:23:14]wFMCommunicate OK [13:23:14]wFMCommunicate request_size=255 [13:23:14]MH_SAM_APDU [13:23:14]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 17 00 00 00 F4 03 04 00 D6 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 [13:23:14]Write to MH i2c: E2 02 01 89 70 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 17 00 00 00 F4 03 04 00 D6 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 4E [13:23:14]Write i2c OK [13:23:14]MH_I2C_Read... [13:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:14]Read from MH i2c: E2 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 89 70 00 90 00 6D [13:23:14]RAPDU: 90 00 [13:23:14]wFMCommunicate OK [13:23:14]wFMCommunicate request_size=31 [13:23:14]MH_SAM_APDU [13:23:14]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 31 36 10 04 04 00 4B B9 00 00 35 04 06 00 0A 59 88 D4 FE 33 [13:23:14]Write to MH i2c: E2 22 00 8A 70 80 0D 02 02 1A 00 30 30 38 37 31 38 31 36 10 04 04 00 4B B9 00 00 35 04 06 00 0A 59 88 D4 FE 33 00 00 92 [13:23:14]Write i2c OK [13:23:14]MH_I2C_Read... [13:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:14]Read from MH i2c: E2 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 [13:23:14]MH_I2C_Read... [13:23:14]Read from MH i2c: E2 03 00 8A 70 00 90 00 6E [13:23:14]RAPDU: 90 00 [13:23:14]wFMCommunicate OK [13:23:14]wFMCommunicate request_size=4 [13:23:14]MH_SAM_APDU [13:23:14]CAPDU: 80 0D 03 02 [13:23:14]Write to MH i2c: E2 08 00 8B 70 80 0D 03 02 00 00 00 00 76 [13:23:14]Write i2c OK [13:23:14]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 0B 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 0B 00 8B 70 00 CB 56 99 7E 26 BA 55 44 90 00 28 [13:23:15]RAPDU: CB 56 99 7E 26 BA 55 44 90 00 [13:23:15]wFMCommunicate OK [13:23:15]SAM_PROTO_SignData done [13:23:15]FM_MakeSignedData done [13:23:15]CreateOFDProtocolMessage [13:23:15]wFMCommunicate request_size=4 [13:23:15]MH_SAM_APDU [13:23:15]CAPDU: 80 11 00 00 [13:23:15]Write to MH i2c: E2 08 00 8C 70 80 11 00 00 00 00 00 00 76 [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 17 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 17 00 8C 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C8 [13:23:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:23:15]wFMCommunicate OK [13:23:15]CreateOFDProtocolMessage done [13:23:15]OFDSenderStorePacket 47435 [13:23:15]StoreOFDPacket docnum=47435 [13:23:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 97 50 1C 01 B1 C5 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 17 00 00 00 F4 03 04 00 D6 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4B B9 00 00 35 04 06 00 0A 59 88 D4 FE 33 CB 56 99 7E 26 BA 55 44 [13:23:15]CheckFolder [13:23:15]dirname=/storage/ofd_packets [13:23:15]CheckFolder done [13:23:15]ProducePacketName [13:23:15]name=ofd_packets/00047435 [13:23:15]NVStorageSaveData ofd_packets/00047435 [13:23:15]File name is /storage/ofd_packets/00047435 [13:23:15]Write 322 bytes [13:23:15]NVStorageSaveData done [13:23:15]OFDSenderStorePacket done [13:23:15]KKMCreateOFDPacket done [13:23:15]NVStorageSaveData kkm_last_timestamp [13:23:15]File name is /storage/kkm_last_timestamp [13:23:15]Write 4 bytes [13:23:15]NVStorageSaveData done [13:23:15]ExternCall_PrintAddStr [13:23:15]wPrintStart [13:23:15]Write to MH i2c: 01 00 00 8D 70 FD [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 07 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 07 00 8D 70 00 00 00 00 00 FF 0F 12 [13:23:15]RasterBufferAndPrint [13:23:15]line Счет N : (3)242342 [13:23:15]line ИНН: 02508201610067 [13:23:15]line Контрольно-Кассовый Чек [13:23:15]line ПРОДАЖА [13:23:15]line Товар: 48745000 [13:23:15]line Сигареты Winston Purple Mix [13:23:15]line 1.000 * 135.00 [13:23:15]line = 135.00 [13:23:15]line НДС 12% НСП 1% [13:23:15]line > о реализуемом товаре [13:23:15]line ИТОГО: 135.00 [13:23:15]line НСП 1% : 1.19 [13:23:15]line НДС 12% : 14.34 [13:23:15]line Наличными: 135.00 [13:23:15]line Безнал.: 0.00 [13:23:15]line Место: АЗС № 15 "Партнер Нефть" [13:23:15]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:23:15]line СНО: Общий режим [13:23:15]line Чек 23 13.03.2024 13:23 [13:23:15]line Смена: 315 ФФД: 1.0 [13:23:15]line ЗНМ: 0300000097 [13:23:15]line РНМ: 0000000000092018 [13:23:15]line Версия ККМ: 001 [13:23:15]line ФМ: 0000000000871816 [13:23:15]line ФД: 47435 [13:23:15]line ФПД: 11379664027187 [13:23:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132334&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47435&fm=11379664027187&tin=02508201610067®Number=0000000000092018&sum=13500 [13:23:15]line 0 [13:23:15]OFD Sender: Processing packet 47435 [packets to send 8, broken 7] [13:23:15]ProducePacketName [13:23:15]name=ofd_packets/00047435 [13:23:15]OFD Sender: To server: pG, [13:23:15]CommunicateWithHost lk.salyk.kg:30040 [13:23:15]ConnectInit lk.salyk.kg [13:23:15]written 0, free lines is 4095 [13:23:15]Connected sock=10 [13:23:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 97 50 1C 01 B1 C5 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 17 00 00 00 F4 03 04 00 D6 A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4B B9 00 00 35 04 06 00 0A 59 88 D4 FE 33 CB 56 99 7E 26 BA 55 44 [13:23:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 80 C6 47 00 CF C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4B B9 00 00 F4 03 04 00 65 53 F1 65 B6 04 01 00 00 F4 60 01 F4 27 E6 6C 23 [13:23:15]CommunicateWithHost err = 0 [13:23:15]CheckOFDResponse [13:23:15]1017 (14) - 77093643461234 [13:23:15]1041 (16) - 0000000000871816 [13:23:15]1040 (4) - 47435 [13:23:15]1012 (4) - 13.03.2024 07:19 [13:23:15]1206 (1) - 0 [13:23:15]OFD Sender: Remove packet 47435 [13:23:15]ProducePacketName [13:23:15]name=ofd_packets/00047435 [13:23:15]NVStorageDeleteData [13:23:15]Write to MH i2c: 01 00 00 B5 70 25 [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 07 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 07 00 B5 70 00 00 00 00 00 E0 0C 18 [13:23:15]RasterBufferAndPrint [13:23:15]line [13:23:15]line [13:23:15]line [13:23:15]line [13:23:15]line [13:23:15]written 0, free lines is 3302 [13:23:15]MH_Cut [13:23:15]Write to MH i2c: D1 01 00 BC 70 01 FE [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: D1 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: D1 01 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: D1 01 00 BC 70 00 FD [13:23:15]Write to MH i2c: 01 00 00 BD 70 2D [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:16]OFD Sender: No OFD packet to send [13:23:16]*** Cut start [13:23:16]*** Purtial cut [13:23:16]*** Stage 1: CUTSNS_PIN = 1 [13:23:16]Read from MH i2c: 01 [13:23:16]MH_I2C_Read... [13:23:16]*** Stop cut motor [13:23:16]*** Cut end [13:23:16]Read from MH i2c: 01 07 00 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: 01 07 00 BD 70 00 00 00 00 00 FF 0F 42 [13:23:16]process_action close_receipt done [13:23:16]requested_data is exist [13:23:16]produce_requested_data [13:23:16]requested_item fm.sn is exist - process it [13:23:16]wFMCommunicate request_size=4 [13:23:16]MH_SAM_APDU [13:23:16]CAPDU: 80 11 00 00 [13:23:16]Write to MH i2c: E2 08 00 BE 70 80 11 00 00 00 00 00 00 A8 [13:23:16]Write i2c OK [13:23:16]MH_I2C_Read... [13:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:16]Read from MH i2c: E2 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: E2 17 00 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: E2 17 00 BE 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FA [13:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:23:16]wFMCommunicate OK [13:23:16]requested_item fd.num is exist - process it [13:23:16]SAM_PROTO_GetFieldsCounters [13:23:16]wFMCommunicate request_size=4 [13:23:16]MH_SAM_APDU [13:23:16]CAPDU: 80 13 00 00 [13:23:16]Write to MH i2c: E2 08 00 BF 70 80 13 00 00 00 00 00 00 AB [13:23:16]Write i2c OK [13:23:16]MH_I2C_Read... [13:23:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:17]Read from MH i2c: E2 [13:23:17]MH_I2C_Read... [13:23:17]Read from MH i2c: E2 62 00 [13:23:17]MH_I2C_Read... [13:23:17]Read from MH i2c: E2 62 00 BF 70 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4B B9 00 00 0E 04 04 00 3B 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 4B [13:23:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4B B9 00 00 0E 04 04 00 3B 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 [13:23:17]wFMCommunicate OK [13:23:17]SAM_PROTO_GetFieldsCounters done [13:23:17]requested_item shift.num is exist - process it [13:23:17]requested_item shift.opened is exist - process it [13:23:17]req_shift_opened [13:23:17]FM_GetShiftState [13:23:17]SAM_PROTO_GetShiftState [13:23:17]wFMCommunicate request_size=4 [13:23:17]MH_SAM_APDU [13:23:17]CAPDU: 80 13 01 00 [13:23:17]Write to MH i2c: E2 08 00 C0 70 80 13 01 00 00 00 00 00 AD [13:23:17]Write i2c OK [13:23:17]MH_I2C_Read... [13:23:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:17]Read from MH i2c: E2 [13:23:17]MH_I2C_Read... [13:23:17]Read from MH i2c: E2 0E 00 [13:23:17]MH_I2C_Read... [13:23:17]Read from MH i2c: E2 0E 00 C0 70 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 A1 [13:23:17]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:23:17]wFMCommunicate OK [13:23:17]SAM_PROTO_GetShiftState done [13:23:17]FM_GetShiftState done [13:23:17]req_shift_opened done [13:23:17]requested_item shift.open_date is exist - process it [13:23:17]req_shift_open_date [13:23:17]req_shift_open_date done [13:23:17]produce_requested_data done [13:23:17]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47435,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:23:17]process_action_free close_receipt [13:23:17]json_value_free [13:23:17]json_value_free done [13:23:17]process_json_proto returns [13:23:17]Send response to host [13:23:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47435,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:23:17]free response buf [13:23:17]execute_script done [13:23:17]execute_script returns [13:23:17]free content buf [13:23:17]Sock 7.Close socket [13:23:17]Sock 7.Thread stoped [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:54]accept exits with 9 [13:23:54]New connection [13:23:54]New thread 3066453348 created [13:23:54]Thread 3066596708 joined [13:23:54]Waiting for new connection... [13:23:54] Sock 9.Parse request [13:23:54]Sock 9.Check first char [13:23:54]Sock 9.First char is OK [13:23:54]request: POST /json_proto HTTP/1.0 [13:23:54]Method: POST [13:23:54]URL: /json_proto [13:23:54]Method is POST - this is cgi request [13:23:54]url: /json_proto [13:23:54]query_string will be loaded in cgi processing [13:23:54]execute_cgi json_proto POST (null) [13:23:54]execute_cgi path=json_proto method=POST [13:23:54]POST find Content-Length [13:23:54]Host: 172.17.32.68:8080 [13:23:54]Content-Length: 652 [13:23:54]Content-Type: application/json [13:23:54] [13:23:54]POST finish read [13:23:54]Found Content-Length = 652 [13:23:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242343", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:54]execute_script... [13:23:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242343", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:54]POST & json_proto [13:23:54]process_json_proto [13:23:54]json parsed OK: [13:23:54]protocol is kg_v1.0 [13:23:54]action value=close_receipt [13:23:54]process_action close_receipt [13:23:54]cmd_close_receipt [13:23:54]MH_GetDate [13:23:54]Write to MH i2c: F0 00 00 C1 70 20 [13:23:54]Write i2c OK [13:23:54]MH_I2C_Read... [13:23:54]Read from MH i2c: F0 [13:23:54]MH_I2C_Read... [13:23:54]Read from MH i2c: F0 09 00 [13:23:54]MH_I2C_Read... [13:23:54]Read from MH i2c: F0 09 00 C1 70 00 FF A8 F1 65 0A 64 6E 65 67 [13:23:54]GetLastDocTimeStamp 1710336214 [13:23:54]current date 1710336255 [13:23:54]FM_GetShiftState [13:23:54]SAM_PROTO_GetShiftState [13:23:54]wFMCommunicate request_size=4 [13:23:54]MH_SAM_APDU [13:23:54]CAPDU: 80 13 01 00 [13:23:54]Write to MH i2c: E2 08 00 C2 70 80 13 01 00 00 00 00 00 AF [13:23:54]Write i2c OK [13:23:54]MH_I2C_Read... [13:23:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:54]Read from MH i2c: E2 [13:23:54]MH_I2C_Read... [13:23:54]Read from MH i2c: E2 0E 00 [13:23:54]MH_I2C_Read... [13:23:54]Read from MH i2c: E2 0E 00 C2 70 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 A3 [13:23:54]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:23:54]wFMCommunicate OK [13:23:54]SAM_PROTO_GetShiftState done [13:23:54]FM_GetShiftState done [13:23:54]opened in 1710288804 [13:23:54]opened+sec_in_day 1710375204 [13:23:54]quantity*price = 6300 [13:23:54]sum+1 = 6301 [13:23:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 63.00 НСП 1% : 0.56 НДС 12% : 6.69 Наличными: 63.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 24 13.03.2024 13:24 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47436 ФПД: 116549281569495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132415&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47436&fm=116549281569495&tin=02508201610067®Number=0000000000092018&sum=6300 0 [13:23:55]StoreToDocumentArchive [13:23:55]shift 315 fd 47436 [13:23:55]save to /storage/0315/doc_00047436 [13:23:55]save last doc name /storage/0315/doc_00047436 to /storage/kkm_last_doc_name [13:23:55]save OK [13:23:55]Clear old archive folders... [13:23:55]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:23:55]tlvbuf is 0042A200 [13:23:55]SAM_PROTO_ClearQueue [13:23:55]wFMCommunicate request_size=4 [13:23:55]MH_SAM_APDU [13:23:55]CAPDU: 80 09 00 00 [13:23:55]Write to MH i2c: E2 08 00 CF 70 80 09 00 00 00 00 00 00 B1 [13:23:55]Write i2c OK [13:23:55]MH_I2C_Read... [13:23:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:55]Read from MH i2c: E2 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 CF 70 00 90 00 B3 [13:23:55]RAPDU: 90 00 [13:23:55]wFMCommunicate OK [13:23:55]SAM_PROTO_ClearQueue done [13:23:55]KKMCreateOFDPacket [13:23:55]OFDProtocolAddRootSTLVToBuf [13:23:55]FM_MakeSignedData [13:23:55]FM_MakeSignedData [13:23:55]SAM_PROTO_SignData [13:23:55]wFMCommunicate request_size=4 [13:23:55]MH_SAM_APDU [13:23:55]CAPDU: 80 0D 01 02 [13:23:55]Write to MH i2c: E2 08 00 D0 70 80 0D 01 02 00 00 00 00 B9 [13:23:55]Write i2c OK [13:23:55]MH_I2C_Read... [13:23:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:55]Read from MH i2c: E2 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 D0 70 00 90 00 B4 [13:23:55]RAPDU: 90 00 [13:23:55]wFMCommunicate OK [13:23:55]wFMCommunicate request_size=255 [13:23:55]MH_SAM_APDU [13:23:55]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FF A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [13:23:55]Write to MH i2c: E2 02 01 D1 70 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FF A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 96 [13:23:55]Write i2c OK [13:23:55]MH_I2C_Read... [13:23:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:55]Read from MH i2c: E2 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 D1 70 00 90 00 B5 [13:23:55]RAPDU: 90 00 [13:23:55]wFMCommunicate OK [13:23:55]wFMCommunicate request_size=34 [13:23:55]MH_SAM_APDU [13:23:55]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4C B9 00 00 35 04 06 00 6A 00 3E 86 DA D7 [13:23:55]Write to MH i2c: E2 25 00 D2 70 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4C B9 00 00 35 04 06 00 6A 00 3E 86 DA D7 00 00 60 [13:23:55]Write i2c OK [13:23:55]MH_I2C_Read... [13:23:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:55]Read from MH i2c: E2 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 03 00 D2 70 00 90 00 B6 [13:23:55]RAPDU: 90 00 [13:23:55]wFMCommunicate OK [13:23:55]wFMCommunicate request_size=4 [13:23:55]MH_SAM_APDU [13:23:55]CAPDU: 80 0D 03 02 [13:23:55]Write to MH i2c: E2 08 00 D3 70 80 0D 03 02 00 00 00 00 BE [13:23:55]Write i2c OK [13:23:55]MH_I2C_Read... [13:23:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:55]Read from MH i2c: E2 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 0B 00 [13:23:55]MH_I2C_Read... [13:23:55]Read from MH i2c: E2 0B 00 D3 70 00 16 66 6A FE 1B 1F D5 B8 90 00 6A [13:23:55]RAPDU: 16 66 6A FE 1B 1F D5 B8 90 00 [13:23:55]wFMCommunicate OK [13:23:55]SAM_PROTO_SignData done [13:23:55]FM_MakeSignedData done [13:23:55]CreateOFDProtocolMessage [13:23:55]wFMCommunicate request_size=4 [13:23:55]MH_SAM_APDU [13:23:55]CAPDU: 80 11 00 00 [13:23:55]Write to MH i2c: E2 08 00 D4 70 80 11 00 00 00 00 00 00 BE [13:23:55]Write i2c OK [13:23:55]MH_I2C_Read... [13:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:56]Read from MH i2c: E2 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: E2 17 00 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: E2 17 00 D4 70 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 10 [13:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:23:56]wFMCommunicate OK [13:23:56]CreateOFDProtocolMessage done [13:23:56]OFDSenderStorePacket 47436 [13:23:56]StoreOFDPacket docnum=47436 [13:23:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 28 34 1F 01 D0 0A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FF A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4C B9 00 00 35 04 06 00 6A 00 3E 86 DA D7 16 66 6A FE 1B 1F D5 B8 [13:23:56]CheckFolder [13:23:56]dirname=/storage/ofd_packets [13:23:56]CheckFolder done [13:23:56]ProducePacketName [13:23:56]name=ofd_packets/00047436 [13:23:56]NVStorageSaveData ofd_packets/00047436 [13:23:56]File name is /storage/ofd_packets/00047436 [13:23:56]Write 325 bytes [13:23:56]NVStorageSaveData done [13:23:56]OFDSenderStorePacket done [13:23:56]KKMCreateOFDPacket done [13:23:56]NVStorageSaveData kkm_last_timestamp [13:23:56]File name is /storage/kkm_last_timestamp [13:23:56]Write 4 bytes [13:23:56]NVStorageSaveData done [13:23:56]ExternCall_PrintAddStr [13:23:56]wPrintStart [13:23:56]Write to MH i2c: 01 00 00 D5 70 45 [13:23:56]Write i2c OK [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: 01 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: 01 07 00 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: 01 07 00 D5 70 00 00 00 00 00 FF 0F 5A [13:23:56]RasterBufferAndPrint [13:23:56]line Счет N : (3)242343 [13:23:56]line ИНН: 02508201610067 [13:23:56]line Контрольно-Кассовый Чек [13:23:56]line ПРОДАЖА [13:23:56]line Товар: 54491472 [13:23:56]line Напиток Кока-Кола 0,5л [13:23:56]line 1.000 * 63.00 [13:23:56]line = 63.00 [13:23:56]line НДС 12% НСП 1% [13:23:56]line > о реализуемом товаре [13:23:56]line ИТОГО: 63.00 [13:23:56]line НСП 1% : 0.56 [13:23:56]line НДС 12% : 6.69 [13:23:56]line Наличными: 63.00 [13:23:56]line Безнал.: 0.00 [13:23:56]line Место: АЗС № 15 "Партнер Нефть" [13:23:56]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:23:56]line СНО: Общий режим [13:23:56]line Чек 24 13.03.2024 13:24 [13:23:56]line Смена: 315 ФФД: 1.0 [13:23:56]line ЗНМ: 0300000097 [13:23:56]line РНМ: 0000000000092018 [13:23:56]line Версия ККМ: 001 [13:23:56]line ФМ: 0000000000871816 [13:23:56]line ФД: 47436 [13:23:56]line ФПД: 116549281569495 [13:23:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132415&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47436&fm=116549281569495&tin=02508201610067®Number=0000000000092018&sum=6300 [13:23:56]line 0 [13:23:56]OFD Sender: Processing packet 47436 [packets to send 8, broken 7] [13:23:56]ProducePacketName [13:23:56]name=ofd_packets/00047436 [13:23:56]OFD Sender: To server: pG, [13:23:56]CommunicateWithHost lk.salyk.kg:30040 [13:23:56]ConnectInit lk.salyk.kg [13:23:56]written 0, free lines is 4095 [13:23:56]Connected sock=10 [13:23:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 28 34 1F 01 D0 0A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FF A8 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4C B9 00 00 35 04 06 00 6A 00 3E 86 DA D7 16 66 6A FE 1B 1F D5 B8 [13:23:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 65 32 47 00 41 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 31 38 31 36 10 04 04 00 4C B9 00 00 F4 03 04 00 8E 53 F1 65 B6 04 01 00 00 E5 B8 9F 18 1D 62 D0 60 [13:23:56]CommunicateWithHost err = 0 [13:23:56]CheckOFDResponse [13:23:56]1017 (14) - 77093643461234 [13:23:56]1041 (16) - 0000000000871816 [13:23:56]1040 (4) - 47436 [13:23:56]1012 (4) - 13.03.2024 07:19 [13:23:56]1206 (1) - 0 [13:23:56]OFD Sender: Remove packet 47436 [13:23:56]ProducePacketName [13:23:56]name=ofd_packets/00047436 [13:23:56]NVStorageDeleteData [13:23:56]Write to MH i2c: 01 00 00 FD 70 6D [13:23:56]Write i2c OK [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: 01 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: 01 07 00 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: 01 07 00 FD 70 00 00 00 00 00 EE 0C 6E [13:23:56]RasterBufferAndPrint [13:23:56]line [13:23:56]line [13:23:56]line [13:23:56]line [13:23:56]line [13:23:56]written 0, free lines is 3319 [13:23:56]MH_Cut [13:23:56]Write to MH i2c: D1 01 00 04 71 01 47 [13:23:56]Write i2c OK [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: D1 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: D1 01 00 [13:23:56]MH_I2C_Read... [13:23:56]Read from MH i2c: D1 01 00 04 71 00 46 [13:23:56]Write to MH i2c: 01 00 00 05 71 76 [13:23:56]Write i2c OK [13:23:56]MH_I2C_Read... [13:23:57]OFD Sender: No OFD packet to send [13:23:57]*** Cut start [13:23:57]*** Purtial cut [13:23:57]*** Stage 1: CUTSNS_PIN = 1 [13:23:57]Read from MH i2c: 01 [13:23:57]MH_I2C_Read... [13:23:57]*** Stop cut motor [13:23:57]*** Cut end [13:23:57]Read from MH i2c: 01 07 00 [13:23:57]MH_I2C_Read... [13:23:57]Read from MH i2c: 01 07 00 05 71 00 00 00 00 00 FF 0F 8B [13:23:57]process_action close_receipt done [13:23:57]requested_data is exist [13:23:57]produce_requested_data [13:23:57]requested_item fm.sn is exist - process it [13:23:57]wFMCommunicate request_size=4 [13:23:57]MH_SAM_APDU [13:23:57]CAPDU: 80 11 00 00 [13:23:57]Write to MH i2c: E2 08 00 06 71 80 11 00 00 00 00 00 00 F1 [13:23:57]Write i2c OK [13:23:57]MH_I2C_Read... [13:23:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:57]Read from MH i2c: E2 [13:23:57]MH_I2C_Read... [13:23:57]Read from MH i2c: E2 17 00 [13:23:57]MH_I2C_Read... [13:23:57]Read from MH i2c: E2 17 00 06 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 43 [13:23:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:23:57]wFMCommunicate OK [13:23:57]requested_item fd.num is exist - process it [13:23:57]SAM_PROTO_GetFieldsCounters [13:23:57]wFMCommunicate request_size=4 [13:23:57]MH_SAM_APDU [13:23:57]CAPDU: 80 13 00 00 [13:23:57]Write to MH i2c: E2 08 00 07 71 80 13 00 00 00 00 00 00 F4 [13:23:57]Write i2c OK [13:23:57]MH_I2C_Read... [13:23:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:58]Read from MH i2c: E2 [13:23:58]MH_I2C_Read... [13:23:58]Read from MH i2c: E2 62 00 [13:23:58]MH_I2C_Read... [13:23:58]Read from MH i2c: E2 62 00 07 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4C B9 00 00 0E 04 04 00 3B 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 98 [13:23:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4C B9 00 00 0E 04 04 00 3B 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:23:58]wFMCommunicate OK [13:23:58]SAM_PROTO_GetFieldsCounters done [13:23:58]requested_item shift.num is exist - process it [13:23:58]requested_item shift.opened is exist - process it [13:23:58]req_shift_opened [13:23:58]FM_GetShiftState [13:23:58]SAM_PROTO_GetShiftState [13:23:58]wFMCommunicate request_size=4 [13:23:58]MH_SAM_APDU [13:23:58]CAPDU: 80 13 01 00 [13:23:58]Write to MH i2c: E2 08 00 08 71 80 13 01 00 00 00 00 00 F6 [13:23:58]Write i2c OK [13:23:58]MH_I2C_Read... [13:23:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:58]Read from MH i2c: E2 [13:23:58]MH_I2C_Read... [13:23:58]Read from MH i2c: E2 0E 00 [13:23:58]MH_I2C_Read... [13:23:58]Read from MH i2c: E2 0E 00 08 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 EA [13:23:58]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:23:58]wFMCommunicate OK [13:23:58]SAM_PROTO_GetShiftState done [13:23:58]FM_GetShiftState done [13:23:58]req_shift_opened done [13:23:58]requested_item shift.open_date is exist - process it [13:23:58]req_shift_open_date [13:23:58]req_shift_open_date done [13:23:58]produce_requested_data done [13:23:58]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47436,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:23:58]process_action_free close_receipt [13:23:58]json_value_free [13:23:58]json_value_free done [13:23:58]process_json_proto returns [13:23:58]Send response to host [13:23:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47436,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:23:58]free response buf [13:23:58]execute_script done [13:23:58]execute_script returns [13:23:58]free content buf [13:23:58]Sock 9.Close socket [13:23:58]Sock 9.Thread stoped [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:13]accept exits with 7 [13:24:13]New connection [13:24:13]New thread 3066596708 created [13:24:13]Thread 3066453348 joined [13:24:13]Waiting for new connection... [13:24:13] Sock 7.Parse request [13:24:13]Sock 7.Check first char [13:24:13]Sock 7.First char is OK [13:24:13]request: POST /json_proto HTTP/1.0 [13:24:13]Method: POST [13:24:13]URL: /json_proto [13:24:13]Method is POST - this is cgi request [13:24:13]url: /json_proto [13:24:13]query_string will be loaded in cgi processing [13:24:13]execute_cgi json_proto POST (null) [13:24:13]execute_cgi path=json_proto method=POST [13:24:13]POST find Content-Length [13:24:13]Host: 172.17.32.68:8080 [13:24:13]Content-Length: 645 [13:24:13]Content-Type: application/json [13:24:13] [13:24:13]POST finish read [13:24:13]Found Content-Length = 645 [13:24:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242344", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:13]execute_script... [13:24: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)242344", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:13]POST & json_proto [13:24:13]process_json_proto [13:24:13]json parsed OK: [13:24:13]protocol is kg_v1.0 [13:24:13]action value=close_receipt [13:24:13]process_action close_receipt [13:24:13]cmd_close_receipt [13:24:13]MH_GetDate [13:24:13]Write to MH i2c: F0 00 00 09 71 69 [13:24:13]Write i2c OK [13:24:13]MH_I2C_Read... [13:24:13]Read from MH i2c: F0 [13:24:13]MH_I2C_Read... [13:24:13]Read from MH i2c: F0 09 00 [13:24:13]MH_I2C_Read... [13:24:13]Read from MH i2c: F0 09 00 09 71 00 12 A9 F1 65 0A 64 6E 65 C4 [13:24:13]GetLastDocTimeStamp 1710336255 [13:24:13]current date 1710336274 [13:24:13]FM_GetShiftState [13:24:13]SAM_PROTO_GetShiftState [13:24:13]wFMCommunicate request_size=4 [13:24:13]MH_SAM_APDU [13:24:13]CAPDU: 80 13 01 00 [13:24:13]Write to MH i2c: E2 08 00 0A 71 80 13 01 00 00 00 00 00 F8 [13:24:13]Write i2c OK [13:24:13]MH_I2C_Read... [13:24:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:13]Read from MH i2c: E2 [13:24:13]MH_I2C_Read... [13:24:13]Read from MH i2c: E2 0E 00 [13:24:13]MH_I2C_Read... [13:24:13]Read from MH i2c: E2 0E 00 0A 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 EC [13:24:13]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:24:13]wFMCommunicate OK [13:24:13]SAM_PROTO_GetShiftState done [13:24:13]FM_GetShiftState done [13:24:13]opened in 1710288804 [13:24:13]opened+sec_in_day 1710375204 [13:24:13]quantity*price = 1000 [13:24:13]sum+1 = 1001 [13:24:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 25 13.03.2024 13:24 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47437 ФПД: 146752335048041 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132434&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47437&fm=146752335048041&tin=02508201610067®Number=0000000000092018&sum=1000 0 [13:24:14]StoreToDocumentArchive [13:24:14]shift 315 fd 47437 [13:24:14]save to /storage/0315/doc_00047437 [13:24:14]save last doc name /storage/0315/doc_00047437 to /storage/kkm_last_doc_name [13:24:14]save OK [13:24:14]Clear old archive folders... [13:24:14]ProcessDocumentItem done err = 0, tmpTLVsize=280 [13:24:14]tlvbuf is 00372310 [13:24:14]SAM_PROTO_ClearQueue [13:24:14]wFMCommunicate request_size=4 [13:24:14]MH_SAM_APDU [13:24:14]CAPDU: 80 09 00 00 [13:24:14]Write to MH i2c: E2 08 00 17 71 80 09 00 00 00 00 00 00 FA [13:24:14]Write i2c OK [13:24:14]MH_I2C_Read... [13:24:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:14]Read from MH i2c: E2 [13:24:14]MH_I2C_Read... [13:24:14]Read from MH i2c: E2 03 00 [13:24:14]MH_I2C_Read... [13:24:14]Read from MH i2c: E2 03 00 17 71 00 90 00 FC [13:24:14]RAPDU: 90 00 [13:24:14]wFMCommunicate OK [13:24:14]SAM_PROTO_ClearQueue done [13:24:14]KKMCreateOFDPacket [13:24:14]OFDProtocolAddRootSTLVToBuf [13:24:14]FM_MakeSignedData [13:24:14]FM_MakeSignedData [13:24:14]SAM_PROTO_SignData [13:24:14]wFMCommunicate request_size=4 [13:24:14]MH_SAM_APDU [13:24:14]CAPDU: 80 0D 01 02 [13:24:14]Write to MH i2c: E2 08 00 18 71 80 0D 01 02 00 00 00 00 02 [13:24:14]Write i2c OK [13:24:14]MH_I2C_Read... [13:24:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:14]Read from MH i2c: E2 [13:24:14]MH_I2C_Read... [13:24:14]Read from MH i2c: E2 03 00 [13:24:14]MH_I2C_Read... [13:24:14]Read from MH i2c: E2 03 00 18 71 00 90 00 FD [13:24:14]RAPDU: 90 00 [13:24:14]wFMCommunicate OK [13:24:14]wFMCommunicate request_size=255 [13:24:14]MH_SAM_APDU [13:24:14]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 12 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 [13:24:14]Write to MH i2c: E2 02 01 19 71 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 12 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 00 00 A7 [13:24:14]Write i2c OK [13:24:14]MH_I2C_Read... [13:24:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:14]Read from MH i2c: E2 [13:24:14]MH_I2C_Read... [13:24:14]Read from MH i2c: E2 03 00 [13:24:14]MH_I2C_Read... [13:24:14]Read from MH i2c: E2 03 00 19 71 00 90 00 FE [13:24:14]RAPDU: 90 00 [13:24:14]wFMCommunicate OK [13:24:14]wFMCommunicate request_size=39 [13:24:14]MH_SAM_APDU [13:24:14]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4D B9 00 00 35 04 06 00 85 78 70 CC ED 69 [13:24:14]Write to MH i2c: E2 2A 00 1A 71 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4D B9 00 00 35 04 06 00 85 78 70 CC ED 69 00 00 54 [13:24:14]Write i2c OK [13:24:14]MH_I2C_Read... [13:24:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:15]Read from MH i2c: E2 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: E2 03 00 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: E2 03 00 1A 71 00 90 00 FF [13:24:15]RAPDU: 90 00 [13:24:15]wFMCommunicate OK [13:24:15]wFMCommunicate request_size=4 [13:24:15]MH_SAM_APDU [13:24:15]CAPDU: 80 0D 03 02 [13:24:15]Write to MH i2c: E2 08 00 1B 71 80 0D 03 02 00 00 00 00 07 [13:24:15]Write i2c OK [13:24:15]MH_I2C_Read... [13:24:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:15]Read from MH i2c: E2 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: E2 0B 00 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: E2 0B 00 1B 71 00 33 D5 B3 55 B0 6A 63 2A 90 00 BF [13:24:15]RAPDU: 33 D5 B3 55 B0 6A 63 2A 90 00 [13:24:15]wFMCommunicate OK [13:24:15]SAM_PROTO_SignData done [13:24:15]FM_MakeSignedData done [13:24:15]CreateOFDProtocolMessage [13:24:15]wFMCommunicate request_size=4 [13:24:15]MH_SAM_APDU [13:24:15]CAPDU: 80 11 00 00 [13:24:15]Write to MH i2c: E2 08 00 1C 71 80 11 00 00 00 00 00 00 07 [13:24:15]Write i2c OK [13:24:15]MH_I2C_Read... [13:24:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:15]Read from MH i2c: E2 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: E2 17 00 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: E2 17 00 1C 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 59 [13:24:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:24:15]wFMCommunicate OK [13:24:15]CreateOFDProtocolMessage done [13:24:15]OFDSenderStorePacket 47437 [13:24:15]StoreOFDPacket docnum=47437 [13:24:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2C 01 00 00 FF B8 24 01 86 F7 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 12 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4D B9 00 00 35 04 06 00 85 78 70 CC ED 69 33 D5 B3 55 B0 6A 63 2A [13:24:15]CheckFolder [13:24:15]dirname=/storage/ofd_packets [13:24:15]CheckFolder done [13:24:15]ProducePacketName [13:24:15]name=ofd_packets/00047437 [13:24:15]NVStorageSaveData ofd_packets/00047437 [13:24:15]File name is /storage/ofd_packets/00047437 [13:24:15]Write 330 bytes [13:24:15]NVStorageSaveData done [13:24:15]OFDSenderStorePacket done [13:24:15]KKMCreateOFDPacket done [13:24:15]NVStorageSaveData kkm_last_timestamp [13:24:15]File name is /storage/kkm_last_timestamp [13:24:15]Write 4 bytes [13:24:15]NVStorageSaveData done [13:24:15]ExternCall_PrintAddStr [13:24:15]wPrintStart [13:24:15]Write to MH i2c: 01 00 00 1D 71 8E [13:24:15]Write i2c OK [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: 01 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: 01 07 00 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: 01 07 00 1D 71 00 00 00 00 00 FF 0F A3 [13:24:15]RasterBufferAndPrint [13:24:15]line Счет N : (3)242344 [13:24:15]line ИНН: 02508201610067 [13:24:15]line Контрольно-Кассовый Чек [13:24:15]line ПРОДАЖА [13:24:15]line Товар: 46226617 [13:24:15]line Mentos ПВ Нежная Мята 6*100*2г [13:24:15]line 1.000 * 10.00 [13:24:15]line = 10.00 [13:24:15]line НДС 12% НСП 1% [13:24:15]line > о реализуемом товаре [13:24:15]line ИТОГО: 10.00 [13:24:15]line НСП 1% : 0.09 [13:24:15]line НДС 12% : 1.06 [13:24:15]line Наличными: 10.00 [13:24:15]line Безнал.: 0.00 [13:24:15]line Место: АЗС № 15 "Партнер Нефть" [13:24:15]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:24:15]line СНО: Общий режим [13:24:15]line Чек 25 13.03.2024 13:24 [13:24:15]line Смена: 315 ФФД: 1.0 [13:24:15]line ЗНМ: 0300000097 [13:24:15]line РНМ: 0000000000092018 [13:24:15]line Версия ККМ: 001 [13:24:15]line ФМ: 0000000000871816 [13:24:15]line ФД: 47437 [13:24:15]line ФПД: 146752335048041 [13:24:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132434&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47437&fm=146752335048041&tin=02508201610067®Number=0000000000092018&sum=1000 [13:24:15]line 0 [13:24:15]OFD Sender: Processing packet 47437 [packets to send 8, broken 7] [13:24:15]ProducePacketName [13:24:15]name=ofd_packets/00047437 [13:24:15]OFD Sender: To server: pG, [13:24:15]CommunicateWithHost lk.salyk.kg:30040 [13:24:15]ConnectInit lk.salyk.kg [13:24:15]written 0, free lines is 4095 [13:24:15]Connected sock=10 [13:24:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2C 01 00 00 FF B8 24 01 86 F7 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 12 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4D B9 00 00 35 04 06 00 85 78 70 CC ED 69 33 D5 B3 55 B0 6A 63 2A [13:24:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 16 84 47 00 6E 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4D B9 00 00 F4 03 04 00 A1 53 F1 65 B6 04 01 00 00 FB 43 F7 42 DD 91 8A 61 [13:24:15]CommunicateWithHost err = 0 [13:24:15]CheckOFDResponse [13:24:15]1017 (14) - 77093643461234 [13:24:15]1041 (16) - 0000000000871816 [13:24:15]1040 (4) - 47437 [13:24:15]1012 (4) - 13.03.2024 07:20 [13:24:15]1206 (1) - 0 [13:24:15]OFD Sender: Remove packet 47437 [13:24:15]ProducePacketName [13:24:15]name=ofd_packets/00047437 [13:24:15]NVStorageDeleteData [13:24:15]Write to MH i2c: 01 00 00 46 71 B7 [13:24:15]Write i2c OK [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: 01 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: 01 07 00 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: 01 07 00 46 71 00 00 00 00 00 DC 0C A6 [13:24:15]RasterBufferAndPrint [13:24:15]line [13:24:15]line [13:24:15]line [13:24:15]line [13:24:15]line [13:24:15]written 0, free lines is 3298 [13:24:15]MH_Cut [13:24:15]Write to MH i2c: D1 01 00 4D 71 01 90 [13:24:15]Write i2c OK [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: D1 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: D1 01 00 [13:24:15]MH_I2C_Read... [13:24:15]Read from MH i2c: D1 01 00 4D 71 00 8F [13:24:15]Write to MH i2c: 01 00 00 4E 71 BF [13:24:15]Write i2c OK [13:24:15]MH_I2C_Read... [13:24:16]OFD Sender: No OFD packet to send [13:24:16]*** Cut start [13:24:16]*** Purtial cut [13:24:16]*** Stage 1: CUTSNS_PIN = 1 [13:24:17]Read from MH i2c: 01 [13:24:17]MH_I2C_Read... [13:24:17]*** Stop cut motor [13:24:17]*** Cut end [13:24:17]Read from MH i2c: 01 07 00 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: 01 07 00 4E 71 00 00 00 00 00 FF 0F D4 [13:24:17]process_action close_receipt done [13:24:17]requested_data is exist [13:24:17]produce_requested_data [13:24:17]requested_item fm.sn is exist - process it [13:24:17]wFMCommunicate request_size=4 [13:24:17]MH_SAM_APDU [13:24:17]CAPDU: 80 11 00 00 [13:24:17]Write to MH i2c: E2 08 00 4F 71 80 11 00 00 00 00 00 00 3A [13:24:17]Write i2c OK [13:24:17]MH_I2C_Read... [13:24:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:17]Read from MH i2c: E2 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: E2 17 00 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: E2 17 00 4F 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8C [13:24:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:24:17]wFMCommunicate OK [13:24:17]requested_item fd.num is exist - process it [13:24:17]SAM_PROTO_GetFieldsCounters [13:24:17]wFMCommunicate request_size=4 [13:24:17]MH_SAM_APDU [13:24:17]CAPDU: 80 13 00 00 [13:24:17]Write to MH i2c: E2 08 00 50 71 80 13 00 00 00 00 00 00 3D [13:24:17]Write i2c OK [13:24:17]MH_I2C_Read... [13:24:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:17]Read from MH i2c: E2 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: E2 62 00 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: E2 62 00 50 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4D B9 00 00 0E 04 04 00 3B 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 E5 [13:24:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4D B9 00 00 0E 04 04 00 3B 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:24:17]wFMCommunicate OK [13:24:17]SAM_PROTO_GetFieldsCounters done [13:24:17]requested_item shift.num is exist - process it [13:24:17]requested_item shift.opened is exist - process it [13:24:17]req_shift_opened [13:24:17]FM_GetShiftState [13:24:17]SAM_PROTO_GetShiftState [13:24:17]wFMCommunicate request_size=4 [13:24:17]MH_SAM_APDU [13:24:17]CAPDU: 80 13 01 00 [13:24:17]Write to MH i2c: E2 08 00 51 71 80 13 01 00 00 00 00 00 3F [13:24:17]Write i2c OK [13:24:17]MH_I2C_Read... [13:24:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:17]Read from MH i2c: E2 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: E2 0E 00 [13:24:17]MH_I2C_Read... [13:24:17]Read from MH i2c: E2 0E 00 51 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 33 [13:24:17]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:24:17]wFMCommunicate OK [13:24:17]SAM_PROTO_GetShiftState done [13:24:17]FM_GetShiftState done [13:24:17]req_shift_opened done [13:24:17]requested_item shift.open_date is exist - process it [13:24:17]req_shift_open_date [13:24:17]req_shift_open_date done [13:24:17]produce_requested_data done [13:24:17]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47437,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:24:17]process_action_free close_receipt [13:24:17]json_value_free [13:24:17]json_value_free done [13:24:17]process_json_proto returns [13:24:17]Send response to host [13:24:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47437,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:24:17]free response buf [13:24:17]execute_script done [13:24:17]execute_script returns [13:24:17]free content buf [13:24:17]Sock 7.Close socket [13:24:17]Sock 7.Thread stoped [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:46]OFD Sender: No OFD packet to send [13:24:51]OFD Sender: No OFD packet to send [13:24:56]OFD Sender: No OFD packet to send [13:25:01]OFD Sender: No OFD packet to send [13:25:06]OFD Sender: No OFD packet to send [13:25:11]OFD Sender: No OFD packet to send [13:25:16]OFD Sender: No OFD packet to send [13:25:21]OFD Sender: No OFD packet to send [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:30]accept exits with 9 [13:27:30]New connection [13:27:30]New thread 3066453348 created [13:27:30]Thread 3066596708 joined [13:27:30]Waiting for new connection... [13:27:30] Sock 9.Parse request [13:27:30]Sock 9.Check first char [13:27:30]Sock 9.First char is OK [13:27:30]request: POST /json_proto HTTP/1.0 [13:27:30]Method: POST [13:27:30]URL: /json_proto [13:27:30]Method is POST - this is cgi request [13:27:30]url: /json_proto [13:27:30]query_string will be loaded in cgi processing [13:27:30]execute_cgi json_proto POST (null) [13:27:30]execute_cgi path=json_proto method=POST [13:27:30]POST find Content-Length [13:27:30]Host: 172.17.32.68:8080 [13:27:30]Content-Length: 1141 [13:27:30]Content-Type: application/json [13:27:30] [13:27:30]POST finish read [13:27:30]Found Content-Length = 1141 [13:27:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242345", "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": "4601025112370", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0433\u0440\u0430\u043D\u0430\u0442 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:30]execute_script... [13:27: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)242345", "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": "4601025112370", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0433\u0440\u0430\u043D\u0430\u0442 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:30]POST & json_proto [13:27:30]process_json_proto [13:27:30]json parsed OK: [13:27:30]protocol is kg_v1.0 [13:27:30]action value=close_receipt [13:27:30]process_action close_receipt [13:27:30]cmd_close_receipt [13:27:30]MH_GetDate [13:27:30]Write to MH i2c: F0 00 00 52 71 B2 [13:27:30]Write i2c OK [13:27:30]MH_I2C_Read... [13:27:30]Read from MH i2c: F0 [13:27:30]MH_I2C_Read... [13:27:30]Read from MH i2c: F0 09 00 [13:27:30]MH_I2C_Read... [13:27:30]Read from MH i2c: F0 09 00 52 71 00 D7 A9 F1 65 0A 64 6E 65 D2 [13:27:30]GetLastDocTimeStamp 1710336274 [13:27:30]current date 1710336471 [13:27:30]FM_GetShiftState [13:27:30]SAM_PROTO_GetShiftState [13:27:30]wFMCommunicate request_size=4 [13:27:30]MH_SAM_APDU [13:27:30]CAPDU: 80 13 01 00 [13:27:30]Write to MH i2c: E2 08 00 53 71 80 13 01 00 00 00 00 00 41 [13:27:30]Write i2c OK [13:27:30]MH_I2C_Read... [13:27:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:30]Read from MH i2c: E2 [13:27:30]MH_I2C_Read... [13:27:30]Read from MH i2c: E2 0E 00 [13:27:30]MH_I2C_Read... [13:27:30]Read from MH i2c: E2 0E 00 53 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 35 [13:27:30]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:27:30]wFMCommunicate OK [13:27:30]SAM_PROTO_GetShiftState done [13:27:30]FM_GetShiftState done [13:27:30]opened in 1710288804 [13:27:30]opened+sec_in_day 1710375204 [13:27:30]quantity*price = 3500 [13:27:30]sum+1 = 3501 [13:27:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4601025112370 Напиток Фрутмотив гранат 0,5 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.75 Наличными: 0.00 Безнал.: 120.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 26 13.03.2024 13:27 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47438 ФПД: 192512228454020 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132751&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47438&fm=192512228454020&tin=02508201610067®Number=0000000000092018&sum=12000 0 [13:27:31]StoreToDocumentArchive [13:27:31]shift 315 fd 47438 [13:27:31]save to /storage/0315/doc_00047438 [13:27:31]save last doc name /storage/0315/doc_00047438 to /storage/kkm_last_doc_name [13:27:31]save OK [13:27:31]Clear old archive folders... [13:27:31]ProcessDocumentItem done err = 0, tmpTLVsize=397 [13:27:31]tlvbuf is 004266E0 [13:27:31]SAM_PROTO_ClearQueue [13:27:31]wFMCommunicate request_size=4 [13:27:31]MH_SAM_APDU [13:27:31]CAPDU: 80 09 00 00 [13:27:31]Write to MH i2c: E2 08 00 60 71 80 09 00 00 00 00 00 00 43 [13:27:31]Write i2c OK [13:27:31]MH_I2C_Read... [13:27:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:27:31]Read from MH i2c: E2 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 03 00 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 03 00 60 71 00 90 00 45 [13:27:31]RAPDU: 90 00 [13:27:31]wFMCommunicate OK [13:27:31]SAM_PROTO_ClearQueue done [13:27:31]KKMCreateOFDPacket [13:27:31]OFDProtocolAddRootSTLVToBuf [13:27:31]FM_MakeSignedData [13:27:31]FM_MakeSignedData [13:27:31]SAM_PROTO_SignData [13:27:31]wFMCommunicate request_size=4 [13:27:31]MH_SAM_APDU [13:27:31]CAPDU: 80 0D 01 02 [13:27:31]Write to MH i2c: E2 08 00 61 71 80 0D 01 02 00 00 00 00 4B [13:27:31]Write i2c OK [13:27:31]MH_I2C_Read... [13:27:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:27:31]Read from MH i2c: E2 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 03 00 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 03 00 61 71 00 90 00 46 [13:27:31]RAPDU: 90 00 [13:27:31]wFMCommunicate OK [13:27:31]wFMCommunicate request_size=255 [13:27:31]MH_SAM_APDU [13:27:31]CAPDU: 80 0D 02 02 FA 03 00 8D 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 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 [13:27:31]Write to MH i2c: E2 02 01 62 71 80 0D 02 02 FA 00 03 00 8D 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 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 00 00 B1 [13:27:31]Write i2c OK [13:27:31]MH_I2C_Read... [13:27:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:32]Read from MH i2c: E2 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 03 00 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 03 00 62 71 00 90 00 47 [13:27:32]RAPDU: 90 00 [13:27:32]wFMCommunicate OK [13:27:32]wFMCommunicate request_size=156 [13:27:32]MH_SAM_APDU [13:27:32]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 D7 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4E B9 00 00 35 04 06 00 AF 16 BE FD EE 84 [13:27:32]Write to MH i2c: E2 9F 00 63 71 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 D7 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4E B9 00 00 35 04 06 00 AF 16 BE FD EE 84 00 00 3B [13:27:32]Write i2c OK [13:27:32]MH_I2C_Read... [13:27:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:32]Read from MH i2c: E2 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 03 00 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 03 00 63 71 00 90 00 48 [13:27:32]RAPDU: 90 00 [13:27:32]wFMCommunicate OK [13:27:32]wFMCommunicate request_size=4 [13:27:32]MH_SAM_APDU [13:27:32]CAPDU: 80 0D 03 02 [13:27:32]Write to MH i2c: E2 08 00 64 71 80 0D 03 02 00 00 00 00 50 [13:27:32]Write i2c OK [13:27:32]MH_I2C_Read... [13:27:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:27:32]Read from MH i2c: E2 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 0B 00 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 0B 00 64 71 00 47 8A C0 13 10 D1 C4 C3 90 00 5D [13:27:32]RAPDU: 47 8A C0 13 10 D1 C4 C3 90 00 [13:27:32]wFMCommunicate OK [13:27:32]SAM_PROTO_SignData done [13:27:32]FM_MakeSignedData done [13:27:32]CreateOFDProtocolMessage [13:27:32]wFMCommunicate request_size=4 [13:27:32]MH_SAM_APDU [13:27:32]CAPDU: 80 11 00 00 [13:27:32]Write to MH i2c: E2 08 00 65 71 80 11 00 00 00 00 00 00 50 [13:27:32]Write i2c OK [13:27:32]MH_I2C_Read... [13:27:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:32]Read from MH i2c: E2 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 17 00 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: E2 17 00 65 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A2 [13:27:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:27:32]wFMCommunicate OK [13:27:32]CreateOFDProtocolMessage done [13:27:32]OFDSenderStorePacket 47438 [13:27:32]StoreOFDPacket docnum=47438 [13:27:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A1 01 00 00 9D 83 99 01 E6 96 5A 03 01 00 03 00 8D 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 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 D7 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4E B9 00 00 35 04 06 00 AF 16 BE FD EE 84 47 8A C0 13 10 D1 C4 C3 [13:27:32]CheckFolder [13:27:32]dirname=/storage/ofd_packets [13:27:32]CheckFolder done [13:27:32]ProducePacketName [13:27:32]name=ofd_packets/00047438 [13:27:32]NVStorageSaveData ofd_packets/00047438 [13:27:32]File name is /storage/ofd_packets/00047438 [13:27:32]Write 447 bytes [13:27:32]NVStorageSaveData done [13:27:32]OFDSenderStorePacket done [13:27:32]KKMCreateOFDPacket done [13:27:32]NVStorageSaveData kkm_last_timestamp [13:27:32]File name is /storage/kkm_last_timestamp [13:27:32]Write 4 bytes [13:27:32]NVStorageSaveData done [13:27:32]ExternCall_PrintAddStr [13:27:32]wPrintStart [13:27:32]Write to MH i2c: 01 00 00 66 71 D7 [13:27:32]Write i2c OK [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: 01 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: 01 07 00 [13:27:32]MH_I2C_Read... [13:27:32]Read from MH i2c: 01 07 00 66 71 00 00 00 00 00 FF 0F EC [13:27:32]RasterBufferAndPrint [13:27:32]line Счет N : (3)242345 [13:27:32]line ИНН: 02508201610067 [13:27:32]line Контрольно-Кассовый Чек [13:27:32]line ПРОДАЖА [13:27:32]line Товар: 2000032710015 [13:27:32]line Сочник DC творог 75г [13:27:32]line 1.000 * 35.00 [13:27:32]line = 35.00 [13:27:32]line НДС 12% НСП 1% [13:27:32]line > о реализуемом товаре [13:27:32]line Товар: 4601025112370 [13:27:32]line Напиток Фрутмотив гранат 0,5 [13:27:32]line 1.000 * 85.00 [13:27:32]line = 85.00 [13:27:32]line НДС 12% НСП 1% [13:27:32]line > о реализуемом товаре [13:27:32]line ИТОГО: 120.00 [13:27:32]line НСП 1% : 1.06 [13:27:32]line НДС 12% : 12.75 [13:27:32]line Наличными: 0.00 [13:27:32]line Безнал.: 120.00 [13:27:32]line Место: АЗС № 15 "Партнер Нефть" [13:27:32]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:27:32]line СНО: Общий режим [13:27:32]line Чек 26 13.03.2024 13:27 [13:27:32]line Смена: 315 ФФД: 1.0 [13:27:32]line ЗНМ: 0300000097 [13:27:32]line РНМ: 0000000000092018 [13:27:32]line Версия ККМ: 001 [13:27:32]line Платежная система: Демир КИ Банк [13:27:32]line ФМ: 0000000000871816 [13:27:32]line ФД: 47438 [13:27:32]line ФПД: 192512228454020 [13:27:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T132751&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47438&fm=192512228454020&tin=02508201610067®Number=0000000000092018&sum=12000 [13:27:32]OFD Sender: Processing packet 47438 [packets to send 8, broken 7] [13:27:32]ProducePacketName [13:27:32]name=ofd_packets/00047438 [13:27:32]OFD Sender: To server: pG, [13:27:32]CommunicateWithHost lk.salyk.kg:30040 [13:27:32]ConnectInit lk.salyk.kg [13:27:32]line 0 [13:27:32]written 0, free lines is 4095 [13:27:32]Connected sock=10 [13:27:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A1 01 00 00 9D 83 99 01 E6 96 5A 03 01 00 03 00 8D 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 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 D7 A9 F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4E B9 00 00 35 04 06 00 AF 16 BE FD EE 84 47 8A C0 13 10 D1 C4 C3 [13:27:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 BD EC 47 00 BD 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4E B9 00 00 F4 03 04 00 66 54 F1 65 B6 04 01 00 00 9C BB F8 45 4D 78 CF DC [13:27:33]CommunicateWithHost err = 0 [13:27:33]CheckOFDResponse [13:27:33]1017 (14) - 77093643461234 [13:27:33]1041 (16) - 0000000000871816 [13:27:33]1040 (4) - 47438 [13:27:33]1012 (4) - 13.03.2024 07:23 [13:27:33]1206 (1) - 0 [13:27:33]OFD Sender: Remove packet 47438 [13:27:33]ProducePacketName [13:27:33]name=ofd_packets/00047438 [13:27:33]NVStorageDeleteData [13:27:33]Write to MH i2c: 01 00 00 97 71 08 [13:27:33]Write i2c OK [13:27:33]MH_I2C_Read... [13:27:33]Read from MH i2c: 01 [13:27:33]MH_I2C_Read... [13:27:33]Read from MH i2c: 01 07 00 [13:27:33]MH_I2C_Read... [13:27:33]Read from MH i2c: 01 07 00 97 71 00 00 00 00 00 5E 0C 79 [13:27:33]RasterBufferAndPrint [13:27:33]line [13:27:33]line [13:27:33]line [13:27:33]line [13:27:33]line [13:27:33]written 0, free lines is 3174 [13:27:33]MH_Cut [13:27:33]Write to MH i2c: D1 01 00 9E 71 01 E1 [13:27:33]Write i2c OK [13:27:33]MH_I2C_Read... [13:27:33]Read from MH i2c: D1 [13:27:33]MH_I2C_Read... [13:27:33]Read from MH i2c: D1 01 00 [13:27:33]MH_I2C_Read... [13:27:33]Read from MH i2c: D1 01 00 9E 71 00 E0 [13:27:33]Write to MH i2c: 01 00 00 9F 71 10 [13:27:33]Write i2c OK [13:27:33]MH_I2C_Read... [13:27:33]OFD Sender: No OFD packet to send [13:27:34]*** Cut start [13:27:34]*** Purtial cut [13:27:34]*** Stage 1: CUTSNS_PIN = 1 [13:27:34]Read from MH i2c: 01 [13:27:34]MH_I2C_Read... [13:27:34]*** Stop cut motor [13:27:34]*** Cut end [13:27:34]Read from MH i2c: 01 07 00 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: 01 07 00 9F 71 00 00 00 00 00 FF 0F 25 [13:27:34]process_action close_receipt done [13:27:34]requested_data is exist [13:27:34]produce_requested_data [13:27:34]requested_item fm.sn is exist - process it [13:27:34]wFMCommunicate request_size=4 [13:27:34]MH_SAM_APDU [13:27:34]CAPDU: 80 11 00 00 [13:27:34]Write to MH i2c: E2 08 00 A0 71 80 11 00 00 00 00 00 00 8B [13:27:34]Write i2c OK [13:27:34]MH_I2C_Read... [13:27:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:34]Read from MH i2c: E2 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: E2 17 00 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: E2 17 00 A0 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DD [13:27:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:27:34]wFMCommunicate OK [13:27:34]requested_item fd.num is exist - process it [13:27:34]SAM_PROTO_GetFieldsCounters [13:27:34]wFMCommunicate request_size=4 [13:27:34]MH_SAM_APDU [13:27:34]CAPDU: 80 13 00 00 [13:27:34]Write to MH i2c: E2 08 00 A1 71 80 13 00 00 00 00 00 00 8E [13:27:34]Write i2c OK [13:27:34]MH_I2C_Read... [13:27:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:27:34]Read from MH i2c: E2 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: E2 62 00 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: E2 62 00 A1 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4E B9 00 00 0E 04 04 00 3B 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 3A [13:27:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4E B9 00 00 0E 04 04 00 3B 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:27:34]wFMCommunicate OK [13:27:34]SAM_PROTO_GetFieldsCounters done [13:27:34]requested_item shift.num is exist - process it [13:27:34]requested_item shift.opened is exist - process it [13:27:34]req_shift_opened [13:27:34]FM_GetShiftState [13:27:34]SAM_PROTO_GetShiftState [13:27:34]wFMCommunicate request_size=4 [13:27:34]MH_SAM_APDU [13:27:34]CAPDU: 80 13 01 00 [13:27:34]Write to MH i2c: E2 08 00 A2 71 80 13 01 00 00 00 00 00 90 [13:27:34]Write i2c OK [13:27:34]MH_I2C_Read... [13:27:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:34]Read from MH i2c: E2 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: E2 0E 00 [13:27:34]MH_I2C_Read... [13:27:34]Read from MH i2c: E2 0E 00 A2 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 84 [13:27:34]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:27:34]wFMCommunicate OK [13:27:34]SAM_PROTO_GetShiftState done [13:27:34]FM_GetShiftState done [13:27:34]req_shift_opened done [13:27:34]requested_item shift.open_date is exist - process it [13:27:34]req_shift_open_date [13:27:34]req_shift_open_date done [13:27:34]produce_requested_data done [13:27:34]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47438,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:27:34]process_action_free close_receipt [13:27:34]json_value_free [13:27:34]json_value_free done [13:27:34]process_json_proto returns [13:27:34]Send response to host [13:27:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47438,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:27:34]free response buf [13:27:34]execute_script done [13:27:34]execute_script returns [13:27:34]free content buf [13:27:34]Sock 9.Close socket [13:27:34]Sock 9.Thread stoped [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:01]accept exits with 7 [13:30:01]New connection [13:30:01]New thread 3066596708 created [13:30:01]Thread 3066453348 joined [13:30:01]Waiting for new connection... [13:30:01] Sock 7.Parse request [13:30:01]Sock 7.Check first char [13:30:01]Sock 7.First char is OK [13:30:01]request: POST /json_proto HTTP/1.0 [13:30:01]Method: POST [13:30:01]URL: /json_proto [13:30:01]Method is POST - this is cgi request [13:30:01]url: /json_proto [13:30:01]query_string will be loaded in cgi processing [13:30:01]execute_cgi json_proto POST (null) [13:30:01]execute_cgi path=json_proto method=POST [13:30:01]POST find Content-Length [13:30:01]Host: 172.17.32.68:8080 [13:30:01]Content-Length: 679 [13:30:01]Content-Type: application/json [13:30:01] [13:30:01]POST finish read [13:30:01]Found Content-Length = 679 [13:30:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242346", "tax_sys" : 0, "items" : [ { "code": "2000032780026", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:30:01]execute_script... [13:30:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242346", "tax_sys" : 0, "items" : [ { "code": "2000032780026", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:30:01]POST & json_proto [13:30:01]process_json_proto [13:30:01]json parsed OK: [13:30:01]protocol is kg_v1.0 [13:30:01]action value=close_receipt [13:30:01]process_action close_receipt [13:30:01]cmd_close_receipt [13:30:01]MH_GetDate [13:30:01]Write to MH i2c: F0 00 00 A3 71 03 [13:30:01]Write i2c OK [13:30:01]MH_I2C_Read... [13:30:01]Read from MH i2c: F0 [13:30:01]MH_I2C_Read... [13:30:01]Read from MH i2c: F0 09 00 [13:30:01]MH_I2C_Read... [13:30:01]Read from MH i2c: F0 09 00 A3 71 00 6E AA F1 65 0A 64 6E 65 BB [13:30:01]GetLastDocTimeStamp 1710336471 [13:30:01]current date 1710336622 [13:30:01]FM_GetShiftState [13:30:01]SAM_PROTO_GetShiftState [13:30:01]wFMCommunicate request_size=4 [13:30:01]MH_SAM_APDU [13:30:01]CAPDU: 80 13 01 00 [13:30:01]Write to MH i2c: E2 08 00 A4 71 80 13 01 00 00 00 00 00 92 [13:30:01]Write i2c OK [13:30:01]MH_I2C_Read... [13:30:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:30:01]Read from MH i2c: E2 [13:30:01]MH_I2C_Read... [13:30:01]Read from MH i2c: E2 0E 00 [13:30:01]MH_I2C_Read... [13:30:01]Read from MH i2c: E2 0E 00 A4 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 86 [13:30:01]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:30:01]wFMCommunicate OK [13:30:01]SAM_PROTO_GetShiftState done [13:30:01]FM_GetShiftState done [13:30:01]opened in 1710288804 [13:30:01]opened+sec_in_day 1710375204 [13:30:01]quantity*price = 4000 [13:30:01]sum+1 = 4001 [13:30:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 27 13.03.2024 13:30 Смена: 315 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47439 ФПД: 97346494639553 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T133022&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47439&fm=97346494639553&tin=02508201610067®Number=0000000000092018&sum=4000 0 [13:30:02]StoreToDocumentArchive [13:30:02]shift 315 fd 47439 [13:30:02]save to /storage/0315/doc_00047439 [13:30:02]save last doc name /storage/0315/doc_00047439 to /storage/kkm_last_doc_name [13:30:02]save OK [13:30:02]Clear old archive folders... [13:30:02]ProcessDocumentItem done err = 0, tmpTLVsize=290 [13:30:02]tlvbuf is 0039CE60 [13:30:02]SAM_PROTO_ClearQueue [13:30:02]wFMCommunicate request_size=4 [13:30:02]MH_SAM_APDU [13:30:02]CAPDU: 80 09 00 00 [13:30:02]Write to MH i2c: E2 08 00 B1 71 80 09 00 00 00 00 00 00 94 [13:30:02]Write i2c OK [13:30:02]MH_I2C_Read... [13:30:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:30:02]Read from MH i2c: E2 [13:30:02]MH_I2C_Read... [13:30:02]Read from MH i2c: E2 03 00 [13:30:02]MH_I2C_Read... [13:30:02]Read from MH i2c: E2 03 00 B1 71 00 90 00 96 [13:30:02]RAPDU: 90 00 [13:30:02]wFMCommunicate OK [13:30:02]SAM_PROTO_ClearQueue done [13:30:02]KKMCreateOFDPacket [13:30:02]OFDProtocolAddRootSTLVToBuf [13:30:02]FM_MakeSignedData [13:30:02]FM_MakeSignedData [13:30:02]SAM_PROTO_SignData [13:30:02]wFMCommunicate request_size=4 [13:30:02]MH_SAM_APDU [13:30:02]CAPDU: 80 0D 01 02 [13:30:02]Write to MH i2c: E2 08 00 B2 71 80 0D 01 02 00 00 00 00 9C [13:30:02]Write i2c OK [13:30:02]MH_I2C_Read... [13:30:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:30:02]Read from MH i2c: E2 [13:30:02]MH_I2C_Read... [13:30:02]Read from MH i2c: E2 03 00 [13:30:02]MH_I2C_Read... [13:30:02]Read from MH i2c: E2 03 00 B2 71 00 90 00 97 [13:30:02]RAPDU: 90 00 [13:30:02]wFMCommunicate OK [13:30:02]wFMCommunicate request_size=255 [13:30:02]MH_SAM_APDU [13:30:02]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6E AA F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [13:30:02]Write to MH i2c: E2 02 01 B3 71 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6E AA F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 BC [13:30:02]Write i2c OK [13:30:02]MH_I2C_Read... [13:30:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:30:02]Read from MH i2c: E2 [13:30:02]MH_I2C_Read... [13:30:02]Read from MH i2c: E2 03 00 [13:30:02]MH_I2C_Read... [13:30:02]Read from MH i2c: E2 03 00 B3 71 00 90 00 98 [13:30:02]RAPDU: 90 00 [13:30:02]wFMCommunicate OK [13:30:02]wFMCommunicate request_size=49 [13:30:02]MH_SAM_APDU [13:30:02]CAPDU: 80 0D 02 02 2C 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4F B9 00 00 35 04 06 00 58 89 3F 3B AD C1 [13:30:02]Write to MH i2c: E2 34 00 B4 71 80 0D 02 02 2C 00 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4F B9 00 00 35 04 06 00 58 89 3F 3B AD C1 00 00 97 [13:30:02]Write i2c OK [13:30:02]MH_I2C_Read... [13:30:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:30:03]Read from MH i2c: E2 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 03 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 03 00 B4 71 00 90 00 99 [13:30:03]RAPDU: 90 00 [13:30:03]wFMCommunicate OK [13:30:03]wFMCommunicate request_size=4 [13:30:03]MH_SAM_APDU [13:30:03]CAPDU: 80 0D 03 02 [13:30:03]Write to MH i2c: E2 08 00 B5 71 80 0D 03 02 00 00 00 00 A1 [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:30:03]Read from MH i2c: E2 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 0B 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 0B 00 B5 71 00 12 B0 99 67 C1 4A 13 3A 90 00 BC [13:30:03]RAPDU: 12 B0 99 67 C1 4A 13 3A 90 00 [13:30:03]wFMCommunicate OK [13:30:03]SAM_PROTO_SignData done [13:30:03]FM_MakeSignedData done [13:30:03]CreateOFDProtocolMessage [13:30:03]wFMCommunicate request_size=4 [13:30:03]MH_SAM_APDU [13:30:03]CAPDU: 80 11 00 00 [13:30:03]Write to MH i2c: E2 08 00 B6 71 80 11 00 00 00 00 00 00 A1 [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:30:03]Read from MH i2c: E2 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 17 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 17 00 B6 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F3 [13:30:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:30:03]wFMCommunicate OK [13:30:03]CreateOFDProtocolMessage done [13:30:03]OFDSenderStorePacket 47439 [13:30:03]StoreOFDPacket docnum=47439 [13:30:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 36 01 00 00 7F 63 2E 01 FE 66 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6E AA F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4F B9 00 00 35 04 06 00 58 89 3F 3B AD C1 12 B0 99 67 C1 4A 13 3A [13:30:03]CheckFolder [13:30:03]dirname=/storage/ofd_packets [13:30:03]CheckFolder done [13:30:03]ProducePacketName [13:30:03]name=ofd_packets/00047439 [13:30:03]NVStorageSaveData ofd_packets/00047439 [13:30:03]File name is /storage/ofd_packets/00047439 [13:30:03]Write 340 bytes [13:30:03]NVStorageSaveData done [13:30:03]OFDSenderStorePacket done [13:30:03]KKMCreateOFDPacket done [13:30:03]NVStorageSaveData kkm_last_timestamp [13:30:03]File name is /storage/kkm_last_timestamp [13:30:03]Write 4 bytes [13:30:03]NVStorageSaveData done [13:30:03]ExternCall_PrintAddStr [13:30:03]wPrintStart [13:30:03]Write to MH i2c: 01 00 00 B7 71 28 [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: 01 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: 01 07 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: 01 07 00 B7 71 00 00 00 00 00 FF 0F 3D [13:30:03]RasterBufferAndPrint [13:30:03]line Счет N : (3)242346 [13:30:03]line ИНН: 02508201610067 [13:30:03]line Контрольно-Кассовый Чек [13:30:03]line ПРОДАЖА [13:30:03]line Товар: 2000032780026 [13:30:03]line АКЦИЯ Сосиска в тесте DC 110г [13:30:03]line 1.000 * 40.00 [13:30:03]line = 40.00 [13:30:03]line НДС 12% НСП 1% [13:30:03]line > о реализуемом товаре [13:30:03]line ИТОГО: 40.00 [13:30:03]line НСП 1% : 0.35 [13:30:03]line НДС 12% : 4.25 [13:30:03]line Наличными: 40.00 [13:30:03]line Безнал.: 0.00 [13:30:03]line Место: АЗС № 15 "Партнер Нефть" [13:30:03]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:30:03]line СНО: Общий режим [13:30:03]line Чек 27 13.03.2024 13:30 [13:30:03]line Смена: 315 ФФД: 1.0 [13:30:03]line ЗНМ: 0300000097 [13:30:03]line РНМ: 0000000000092018 [13:30:03]line Версия ККМ: 001 [13:30:03]line ФМ: 0000000000871816 [13:30:03]line ФД: 47439 [13:30:03]line ФПД: 97346494639553 [13:30:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T133022&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47439&fm=97346494639553&tin=02508201610067®Number=0000000000092018&sum=4000 [13:30:03]line 0 [13:30:03]OFD Sender: Processing packet 47439 [packets to send 8, broken 7] [13:30:03]ProducePacketName [13:30:03]name=ofd_packets/00047439 [13:30:03]OFD Sender: To server: pG, [13:30:03]CommunicateWithHost lk.salyk.kg:30040 [13:30:03]ConnectInit lk.salyk.kg [13:30:03]written 0, free lines is 4095 [13:30:03]Connected sock=10 [13:30:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 36 01 00 00 7F 63 2E 01 FE 66 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 36 06 04 30 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6E AA F1 65 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4F B9 00 00 35 04 06 00 58 89 3F 3B AD C1 12 B0 99 67 C1 4A 13 3A [13:30:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 39 C1 47 00 5D 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 4F B9 00 00 F4 03 04 00 FD 54 F1 65 B6 04 01 00 00 01 35 A5 F4 DE E6 BB 62 [13:30:03]CommunicateWithHost err = 0 [13:30:03]CheckOFDResponse [13:30:03]1017 (14) - 77093643461234 [13:30:03]1041 (16) - 0000000000871816 [13:30:03]1040 (4) - 47439 [13:30:03]1012 (4) - 13.03.2024 07:25 [13:30:03]1206 (1) - 0 [13:30:03]OFD Sender: Remove packet 47439 [13:30:03]ProducePacketName [13:30:03]name=ofd_packets/00047439 [13:30:03]NVStorageDeleteData [13:30:03]Write to MH i2c: 01 00 00 E0 71 51 [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: 01 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: 01 07 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: 01 07 00 E0 71 00 00 00 00 00 CF 0C 33 [13:30:03]RasterBufferAndPrint [13:30:03]line [13:30:03]line [13:30:03]line [13:30:03]line [13:30:03]line [13:30:03]written 0, free lines is 3285 [13:30:03]MH_Cut [13:30:03]Write to MH i2c: D1 01 00 E7 71 01 2A [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: D1 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: D1 01 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: D1 01 00 E7 71 00 29 [13:30:03]Write to MH i2c: 01 00 00 E8 71 59 [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:04]OFD Sender: No OFD packet to send [13:30:04]*** Cut start [13:30:04]*** Purtial cut [13:30:04]*** Stage 1: CUTSNS_PIN = 1 [13:30:05]Read from MH i2c: 01 [13:30:05]MH_I2C_Read... [13:30:05]*** Stop cut motor [13:30:05]*** Cut end [13:30:05]Read from MH i2c: 01 07 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: 01 07 00 E8 71 00 00 00 00 00 FF 0F 6E [13:30:05]process_action close_receipt done [13:30:05]requested_data is exist [13:30:05]produce_requested_data [13:30:05]requested_item fm.sn is exist - process it [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 11 00 00 [13:30:05]Write to MH i2c: E2 08 00 E9 71 80 11 00 00 00 00 00 00 D4 [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 17 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 17 00 E9 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 26 [13:30:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:30:05]wFMCommunicate OK [13:30:05]requested_item fd.num is exist - process it [13:30:05]SAM_PROTO_GetFieldsCounters [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 13 00 00 [13:30:05]Write to MH i2c: E2 08 00 EA 71 80 13 00 00 00 00 00 00 D7 [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 62 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 62 00 EA 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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 87 [13:30:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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:30:05]wFMCommunicate OK [13:30:05]SAM_PROTO_GetFieldsCounters done [13:30:05]requested_item shift.num is exist - process it [13:30:05]requested_item shift.opened is exist - process it [13:30:05]req_shift_opened [13:30:05]FM_GetShiftState [13:30:05]SAM_PROTO_GetShiftState [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 13 01 00 [13:30:05]Write to MH i2c: E2 08 00 EB 71 80 13 01 00 00 00 00 00 D9 [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 0E 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 0E 00 EB 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 CD [13:30:05]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:30:05]wFMCommunicate OK [13:30:05]SAM_PROTO_GetShiftState done [13:30:05]FM_GetShiftState done [13:30:05]req_shift_opened done [13:30:05]requested_item shift.open_date is exist - process it [13:30:05]req_shift_open_date [13:30:05]req_shift_open_date done [13:30:05]produce_requested_data done [13:30:05]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:30:05]process_action_free close_receipt [13:30:05]json_value_free [13:30:05]json_value_free done [13:30:05]process_json_proto returns [13:30:05]Send response to host [13:30:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:30:05]free response buf [13:30:05]execute_script done [13:30:05]execute_script returns [13:30:05]free content buf [13:30:05]Sock 7.Close socket [13:30:05]Sock 7.Thread stoped [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34: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:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]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:41]accept exits with 9 [13:51:41]New connection [13:51:41]New thread 3066453348 created [13:51:41]Thread 3066596708 joined [13:51:41]Waiting for new connection... [13:51:41] Sock 9.Parse request [13:51:41]Sock 9.Check first char [13:51:41]Sock 9.First char is OK [13:51:41]request: POST /json_proto HTTP/1.0 [13:51:41]Method: POST [13:51:41]URL: /json_proto [13:51:41]Method is POST - this is cgi request [13:51:41]url: /json_proto [13:51:41]query_string will be loaded in cgi processing [13:51:41]execute_cgi json_proto POST (null) [13:51:41]execute_cgi path=json_proto method=POST [13:51:41]POST find Content-Length [13:51:41]Host: 172.17.32.68:8080 [13:51:41]Content-Length: 215 [13:51:41]Content-Type: application/json [13:51:41] [13:51:41]POST finish read [13:51:41]Found Content-Length = 215 [13:51: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:51:41]execute_script... [13:51: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:51:41]POST & json_proto [13:51:41]process_json_proto [13:51:41]json parsed OK: [13:51:41]protocol is kg_v1.0 [13:51:41]action value=get_value [13:51:41]process_action get_value [13:51:41]cmd_get_value [13:51:41]process_action get_value done [13:51:41]requested_data is exist [13:51:41]produce_requested_data [13:51:41]requested_item kkm.sn is exist - process it [13:51:41]requested_item kkm.ver is exist - process it [13:51:41]requested_item fm.sn is exist - process it [13:51:41]wFMCommunicate request_size=4 [13:51:41]MH_SAM_APDU [13:51:41]CAPDU: 80 11 00 00 [13:51:41]Write to MH i2c: E2 08 00 EC 71 80 11 00 00 00 00 00 00 D7 [13:51:41]Write i2c OK [13:51:41]MH_I2C_Read... [13:51:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:41]Read from MH i2c: E2 [13:51:41]MH_I2C_Read... [13:51:41]Read from MH i2c: E2 17 00 [13:51:41]MH_I2C_Read... [13:51:41]Read from MH i2c: E2 17 00 EC 71 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 29 [13:51:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:51:41]wFMCommunicate OK [13:51:41]requested_item fd.num is exist - process it [13:51:41]SAM_PROTO_GetFieldsCounters [13:51:41]wFMCommunicate request_size=4 [13:51:41]MH_SAM_APDU [13:51:41]CAPDU: 80 13 00 00 [13:51:41]Write to MH i2c: E2 08 00 ED 71 80 13 00 00 00 00 00 00 DA [13:51:41]Write i2c OK [13:51:41]MH_I2C_Read... [13:51:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:51:41]Read from MH i2c: E2 [13:51:41]MH_I2C_Read... [13:51:41]Read from MH i2c: E2 62 00 [13:51:41]MH_I2C_Read... [13:51:41]Read from MH i2c: E2 62 00 ED 71 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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 8A [13:51:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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:51:41]wFMCommunicate OK [13:51:41]SAM_PROTO_GetFieldsCounters done [13:51:41]requested_item shift.num is exist - process it [13:51:41]requested_item shift.opened is exist - process it [13:51:41]req_shift_opened [13:51:41]FM_GetShiftState [13:51:41]SAM_PROTO_GetShiftState [13:51:41]wFMCommunicate request_size=4 [13:51:41]MH_SAM_APDU [13:51:41]CAPDU: 80 13 01 00 [13:51:41]Write to MH i2c: E2 08 00 EE 71 80 13 01 00 00 00 00 00 DC [13:51:41]Write i2c OK [13:51:41]MH_I2C_Read... [13:51:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:41]Read from MH i2c: E2 [13:51:41]MH_I2C_Read... [13:51:41]Read from MH i2c: E2 0E 00 [13:51:41]MH_I2C_Read... [13:51:41]Read from MH i2c: E2 0E 00 EE 71 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 D0 [13:51:41]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:51:41]wFMCommunicate OK [13:51:41]SAM_PROTO_GetShiftState done [13:51:41]FM_GetShiftState done [13:51:41]req_shift_opened done [13:51:41]requested_item shift.open_date is exist - process it [13:51:41]req_shift_open_date [13:51:41]req_shift_open_date done [13:51:41]produce_requested_data done [13:51:41]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:51:41]process_action_free get_value [13:51:41]json_value_free [13:51:41]json_value_free done [13:51:41]process_json_proto returns [13:51:41]Send response to host [13:51:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:51:41]free response buf [13:51:41]execute_script done [13:51:41]execute_script returns [13:51:41]free content buf [13:51:41]Sock 9.Close socket [13:51:41]Sock 9.Thread stoped [13:51:41]accept exits with 10 [13:51:41]New connection [13:51:41]New thread 3066596708 created [13:51:41]Thread 3066453348 joined [13:51:41]Waiting for new connection... [13:51:41] Sock 10.Parse request [13:51:41]Sock 10.Check first char [13:51:41]Sock 10.First char is OK [13:51:41]request: POST /json_proto HTTP/1.0 [13:51:41]Method: POST [13:51:41]URL: /json_proto [13:51:41]Method is POST - this is cgi request [13:51:41]url: /json_proto [13:51:41]query_string will be loaded in cgi processing [13:51:41]execute_cgi json_proto POST (null) [13:51:41]execute_cgi path=json_proto method=POST [13:51:41]POST find Content-Length [13:51:41]Host: 172.17.32.68:8080 [13:51:41]Content-Length: 331 [13:51:41]Content-Type: application/json [13:51:41] [13:51:41]POST finish read [13:51:41]Found Content-Length = 331 [13:51: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:51:41]execute_script... [13:51: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:51:41]POST & json_proto [13:51:41]process_json_proto [13:51:41]json parsed OK: [13:51:41]protocol is kg_v1.0 [13:51:41]action value=get_value [13:51:42]process_action get_value [13:51:42]cmd_get_value [13:51:42]process_action get_value done [13:51:42]requested_data is exist [13:51:42]produce_requested_data [13:51:42]requested_item fm.sale.total is exist - process it [13:51:42]SAM_PROTO_GetFMData [13:51:42]wFMCommunicate request_size=4 [13:51:42]MH_SAM_APDU [13:51:42]CAPDU: 80 13 03 00 [13:51:42]Write to MH i2c: E2 08 00 EF 71 80 13 03 00 00 00 00 00 DF [13:51:42]Write i2c OK [13:51:42]MH_I2C_Read... [13:51:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:51:42]Read from MH i2c: E2 [13:51:42]MH_I2C_Read... [13:51:42]Read from MH i2c: E2 FD 00 [13:51:42]MH_I2C_Read... [13:51:42]Read from MH i2c: E2 FD 00 EF 71 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 DC [13:51:42]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:51:42]wFMCommunicate OK [13:51:42]wFMCommunicate request_size=4 [13:51:42]MH_SAM_APDU [13:51:42]CAPDU: 80 17 00 00 [13:51:42]Write to MH i2c: E2 08 00 F0 71 80 17 00 00 00 00 00 00 E1 [13:51:42]Write i2c OK [13:51:42]MH_I2C_Read... [13:51:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:42]Read from MH i2c: E2 [13:51:42]MH_I2C_Read... [13:51:42]Read from MH i2c: E2 FD 00 [13:51:42]MH_I2C_Read... [13:51:42]Read from MH i2c: E2 FD 00 F0 71 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 5A [13:51:42]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:51:42]wFMCommunicate OK [13:51:42]wFMCommunicate request_size=4 [13:51:42]MH_SAM_APDU [13:51:42]CAPDU: 80 17 00 00 [13:51:42]Write to MH i2c: E2 08 00 F1 71 80 17 00 00 00 00 00 00 E2 [13:51:42]Write i2c OK [13:51:42]MH_I2C_Read... [13:51:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:43]Read from MH i2c: E2 [13:51:43]MH_I2C_Read... [13:51:43]Read from MH i2c: E2 FD 00 [13:51:43]MH_I2C_Read... [13:51:43]Read from MH i2c: E2 FD 00 F1 71 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 82 [13:51:43]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:51:43]wFMCommunicate OK [13:51:43]wFMCommunicate request_size=4 [13:51:43]MH_SAM_APDU [13:51:43]CAPDU: 80 17 00 00 [13:51:43]Write to MH i2c: E2 08 00 F2 71 80 17 00 00 00 00 00 00 E3 [13:51:43]Write i2c OK [13:51:43]MH_I2C_Read... [13:51:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:43]Read from MH i2c: E2 [13:51:43]MH_I2C_Read... [13:51:43]Read from MH i2c: E2 FD 00 [13:51:43]MH_I2C_Read... [13:51:43]Read from MH i2c: E2 FD 00 F2 71 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 68 [13:51:43]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:51:43]wFMCommunicate OK [13:51:43]wFMCommunicate request_size=4 [13:51:43]MH_SAM_APDU [13:51:43]CAPDU: 80 17 00 00 [13:51:43]Write to MH i2c: E2 08 00 F3 71 80 17 00 00 00 00 00 00 E4 [13:51:43]Write i2c OK [13:51:43]MH_I2C_Read... [13:51:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:51:43]Read from MH i2c: E2 [13:51:43]MH_I2C_Read... [13:51:43]Read from MH i2c: E2 DE 00 [13:51:43]MH_I2C_Read... [13:51:43]Read from MH i2c: E2 DE 00 F3 71 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C3 [13:51:43]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:51:43]wFMCommunicate OK [13:51:43]SAM_PROTO_GetFMData done [13:51:43]requested_item fm.sale_refund.total is exist - process it [13:51:43]requested_item fm.buy.total is exist - process it [13:51:43]requested_item shift.sale.total is exist - process it [13:51:43]SAM_PROTO_GetShiftData [13:51:43]wFMCommunicate request_size=4 [13:51:43]MH_SAM_APDU [13:51:43]CAPDU: 80 13 02 00 [13:51:43]Write to MH i2c: E2 08 00 F4 71 80 13 02 00 00 00 00 00 E3 [13:51:43]Write i2c OK [13:51:43]MH_I2C_Read... [13:51:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:51:44]Read from MH i2c: E2 [13:51:44]MH_I2C_Read... [13:51:44]Read from MH i2c: E2 FD 00 [13:51:44]MH_I2C_Read... [13:51:44]Read from MH i2c: E2 FD 00 F4 71 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 C9 [13:51:44]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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:51:44]wFMCommunicate OK [13:51:44]wFMCommunicate request_size=4 [13:51:44]MH_SAM_APDU [13:51:44]CAPDU: 80 17 00 00 [13:51:44]Write to MH i2c: E2 08 00 F5 71 80 17 00 00 00 00 00 00 E6 [13:51:44]Write i2c OK [13:51:44]MH_I2C_Read... [13:51:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:44]Read from MH i2c: E2 [13:51:44]MH_I2C_Read... [13:51:44]Read from MH i2c: E2 FD 00 [13:51:44]MH_I2C_Read... [13:51:44]Read from MH i2c: E2 FD 00 F5 71 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 F8 [13:51: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:51:44]wFMCommunicate OK [13:51:44]wFMCommunicate request_size=4 [13:51:44]MH_SAM_APDU [13:51:44]CAPDU: 80 17 00 00 [13:51:44]Write to MH i2c: E2 08 00 F6 71 80 17 00 00 00 00 00 00 E7 [13:51:44]Write i2c OK [13:51:44]MH_I2C_Read... [13:51:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:44]Read from MH i2c: E2 [13:51:44]MH_I2C_Read... [13:51:44]Read from MH i2c: E2 FD 00 [13:51:44]MH_I2C_Read... [13:51:44]Read from MH i2c: E2 FD 00 F6 71 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 AB [13:51: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:51:44]wFMCommunicate OK [13:51:44]wFMCommunicate request_size=4 [13:51:44]MH_SAM_APDU [13:51:44]CAPDU: 80 17 00 00 [13:51:44]Write to MH i2c: E2 08 00 F7 71 80 17 00 00 00 00 00 00 E8 [13:51:44]Write i2c OK [13:51:44]MH_I2C_Read... [13:51:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:45]Read from MH i2c: E2 [13:51:45]MH_I2C_Read... [13:51:45]Read from MH i2c: E2 FD 00 [13:51:45]MH_I2C_Read... [13:51:45]Read from MH i2c: E2 FD 00 F7 71 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 5D [13:51:45]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:51:45]wFMCommunicate OK [13:51:45]wFMCommunicate request_size=4 [13:51:45]MH_SAM_APDU [13:51:45]CAPDU: 80 17 00 00 [13:51:45]Write to MH i2c: E2 08 00 F8 71 80 17 00 00 00 00 00 00 E9 [13:51:45]Write i2c OK [13:51:45]MH_I2C_Read... [13:51:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:51:45]Read from MH i2c: E2 [13:51:45]MH_I2C_Read... [13:51:45]Read from MH i2c: E2 CA 00 [13:51:45]MH_I2C_Read... [13:51:45]Read from MH i2c: E2 CA 00 F8 71 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 CE [13:51: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:51:45]wFMCommunicate OK [13:51:45]SAM_PROTO_GetShiftData done [13:51:45]requested_item shift.sale.total_cash is exist - process it [13:51:45]requested_item shift.sale_refund.total is exist - process it [13:51:45]requested_item shift.sale_refund.total_cash is exist - process it [13:51:45]OFD Sender: No OFD packet to send [13:51:45]requested_item shift.buy.total is exist - process it [13:51:45]requested_item shift.buy.total_cash is exist - process it [13:51:45]produce_requested_data done [13:51:45]produce_requested_data return {"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:51:45]process_action_free get_value [13:51:45]json_value_free [13:51:45]json_value_free done [13:51:45]process_json_proto returns [13:51:45]Send response to host [13:51:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:51:45]free response buf [13:51:45]execute_script done [13:51:45]execute_script returns [13:51:45]free content buf [13:51:45]Sock 10.Close socket [13:51:45]Sock 10.Thread stoped [13:51:45]accept exits with 7 [13:51:45]New connection [13:51:45]New thread 3066453348 created [13:51:45]Thread 3066596708 joined [13:51:45]Waiting for new connection... [13:51:45] Sock 7.Parse request [13:51:45]Sock 7.Check first char [13:51:45]Sock 7.First char is OK [13:51:45]request: POST /json_proto HTTP/1.0 [13:51:45]Method: POST [13:51:45]URL: /json_proto [13:51:45]Method is POST - this is cgi request [13:51:45]url: /json_proto [13:51:45]query_string will be loaded in cgi processing [13:51:45]execute_cgi json_proto POST (null) [13:51:45]execute_cgi path=json_proto method=POST [13:51:45]POST find Content-Length [13:51:45]Host: 172.17.32.68:8080 [13:51:45]Content-Length: 331 [13:51:45]Content-Type: application/json [13:51:45] [13:51:45]POST finish read [13:51:45]Found Content-Length = 331 [13:51:45]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:51:45]execute_script... [13:51:45]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:51:45]POST & json_proto [13:51:45]process_json_proto [13:51:45]json parsed OK: [13:51:45]protocol is kg_v1.0 [13:51:45]action value=get_value [13:51:45]process_action get_value [13:51:45]cmd_get_value [13:51:45]process_action get_value done [13:51:45]requested_data is exist [13:51:45]produce_requested_data [13:51:45]requested_item fm.sale.total is exist - process it [13:51:45]SAM_PROTO_GetFMData [13:51:45]wFMCommunicate request_size=4 [13:51:45]MH_SAM_APDU [13:51:45]CAPDU: 80 13 03 00 [13:51:45]Write to MH i2c: E2 08 00 F9 71 80 13 03 00 00 00 00 00 E9 [13:51:45]Write i2c OK [13:51:45]MH_I2C_Read... [13:51:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:51:46]Read from MH i2c: E2 [13:51:46]MH_I2C_Read... [13:51:46]Read from MH i2c: E2 FD 00 [13:51:46]MH_I2C_Read... [13:51:46]Read from MH i2c: E2 FD 00 F9 71 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 E6 [13:51:46]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:51:46]wFMCommunicate OK [13:51:46]wFMCommunicate request_size=4 [13:51:46]MH_SAM_APDU [13:51:46]CAPDU: 80 17 00 00 [13:51:46]Write to MH i2c: E2 08 00 FA 71 80 17 00 00 00 00 00 00 EB [13:51:46]Write i2c OK [13:51:46]MH_I2C_Read... [13:51:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:46]Read from MH i2c: E2 [13:51:46]MH_I2C_Read... [13:51:46]Read from MH i2c: E2 FD 00 [13:51:46]MH_I2C_Read... [13:51:46]Read from MH i2c: E2 FD 00 FA 71 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 64 [13:51:46]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:51:46]wFMCommunicate OK [13:51:46]wFMCommunicate request_size=4 [13:51:46]MH_SAM_APDU [13:51:46]CAPDU: 80 17 00 00 [13:51:46]Write to MH i2c: E2 08 00 FB 71 80 17 00 00 00 00 00 00 EC [13:51:46]Write i2c OK [13:51:46]MH_I2C_Read... [13:51:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:46]Read from MH i2c: E2 [13:51:46]MH_I2C_Read... [13:51:46]Read from MH i2c: E2 FD 00 [13:51:46]MH_I2C_Read... [13:51:46]Read from MH i2c: E2 FD 00 FB 71 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 8C [13:51:46]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:51:47]wFMCommunicate OK [13:51:47]wFMCommunicate request_size=4 [13:51:47]MH_SAM_APDU [13:51:47]CAPDU: 80 17 00 00 [13:51:47]Write to MH i2c: E2 08 00 FC 71 80 17 00 00 00 00 00 00 ED [13:51:47]Write i2c OK [13:51:47]MH_I2C_Read... [13:51:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:47]Read from MH i2c: E2 [13:51:47]MH_I2C_Read... [13:51:47]Read from MH i2c: E2 FD 00 [13:51:47]MH_I2C_Read... [13:51:47]Read from MH i2c: E2 FD 00 FC 71 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 72 [13:51:47]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:51:47]wFMCommunicate OK [13:51:47]wFMCommunicate request_size=4 [13:51:47]MH_SAM_APDU [13:51:47]CAPDU: 80 17 00 00 [13:51:47]Write to MH i2c: E2 08 00 FD 71 80 17 00 00 00 00 00 00 EE [13:51:47]Write i2c OK [13:51:47]MH_I2C_Read... [13:51:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:51:47]Read from MH i2c: E2 [13:51:47]MH_I2C_Read... [13:51:47]Read from MH i2c: E2 DE 00 [13:51:47]MH_I2C_Read... [13:51:47]Read from MH i2c: E2 DE 00 FD 71 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [13:51:47]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:51:47]wFMCommunicate OK [13:51:47]SAM_PROTO_GetFMData done [13:51:47]requested_item fm.sale_refund.total is exist - process it [13:51:47]requested_item fm.buy.total is exist - process it [13:51:47]requested_item shift.sale.total is exist - process it [13:51:47]SAM_PROTO_GetShiftData [13:51:47]wFMCommunicate request_size=4 [13:51:47]MH_SAM_APDU [13:51:47]CAPDU: 80 13 02 00 [13:51:47]Write to MH i2c: E2 08 00 FE 71 80 13 02 00 00 00 00 00 ED [13:51:47]Write i2c OK [13:51:47]MH_I2C_Read... [13:51:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:51:48]Read from MH i2c: E2 [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: E2 FD 00 [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: E2 FD 00 FE 71 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D3 [13:51:48]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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:51:48]wFMCommunicate OK [13:51:48]wFMCommunicate request_size=4 [13:51:48]MH_SAM_APDU [13:51:48]CAPDU: 80 17 00 00 [13:51:48]Write to MH i2c: E2 08 00 FF 71 80 17 00 00 00 00 00 00 F0 [13:51:48]Write i2c OK [13:51:48]MH_I2C_Read... [13:51:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:48]Read from MH i2c: E2 [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: E2 FD 00 [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: E2 FD 00 FF 71 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 02 [13:51:48]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:51:48]wFMCommunicate OK [13:51:48]wFMCommunicate request_size=4 [13:51:48]MH_SAM_APDU [13:51:48]CAPDU: 80 17 00 00 [13:51:48]Write to MH i2c: E2 08 00 00 72 80 17 00 00 00 00 00 00 F2 [13:51:48]Write i2c OK [13:51:48]MH_I2C_Read... [13:51:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:49]Read from MH i2c: E2 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 FD 00 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 FD 00 00 72 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 B6 [13:51:49]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:51:49]wFMCommunicate OK [13:51:49]wFMCommunicate request_size=4 [13:51:49]MH_SAM_APDU [13:51:49]CAPDU: 80 17 00 00 [13:51:49]Write to MH i2c: E2 08 00 01 72 80 17 00 00 00 00 00 00 F3 [13:51:49]Write i2c OK [13:51:49]MH_I2C_Read... [13:51:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:49]Read from MH i2c: E2 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 FD 00 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 FD 00 01 72 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 68 [13:51:49]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:51:49]wFMCommunicate OK [13:51:49]wFMCommunicate request_size=4 [13:51:49]MH_SAM_APDU [13:51:49]CAPDU: 80 17 00 00 [13:51:49]Write to MH i2c: E2 08 00 02 72 80 17 00 00 00 00 00 00 F4 [13:51:49]Write i2c OK [13:51:49]MH_I2C_Read... [13:51:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:51:49]Read from MH i2c: E2 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 CA 00 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 CA 00 02 72 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 D9 [13:51:50]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:51:50]wFMCommunicate OK [13:51:50]SAM_PROTO_GetShiftData done [13:51:50]requested_item shift.sale.total_cash is exist - process it [13:51:50]requested_item shift.sale_refund.total is exist - process it [13:51:50]requested_item shift.sale_refund.total_cash is exist - process it [13:51:50]requested_item shift.buy.total is exist - process it [13:51:50]requested_item shift.buy.total_cash is exist - process it [13:51:50]produce_requested_data done [13:51:50]produce_requested_data return {"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:51:50]process_action_free get_value [13:51:50]json_value_free [13:51:50]json_value_free done [13:51:50]process_json_proto returns [13:51:50]Send response to host [13:51:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:51:50]free response buf [13:51:50]execute_script done [13:51:50]execute_script returns [13:51:50]free content buf [13:51:50]Sock 7.Close socket [13:51:50]Sock 7.Thread stoped [13:51:50]accept exits with 9 [13:51:50]New connection [13:51:50]New thread 3066596708 created [13:51:50]Thread 3066453348 joined [13:51:50]Waiting for new connection... [13:51:50] Sock 9.Parse request [13:51:50]Sock 9.Check first char [13:51:50]Sock 9.First char is OK [13:51:50]request: POST /json_proto HTTP/1.0 [13:51:50]Method: POST [13:51:50]URL: /json_proto [13:51:50]Method is POST - this is cgi request [13:51:50]url: /json_proto [13:51:50]query_string will be loaded in cgi processing [13:51:50]execute_cgi json_proto POST (null) [13:51:50]execute_cgi path=json_proto method=POST [13:51:50]POST find Content-Length [13:51:50]Host: 172.17.32.68:8080 [13:51:50]Content-Length: 263 [13:51:50]Content-Type: application/json [13:51:50] [13:51:50]POST finish read [13:51:50]Found Content-Length = 263 [13:51:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:50]execute_script... [13:51:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:50]POST & json_proto [13:51:50]process_json_proto [13:51:50]json parsed OK: [13:51:50]protocol is kg_v1.0 [13:51:50]action value=x_report [13:51:50]process_action x_report [13:51:50]cmd_x_report [13:51:50]MH_GetDate [13:51:50]Write to MH i2c: F0 00 00 03 72 64 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: F0 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: F0 09 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: F0 09 00 03 72 00 8B AF F1 65 0A 64 6E 65 3E [13:51:50]GetLastDocTimeStamp 1710336622 [13:51:50]current date 1710337931 [13:51:50]FM_GetShiftState [13:51:50]SAM_PROTO_GetShiftState [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 13 01 00 [13:51:50]Write to MH i2c: E2 08 00 04 72 80 13 01 00 00 00 00 00 F3 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 0E 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 0E 00 04 72 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 E7 [13:51:50]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:51:50]wFMCommunicate OK [13:51:50]SAM_PROTO_GetShiftState done [13:51:50]FM_GetShiftState done [13:51:50]KKMCreateXReportDocument [13:51:50]Load OK [13:51:50]Malloc new data [13:51:50]MH_GetDate [13:51:50]Write to MH i2c: F0 00 00 05 72 66 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: F0 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: F0 09 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: F0 09 00 05 72 00 8B AF F1 65 0A 64 6E 65 40 [13:51:50]Malloc new data [13:51:50]Malloc new data [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 11 00 00 [13:51:50]Write to MH i2c: E2 08 00 06 72 80 11 00 00 00 00 00 00 F2 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 17 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 17 00 06 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 44 [13:51:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:51:50]wFMCommunicate OK [13:51:50]SAM_PROTO_GetFieldsCounters [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 13 00 00 [13:51:50]Write to MH i2c: E2 08 00 07 72 80 13 00 00 00 00 00 00 F5 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 62 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 62 00 07 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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 A5 [13:51:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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:51:50]wFMCommunicate OK [13:51:50]SAM_PROTO_GetFieldsCounters done [13:51:50]Malloc new data [13:51:50]Malloc new data [13:51:50]Malloc new data [13:51:50]KKMCreateXReportDocument OK [13:51:50]KKMSetXReportData OK [13:51:50]KKMPrepareXReportFMData [13:51:50]SAM_PROTO_GetShiftData [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 13 02 00 [13:51:50]Write to MH i2c: E2 08 00 08 72 80 13 02 00 00 00 00 00 F8 [13:51:50]OFD Sender: No OFD packet to send [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:51:51]Read from MH i2c: E2 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: E2 FD 00 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: E2 FD 00 08 72 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 DE [13:51:51]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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:51:51]wFMCommunicate OK [13:51:51]wFMCommunicate request_size=4 [13:51:51]MH_SAM_APDU [13:51:51]CAPDU: 80 17 00 00 [13:51:51]Write to MH i2c: E2 08 00 09 72 80 17 00 00 00 00 00 00 FB [13:51:51]Write i2c OK [13:51:51]MH_I2C_Read... [13:51:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:51]Read from MH i2c: E2 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: E2 FD 00 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: E2 FD 00 09 72 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 0D [13:51:51]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:51:51]wFMCommunicate OK [13:51:51]wFMCommunicate request_size=4 [13:51:51]MH_SAM_APDU [13:51:51]CAPDU: 80 17 00 00 [13:51:51]Write to MH i2c: E2 08 00 0A 72 80 17 00 00 00 00 00 00 FC [13:51:51]Write i2c OK [13:51:51]MH_I2C_Read... [13:51:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:52]Read from MH i2c: E2 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: E2 FD 00 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: E2 FD 00 0A 72 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 C0 [13:51:52]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:51:52]wFMCommunicate OK [13:51:52]wFMCommunicate request_size=4 [13:51:52]MH_SAM_APDU [13:51:52]CAPDU: 80 17 00 00 [13:51:52]Write to MH i2c: E2 08 00 0B 72 80 17 00 00 00 00 00 00 FD [13:51:52]Write i2c OK [13:51:52]MH_I2C_Read... [13:51:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:52]Read from MH i2c: E2 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: E2 FD 00 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: E2 FD 00 0B 72 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 72 [13:51:52]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:51:52]wFMCommunicate OK [13:51:52]wFMCommunicate request_size=4 [13:51:52]MH_SAM_APDU [13:51:52]CAPDU: 80 17 00 00 [13:51:52]Write to MH i2c: E2 08 00 0C 72 80 17 00 00 00 00 00 00 FE [13:51:53]Write i2c OK [13:51:53]MH_I2C_Read... [13:51:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:51:53]Read from MH i2c: E2 [13:51:53]MH_I2C_Read... [13:51:53]Read from MH i2c: E2 CA 00 [13:51:53]MH_I2C_Read... [13:51:53]Read from MH i2c: E2 CA 00 0C 72 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 E3 [13:51:53]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:51:53]wFMCommunicate OK [13:51:53]SAM_PROTO_GetShiftData done [13:51:53]1194 (1193) - счетчики итогов смены [13:51:53] 1134 (4) - 27 - количество чеков со всеми признаками расчетов [13:51:53] 1129 (154) - счетчики операций «приход» [13:51:53] 1135 (4) - 27 - количество чеков по признаку расчетов [13:51:53] 1201 (3) - 4620.00 - общая итоговая сумма в чеках [13:51:53] 1136 (3) - 3870.00 - итоговая сумма в чеках наличными [13:51:53] 1138 (3) - 750.00 - итоговая сумма в чеках безналичными [13:51:53] 1024 (121) - суммы налогов [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 0% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1006 (11) - суммы НДС [13:51:53] 1010 (1) - 12% - код ставки НДС [13:51:53] 1011 (2) - 490.65 - сумма НДС по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (11) - суммы НСП [13:51:53] 1014 (1) - 1% - код ставки НСП [13:51:53] 1015 (2) - 40.87 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 2% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 3% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 5% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1130 (141) - счетчики операций «возврат прихода» [13:51:53] 1135 (4) - 0 - количество чеков по признаку расчетов [13:51:53] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:51:53] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:51:53] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:51:53] 1024 (117) - суммы налогов [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 0% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 12% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 2% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 3% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 5% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1131 (141) - счетчики операций «расход» [13:51:53] 1135 (4) - 0 - количество чеков по признаку расчетов [13:51:53] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:51:53] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:51:53] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:51:53] 1024 (117) - суммы налогов [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 0% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 12% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 2% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 3% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 5% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1132 (141) - счетчики операций «возврат расхода» [13:51:53] 1135 (4) - 0 - количество чеков по признаку расчетов [13:51:53] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:51:53] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:51:53] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:51:53] 1024 (117) - суммы налогов [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 0% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1006 (9) - суммы НДС [13:51:53] 1010 (1) - 12% - код ставки НДС [13:51:53] 1011 (0) - 0.00 - сумма НДС по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 2% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 3% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 5% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 0,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1007 (9) - суммы НСП [13:51:53] 1014 (1) - 1,50% - код ставки НСП [13:51:53] 1015 (0) - 0.00 - сумма НСП по ставке [13:51:53] 1133 (588) - - счетчики коррекции - не используются [13:51:53]SetTLVBufToDocument [13:51:53]Processing tag 1194 (04AA) [13:51:53]Load OK [13:51:53]SetTLVBufToDocument [13:51:53]Processing tag 1134 (046E) [13:51:53]Malloc new data [13:51:53]Processing tag 1129 (0469) [13:51:53]Load OK [13:51:53]SetTLVBufToDocument [13:51:53]Processing tag 1135 (046F) [13:51:53]Malloc new data [13:51:53]Processing tag 1201 (04B1) [13:51:53]Malloc new data [13:51:53]Processing tag 1136 (0470) [13:51:53]Malloc new data [13:51:53]Processing tag 1138 (0472) [13:51:53]Malloc new data [13:51:53]Processing tag 1024 (0400) [13:51:53]Load OK [13:51:53]SetTLVBufToDocument [13:51:53]Processing tag 1006 (03EE) [13:51:53]Load OK [13:51:53]SetTLVBufToDocument [13:51:53]Processing tag 1010 (03F2) [13:51:53]Malloc new data [13:51:53]Processing tag 1011 (03F3) [13:51:53]Malloc new data [13:51:53]SetTLVBufToDocument err=0 [13:51:53]Processing tag 1006 (03EE) [13:51:53]Load OK [13:51:53]SetTLVBufToDocument [13:51:53]Processing tag 1010 (03F2) [13:51:53]Malloc new data [13:51:53]Processing tag 1011 (03F3) [13:51:53]Malloc new data [13:51:53]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1130 (046A) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1135 (046F) [13:51:54]Malloc new data [13:51:54]Processing tag 1201 (04B1) [13:51:54]Malloc new data [13:51:54]Processing tag 1136 (0470) [13:51:54]Malloc new data [13:51:54]Processing tag 1138 (0472) [13:51:54]Malloc new data [13:51:54]Processing tag 1024 (0400) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1006 (03EE) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1010 (03F2) [13:51:54]Malloc new data [13:51:54]Processing tag 1011 (03F3) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1006 (03EE) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1010 (03F2) [13:51:54]Malloc new data [13:51:54]Processing tag 1011 (03F3) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1131 (046B) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1135 (046F) [13:51:54]Malloc new data [13:51:54]Processing tag 1201 (04B1) [13:51:54]Malloc new data [13:51:54]Processing tag 1136 (0470) [13:51:54]Malloc new data [13:51:54]Processing tag 1138 (0472) [13:51:54]Malloc new data [13:51:54]Processing tag 1024 (0400) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1006 (03EE) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1010 (03F2) [13:51:54]Malloc new data [13:51:54]Processing tag 1011 (03F3) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1006 (03EE) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1010 (03F2) [13:51:54]Malloc new data [13:51:54]Processing tag 1011 (03F3) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1132 (046C) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1135 (046F) [13:51:54]Malloc new data [13:51:54]Processing tag 1201 (04B1) [13:51:54]Malloc new data [13:51:54]Processing tag 1136 (0470) [13:51:54]Malloc new data [13:51:54]Processing tag 1138 (0472) [13:51:54]Malloc new data [13:51:54]Processing tag 1024 (0400) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1006 (03EE) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1010 (03F2) [13:51:54]Malloc new data [13:51:54]Processing tag 1011 (03F3) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1006 (03EE) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1010 (03F2) [13:51:54]Malloc new data [13:51:54]Processing tag 1011 (03F3) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1007 (03EF) [13:51:54]Load OK [13:51:54]SetTLVBufToDocument [13:51:54]Processing tag 1014 (03F6) [13:51:54]Malloc new data [13:51:54]Processing tag 1015 (03F7) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Processing tag 1133 (046D) [13:51:54]Malloc new data [13:51:54]SetTLVBufToDocument err=0 [13:51:54]SetTLVBufToDocument err=0 [13:51:54]Malloc new data [13:51:54]SAM_PROTO_GetFMData [13:51:54]wFMCommunicate request_size=4 [13:51:54]MH_SAM_APDU [13:51:54]CAPDU: 80 13 03 00 [13:51:54]Write to MH i2c: E2 08 00 0D 72 80 13 03 00 00 00 00 00 FE [13:51:54]Write i2c OK [13:51:54]MH_I2C_Read... [13:51:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:51:55]Read from MH i2c: E2 [13:51:55]MH_I2C_Read... [13:51:55]Read from MH i2c: E2 FD 00 [13:51:55]MH_I2C_Read... [13:51:55]Read from MH i2c: E2 FD 00 0D 72 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 FB [13:51:55]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:51:55]wFMCommunicate OK [13:51:55]wFMCommunicate request_size=4 [13:51:55]MH_SAM_APDU [13:51:55]CAPDU: 80 17 00 00 [13:51:55]Write to MH i2c: E2 08 00 0E 72 80 17 00 00 00 00 00 00 00 [13:51:55]Write i2c OK [13:51:55]MH_I2C_Read... [13:51:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:55]Read from MH i2c: E2 [13:51:55]MH_I2C_Read... [13:51:55]Read from MH i2c: E2 FD 00 [13:51:55]MH_I2C_Read... [13:51:55]Read from MH i2c: E2 FD 00 0E 72 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 79 [13:51:55]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:51:55]wFMCommunicate OK [13:51:55]wFMCommunicate request_size=4 [13:51:55]MH_SAM_APDU [13:51:55]CAPDU: 80 17 00 00 [13:51:55]Write to MH i2c: E2 08 00 0F 72 80 17 00 00 00 00 00 00 01 [13:51:55]OFD Sender: No OFD packet to send [13:51:55]Write i2c OK [13:51:55]MH_I2C_Read... [13:51:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:56]Read from MH i2c: E2 [13:51:56]MH_I2C_Read... [13:51:56]Read from MH i2c: E2 FD 00 [13:51:56]MH_I2C_Read... [13:51:56]Read from MH i2c: E2 FD 00 0F 72 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 A1 [13:51:56]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:51:56]wFMCommunicate OK [13:51:56]wFMCommunicate request_size=4 [13:51:56]MH_SAM_APDU [13:51:56]CAPDU: 80 17 00 00 [13:51:56]Write to MH i2c: E2 08 00 10 72 80 17 00 00 00 00 00 00 02 [13:51:56]Write i2c OK [13:51:56]MH_I2C_Read... [13:51:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:51:56]Read from MH i2c: E2 [13:51:56]MH_I2C_Read... [13:51:56]Read from MH i2c: E2 FD 00 [13:51:56]MH_I2C_Read... [13:51:56]Read from MH i2c: E2 FD 00 10 72 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 87 [13:51:56]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:51:57]wFMCommunicate OK [13:51:57]wFMCommunicate request_size=4 [13:51:57]MH_SAM_APDU [13:51:57]CAPDU: 80 17 00 00 [13:51:57]Write to MH i2c: E2 08 00 11 72 80 17 00 00 00 00 00 00 03 [13:51:57]Write i2c OK [13:51:57]MH_I2C_Read... [13:51:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:51:57]Read from MH i2c: E2 [13:51:57]MH_I2C_Read... [13:51:57]Read from MH i2c: E2 DE 00 [13:51:57]MH_I2C_Read... [13:51:57]Read from MH i2c: E2 DE 00 11 72 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E2 [13:51:57]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:51:57]wFMCommunicate OK [13:51:57]SAM_PROTO_GetFMData done [13:51:57]FM_GetFMData:85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:51:58]oper:6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:51:58]total:1B 64 1A 30 [13:51:58]Malloc new data [13:51:58]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:51:58]total:2C 8D 6E [13:51:58]Malloc new data [13:51:58]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 [13:51:58]total: [13:51:58]Malloc new data [13:51:58]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 [13:51:58]total: [13:51:58]Malloc new data [13:51:58]KKMPrepareXReportFMData err=0 [13:51:58]Х отчет ИНН: 02508201610067 Кассир: Жээнбеков Д. 13.03.2024 13:52 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 27 ИТОГИ ПРИХОД Чеков: 27 Общий итог: 4620.00 Итого наличными: 3870.00 Итого безнал.: 750.00 НДС 0% : 0.00 НДС 12% : 490.65 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 40.87 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 3870.00 НС Приход: 8070359.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [13:51:58]StoreToDocumentArchive [13:51:58]MH_GetDate [13:51:58]Write to MH i2c: F0 00 00 12 72 73 [13:51:58]Write i2c OK [13:51:58]MH_I2C_Read... [13:51:58]Read from MH i2c: F0 [13:51:58]MH_I2C_Read... [13:51:58]Read from MH i2c: F0 09 00 [13:51:58]MH_I2C_Read... [13:51:58]Read from MH i2c: F0 09 00 12 72 00 93 AF F1 65 0A 64 6E 65 55 [13:51:58]shift 266 fd 1710337939 [13:51:58]Create dir for shift 0266 [13:51:58]save to /storage/0266/doc_1710337939 [13:51:58]save last doc name /storage/0266/doc_1710337939 to /storage/kkm_last_doc_name [13:51:58]save OK [13:51:58]Clear old archive folders... [13:51:58]NVStorageSaveData kkm_last_timestamp [13:51:58]File name is /storage/kkm_last_timestamp [13:51:58]Write 4 bytes [13:51:58]NVStorageSaveData done [13:51:58]ExternCall_PrintAddStr [13:51:58]wPrintStart [13:51:58]Write to MH i2c: 01 00 00 13 72 85 [13:51:58]Write i2c OK [13:51:58]MH_I2C_Read... [13:51:58]Read from MH i2c: 01 [13:51:58]MH_I2C_Read... [13:51:58]Read from MH i2c: 01 07 00 [13:51:58]MH_I2C_Read... [13:51:58]Read from MH i2c: 01 07 00 13 72 00 00 00 00 00 FF 0F 9A [13:51:58]RasterBufferAndPrint [13:51:58]line Х отчет [13:51:58]line ИНН: 02508201610067 [13:51:58]line Кассир: Жээнбеков Д. [13:51:58]line 13.03.2024 13:52 [13:51:58]line Смена: 266 [13:51:58]line РНМ: 0000000000092018 [13:51:58]line ЗНМ: 0300000097 [13:51:58]line СНО: Общий режим [13:51:58]line Всего чеков: 27 [13:51:58]line ИТОГИ ПРИХОД [13:51:58]line Чеков: 27 [13:51:58]line Общий итог: 4620.00 [13:51:58]line Итого наличными: 3870.00 [13:51:58]line Итого безнал.: 750.00 [13:51:58]line НДС 0% : 0.00 [13:51:58]line НДС 12% : 490.65 [13:51:58]line НСП 0% : 0.00 [13:51:58]line НСП 1,50% : 0.00 [13:51:58]line НСП 0,50% : 0.00 [13:51:58]line НСП 5% : 0.00 [13:51:58]line НСП 3% : 0.00 [13:51:58]line НСП 2% : 0.00 [13:51:58]line НСП 1% : 40.87 [13:51:58]line ИТОГИ ВОЗВРАТ ПРИХОДА [13:51:58]line Чеков: 0 [13:51:58]line Общий итог: 0.00 [13:51:58]line Итого наличными: 0.00 [13:51:58]line Итого безнал.: 0.00 [13:51:58]line НДС 0% : 0.00 [13:51:58]line НДС 12% : 0.00 [13:51:58]line НСП 0% : 0.00 [13:51:58]line НСП 1,50% : 0.00 [13:51:58]line НСП 0,50% : 0.00 [13:51:58]line НСП 5% : 0.00 [13:51:58]line НСП 3% : 0.00 [13:51:58]line НСП 2% : 0.00 [13:51:58]line НСП 1% : 0.00 [13:51:58]line ИТОГИ РАСХОД [13:51:58]line Чеков: 0 [13:51:58]line Общий итог: 0.00 [13:51:58]line Итого наличными: 0.00 [13:51:58]line Итого безнал.: 0.00 [13:51:58]line НДС 0% : 0.00 [13:51:58]line НДС 12% : 0.00 [13:51:58]line НСП 0% : 0.00 [13:51:58]line НСП 1,50% : 0.00 [13:51:58]line НСП 0,50% : 0.00 [13:51:58]line НСП 5% : 0.00 [13:51:58]line НСП 3% : 0.00 [13:51:58]line НСП 2% : 0.00 [13:51:58]line НСП 1% : 0.00 [13:51:58]line ИТОГИ ВОЗВРАТ РАСХОДА [13:51:58]line Чеков: 0 [13:51:58]line Общий итог: 0.00 [13:51:58]line Итого наличными: 0.00 [13:51:58]line Итого безнал.: 0.00 [13:51:58]line НДС 0% : 0.00 [13:51:58]line НДС 12% : 0.00 [13:51:58]line НСП 0% : 0.00 [13:51:58]line НСП 1,50% : 0.00 [13:51:58]line НСП 0,50% : 0.00 [13:51:58]line НСП 5% : 0.00 [13:51:58]line НСП 3% : 0.00 [13:51:58]line НСП 2% : 0.00 [13:51:58]line НСП 1% : 0.00 [13:51:58]line Сумма внесений: 0.00 [13:51:58]line Сумма выплат: 0.00 [13:51:58]line Нал. в кассе: 3870.00 [13:51:58]line НС Приход: 8070359.31 [13:51:58]line НС Возвр.Прихода: 72451.00 [13:51:58]line НС Расход: 0.00 [13:51:58]line НС Возвр.Расхода: 0.00 [13:51:58]line ФМ: 0000000000871816 [13:51:58]written 0, free lines is 4095 [13:51:59]Write to MH i2c: 01 00 00 5E 72 D0 [13:51:59]Write i2c OK [13:51:59]MH_I2C_Read... [13:51:59]Read from MH i2c: 01 [13:51:59]MH_I2C_Read... [13:51:59]Read from MH i2c: 01 07 00 [13:51:59]MH_I2C_Read... [13:51:59]Read from MH i2c: 01 07 00 5E 72 00 00 00 00 00 9D 0A 7E [13:51:59]RasterBufferAndPrint [13:51:59]line [13:51:59]line [13:51:59]line [13:51:59]line [13:51:59]line [13:51:59]written 0, free lines is 2750 [13:51:59]MH_Cut [13:51:59]Write to MH i2c: D1 01 00 65 72 01 A9 [13:51:59]Write i2c OK [13:51:59]MH_I2C_Read... [13:51:59]Read from MH i2c: D1 [13:51:59]MH_I2C_Read... [13:51:59]Read from MH i2c: D1 01 00 [13:51:59]MH_I2C_Read... [13:51:59]Read from MH i2c: D1 01 00 65 72 00 A8 [13:51:59]Write to MH i2c: 01 00 00 66 72 D8 [13:51:59]Write i2c OK [13:51:59]MH_I2C_Read... [13:52:00]*** Cut start [13:52:00]*** Purtial cut [13:52:00]*** Stage 1: CUTSNS_PIN = 1 [13:52:00]OFD Sender: No OFD packet to send [13:52:01]Read from MH i2c: 01 [13:52:01]MH_I2C_Read... [13:52:01]*** Stop cut motor [13:52:01]*** Cut end [13:52:01]Read from MH i2c: 01 07 00 [13:52:01]MH_I2C_Read... [13:52:01]Read from MH i2c: 01 07 00 66 72 00 00 00 00 00 FF 0F ED [13:52:01]process_action x_report done [13:52:01]requested_data is exist [13:52:01]produce_requested_data [13:52:01]requested_item fd.num is exist - process it [13:52:01]SAM_PROTO_GetFieldsCounters [13:52:01]wFMCommunicate request_size=4 [13:52:01]MH_SAM_APDU [13:52:01]CAPDU: 80 13 00 00 [13:52:01]Write to MH i2c: E2 08 00 67 72 80 13 00 00 00 00 00 00 55 [13:52:01]Write i2c OK [13:52:01]MH_I2C_Read... [13:52:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:52:01]Read from MH i2c: E2 [13:52:01]MH_I2C_Read... [13:52:01]Read from MH i2c: E2 62 00 [13:52:01]MH_I2C_Read... [13:52:01]Read from MH i2c: E2 62 00 67 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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:52:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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:52:01]wFMCommunicate OK [13:52:01]SAM_PROTO_GetFieldsCounters done [13:52:01]requested_item shift.num is exist - process it [13:52:01]requested_item shift.opened is exist - process it [13:52:01]req_shift_opened [13:52:01]FM_GetShiftState [13:52:01]SAM_PROTO_GetShiftState [13:52:01]wFMCommunicate request_size=4 [13:52:01]MH_SAM_APDU [13:52:01]CAPDU: 80 13 01 00 [13:52:01]Write to MH i2c: E2 08 00 68 72 80 13 01 00 00 00 00 00 57 [13:52:01]Write i2c OK [13:52:01]MH_I2C_Read... [13:52:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:01]Read from MH i2c: E2 [13:52:01]MH_I2C_Read... [13:52:01]Read from MH i2c: E2 0E 00 [13:52:01]MH_I2C_Read... [13:52:01]Read from MH i2c: E2 0E 00 68 72 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 4B [13:52:01]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:52:01]wFMCommunicate OK [13:52:01]SAM_PROTO_GetShiftState done [13:52:01]FM_GetShiftState done [13:52:01]req_shift_opened done [13:52:01]requested_item shift.open_date is exist - process it [13:52:01]req_shift_open_date [13:52:01]req_shift_open_date done [13:52:01]produce_requested_data done [13:52:01]produce_requested_data return {"fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:52:01]process_action_free x_report [13:52:01]json_value_free [13:52:01]json_value_free done [13:52:01]process_json_proto returns [13:52:01]Send response to host [13:52:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:52:01]free response buf [13:52:01]execute_script done [13:52:01]execute_script returns [13:52:01]free content buf [13:52:01]Sock 9.Close socket [13:52:01]Sock 9.Thread stoped [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:32]accept exits with 7 [13:52:32]New connection [13:52:32]New thread 3066453348 created [13:52:32]Thread 3066596708 joined [13:52:32]Waiting for new connection... [13:52:32] Sock 7.Parse request [13:52:32]Sock 7.Check first char [13:52:32]Sock 7.First char is OK [13:52:32]request: POST /json_proto HTTP/1.0 [13:52:32]Method: POST [13:52:32]URL: /json_proto [13:52:32]Method is POST - this is cgi request [13:52:32]url: /json_proto [13:52:32]query_string will be loaded in cgi processing [13:52:32]execute_cgi json_proto POST (null) [13:52:32]execute_cgi path=json_proto method=POST [13:52:32]POST find Content-Length [13:52:32]Host: 172.17.32.68:8080 [13:52:32]Content-Length: 215 [13:52:32]Content-Type: application/json [13:52:32] [13:52:32]POST finish read [13:52:32]Found Content-Length = 215 [13:52:32]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:52:32]execute_script... [13:52:32]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:52:32]POST & json_proto [13:52:32]process_json_proto [13:52:32]json parsed OK: [13:52:32]protocol is kg_v1.0 [13:52:32]action value=get_value [13:52:32]process_action get_value [13:52:32]cmd_get_value [13:52:32]process_action get_value done [13:52:32]requested_data is exist [13:52:32]produce_requested_data [13:52:32]requested_item kkm.sn is exist - process it [13:52:32]requested_item kkm.ver is exist - process it [13:52:32]requested_item fm.sn is exist - process it [13:52:32]wFMCommunicate request_size=4 [13:52:32]MH_SAM_APDU [13:52:32]CAPDU: 80 11 00 00 [13:52:32]Write to MH i2c: E2 08 00 69 72 80 11 00 00 00 00 00 00 55 [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:52:32]Read from MH i2c: E2 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: E2 17 00 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: E2 17 00 69 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A7 [13:52:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:52:32]wFMCommunicate OK [13:52:32]requested_item fd.num is exist - process it [13:52:32]SAM_PROTO_GetFieldsCounters [13:52:32]wFMCommunicate request_size=4 [13:52:32]MH_SAM_APDU [13:52:32]CAPDU: 80 13 00 00 [13:52:32]Write to MH i2c: E2 08 00 6A 72 80 13 00 00 00 00 00 00 58 [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:52:32]Read from MH i2c: E2 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: E2 62 00 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: E2 62 00 6A 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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 08 [13:52:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 4F B9 00 00 0E 04 04 00 3B 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:52:32]wFMCommunicate OK [13:52:32]SAM_PROTO_GetFieldsCounters done [13:52:32]requested_item shift.num is exist - process it [13:52:32]requested_item shift.opened is exist - process it [13:52:32]req_shift_opened [13:52:32]FM_GetShiftState [13:52:32]SAM_PROTO_GetShiftState [13:52:32]wFMCommunicate request_size=4 [13:52:32]MH_SAM_APDU [13:52:32]CAPDU: 80 13 01 00 [13:52:32]Write to MH i2c: E2 08 00 6B 72 80 13 01 00 00 00 00 00 5A [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:32]Read from MH i2c: E2 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: E2 0E 00 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: E2 0E 00 6B 72 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 4E [13:52:32]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:52:32]wFMCommunicate OK [13:52:32]SAM_PROTO_GetShiftState done [13:52:32]FM_GetShiftState done [13:52:32]req_shift_opened done [13:52:32]requested_item shift.open_date is exist - process it [13:52:32]req_shift_open_date [13:52:32]req_shift_open_date done [13:52:32]produce_requested_data done [13:52:32]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804} [13:52:32]process_action_free get_value [13:52:32]json_value_free [13:52:32]json_value_free done [13:52:32]process_json_proto returns [13:52:32]Send response to host [13:52:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47439,"shift.num":315,"shift.opened":1,"shift.open_date":1710288804}}} [13:52:32]free response buf [13:52:32]execute_script done [13:52:32]execute_script returns [13:52:32]free content buf [13:52:32]Sock 7.Close socket [13:52:32]Sock 7.Thread stoped [13:52:32]accept exits with 9 [13:52:32]New connection [13:52:32]New thread 3066596708 created [13:52:32]Thread 3066453348 joined [13:52:32]Waiting for new connection... [13:52:32] Sock 9.Parse request [13:52:32]Sock 9.Check first char [13:52:32]Sock 9.First char is OK [13:52:32]request: POST /json_proto HTTP/1.0 [13:52:32]Method: POST [13:52:32]URL: /json_proto [13:52:32]Method is POST - this is cgi request [13:52:32]url: /json_proto [13:52:32]query_string will be loaded in cgi processing [13:52:32]execute_cgi json_proto POST (null) [13:52:32]execute_cgi path=json_proto method=POST [13:52:32]POST find Content-Length [13:52:32]Host: 172.17.32.68:8080 [13:52:32]Content-Length: 331 [13:52:32]Content-Type: application/json [13:52:32] [13:52:32]POST finish read [13:52:32]Found Content-Length = 331 [13:52:32]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:52:32]execute_script... [13:52:32]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:52:32]POST & json_proto [13:52:32]process_json_proto [13:52:32]json parsed OK: [13:52:32]protocol is kg_v1.0 [13:52:32]action value=get_value [13:52:32]process_action get_value [13:52:32]cmd_get_value [13:52:32]process_action get_value done [13:52:32]requested_data is exist [13:52:32]produce_requested_data [13:52:32]requested_item fm.sale.total is exist - process it [13:52:32]SAM_PROTO_GetFMData [13:52:32]wFMCommunicate request_size=4 [13:52:32]MH_SAM_APDU [13:52:32]CAPDU: 80 13 03 00 [13:52:32]Write to MH i2c: E2 08 00 6C 72 80 13 03 00 00 00 00 00 5D [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:52:33]Read from MH i2c: E2 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 FD 00 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 FD 00 6C 72 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 5A [13:52:33]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:52:33]wFMCommunicate OK [13:52:33]wFMCommunicate request_size=4 [13:52:33]MH_SAM_APDU [13:52:33]CAPDU: 80 17 00 00 [13:52:33]Write to MH i2c: E2 08 00 6D 72 80 17 00 00 00 00 00 00 5F [13:52:33]Write i2c OK [13:52:33]MH_I2C_Read... [13:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:33]Read from MH i2c: E2 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 FD 00 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 FD 00 6D 72 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D8 [13:52:33]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:52:33]wFMCommunicate OK [13:52:33]wFMCommunicate request_size=4 [13:52:33]MH_SAM_APDU [13:52:33]CAPDU: 80 17 00 00 [13:52:33]Write to MH i2c: E2 08 00 6E 72 80 17 00 00 00 00 00 00 60 [13:52:33]Write i2c OK [13:52:33]MH_I2C_Read... [13:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:33]Read from MH i2c: E2 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 FD 00 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 FD 00 6E 72 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 00 [13:52:33]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:52:34]wFMCommunicate OK [13:52:34]wFMCommunicate request_size=4 [13:52:34]MH_SAM_APDU [13:52:34]CAPDU: 80 17 00 00 [13:52:34]Write to MH i2c: E2 08 00 6F 72 80 17 00 00 00 00 00 00 61 [13:52:34]Write i2c OK [13:52:34]MH_I2C_Read... [13:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:34]Read from MH i2c: E2 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 FD 00 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 FD 00 6F 72 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 E6 [13:52:34]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:52:34]wFMCommunicate OK [13:52:34]wFMCommunicate request_size=4 [13:52:34]MH_SAM_APDU [13:52:34]CAPDU: 80 17 00 00 [13:52:34]Write to MH i2c: E2 08 00 70 72 80 17 00 00 00 00 00 00 62 [13:52:34]Write i2c OK [13:52:34]MH_I2C_Read... [13:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:52:34]Read from MH i2c: E2 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 DE 00 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 DE 00 70 72 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [13:52:34]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:52:34]wFMCommunicate OK [13:52:34]SAM_PROTO_GetFMData done [13:52:34]requested_item fm.sale_refund.total is exist - process it [13:52:34]requested_item fm.buy.total is exist - process it [13:52:34]requested_item shift.sale.total is exist - process it [13:52:34]SAM_PROTO_GetShiftData [13:52:34]wFMCommunicate request_size=4 [13:52:34]MH_SAM_APDU [13:52:34]CAPDU: 80 13 02 00 [13:52:34]Write to MH i2c: E2 08 00 71 72 80 13 02 00 00 00 00 00 61 [13:52:34]Write i2c OK [13:52:34]MH_I2C_Read... [13:52:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:52:35]Read from MH i2c: E2 [13:52:35]MH_I2C_Read... [13:52:35]Read from MH i2c: E2 FD 00 [13:52:35]MH_I2C_Read... [13:52:35]Read from MH i2c: E2 FD 00 71 72 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 47 [13:52:35]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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:52:35]wFMCommunicate OK [13:52:35]wFMCommunicate request_size=4 [13:52:35]MH_SAM_APDU [13:52:35]CAPDU: 80 17 00 00 [13:52:35]Write to MH i2c: E2 08 00 72 72 80 17 00 00 00 00 00 00 64 [13:52:35]Write i2c OK [13:52:35]MH_I2C_Read... [13:52:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:35]Read from MH i2c: E2 [13:52:35]MH_I2C_Read... [13:52:35]Read from MH i2c: E2 FD 00 [13:52:35]MH_I2C_Read... [13:52:35]Read from MH i2c: E2 FD 00 72 72 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 76 [13:52:35]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:52:35]wFMCommunicate OK [13:52:35]wFMCommunicate request_size=4 [13:52:35]MH_SAM_APDU [13:52:35]CAPDU: 80 17 00 00 [13:52:35]Write to MH i2c: E2 08 00 73 72 80 17 00 00 00 00 00 00 65 [13:52:35]Write i2c OK [13:52:35]MH_I2C_Read... [13:52:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:35]Read from MH i2c: E2 [13:52:35]MH_I2C_Read... [13:52:35]Read from MH i2c: E2 FD 00 [13:52:35]MH_I2C_Read... [13:52:35]Read from MH i2c: E2 FD 00 73 72 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 29 [13:52:35]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:52:36]wFMCommunicate OK [13:52:36]wFMCommunicate request_size=4 [13:52:36]MH_SAM_APDU [13:52:36]CAPDU: 80 17 00 00 [13:52:36]Write to MH i2c: E2 08 00 74 72 80 17 00 00 00 00 00 00 66 [13:52:36]OFD Sender: No OFD packet to send [13:52:36]Write i2c OK [13:52:36]MH_I2C_Read... [13:52:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:36]Read from MH i2c: E2 [13:52:36]MH_I2C_Read... [13:52:36]Read from MH i2c: E2 FD 00 [13:52:36]MH_I2C_Read... [13:52:36]Read from MH i2c: E2 FD 00 74 72 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 DB [13:52:36]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:52:36]wFMCommunicate OK [13:52:36]wFMCommunicate request_size=4 [13:52:36]MH_SAM_APDU [13:52:36]CAPDU: 80 17 00 00 [13:52:36]Write to MH i2c: E2 08 00 75 72 80 17 00 00 00 00 00 00 67 [13:52:36]Write i2c OK [13:52:36]MH_I2C_Read... [13:52:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:52:36]Read from MH i2c: E2 [13:52:36]MH_I2C_Read... [13:52:36]Read from MH i2c: E2 CA 00 [13:52:36]MH_I2C_Read... [13:52:36]Read from MH i2c: E2 CA 00 75 72 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 4C [13:52:36]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:52:36]wFMCommunicate OK [13:52:36]SAM_PROTO_GetShiftData done [13:52:36]requested_item shift.sale.total_cash is exist - process it [13:52:36]requested_item shift.sale_refund.total is exist - process it [13:52:36]requested_item shift.sale_refund.total_cash is exist - process it [13:52:36]requested_item shift.buy.total is exist - process it [13:52:36]requested_item shift.buy.total_cash is exist - process it [13:52:36]produce_requested_data done [13:52:36]produce_requested_data return {"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:52:36]process_action_free get_value [13:52:36]json_value_free [13:52:36]json_value_free done [13:52:36]process_json_proto returns [13:52:36]Send response to host [13:52:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:52:36]free response buf [13:52:36]execute_script done [13:52:36]execute_script returns [13:52:36]free content buf [13:52:36]Sock 9.Close socket [13:52:36]Sock 9.Thread stoped [13:52:36]accept exits with 7 [13:52:36]New connection [13:52:36]New thread 3066453348 created [13:52:36]Thread 3066596708 joined [13:52:36]Waiting for new connection... [13:52:36] Sock 7.Parse request [13:52:36]Sock 7.Check first char [13:52:36]Sock 7.First char is OK [13:52:36]request: POST /json_proto HTTP/1.0 [13:52:36]Method: POST [13:52:36]URL: /json_proto [13:52:36]Method is POST - this is cgi request [13:52:36]url: /json_proto [13:52:36]query_string will be loaded in cgi processing [13:52:36]execute_cgi json_proto POST (null) [13:52:36]execute_cgi path=json_proto method=POST [13:52:36]POST find Content-Length [13:52:36]Host: 172.17.32.68:8080 [13:52:36]Content-Length: 331 [13:52:36]Content-Type: application/json [13:52:36] [13:52:36]POST finish read [13:52:36]Found Content-Length = 331 [13:52:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:52:36]execute_script... [13:52:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:52:36]POST & json_proto [13:52:36]process_json_proto [13:52:36]json parsed OK: [13:52:36]protocol is kg_v1.0 [13:52:36]action value=get_value [13:52:36]process_action get_value [13:52:36]cmd_get_value [13:52:36]process_action get_value done [13:52:36]requested_data is exist [13:52:36]produce_requested_data [13:52:36]requested_item fm.sale.total is exist - process it [13:52:36]SAM_PROTO_GetFMData [13:52:36]wFMCommunicate request_size=4 [13:52:36]MH_SAM_APDU [13:52:36]CAPDU: 80 13 03 00 [13:52:36]Write to MH i2c: E2 08 00 76 72 80 13 03 00 00 00 00 00 67 [13:52:36]Write i2c OK [13:52:36]MH_I2C_Read... [13:52:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:52:37]Read from MH i2c: E2 [13:52:37]MH_I2C_Read... [13:52:37]Read from MH i2c: E2 FD 00 [13:52:37]MH_I2C_Read... [13:52:37]Read from MH i2c: E2 FD 00 76 72 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 64 [13:52:37]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:52:37]wFMCommunicate OK [13:52:37]wFMCommunicate request_size=4 [13:52:37]MH_SAM_APDU [13:52:37]CAPDU: 80 17 00 00 [13:52:37]Write to MH i2c: E2 08 00 77 72 80 17 00 00 00 00 00 00 69 [13:52:37]Write i2c OK [13:52:37]MH_I2C_Read... [13:52:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:37]Read from MH i2c: E2 [13:52:37]MH_I2C_Read... [13:52:37]Read from MH i2c: E2 FD 00 [13:52:37]MH_I2C_Read... [13:52:37]Read from MH i2c: E2 FD 00 77 72 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 E2 [13:52:37]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:52:37]wFMCommunicate OK [13:52:37]wFMCommunicate request_size=4 [13:52:37]MH_SAM_APDU [13:52:37]CAPDU: 80 17 00 00 [13:52:37]Write to MH i2c: E2 08 00 78 72 80 17 00 00 00 00 00 00 6A [13:52:37]Write i2c OK [13:52:37]MH_I2C_Read... [13:52:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:38]Read from MH i2c: E2 [13:52:38]MH_I2C_Read... [13:52:38]Read from MH i2c: E2 FD 00 [13:52:38]MH_I2C_Read... [13:52:38]Read from MH i2c: E2 FD 00 78 72 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 0A [13:52:38]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:52:38]wFMCommunicate OK [13:52:38]wFMCommunicate request_size=4 [13:52:38]MH_SAM_APDU [13:52:38]CAPDU: 80 17 00 00 [13:52:38]Write to MH i2c: E2 08 00 79 72 80 17 00 00 00 00 00 00 6B [13:52:38]Write i2c OK [13:52:38]MH_I2C_Read... [13:52:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:38]Read from MH i2c: E2 [13:52:38]MH_I2C_Read... [13:52:38]Read from MH i2c: E2 FD 00 [13:52:38]MH_I2C_Read... [13:52:38]Read from MH i2c: E2 FD 00 79 72 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 F0 [13:52:38]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:52:38]wFMCommunicate OK [13:52:38]wFMCommunicate request_size=4 [13:52:38]MH_SAM_APDU [13:52:38]CAPDU: 80 17 00 00 [13:52:38]Write to MH i2c: E2 08 00 7A 72 80 17 00 00 00 00 00 00 6C [13:52:38]Write i2c OK [13:52:38]MH_I2C_Read... [13:52:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:52:39]Read from MH i2c: E2 [13:52:39]MH_I2C_Read... [13:52:39]Read from MH i2c: E2 DE 00 [13:52:39]MH_I2C_Read... [13:52:39]Read from MH i2c: E2 DE 00 7A 72 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4B [13:52:39]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:52:39]wFMCommunicate OK [13:52:39]SAM_PROTO_GetFMData done [13:52:39]requested_item fm.sale_refund.total is exist - process it [13:52:39]requested_item fm.buy.total is exist - process it [13:52:39]requested_item shift.sale.total is exist - process it [13:52:39]SAM_PROTO_GetShiftData [13:52:39]wFMCommunicate request_size=4 [13:52:39]MH_SAM_APDU [13:52:39]CAPDU: 80 13 02 00 [13:52:39]Write to MH i2c: E2 08 00 7B 72 80 13 02 00 00 00 00 00 6B [13:52:39]Write i2c OK [13:52:39]MH_I2C_Read... [13:52:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:52:39]Read from MH i2c: E2 [13:52:39]MH_I2C_Read... [13:52:39]Read from MH i2c: E2 FD 00 [13:52:39]MH_I2C_Read... [13:52:39]Read from MH i2c: E2 FD 00 7B 72 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 51 [13:52:39]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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:52:40]wFMCommunicate OK [13:52:40]wFMCommunicate request_size=4 [13:52:40]MH_SAM_APDU [13:52:40]CAPDU: 80 17 00 00 [13:52:40]Write to MH i2c: E2 08 00 7C 72 80 17 00 00 00 00 00 00 6E [13:52:40]Write i2c OK [13:52:40]MH_I2C_Read... [13:52:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:40]Read from MH i2c: E2 [13:52:40]MH_I2C_Read... [13:52:40]Read from MH i2c: E2 FD 00 [13:52:40]MH_I2C_Read... [13:52:40]Read from MH i2c: E2 FD 00 7C 72 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 80 [13:52:40]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:52:40]wFMCommunicate OK [13:52:40]wFMCommunicate request_size=4 [13:52:40]MH_SAM_APDU [13:52:40]CAPDU: 80 17 00 00 [13:52:40]Write to MH i2c: E2 08 00 7D 72 80 17 00 00 00 00 00 00 6F [13:52:40]Write i2c OK [13:52:40]MH_I2C_Read... [13:52:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:40]Read from MH i2c: E2 [13:52:40]MH_I2C_Read... [13:52:40]Read from MH i2c: E2 FD 00 [13:52:40]MH_I2C_Read... [13:52:40]Read from MH i2c: E2 FD 00 7D 72 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 33 [13:52:40]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:52:40]wFMCommunicate OK [13:52:40]wFMCommunicate request_size=4 [13:52:40]MH_SAM_APDU [13:52:40]CAPDU: 80 17 00 00 [13:52:40]Write to MH i2c: E2 08 00 7E 72 80 17 00 00 00 00 00 00 70 [13:52:40]Write i2c OK [13:52:40]MH_I2C_Read... [13:52:41]OFD Sender: No OFD packet to send [13:52:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:41]Read from MH i2c: E2 [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: E2 FD 00 [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: E2 FD 00 7E 72 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 E5 [13:52:41]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:52:41]wFMCommunicate OK [13:52:41]wFMCommunicate request_size=4 [13:52:41]MH_SAM_APDU [13:52:41]CAPDU: 80 17 00 00 [13:52:41]Write to MH i2c: E2 08 00 7F 72 80 17 00 00 00 00 00 00 71 [13:52:41]Write i2c OK [13:52:41]MH_I2C_Read... [13:52:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:52:41]Read from MH i2c: E2 [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: E2 CA 00 [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: E2 CA 00 7F 72 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 56 [13:52:41]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:52:41]wFMCommunicate OK [13:52:41]SAM_PROTO_GetShiftData done [13:52:41]requested_item shift.sale.total_cash is exist - process it [13:52:41]requested_item shift.sale_refund.total is exist - process it [13:52:41]requested_item shift.sale_refund.total_cash is exist - process it [13:52:41]requested_item shift.buy.total is exist - process it [13:52:41]requested_item shift.buy.total_cash is exist - process it [13:52:41]produce_requested_data done [13:52:41]produce_requested_data return {"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:52:41]process_action_free get_value [13:52:41]json_value_free [13:52:41]json_value_free done [13:52:41]process_json_proto returns [13:52:41]Send response to host [13:52:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:52:41]free response buf [13:52:41]execute_script done [13:52:41]execute_script returns [13:52:41]free content buf [13:52:41]Sock 7.Close socket [13:52:41]Sock 7.Thread stoped [13:52:41]accept exits with 9 [13:52:41]New connection [13:52:41]New thread 3066596708 created [13:52:41]Thread 3066453348 joined [13:52:41]Waiting for new connection... [13:52:41] Sock 9.Parse request [13:52:41]Sock 9.Check first char [13:52:41]Sock 9.First char is OK [13:52:41]request: POST /json_proto HTTP/1.0 [13:52:41]Method: POST [13:52:41]URL: /json_proto [13:52:41]Method is POST - this is cgi request [13:52:41]url: /json_proto [13:52:41]query_string will be loaded in cgi processing [13:52:41]execute_cgi json_proto POST (null) [13:52:41]execute_cgi path=json_proto method=POST [13:52:41]POST find Content-Length [13:52:41]Host: 172.17.32.68:8080 [13:52:41]Content-Length: 266 [13:52:41]Content-Type: application/json [13:52:41] [13:52:41]POST finish read [13:52:41]Found Content-Length = 266 [13:52:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:52:41]execute_script... [13:52:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:52:41]POST & json_proto [13:52:41]process_json_proto [13:52:41]json parsed OK: [13:52:41]protocol is kg_v1.0 [13:52:41]action value=close_shift [13:52:41]process_action close_shift [13:52:41]cmd_close_shift [13:52:41]MH_GetDate [13:52:41]Write to MH i2c: F0 00 00 80 72 E1 [13:52:41]Write i2c OK [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: F0 [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: F0 09 00 [13:52:41]MH_I2C_Read... [13:52:41]Read from MH i2c: F0 09 00 80 72 00 BF AF F1 65 0A 64 6E 65 EF [13:52:41]GetLastDocTimeStamp 1710337931 [13:52:41]current date 1710337983 [13:52:41]FM_GetShiftState [13:52:41]SAM_PROTO_GetShiftState [13:52:41]wFMCommunicate request_size=4 [13:52:41]MH_SAM_APDU [13:52:41]CAPDU: 80 13 01 00 [13:52:41]Write to MH i2c: E2 08 00 81 72 80 13 01 00 00 00 00 00 70 [13:52:41]Write i2c OK [13:52:41]MH_I2C_Read... [13:52:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:42]Read from MH i2c: E2 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 0E 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 0E 00 81 72 00 09 00 01 A4 EF F0 65 00 00 00 00 90 00 64 [13:52:42]RAPDU: 09 00 01 A4 EF F0 65 00 00 00 00 90 00 [13:52:42]wFMCommunicate OK [13:52:42]SAM_PROTO_GetShiftState done [13:52:42]FM_GetShiftState done [13:52:42]KKMCreateCloseShiftDocument [13:52:42]Load OK [13:52:42]Malloc new data [13:52:42]MH_GetDate [13:52:42]Write to MH i2c: F0 00 00 82 72 E3 [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: F0 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: F0 09 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: F0 09 00 82 72 00 BF AF F1 65 0A 64 6E 65 F1 [13:52:42]Malloc new data [13:52:42]Malloc new data [13:52:42]Malloc new data [13:52:42]Malloc new data [13:52:42]KKMCreateCloseShiftDocument OK [13:52:42]KKMSetCloseShiftData OK [13:52:42]ProcessDocumentItem done err = 0, tmpTLVsize=73 [13:52:42]tlvbuf is 00542F80 [13:52:42]KKMLoadAndSignCloseShiftData [13:52:42]SAM_PROTO_ProcessDocument [13:52:42]wFMCommunicate request_size=9 [13:52:42]MH_SAM_APDU [13:52:42]CAPDU: 80 15 01 00 04 05 00 49 00 [13:52:42]Write to MH i2c: E2 0C 00 83 72 80 15 01 00 04 00 05 00 49 00 00 00 CA [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:42]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [13:52:42]Read from MH i2c: E2 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 83 72 00 90 00 69 [13:52:42]RAPDU: 90 00 [13:52:42]wFMCommunicate OK [13:52:42]wFMCommunicate request_size=23 [13:52:42]MH_SAM_APDU [13:52:42]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [13:52:42]Write to MH i2c: E2 1A 00 84 72 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 6B [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:42]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:52:42]Read from MH i2c: E2 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 84 72 00 90 00 6A [13:52:42]RAPDU: 90 00 [13:52:42]wFMCommunicate OK [13:52:42]wFMCommunicate request_size=32 [13:52:42]MH_SAM_APDU [13:52:42]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 [13:52:42]Write to MH i2c: E2 23 00 85 72 80 15 02 00 1B 00 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 00 00 E5 [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:42]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:52:42]Read from MH i2c: E2 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 85 72 00 90 00 6B [13:52:42]RAPDU: 90 00 [13:52:42]wFMCommunicate OK [13:52:42]wFMCommunicate request_size=13 [13:52:42]MH_SAM_APDU [13:52:42]CAPDU: 80 15 02 00 08 F4 03 04 00 BF AF F1 65 [13:52:42]Write to MH i2c: E2 10 00 86 72 80 15 02 00 08 00 F4 03 04 00 BF AF F1 65 00 00 47 [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:42]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:52:42]Read from MH i2c: E2 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 86 72 00 90 00 6C [13:52:42]RAPDU: 90 00 [13:52:42]wFMCommunicate OK [13:52:42]wFMCommunicate request_size=25 [13:52:42]MH_SAM_APDU [13:52:42]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [13:52:42]Write to MH i2c: E2 1C 00 87 72 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 D6 [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:42]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:52:42]Read from MH i2c: E2 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 [13:52:42]MH_I2C_Read... [13:52:42]Read from MH i2c: E2 03 00 87 72 00 90 00 6D [13:52:42]RAPDU: 90 00 [13:52:42]wFMCommunicate OK [13:52:42]wFMCommunicate request_size=4 [13:52:42]MH_SAM_APDU [13:52:42]CAPDU: 80 15 03 00 [13:52:42]Write to MH i2c: E2 08 00 88 72 80 15 03 00 00 00 00 00 7B [13:52:42]Write i2c OK [13:52:42]MH_I2C_Read... [13:52:43]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [13:52:43]Read from MH i2c: E2 [13:52:43]MH_I2C_Read... [13:52:43]Read from MH i2c: E2 FD 00 [13:52:43]MH_I2C_Read... [13:52:43]Read from MH i2c: E2 FD 00 88 72 00 F0 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 50 B9 00 00 0E 04 04 00 3B 01 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 EB [13:52:43]RAPDU: F0 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 50 B9 00 00 0E 04 04 00 3B 01 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [13:52:43]wFMCommunicate OK [13:52:43]SAM_PROTO_ProcessDocument answer len = 1264 [13:52:43]SAM_PROTO_ProcessDocument remain to read = 1016 [13:52:43]wFMCommunicate request_size=4 [13:52:43]MH_SAM_APDU [13:52:43]CAPDU: 80 17 00 00 [13:52:43]Write to MH i2c: E2 08 00 89 72 80 17 00 00 00 00 00 00 7B [13:52:43]Write i2c OK [13:52:43]MH_I2C_Read... [13:52:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:43]Read from MH i2c: E2 [13:52:43]MH_I2C_Read... [13:52:43]Read from MH i2c: E2 FD 00 [13:52:43]MH_I2C_Read... [13:52:43]Read from MH i2c: E2 FD 00 89 72 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 53 [13:52:43]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [13:52:43]wFMCommunicate OK [13:52:43]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:52:43]SAM_PROTO_ProcessDocument remain to read = 766 [13:52:43]wFMCommunicate request_size=4 [13:52:43]MH_SAM_APDU [13:52:43]CAPDU: 80 17 00 00 [13:52:43]Write to MH i2c: E2 08 00 8A 72 80 17 00 00 00 00 00 00 7C [13:52:43]Write i2c OK [13:52:43]MH_I2C_Read... [13:52:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:44]Read from MH i2c: E2 [13:52:44]MH_I2C_Read... [13:52:44]Read from MH i2c: E2 FD 00 [13:52:44]MH_I2C_Read... [13:52:44]Read from MH i2c: E2 FD 00 8A 72 00 00 05 F7 03 00 00 EF 03 09 00 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 90 00 DE [13:52:44]RAPDU: 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [13:52:44]wFMCommunicate OK [13:52:44]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:52:44]SAM_PROTO_ProcessDocument remain to read = 516 [13:52:44]wFMCommunicate request_size=4 [13:52:44]MH_SAM_APDU [13:52:44]CAPDU: 80 17 00 00 [13:52:44]Write to MH i2c: E2 08 00 8B 72 80 17 00 00 00 00 00 00 7D [13:52:44]Write i2c OK [13:52:44]MH_I2C_Read... [13:52:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:44]Read from MH i2c: E2 [13:52:44]MH_I2C_Read... [13:52:44]Read from MH i2c: E2 FD 00 [13:52:44]MH_I2C_Read... [13:52:44]Read from MH i2c: E2 FD 00 8B 72 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [13:52:44]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:52:45]wFMCommunicate OK [13:52:45]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:52:45]SAM_PROTO_ProcessDocument remain to read = 266 [13:52:45]wFMCommunicate request_size=4 [13:52:45]MH_SAM_APDU [13:52:45]CAPDU: 80 17 00 00 [13:52:45]Write to MH i2c: E2 08 00 8C 72 80 17 00 00 00 00 00 00 7E [13:52:45]Write i2c OK [13:52:45]MH_I2C_Read... [13:52:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:45]Read from MH i2c: E2 [13:52:45]MH_I2C_Read... [13:52:45]Read from MH i2c: E2 FD 00 [13:52:45]MH_I2C_Read... [13:52:45]Read from MH i2c: E2 FD 00 8C 72 00 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 44 [13:52:45]RAPDU: 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [13:52:45]wFMCommunicate OK [13:52:45]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:52:45]SAM_PROTO_ProcessDocument remain to read = 16 [13:52:45]wFMCommunicate request_size=4 [13:52:45]MH_SAM_APDU [13:52:45]CAPDU: 80 17 00 00 [13:52:45]Write to MH i2c: E2 08 00 8D 72 80 17 00 00 00 00 00 00 7F [13:52:45]Write i2c OK [13:52:45]MH_I2C_Read... [13:52:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 16! [13:52:45]Read from MH i2c: E2 [13:52:45]MH_I2C_Read... [13:52:45]Read from MH i2c: E2 13 00 [13:52:45]MH_I2C_Read... [13:52:45]Read from MH i2c: E2 13 00 8D 72 00 00 06 F7 03 00 00 35 04 06 00 FD 4C C5 8C D9 E2 90 00 17 [13:52:45]RAPDU: 00 06 F7 03 00 00 35 04 06 00 FD 4C C5 8C D9 E2 90 00 [13:52:45]wFMCommunicate OK [13:52:45]SAM_PROTO_ProcessDocument received (without SW) 16 bytes [13:52:45]SAM_PROTO_ProcessDocument done [13:52:45]1209 (1) - 1.0 - номер версии ФФД [13:52:45]1041 (16) - 0000000000871816 - номер ФМ [13:52:45]1040 (4) - 47440 - номер ФД [13:52:45]1038 (4) - 315 - номер смены [13:52:45]1118 (4) - 27 - количество кассовых чеков за смену [13:52:45]1111 (4) - 29 - общее количество ФД за смену [13:52:45]1194 (1193) - счетчики итогов смены [13:52:45] 1134 (4) - 27 - количество чеков со всеми признаками расчетов [13:52:45] 1129 (154) - счетчики операций «приход» [13:52:45] 1135 (4) - 27 - количество чеков по признаку расчетов [13:52:45] 1201 (3) - 4620.00 - общая итоговая сумма в чеках [13:52:45] 1136 (3) - 3870.00 - итоговая сумма в чеках наличными [13:52:45] 1138 (3) - 750.00 - итоговая сумма в чеках безналичными [13:52:45] 1024 (121) - суммы налогов [13:52:45] 1006 (9) - суммы НДС [13:52:45] 1010 (1) - 0% - код ставки НДС [13:52:45] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:45] 1006 (11) - суммы НДС [13:52:45] 1010 (1) - 12% - код ставки НДС [13:52:45] 1011 (2) - 490.65 - сумма НДС по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 0% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (11) - суммы НСП [13:52:45] 1014 (1) - 1% - код ставки НСП [13:52:45] 1015 (2) - 40.87 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 2% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 3% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 5% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 0,50% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 1,50% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1130 (141) - счетчики операций «возврат прихода» [13:52:45] 1135 (4) - 0 - количество чеков по признаку расчетов [13:52:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:52:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:52:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:52:45] 1024 (117) - суммы налогов [13:52:45] 1006 (9) - суммы НДС [13:52:45] 1010 (1) - 0% - код ставки НДС [13:52:45] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:45] 1006 (9) - суммы НДС [13:52:45] 1010 (1) - 12% - код ставки НДС [13:52:45] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 0% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 1% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 2% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 3% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 5% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 0,50% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 1,50% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1131 (141) - счетчики операций «расход» [13:52:45] 1135 (4) - 0 - количество чеков по признаку расчетов [13:52:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:52:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:52:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:52:45] 1024 (117) - суммы налогов [13:52:45] 1006 (9) - суммы НДС [13:52:45] 1010 (1) - 0% - код ставки НДС [13:52:45] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:45] 1006 (9) - суммы НДС [13:52:45] 1010 (1) - 12% - код ставки НДС [13:52:45] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 0% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 1% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 2% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 3% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:45] 1014 (1) - 5% - код ставки НСП [13:52:45] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:45] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 0,50% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 1,50% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1132 (141) - счетчики операций «возврат расхода» [13:52:46] 1135 (4) - 0 - количество чеков по признаку расчетов [13:52:46] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:52:46] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:52:46] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:52:46] 1024 (117) - суммы налогов [13:52:46] 1006 (9) - суммы НДС [13:52:46] 1010 (1) - 0% - код ставки НДС [13:52:46] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:46] 1006 (9) - суммы НДС [13:52:46] 1010 (1) - 12% - код ставки НДС [13:52:46] 1011 (0) - 0.00 - сумма НДС по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 0% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 1% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 2% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 3% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 5% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 0,50% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1007 (9) - суммы НСП [13:52:46] 1014 (1) - 1,50% - код ставки НСП [13:52:46] 1015 (0) - 0.00 - сумма НСП по ставке [13:52:46] 1133 (588) - - счетчики коррекции - не используются [13:52:46]1077 (6) - 278506173684194 - ФПД [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1209 (04B9) [13:52:46]Malloc new data [13:52:46]Processing tag 1041 (0411) [13:52:46]Processing tag 1040 (0410) [13:52:46]Malloc new data [13:52:46]Processing tag 1038 (040E) [13:52:46]Malloc new data [13:52:46]Processing tag 1118 (045E) [13:52:46]Malloc new data [13:52:46]Processing tag 1111 (0457) [13:52:46]Malloc new data [13:52:46]Processing tag 1194 (04AA) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1134 (046E) [13:52:46]Malloc new data [13:52:46]Processing tag 1129 (0469) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1135 (046F) [13:52:46]Malloc new data [13:52:46]Processing tag 1201 (04B1) [13:52:46]Malloc new data [13:52:46]Processing tag 1136 (0470) [13:52:46]Malloc new data [13:52:46]Processing tag 1138 (0472) [13:52:46]Malloc new data [13:52:46]Processing tag 1024 (0400) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1130 (046A) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1135 (046F) [13:52:46]Malloc new data [13:52:46]Processing tag 1201 (04B1) [13:52:46]Malloc new data [13:52:46]Processing tag 1136 (0470) [13:52:46]Malloc new data [13:52:46]Processing tag 1138 (0472) [13:52:46]Malloc new data [13:52:46]Processing tag 1024 (0400) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]OFD Sender: No OFD packet to send [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1131 (046B) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1135 (046F) [13:52:46]Malloc new data [13:52:46]Processing tag 1201 (04B1) [13:52:46]Malloc new data [13:52:46]Processing tag 1136 (0470) [13:52:46]Malloc new data [13:52:46]Processing tag 1138 (0472) [13:52:46]Malloc new data [13:52:46]Processing tag 1024 (0400) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1132 (046C) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1135 (046F) [13:52:46]Malloc new data [13:52:46]Processing tag 1201 (04B1) [13:52:46]Malloc new data [13:52:46]Processing tag 1136 (0470) [13:52:46]Malloc new data [13:52:46]Processing tag 1138 (0472) [13:52:46]Malloc new data [13:52:46]Processing tag 1024 (0400) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1006 (03EE) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1010 (03F2) [13:52:46]Malloc new data [13:52:46]Processing tag 1011 (03F3) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1007 (03EF) [13:52:46]Load OK [13:52:46]SetTLVBufToDocument [13:52:46]Processing tag 1014 (03F6) [13:52:46]Malloc new data [13:52:46]Processing tag 1015 (03F7) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1133 (046D) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Processing tag 1077 (0435) [13:52:46]Malloc new data [13:52:46]SetTLVBufToDocument err=0 [13:52:46]Malloc new data [13:52:46]SAM_PROTO_GetFMData [13:52:46]wFMCommunicate request_size=4 [13:52:46]MH_SAM_APDU [13:52:46]CAPDU: 80 13 03 00 [13:52:46]Write to MH i2c: E2 08 00 8E 72 80 13 03 00 00 00 00 00 7F [13:52:46]Write i2c OK [13:52:46]MH_I2C_Read... [13:52:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:52:47]Read from MH i2c: E2 [13:52:47]MH_I2C_Read... [13:52:47]Read from MH i2c: E2 FD 00 [13:52:47]MH_I2C_Read... [13:52:47]Read from MH i2c: E2 FD 00 8E 72 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 7C [13:52:47]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:52:47]wFMCommunicate OK [13:52:47]wFMCommunicate request_size=4 [13:52:47]MH_SAM_APDU [13:52:47]CAPDU: 80 17 00 00 [13:52:47]Write to MH i2c: E2 08 00 8F 72 80 17 00 00 00 00 00 00 81 [13:52:47]Write i2c OK [13:52:47]MH_I2C_Read... [13:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:47]Read from MH i2c: E2 [13:52:47]MH_I2C_Read... [13:52:47]Read from MH i2c: E2 FD 00 [13:52:47]MH_I2C_Read... [13:52:47]Read from MH i2c: E2 FD 00 8F 72 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 FA [13:52:48]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:52:48]wFMCommunicate OK [13:52:48]wFMCommunicate request_size=4 [13:52:48]MH_SAM_APDU [13:52:48]CAPDU: 80 17 00 00 [13:52:48]Write to MH i2c: E2 08 00 90 72 80 17 00 00 00 00 00 00 82 [13:52:48]Write i2c OK [13:52:48]MH_I2C_Read... [13:52:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:48]Read from MH i2c: E2 [13:52:48]MH_I2C_Read... [13:52:48]Read from MH i2c: E2 FD 00 [13:52:48]MH_I2C_Read... [13:52:48]Read from MH i2c: E2 FD 00 90 72 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 22 [13:52:48]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:52:48]wFMCommunicate OK [13:52:48]wFMCommunicate request_size=4 [13:52:48]MH_SAM_APDU [13:52:48]CAPDU: 80 17 00 00 [13:52:48]Write to MH i2c: E2 08 00 91 72 80 17 00 00 00 00 00 00 83 [13:52:48]Write i2c OK [13:52:48]MH_I2C_Read... [13:52:49]Read from MH i2c: E2 [13:52:49]MH_I2C_Read... [13:52:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:52:49]Read from MH i2c: E2 FD 00 [13:52:49]MH_I2C_Read... [13:52:49]Read from MH i2c: E2 FD 00 91 72 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 08 [13:52:49]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:52:49]wFMCommunicate OK [13:52:49]wFMCommunicate request_size=4 [13:52:49]MH_SAM_APDU [13:52:49]CAPDU: 80 17 00 00 [13:52:49]Write to MH i2c: E2 08 00 92 72 80 17 00 00 00 00 00 00 84 [13:52:49]Write i2c OK [13:52:49]MH_I2C_Read... [13:52:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:52:49]Read from MH i2c: E2 [13:52:49]MH_I2C_Read... [13:52:49]Read from MH i2c: E2 DE 00 [13:52:49]MH_I2C_Read... [13:52:49]Read from MH i2c: E2 DE 00 92 72 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 63 [13:52:49]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:52:50]wFMCommunicate OK [13:52:50]SAM_PROTO_GetFMData done [13:52:50]Malloc new data [13:52:50]Malloc new data [13:52:50]Malloc new data [13:52:50]Malloc new data [13:52:50]KKMLoadAndSignCloseShiftData err=0 [13:52:50]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Жээнбеков Д. 13.03.2024 13:53 Смена: 315 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Чеков за смену: 27 ФД за смену: 29 Всего чеков: 27 ИТОГИ ПРИХОД Чеков: 27 Общий итог: 4620.00 Итого наличными: 3870.00 Итого безнал.: 750.00 НДС 0% : 0.00 НДС 12% : 490.65 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 40.87 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 3870.00 НС Приход: 8070359.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 47440 ФМ: 0000000000871816 ФПД: 278506173684194 [13:52:50]StoreToDocumentArchive [13:52:50]shift 315 fd 47440 [13:52:50]save to /storage/0315/doc_00047440 [13:52:50]save last doc name /storage/0315/doc_00047440 to /storage/kkm_last_doc_name [13:52:50]save OK [13:52:50]Clear old archive folders... [13:52:50]Remove dir /storage/0266 [13:52:50]opendir ok [13:52:50]file . [13:52:50]file .. [13:52:50]file doc_1710337939 [13:52:50]remove file /storage/0266/doc_1710337939 [13:52:50]remove dir /storage/0266 [13:52:50]NVStorageSaveData kkm_registers [13:52:50]File name is /storage/kkm_registers [13:52:50]Write 24 bytes [13:52:50]NVStorageSaveData done [13:52:50]NVStorageSaveData kkm_registers [13:52:50]File name is /storage/kkm_registers [13:52:50]Write 24 bytes [13:52:50]NVStorageSaveData done [13:52:50]ProcessDocumentItem done err = 0, tmpTLVsize=1380 [13:52:50]tlvbuf is 0059BD60 [13:52:50]SAM_PROTO_ClearQueue [13:52:50]wFMCommunicate request_size=4 [13:52:50]MH_SAM_APDU [13:52:50]CAPDU: 80 09 00 00 [13:52:50]Write to MH i2c: E2 08 00 93 72 80 09 00 00 00 00 00 00 77 [13:52:50]Write i2c OK [13:52:50]MH_I2C_Read... [13:52:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:52:50]Read from MH i2c: E2 [13:52:50]MH_I2C_Read... [13:52:50]Read from MH i2c: E2 03 00 [13:52:50]MH_I2C_Read... [13:52:50]Read from MH i2c: E2 03 00 93 72 00 90 00 79 [13:52:50]RAPDU: 90 00 [13:52:50]wFMCommunicate OK [13:52:50]SAM_PROTO_ClearQueue done [13:52:50]KKMCreateOFDPacket [13:52:50]OFDProtocolAddRootSTLVToBuf [13:52:50]FM_MakeSignedData [13:52:50]FM_MakeSignedData [13:52:50]SAM_PROTO_SignData [13:52:50]wFMCommunicate request_size=4 [13:52:50]MH_SAM_APDU [13:52:50]CAPDU: 80 0D 01 02 [13:52:50]Write to MH i2c: E2 08 00 94 72 80 0D 01 02 00 00 00 00 7F [13:52:50]Write i2c OK [13:52:50]MH_I2C_Read... [13:52:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:52:50]Read from MH i2c: E2 [13:52:50]MH_I2C_Read... [13:52:50]Read from MH i2c: E2 03 00 [13:52:50]MH_I2C_Read... [13:52:50]Read from MH i2c: E2 03 00 94 72 00 90 00 7A [13:52:50]RAPDU: 90 00 [13:52:50]wFMCommunicate OK [13:52:50]wFMCommunicate request_size=255 [13:52:50]MH_SAM_APDU [13:52:50]CAPDU: 80 0D 02 02 FA 05 00 64 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 BF AF F1 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 AA 04 D4 04 6E 04 04 00 1B 00 00 00 69 04 A1 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A9 BF 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 [13:52:50]Write to MH i2c: E2 02 01 95 72 80 0D 02 02 FA 00 05 00 64 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 BF AF F1 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 AA 04 D4 04 6E 04 04 00 1B 00 00 00 69 04 A1 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A9 BF 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 00 00 54 [13:52:50]Write i2c OK [13:52:50]MH_I2C_Read... [13:52:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:50]Read from MH i2c: E2 [13:52:50]MH_I2C_Read... [13:52:50]Read from MH i2c: E2 03 00 [13:52:50]MH_I2C_Read... [13:52:50]Read from MH i2c: E2 03 00 95 72 00 90 00 7B [13:52:50]RAPDU: 90 00 [13:52:50]wFMCommunicate OK [13:52:50]wFMCommunicate request_size=255 [13:52:50]MH_SAM_APDU [13:52:50]CAPDU: 80 0D 02 02 FA 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 F7 0F 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 [13:52:51]Write to MH i2c: E2 02 01 96 72 80 0D 02 02 FA 00 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 F7 0F 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 00 00 EA [13:52:51]Write i2c OK [13:52:51]MH_I2C_Read... [13:52:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:51]Read from MH i2c: E2 [13:52:51]MH_I2C_Read... [13:52:51]Read from MH i2c: E2 03 00 [13:52:51]MH_I2C_Read... [13:52:51]Read from MH i2c: E2 03 00 96 72 00 90 00 7C [13:52:51]RAPDU: 90 00 [13:52:51]wFMCommunicate OK [13:52:51]wFMCommunicate request_size=255 [13:52:51]MH_SAM_APDU [13:52:51]CAPDU: 80 0D 02 02 FA 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 OFD Sender: No OFD packet to send [13:52:51]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 [13:52:51]Write to MH i2c: E2 02 01 97 72 80 0D 02 02 FA 00 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 00 00 52 [13:52:51]Write i2c OK [13:52:51]MH_I2C_Read... [13:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:52]Read from MH i2c: E2 [13:52:52]MH_I2C_Read... [13:52:52]Read from MH i2c: E2 03 00 [13:52:52]MH_I2C_Read... [13:52:52]Read from MH i2c: E2 03 00 97 72 00 90 00 7D [13:52:52]RAPDU: 90 00 [13:52:52]wFMCommunicate OK [13:52:52]wFMCommunicate request_size=255 [13:52:52]MH_SAM_APDU [13:52:52]CAPDU: 80 0D 02 02 FA 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 [13:52:52]Write to MH i2c: E2 02 01 98 72 80 0D 02 02 FA 00 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 00 00 53 [13:52:52]Write i2c OK [13:52:52]MH_I2C_Read... [13:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:52]Read from MH i2c: E2 [13:52:52]MH_I2C_Read... [13:52:52]Read from MH i2c: E2 03 00 [13:52:52]MH_I2C_Read... [13:52:52]Read from MH i2c: E2 03 00 98 72 00 90 00 7E [13:52:52]RAPDU: 90 00 [13:52:52]wFMCommunicate OK [13:52:52]wFMCommunicate request_size=255 [13:52:52]MH_SAM_APDU [13:52:52]CAPDU: 80 0D 02 02 FA F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 [13:52:53]Write to MH i2c: E2 02 01 99 72 80 0D 02 02 FA 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 00 00 0E [13:52:53]Write i2c OK [13:52:53]MH_I2C_Read... [13:52:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:53]Read from MH i2c: E2 [13:52:53]MH_I2C_Read... [13:52:53]Read from MH i2c: E2 03 00 [13:52:53]MH_I2C_Read... [13:52:53]Read from MH i2c: E2 03 00 99 72 00 90 00 7F [13:52:53]RAPDU: 90 00 [13:52:53]wFMCommunicate OK [13:52:53]wFMCommunicate request_size=139 [13:52:53]MH_SAM_APDU [13:52:53]CAPDU: 80 0D 02 02 86 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 50 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 FD 4C C5 8C D9 E2 [13:52:53]Write to MH i2c: E2 8E 00 9A 72 80 0D 02 02 86 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 50 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 FD 4C C5 8C D9 E2 00 00 20 [13:52:53]Write i2c OK [13:52:53]MH_I2C_Read... [13:52:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:53]Read from MH i2c: E2 [13:52:53]MH_I2C_Read... [13:52:53]Read from MH i2c: E2 03 00 [13:52:53]MH_I2C_Read... [13:52:53]Read from MH i2c: E2 03 00 9A 72 00 90 00 80 [13:52:53]RAPDU: 90 00 [13:52:53]wFMCommunicate OK [13:52:53]wFMCommunicate request_size=4 [13:52:53]MH_SAM_APDU [13:52:53]CAPDU: 80 0D 03 02 [13:52:53]Write to MH i2c: E2 08 00 9B 72 80 0D 03 02 00 00 00 00 88 [13:52:54]Write i2c OK [13:52:54]MH_I2C_Read... [13:52:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:52:54]Read from MH i2c: E2 [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: E2 0B 00 [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: E2 0B 00 9B 72 00 B9 FA E7 0D 98 33 D0 8F 90 00 5A [13:52:54]RAPDU: B9 FA E7 0D 98 33 D0 8F 90 00 [13:52:54]wFMCommunicate OK [13:52:54]SAM_PROTO_SignData done [13:52:54]FM_MakeSignedData done [13:52:54]CreateOFDProtocolMessage [13:52:54]wFMCommunicate request_size=4 [13:52:54]MH_SAM_APDU [13:52:54]CAPDU: 80 11 00 00 [13:52:54]Write to MH i2c: E2 08 00 9C 72 80 11 00 00 00 00 00 00 88 [13:52:54]Write i2c OK [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: E2 [13:52:54]MH_I2C_Read... [13:52:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:52:54]Read from MH i2c: E2 17 00 [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: E2 17 00 9C 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DA [13:52:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:52:54]wFMCommunicate OK [13:52:54]CreateOFDProtocolMessage done [13:52:54]OFDSenderStorePacket 47440 [13:52:54]StoreOFDPacket docnum=47440 [13:52:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 78 05 00 00 10 DF 70 05 F0 60 5A 05 01 00 05 00 64 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 BF AF F1 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 AA 04 D4 04 6E 04 04 00 1B 00 00 00 69 04 A1 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A9 BF 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 F7 0F 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 50 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 FD 4C C5 8C D9 E2 B9 FA E7 0D 98 33 D0 8F [13:52:54]CheckFolder [13:52:54]dirname=/storage/ofd_packets [13:52:54]CheckFolder done [13:52:54]ProducePacketName [13:52:54]name=ofd_packets/00047440 [13:52:54]NVStorageSaveData ofd_packets/00047440 [13:52:54]File name is /storage/ofd_packets/00047440 [13:52:54]Write 1430 bytes [13:52:54]NVStorageSaveData done [13:52:54]OFDSenderStorePacket done [13:52:54]KKMCreateOFDPacket done [13:52:54]NVStorageSaveData kkm_last_timestamp [13:52:54]File name is /storage/kkm_last_timestamp [13:52:54]Write 4 bytes [13:52:54]NVStorageSaveData done [13:52:54]ExternCall_PrintAddStr [13:52:54]wPrintStart [13:52:54]Write to MH i2c: 01 00 00 9D 72 0F [13:52:54]Write i2c OK [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: 01 [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: 01 07 00 [13:52:54]MH_I2C_Read... [13:52:54]Read from MH i2c: 01 07 00 9D 72 00 00 00 00 00 FF 0F 24 [13:52:54]RasterBufferAndPrint [13:52:54]line Отчет о закрытии смены [13:52:54]line ФФД: 1.0 [13:52:54]line ИНН: 02508201610067 [13:52:54]line Кассир: Жээнбеков Д. [13:52:54]line 13.03.2024 13:53 [13:52:54]line Смена: 315 [13:52:54]line РНМ: 0000000000092018 [13:52:54]line ЗНМ: 0300000097 [13:52:54]line СНО: Общий режим [13:52:54]line Чеков за смену: 27 [13:52:54]line ФД за смену: 29 [13:52:54]line Всего чеков: 27 [13:52:54]line ИТОГИ ПРИХОД [13:52:54]line Чеков: 27 [13:52:54]line Общий итог: 4620.00 [13:52:54]line Итого наличными: 3870.00 [13:52:54]line Итого безнал.: 750.00 [13:52:54]line НДС 0% : 0.00 [13:52:54]line НДС 12% : 490.65 [13:52:54]line НСП 0% : 0.00 [13:52:54]line НСП 1,50% : 0.00 [13:52:54]line НСП 0,50% : 0.00 [13:52:54]line НСП 5% : 0.00 [13:52:54]line НСП 3% : 0.00 [13:52:54]line НСП 2% : 0.00 [13:52:54]OFD Sender: Processing packet 47440 [packets to send 8, broken 7] [13:52:54]line НСП 1% : 40.87 [13:52:54]ProducePacketName [13:52:54]line ИТОГИ ВОЗВРАТ ПРИХОДА [13:52:54]name=ofd_packets/00047440 [13:52:54]line Чеков: 0 [13:52:54]OFD Sender: To server: pG, [13:52:54]line Общий итог: 0.00 [13:52:54]CommunicateWithHost lk.salyk.kg:30040 [13:52:54]line Итого наличными: 0.00 [13:52:54]ConnectInit lk.salyk.kg [13:52:54]line Итого безнал.: 0.00 [13:52:54]line НДС 0% : 0.00 [13:52:54]line НДС 12% : 0.00 [13:52:54]line НСП 0% : 0.00 [13:52:54]line НСП 1,50% : 0.00 [13:52:54]line НСП 0,50% : 0.00 [13:52:54]line НСП 5% : 0.00 [13:52:54]line НСП 3% : 0.00 [13:52:54]line НСП 2% : 0.00 [13:52:54]line НСП 1% : 0.00 [13:52:54]line ИТОГИ РАСХОД [13:52:54]line Чеков: 0 [13:52:54]line Общий итог: 0.00 [13:52:54]line Итого наличными: 0.00 [13:52:54]line Итого безнал.: 0.00 [13:52:54]line НДС 0% : 0.00 [13:52:54]line НДС 12% : 0.00 [13:52:54]line НСП 0% : 0.00 [13:52:54]line НСП 1,50% : 0.00 [13:52:54]line НСП 0,50% : 0.00 [13:52:54]line НСП 5% : 0.00 [13:52:54]line НСП 3% : 0.00 [13:52:54]line НСП 2% : 0.00 [13:52:54]line НСП 1% : 0.00 [13:52:54]line ИТОГИ ВОЗВРАТ РАСХОДА [13:52:54]line Чеков: 0 [13:52:54]line Общий итог: 0.00 [13:52:54]line Итого наличными: 0.00 [13:52:54]line Итого безнал.: 0.00 [13:52:54]line НДС 0% : 0.00 [13:52:54]line НДС 12% : 0.00 [13:52:54]line НСП 0% : 0.00 [13:52:54]line НСП 1,50% : 0.00 [13:52:54]line НСП 0,50% : 0.00 [13:52:54]line НСП 5% : 0.00 [13:52:54]line НСП 3% : 0.00 [13:52:54]line НСП 2% : 0.00 [13:52:54]line НСП 1% : 0.00 [13:52:54]line Сумма внесений: 0.00 [13:52:54]line Сумма выплат: 0.00 [13:52:54]line Нал. в кассе: 3870.00 [13:52:54]line НС Приход: 8070359.31 [13:52:54]line НС Возвр.Прихода: 72451.00 [13:52:54]line НС Расход: 0.00 [13:52:54]line НС Возвр.Расхода: 0.00 [13:52:54]line ФД: 47440 [13:52:54]line ФМ: 0000000000871816 [13:52:54]line ФПД: 278506173684194 [13:52:54]written 0, free lines is 4095 [13:52:54]Connected sock=10 [13:52:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 78 05 00 00 10 DF 70 05 F0 60 5A 05 01 00 05 00 64 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 BF AF F1 65 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 AA 04 D4 04 6E 04 04 00 1B 00 00 00 69 04 A1 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 B0 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A9 BF 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 F7 0F 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 Write to MH i2c: 00 01 F6 00 03 00 01 ED 00 72 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 5F 01 [13:52:55]F7 03 01 00 00 6D 04 4C 02 Write i2c OK [13:52:55]78 MH_I2C_Read... [13:52:55]04 Read from MH i2c: 04 01 00 [13:52:55]00 MH_I2C_Read... [13:52:55]00 Read from MH i2c: 00 01 00 07 79 00 04 [13:52:55]8D MH_I2C_Read... [13:52:55]00 Read from MH i2c: 6F 01 04 07 04 00 00 ED 00 72 00 00 00 00 00 00 B1 00 04 00 00 46 00 0B 70 B7 04 [13:52:55]00 RasterBufferAndPrint [13:52:55]00 line [13:52:55]72 line [13:52:55]04 line [13:52:55]00 line [13:52:55]00 line [13:52:55]00 04 75 written 0, free lines is 3064 [13:52:55]00 EE 03 09 00 F2 03 01 00 00 F3 03 MH_Cut [13:52:55]00 Write to MH i2c: 00 D1 EE 01 03 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 F4 09 72 00 01 F6 38 03 [13:52:55]01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 Write i2c OK [13:52:55]F7 MH_I2C_Read... [13:52:55]03 Read from MH i2c: 00 D1 00 [13:52:55]EF MH_I2C_Read... [13:52:55]Read from MH i2c: 03 D1 09 01 00 00 F6 [13:52:55]03 MH_I2C_Read... [13:52:55]01 Read from MH i2c: 00 D1 02 01 F7 00 03 F4 00 72 00 00 EF 37 03 [13:52:55]09 Write to MH i2c: 00 01 F6 00 03 00 01 F5 00 72 03 67 F7 [13:52:55]03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 Write i2c OK [13:52:55]00 MH_I2C_Read... [13:52:55]EF 03 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 50 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 FD 4C C5 8C D9 E2 B9 FA E7 0D 98 33 D0 8F [13:52:56]*** Cut start [13:52:56]*** Purtial cut [13:52:56]*** Stage 1: CUTSNS_PIN = 1 [13:52:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 04 55 47 00 BA 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 50 B9 00 00 F4 03 04 00 5A 5A F1 65 B6 04 01 00 00 E0 36 A3 65 26 A1 D9 5E [13:52:56]CommunicateWithHost err = 0 [13:52:56]CheckOFDResponse [13:52:56]1017 (14) - 77093643461234 [13:52:56]1041 (16) - 0000000000871816 [13:52:56]1040 (4) - 47440 [13:52:56]1012 (4) - 13.03.2024 07:48 [13:52:56]1206 (1) - 0 [13:52:56]OFD Sender: Remove packet 47440 [13:52:56]ProducePacketName [13:52:56]name=ofd_packets/00047440 [13:52:56]NVStorageDeleteData [13:52:56]Read from MH i2c: *** Stop cut motor [13:52:56]01 *** Cut end [13:52:56] [13:52:56]MH_I2C_Read... [13:52:56]Read from MH i2c: 01 07 00 [13:52:56]MH_I2C_Read... [13:52:56]Read from MH i2c: 01 07 00 F5 72 00 00 00 00 00 FF 0F 7C [13:52:56]process_action close_shift done [13:52:56]requested_data is exist [13:52:56]produce_requested_data [13:52:56]requested_item fd.num is exist - process it [13:52:56]SAM_PROTO_GetFieldsCounters [13:52:56]wFMCommunicate request_size=4 [13:52:56]MH_SAM_APDU [13:52:56]CAPDU: 80 13 00 00 [13:52:56]Write to MH i2c: E2 08 00 F6 72 80 13 00 00 00 00 00 00 E4 [13:52:57]Write i2c OK [13:52:57]MH_I2C_Read... [13:52:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:52:57]Read from MH i2c: E2 [13:52:57]MH_I2C_Read... [13:52:57]Read from MH i2c: E2 62 00 [13:52:57]MH_I2C_Read... [13:52:57]Read from MH i2c: E2 62 00 F6 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 50 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [13:52:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 50 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:52:57]wFMCommunicate OK [13:52:57]SAM_PROTO_GetFieldsCounters done [13:52:57]requested_item shift.num is exist - process it [13:52:57]requested_item shift.opened is exist - process it [13:52:57]req_shift_opened [13:52:57]FM_GetShiftState [13:52:57]SAM_PROTO_GetShiftState [13:52:57]OFD Sender: No OFD packet to send [13:52:57]wFMCommunicate request_size=4 [13:52:57]MH_SAM_APDU [13:52:57]CAPDU: 80 13 01 00 [13:52:57]Write to MH i2c: E2 08 00 F7 72 80 13 01 00 00 00 00 00 E6 [13:52:57]Write i2c OK [13:52:57]MH_I2C_Read... [13:52:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:57]Read from MH i2c: E2 [13:52:57]MH_I2C_Read... [13:52:57]Read from MH i2c: E2 0E 00 [13:52:57]MH_I2C_Read... [13:52:57]Read from MH i2c: E2 0E 00 F7 72 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F1 [13:52:57]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:52:57]wFMCommunicate OK [13:52:57]SAM_PROTO_GetShiftState done [13:52:57]FM_GetShiftState done [13:52:57]req_shift_opened done [13:52:57]requested_item shift.open_date is exist - process it [13:52:57]req_shift_open_date [13:52:57]FM_GetShiftState [13:52:57]SAM_PROTO_GetShiftState [13:52:57]wFMCommunicate request_size=4 [13:52:57]MH_SAM_APDU [13:52:57]CAPDU: 80 13 01 00 [13:52:57]Write to MH i2c: E2 08 00 F8 72 80 13 01 00 00 00 00 00 E7 [13:52:57]Write i2c OK [13:52:57]MH_I2C_Read... [13:52:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:57]Read from MH i2c: E2 [13:52:57]MH_I2C_Read... [13:52:57]Read from MH i2c: E2 0E 00 [13:52:57]MH_I2C_Read... [13:52:57]Read from MH i2c: E2 0E 00 F8 72 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F2 [13:52:57]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:52:57]wFMCommunicate OK [13:52:57]SAM_PROTO_GetShiftState done [13:52:57]FM_GetShiftState done [13:52:57]req_shift_open_date done [13:52:57]produce_requested_data done [13:52:57]produce_requested_data return {"fd.num":47440,"shift.num":315,"shift.opened":0,"shift.open_date":0} [13:52:57]process_action_free close_shift [13:52:57]json_value_free [13:52:57]json_value_free done [13:52:57]process_json_proto returns [13:52:57]Send response to host [13:52:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47440,"shift.num":315,"shift.opened":0,"shift.open_date":0}}} [13:52:57]free response buf [13:52:57]execute_script done [13:52:57]execute_script returns [13:52:57]free content buf [13:52:57]Sock 9.Close socket [13:52:57]Sock 9.Thread stoped [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:53]accept exits with 7 [13:53:53]New connection [13:53:53]New thread 3066453348 created [13:53:53]Thread 3066596708 joined [13:53:53]Waiting for new connection... [13:53:53] Sock 7.Parse request [13:53:53]Sock 7.Check first char [13:53:53]Sock 7.First char is OK [13:53:53]request: POST /json_proto HTTP/1.0 [13:53:53]Method: POST [13:53:53]URL: /json_proto [13:53:53]Method is POST - this is cgi request [13:53:53]url: /json_proto [13:53:53]query_string will be loaded in cgi processing [13:53:53]execute_cgi json_proto POST (null) [13:53:53]execute_cgi path=json_proto method=POST [13:53:53]POST find Content-Length [13:53:53]Host: 172.17.32.68:8080 [13:53:53]Content-Length: 215 [13:53:53]Content-Type: application/json [13:53:53] [13:53:53]POST finish read [13:53:53]Found Content-Length = 215 [13:53:53]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:53:53]execute_script... [13:53:53]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:53:53]POST & json_proto [13:53:53]process_json_proto [13:53:53]json parsed OK: [13:53:53]protocol is kg_v1.0 [13:53:53]action value=get_value [13:53:53]process_action get_value [13:53:53]cmd_get_value [13:53:53]process_action get_value done [13:53:53]requested_data is exist [13:53:53]produce_requested_data [13:53:53]requested_item kkm.sn is exist - process it [13:53:53]requested_item kkm.ver is exist - process it [13:53:53]requested_item fm.sn is exist - process it [13:53:53]wFMCommunicate request_size=4 [13:53:53]MH_SAM_APDU [13:53:53]CAPDU: 80 11 00 00 [13:53:53]Write to MH i2c: E2 08 00 F9 72 80 11 00 00 00 00 00 00 E5 [13:53:53]Write i2c OK [13:53:53]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 17 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 17 00 F9 72 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 37 [13:53:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:53:54]wFMCommunicate OK [13:53:54]requested_item fd.num is exist - process it [13:53:54]SAM_PROTO_GetFieldsCounters [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 13 00 00 [13:53:54]Write to MH i2c: E2 08 00 FA 72 80 13 00 00 00 00 00 00 E8 [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 62 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 62 00 FA 72 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 50 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [13:53:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 50 B9 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:53:54]wFMCommunicate OK [13:53:54]SAM_PROTO_GetFieldsCounters done [13:53:54]requested_item shift.num is exist - process it [13:53:54]requested_item shift.opened is exist - process it [13:53:54]req_shift_opened [13:53:54]FM_GetShiftState [13:53:54]SAM_PROTO_GetShiftState [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 13 01 00 [13:53:54]Write to MH i2c: E2 08 00 FB 72 80 13 01 00 00 00 00 00 EA [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 0E 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 0E 00 FB 72 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F5 [13:53:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:53:54]wFMCommunicate OK [13:53:54]SAM_PROTO_GetShiftState done [13:53:54]FM_GetShiftState done [13:53:54]req_shift_opened done [13:53:54]requested_item shift.open_date is exist - process it [13:53:54]req_shift_open_date [13:53:54]FM_GetShiftState [13:53:54]SAM_PROTO_GetShiftState [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 13 01 00 [13:53:54]Write to MH i2c: E2 08 00 FC 72 80 13 01 00 00 00 00 00 EB [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 0E 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 0E 00 FC 72 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F6 [13:53:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:53:54]wFMCommunicate OK [13:53:54]SAM_PROTO_GetShiftState done [13:53:54]FM_GetShiftState done [13:53:54]req_shift_open_date done [13:53:54]produce_requested_data done [13:53:54]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47440,"shift.num":315,"shift.opened":0,"shift.open_date":0} [13:53:54]process_action_free get_value [13:53:54]json_value_free [13:53:54]json_value_free done [13:53:54]process_json_proto returns [13:53:54]Send response to host [13:53:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47440,"shift.num":315,"shift.opened":0,"shift.open_date":0}}} [13:53:54]free response buf [13:53:54]execute_script done [13:53:54]execute_script returns [13:53:54]free content buf [13:53:54]Sock 7.Close socket [13:53:54]Sock 7.Thread stoped [13:53:54]accept exits with 9 [13:53:54]New connection [13:53:54]New thread 3066596708 created [13:53:54]Thread 3066453348 joined [13:53:54]Waiting for new connection... [13:53:54] Sock 9.Parse request [13:53:54]Sock 9.Check first char [13:53:54]Sock 9.First char is OK [13:53:54]request: POST /json_proto HTTP/1.0 [13:53:54]Method: POST [13:53:54]URL: /json_proto [13:53:54]Method is POST - this is cgi request [13:53:54]url: /json_proto [13:53:54]query_string will be loaded in cgi processing [13:53:54]execute_cgi json_proto POST (null) [13:53:54]execute_cgi path=json_proto method=POST [13:53:54]POST find Content-Length [13:53:54]Host: 172.17.32.68:8080 [13:53:54]Content-Length: 331 [13:53:54]Content-Type: application/json [13:53:54] [13:53:54]POST finish read [13:53:54]Found Content-Length = 331 [13:53:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:53:54]execute_script... [13:53:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:53:54]POST & json_proto [13:53:54]process_json_proto [13:53:54]json parsed OK: [13:53:54]protocol is kg_v1.0 [13:53:54]action value=get_value [13:53:54]process_action get_value [13:53:54]cmd_get_value [13:53:54]process_action get_value done [13:53:54]requested_data is exist [13:53:54]produce_requested_data [13:53:54]requested_item fm.sale.total is exist - process it [13:53:54]SAM_PROTO_GetFMData [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 13 03 00 [13:53:54]Write to MH i2c: E2 08 00 FD 72 80 13 03 00 00 00 00 00 EE [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:53:55]Read from MH i2c: E2 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 FD 72 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 EB [13:53:55]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:53:55]wFMCommunicate OK [13:53:55]wFMCommunicate request_size=4 [13:53:55]MH_SAM_APDU [13:53:55]CAPDU: 80 17 00 00 [13:53:55]Write to MH i2c: E2 08 00 FE 72 80 17 00 00 00 00 00 00 F0 [13:53:55]Write i2c OK [13:53:55]MH_I2C_Read... [13:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:55]Read from MH i2c: E2 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 FE 72 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 69 [13:53:55]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:53:55]wFMCommunicate OK [13:53:55]wFMCommunicate request_size=4 [13:53:55]MH_SAM_APDU [13:53:55]CAPDU: 80 17 00 00 [13:53:55]Write to MH i2c: E2 08 00 FF 72 80 17 00 00 00 00 00 00 F1 [13:53:55]Write i2c OK [13:53:55]MH_I2C_Read... [13:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:55]Read from MH i2c: E2 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 FF 72 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 91 [13:53:55]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:53:55]wFMCommunicate OK [13:53:55]wFMCommunicate request_size=4 [13:53:55]MH_SAM_APDU [13:53:55]CAPDU: 80 17 00 00 [13:53:55]Write to MH i2c: E2 08 00 00 73 80 17 00 00 00 00 00 00 F3 [13:53:55]Write i2c OK [13:53:55]MH_I2C_Read... [13:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:55]Read from MH i2c: E2 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 00 73 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 78 [13:53:55]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:53:55]wFMCommunicate OK [13:53:55]wFMCommunicate request_size=4 [13:53:55]MH_SAM_APDU [13:53:55]CAPDU: 80 17 00 00 [13:53:55]Write to MH i2c: E2 08 00 01 73 80 17 00 00 00 00 00 00 F4 [13:53:55]Write i2c OK [13:53:55]MH_I2C_Read... [13:53:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:53:56]Read from MH i2c: E2 [13:53:56]MH_I2C_Read... [13:53:56]Read from MH i2c: E2 DE 00 [13:53:56]MH_I2C_Read... [13:53:56]Read from MH i2c: E2 DE 00 01 73 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D3 [13:53:56]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:53:56]wFMCommunicate OK [13:53:56]SAM_PROTO_GetFMData done [13:53:56]requested_item fm.sale_refund.total is exist - process it [13:53:56]requested_item fm.buy.total is exist - process it [13:53:56]requested_item shift.sale.total is exist - process it [13:53:56]SAM_PROTO_GetShiftData [13:53:56]wFMCommunicate request_size=4 [13:53:56]MH_SAM_APDU [13:53:56]CAPDU: 80 13 02 00 [13:53:56]Write to MH i2c: E2 08 00 02 73 80 13 02 00 00 00 00 00 F3 [13:53:56]Write i2c OK [13:53:56]MH_I2C_Read... [13:53:56]Read from MH i2c: E2 [13:53:56]MH_I2C_Read... [13:53:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:53:56]Read from MH i2c: E2 FD 00 [13:53:56]MH_I2C_Read... [13:53:56]Read from MH i2c: E2 FD 00 02 73 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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D9 [13:53:56]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 0C 07 70 04 03 00 B8 E7 05 72 04 03 00 F8 24 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 A9 BF 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 F7 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:53:56]wFMCommunicate OK [13:53:56]wFMCommunicate request_size=4 [13:53:56]MH_SAM_APDU [13:53:56]CAPDU: 80 17 00 00 [13:53:56]Write to MH i2c: E2 08 00 03 73 80 17 00 00 00 00 00 00 F6 [13:53:56]Write i2c OK [13:53:56]MH_I2C_Read... [13:53:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:56]Read from MH i2c: E2 [13:53:56]MH_I2C_Read... [13:53:56]Read from MH i2c: E2 FD 00 [13:53:56]MH_I2C_Read... [13:53:56]Read from MH i2c: E2 FD 00 03 73 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 08 [13:53:56]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:53:56]wFMCommunicate OK [13:53:56]wFMCommunicate request_size=4 [13:53:56]MH_SAM_APDU [13:53:56]CAPDU: 80 17 00 00 [13:53:56]Write to MH i2c: E2 08 00 04 73 80 17 00 00 00 00 00 00 F7 [13:53:56]Write i2c OK [13:53:56]MH_I2C_Read... [13:53:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:57]Read from MH i2c: E2 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: E2 FD 00 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: E2 FD 00 04 73 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 BB [13:53:57]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:53:57]wFMCommunicate OK [13:53:57]wFMCommunicate request_size=4 [13:53:57]MH_SAM_APDU [13:53:57]CAPDU: 80 17 00 00 [13:53:57]Write to MH i2c: E2 08 00 05 73 80 17 00 00 00 00 00 00 F8 [13:53:57]Write i2c OK [13:53:57]MH_I2C_Read... [13:53:57]OFD Sender: No OFD packet to send [13:53:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:57]Read from MH i2c: E2 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: E2 FD 00 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: E2 FD 00 05 73 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 6D [13:53:57]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:53:57]wFMCommunicate OK [13:53:57]wFMCommunicate request_size=4 [13:53:57]MH_SAM_APDU [13:53:57]CAPDU: 80 17 00 00 [13:53:57]Write to MH i2c: E2 08 00 06 73 80 17 00 00 00 00 00 00 F9 [13:53:57]Write i2c OK [13:53:57]MH_I2C_Read... [13:53:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:53:57]Read from MH i2c: E2 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: E2 CA 00 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: E2 CA 00 06 73 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 DE [13:53:57]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:53:57]wFMCommunicate OK [13:53:57]SAM_PROTO_GetShiftData done [13:53:57]requested_item shift.sale.total_cash is exist - process it [13:53:57]requested_item shift.sale_refund.total is exist - process it [13:53:57]requested_item shift.sale_refund.total_cash is exist - process it [13:53:57]requested_item shift.buy.total is exist - process it [13:53:57]requested_item shift.buy.total_cash is exist - process it [13:53:57]produce_requested_data done [13:53:57]produce_requested_data return {"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:53:57]process_action_free get_value [13:53:57]json_value_free [13:53:57]json_value_free done [13:53:57]process_json_proto returns [13:53:57]Send response to host [13:53:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":4620.00,"shift.sale.total_cash":3870.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:53:57]free response buf [13:53:57]execute_script done [13:53:57]execute_script returns [13:53:57]free content buf [13:53:57]Sock 9.Close socket [13:53:57]Sock 9.Thread stoped [13:53:57]accept exits with 7 [13:53:57]New connection [13:53:57]New thread 3066453348 created [13:53:57]Thread 3066596708 joined [13:53:57]Waiting for new connection... [13:53:57] Sock 7.Parse request [13:53:57]Sock 7.Check first char [13:53:57]Sock 7.First char is OK [13:53:57]request: POST /json_proto HTTP/1.0 [13:53:57]Method: POST [13:53:57]URL: /json_proto [13:53:57]Method is POST - this is cgi request [13:53:57]url: /json_proto [13:53:57]query_string will be loaded in cgi processing [13:53:57]execute_cgi json_proto POST (null) [13:53:57]execute_cgi path=json_proto method=POST [13:53:57]POST find Content-Length [13:53:57]Host: 172.17.32.68:8080 [13:53:57]Content-Length: 265 [13:53:57]Content-Type: application/json [13:53:57] [13:53:57]POST finish read [13:53:57]Found Content-Length = 265 [13:53:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:53:57]execute_script... [13:53:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:53:57]POST & json_proto [13:53:57]process_json_proto [13:53:57]json parsed OK: [13:53:57]protocol is kg_v1.0 [13:53:57]action value=open_shift [13:53:57]process_action open_shift [13:53:57]cmd_open_shift [13:53:57]MH_GetDate [13:53:57]Write to MH i2c: F0 00 00 07 73 69 [13:53:57]Write i2c OK [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: F0 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: F0 09 00 [13:53:57]MH_I2C_Read... [13:53:57]Read from MH i2c: F0 09 00 07 73 00 0B B0 F1 65 0A 64 6E 65 C4 [13:53:57]GetLastDocTimeStamp 1710337983 [13:53:57]current date 1710338059 [13:53:57]FM_GetShiftState [13:53:57]SAM_PROTO_GetShiftState [13:53:57]wFMCommunicate request_size=4 [13:53:57]MH_SAM_APDU [13:53:57]CAPDU: 80 13 01 00 [13:53:57]Write to MH i2c: E2 08 00 08 73 80 13 01 00 00 00 00 00 F8 [13:53:57]Write i2c OK [13:53:57]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 0E 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 0E 00 08 73 00 09 00 00 00 00 00 00 00 00 00 00 90 00 03 [13:53:58]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:53:58]wFMCommunicate OK [13:53:58]SAM_PROTO_GetShiftState done [13:53:58]FM_GetShiftState done [13:53:58]KKMCreateOpenShiftDocument [13:53:58]Load OK [13:53:58]Malloc new data [13:53:58]MH_GetDate [13:53:58]Write to MH i2c: F0 00 00 09 73 6B [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: F0 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: F0 09 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: F0 09 00 09 73 00 0B B0 F1 65 0A 64 6E 65 C6 [13:53:58]Malloc new data [13:53:58]KKMCreateOpenShiftDocument OK [13:53:58]KKMSetOpenShiftData OK [13:53:58]ProcessDocumentItem done err = 0, tmpTLVsize=199 [13:53:58]tlvbuf is 005009D0 [13:53:58]KKMLoadAndSignOpenShiftData [13:53:58]SAM_PROTO_ProcessDocument [13:53:58]wFMCommunicate request_size=9 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 01 00 04 02 00 C7 00 [13:53:58]Write to MH i2c: E2 0C 00 0A 73 80 15 01 00 04 00 02 00 C7 00 00 00 CD [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 0A 73 00 90 00 F1 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=23 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [13:53:58]Write to MH i2c: E2 1A 00 0B 73 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 F3 [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 0B 73 00 90 00 F2 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=32 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 [13:53:58]Write to MH i2c: E2 23 00 0C 73 80 15 02 00 1B 00 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 00 00 6D [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 0C 73 00 90 00 F3 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=86 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 02 00 51 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 [13:53:58]Write to MH i2c: E2 59 00 0D 73 80 15 02 00 51 00 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 00 00 EF [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 0D 73 00 90 00 F4 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=50 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [13:53:58]Write to MH i2c: E2 35 00 0E 73 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 76 [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 0E 73 00 90 00 F5 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=13 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 02 00 08 F4 03 04 00 0B B0 F1 65 [13:53:58]Write to MH i2c: E2 10 00 0F 73 80 15 02 00 08 00 F4 03 04 00 0B B0 F1 65 00 00 1E [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 0F 73 00 90 00 F6 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=25 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [13:53:58]Write to MH i2c: E2 1C 00 10 73 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 60 [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 03 00 10 73 00 90 00 F7 [13:53:58]RAPDU: 90 00 [13:53:58]wFMCommunicate OK [13:53:58]wFMCommunicate request_size=4 [13:53:58]MH_SAM_APDU [13:53:58]CAPDU: 80 15 03 00 [13:53:58]Write to MH i2c: E2 08 00 11 73 80 15 03 00 00 00 00 00 05 [13:53:58]Write i2c OK [13:53:58]MH_I2C_Read... [13:53:58]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [13:53:58]Read from MH i2c: E2 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 38 00 [13:53:58]MH_I2C_Read... [13:53:58]Read from MH i2c: E2 38 00 11 73 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 51 B9 00 00 0E 04 04 00 3C 01 00 00 35 04 06 00 D3 5C 0E 42 DA 28 90 00 98 [13:53:58]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 51 B9 00 00 0E 04 04 00 3C 01 00 00 35 04 06 00 D3 5C 0E 42 DA 28 90 00 [13:53:58]wFMCommunicate OK [13:53:58]SAM_PROTO_ProcessDocument answer len = 51 [13:53:58]SAM_PROTO_ProcessDocument done [13:53:58]SetTLVBufToDocument [13:53:58]Processing tag 1209 (04B9) [13:53:58]Malloc new data [13:53:58]Processing tag 1041 (0411) [13:53:58]Processing tag 1040 (0410) [13:53:58]Malloc new data [13:53:58]Processing tag 1038 (040E) [13:53:58]Malloc new data [13:53:58]Processing tag 1077 (0435) [13:53:58]Malloc new data [13:53:58]SetTLVBufToDocument err=0 [13:53:58]KKMLoadAndSignOpenShiftData store KKM data [13:53:58]KKMLoadAndSignOpenShiftData err=0 [13:53:58]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Жээнбеков Д. Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 Место: АЗС № 15 "Партнер Нефть" 13.03.2024 13:54 Смена: 316 РНМ: 0000000000092018 ЗНМ: 0300000097 ФД: 47441 ФМ: 0000000000871816 ФПД: 232392329714216 [13:53:58]StoreToDocumentArchive [13:53:58]shift 316 fd 47441 [13:53:58]Create dir for shift 0316 [13:53:58]save to /storage/0316/doc_00047441 [13:53:59]save last doc name /storage/0316/doc_00047441 to /storage/kkm_last_doc_name [13:53:59]save OK [13:53:59]Clear old archive folders... [13:53:59]Remove dir /storage/0315 [13:53:59]opendir ok [13:53:59]file . [13:53:59]file .. [13:53:59]file doc_00047412 [13:53:59]remove file /storage/0315/doc_00047412 [13:53:59]file doc_00047413 [13:53:59]remove file /storage/0315/doc_00047413 [13:53:59]file doc_00047414 [13:53:59]remove file /storage/0315/doc_00047414 [13:53:59]file doc_00047415 [13:53:59]remove file /storage/0315/doc_00047415 [13:53:59]file doc_00047416 [13:53:59]remove file /storage/0315/doc_00047416 [13:53:59]file doc_00047417 [13:53:59]remove file /storage/0315/doc_00047417 [13:53:59]file doc_00047418 [13:53:59]remove file /storage/0315/doc_00047418 [13:53:59]file doc_00047419 [13:53:59]remove file /storage/0315/doc_00047419 [13:53:59]file doc_00047420 [13:53:59]remove file /storage/0315/doc_00047420 [13:53:59]file doc_00047421 [13:53:59]remove file /storage/0315/doc_00047421 [13:53:59]file doc_00047422 [13:53:59]remove file /storage/0315/doc_00047422 [13:53:59]file doc_00047423 [13:53:59]remove file /storage/0315/doc_00047423 [13:53:59]file doc_00047424 [13:53:59]remove file /storage/0315/doc_00047424 [13:53:59]file doc_00047425 [13:53:59]remove file /storage/0315/doc_00047425 [13:53:59]file doc_00047426 [13:53:59]remove file /storage/0315/doc_00047426 [13:53:59]file doc_00047427 [13:53:59]remove file /storage/0315/doc_00047427 [13:53:59]file doc_00047428 [13:53:59]remove file /storage/0315/doc_00047428 [13:53:59]file doc_00047429 [13:53:59]remove file /storage/0315/doc_00047429 [13:53:59]file doc_00047430 [13:53:59]remove file /storage/0315/doc_00047430 [13:53:59]file doc_00047431 [13:53:59]remove file /storage/0315/doc_00047431 [13:53:59]file doc_00047432 [13:53:59]remove file /storage/0315/doc_00047432 [13:53:59]file doc_00047433 [13:53:59]remove file /storage/0315/doc_00047433 [13:53:59]file doc_00047434 [13:53:59]remove file /storage/0315/doc_00047434 [13:53:59]file doc_00047435 [13:53:59]remove file /storage/0315/doc_00047435 [13:53:59]file doc_00047436 [13:53:59]remove file /storage/0315/doc_00047436 [13:53:59]file doc_00047437 [13:53:59]remove file /storage/0315/doc_00047437 [13:53:59]file doc_00047438 [13:53:59]remove file /storage/0315/doc_00047438 [13:53:59]file doc_00047439 [13:53:59]remove file /storage/0315/doc_00047439 [13:53:59]file doc_00047440 [13:53:59]remove file /storage/0315/doc_00047440 [13:53:59]remove dir /storage/0315 [13:53:59]ProcessDocumentItem done err = 0, tmpTLVsize=250 [13:53:59]tlvbuf is 004F33F0 [13:53:59]SAM_PROTO_ClearQueue [13:53:59]wFMCommunicate request_size=4 [13:53:59]MH_SAM_APDU [13:53:59]CAPDU: 80 09 00 00 [13:53:59]Write to MH i2c: E2 08 00 12 73 80 09 00 00 00 00 00 00 F7 [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:53:59]Read from MH i2c: E2 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 12 73 00 90 00 F9 [13:53:59]RAPDU: 90 00 [13:53:59]wFMCommunicate OK [13:53:59]SAM_PROTO_ClearQueue done [13:53:59]KKMCreateOFDPacket [13:53:59]OFDProtocolAddRootSTLVToBuf [13:53:59]FM_MakeSignedData [13:53:59]FM_MakeSignedData [13:53:59]SAM_PROTO_SignData [13:53:59]wFMCommunicate request_size=4 [13:53:59]MH_SAM_APDU [13:53:59]CAPDU: 80 0D 01 02 [13:53:59]Write to MH i2c: E2 08 00 13 73 80 0D 01 02 00 00 00 00 FF [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:53:59]Read from MH i2c: E2 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 13 73 00 90 00 FA [13:53:59]RAPDU: 90 00 [13:53:59]wFMCommunicate OK [13:53:59]wFMCommunicate request_size=255 [13:53:59]MH_SAM_APDU [13:53:59]CAPDU: 80 0D 02 02 FA 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 0B B0 F1 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 51 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D3 5C [13:53:59]Write to MH i2c: E2 02 01 14 73 80 0D 02 02 FA 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 0B B0 F1 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 51 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D3 5C 00 00 8A [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:59]Read from MH i2c: E2 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 14 73 00 90 00 FB [13:53:59]RAPDU: 90 00 [13:53:59]wFMCommunicate OK [13:53:59]wFMCommunicate request_size=9 [13:53:59]MH_SAM_APDU [13:53:59]CAPDU: 80 0D 02 02 04 0E 42 DA 28 [13:53:59]Write to MH i2c: E2 0C 00 15 73 80 0D 02 02 04 00 0E 42 DA 28 00 00 5C [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:59]Read from MH i2c: E2 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 03 00 15 73 00 90 00 FC [13:53:59]RAPDU: 90 00 [13:53:59]wFMCommunicate OK [13:53:59]wFMCommunicate request_size=4 [13:53:59]MH_SAM_APDU [13:53:59]CAPDU: 80 0D 03 02 [13:53:59]Write to MH i2c: E2 08 00 16 73 80 0D 03 02 00 00 00 00 04 [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:53:59]Read from MH i2c: E2 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 0B 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 0B 00 16 73 00 A1 E2 22 51 3D 7E 95 ED 90 00 38 [13:53:59]RAPDU: A1 E2 22 51 3D 7E 95 ED 90 00 [13:53:59]wFMCommunicate OK [13:53:59]SAM_PROTO_SignData done [13:53:59]FM_MakeSignedData done [13:53:59]CreateOFDProtocolMessage [13:53:59]wFMCommunicate request_size=4 [13:53:59]MH_SAM_APDU [13:53:59]CAPDU: 80 11 00 00 [13:53:59]Write to MH i2c: E2 08 00 17 73 80 11 00 00 00 00 00 00 04 [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:59]Read from MH i2c: E2 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 17 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: E2 17 00 17 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 56 [13:53:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [13:53:59]wFMCommunicate OK [13:53:59]CreateOFDProtocolMessage done [13:53:59]OFDSenderStorePacket 47441 [13:53:59]StoreOFDPacket docnum=47441 [13:53:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0E 01 00 00 9D 08 06 01 E6 63 5A 02 01 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 0B B0 F1 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 51 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D3 5C 0E 42 DA 28 A1 E2 22 51 3D 7E 95 ED [13:53:59]CheckFolder [13:53:59]dirname=/storage/ofd_packets [13:53:59]CheckFolder done [13:53:59]ProducePacketName [13:53:59]name=ofd_packets/00047441 [13:53:59]NVStorageSaveData ofd_packets/00047441 [13:53:59]File name is /storage/ofd_packets/00047441 [13:53:59]Write 300 bytes [13:53:59]NVStorageSaveData done [13:53:59]OFDSenderStorePacket done [13:53:59]KKMCreateOFDPacket done [13:53:59]NVStorageSaveData kkm_last_timestamp [13:53:59]File name is /storage/kkm_last_timestamp [13:53:59]Write 4 bytes [13:53:59]NVStorageSaveData done [13:53:59]ExternCall_PrintAddStr [13:53:59]wPrintStart [13:53:59]Write to MH i2c: 01 00 00 18 73 8B [13:53:59]Write i2c OK [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: 01 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: 01 07 00 [13:53:59]MH_I2C_Read... [13:53:59]Read from MH i2c: 01 07 00 18 73 00 00 00 00 00 FF 0F A0 [13:53:59]RasterBufferAndPrint [13:53:59]line Отчет об открытии смены [13:53:59]line ФФД: 1.0 [13:53:59]line ИНН: 02508201610067 [13:53:59]line Кассир: Жээнбеков Д. [13:53:59]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [13:53:59]line Место: АЗС № 15 "Партнер Нефть" [13:53:59]line 13.03.2024 13:54 [13:53:59]line Смена: 316 [13:53:59]line РНМ: 0000000000092018 [13:53:59]line ЗНМ: 0300000097 [13:53:59]line ФД: 47441 [13:53:59]line ФМ: 0000000000871816 [13:53:59]line ФПД: 232392329714216 [13:53:59]written 0, free lines is 4095 [13:53:59]OFD Sender: Processing packet 47441 [packets to send 8, broken 7] [13:53:59]ProducePacketName [13:53:59]name=ofd_packets/00047441 [13:53:59]OFD Sender: To server: pG, [13:53:59]CommunicateWithHost lk.salyk.kg:30040 [13:53:59]ConnectInit lk.salyk.kg [13:53:59]Connected sock=10 [13:53:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0E 01 00 00 9D 08 06 01 E6 63 5A 02 01 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 0B B0 F1 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 51 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 D3 5C 0E 42 DA 28 A1 E2 22 51 3D 7E 95 ED [13:54:00]Write to MH i2c: 01 00 00 2A 73 9D [13:54:00]Write i2c OK [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: 01 [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: 01 07 00 [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: 01 07 00 2A 73 00 00 00 00 00 58 0E 0A [13:54:00]RasterBufferAndPrint [13:54:00]line [13:54:00]line [13:54:00]line [13:54:00]line [13:54:00]line [13:54:00]written 0, free lines is 3684 [13:54:00]MH_Cut [13:54:00]Write to MH i2c: D1 01 00 31 73 01 76 [13:54:00]Write i2c OK [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: D1 [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: D1 01 00 [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: D1 01 00 31 73 00 75 [13:54:00]Write to MH i2c: 01 00 00 32 73 A5 [13:54:00]Write i2c OK [13:54:00]MH_I2C_Read... [13:54:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 99 29 47 00 14 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 51 B9 00 00 F4 03 04 00 99 5A F1 65 B6 04 01 00 00 61 B3 B3 CD 46 50 52 19 [13:54:00]CommunicateWithHost err = 0 [13:54:00]CheckOFDResponse [13:54:00]1017 (14) - 77093643461234 [13:54:00]1041 (16) - 0000000000871816 [13:54:00]1040 (4) - 47441 [13:54:00]1012 (4) - 13.03.2024 07:49 [13:54:00]1206 (1) - 0 [13:54:00]OFD Sender: Remove packet 47441 [13:54:00]ProducePacketName [13:54:00]name=ofd_packets/00047441 [13:54:00]NVStorageDeleteData [13:54:00]*** Cut start [13:54:00]*** Purtial cut [13:54:00]*** Stage 1: CUTSNS_PIN = 1 [13:54:00]OFD Sender: No OFD packet to send [13:54:00]Read from MH i2c: 01 [13:54:00]MH_I2C_Read... [13:54:00]*** Stop cut motor [13:54:00]*** Cut end [13:54:00]Read from MH i2c: 01 07 00 [13:54:00]MH_I2C_Read... [13:54:00]Read from MH i2c: 01 07 00 32 73 00 00 00 00 00 FF 0F BA [13:54:00]process_action open_shift done [13:54:00]requested_data is exist [13:54:00]produce_requested_data [13:54:00]requested_item fd.num is exist - process it [13:54:00]SAM_PROTO_GetFieldsCounters [13:54:00]wFMCommunicate request_size=4 [13:54:00]MH_SAM_APDU [13:54:00]CAPDU: 80 13 00 00 [13:54:00]Write to MH i2c: E2 08 00 33 73 80 13 00 00 00 00 00 00 22 [13:54:00]Write i2c OK [13:54:00]MH_I2C_Read... [13:54:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:54:01]Read from MH i2c: E2 [13:54:01]MH_I2C_Read... [13:54:01]Read from MH i2c: E2 62 00 [13:54:01]MH_I2C_Read... [13:54:01]Read from MH i2c: E2 62 00 33 73 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 51 B9 00 00 0E 04 04 00 3C 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 84 [13:54:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 51 B9 00 00 0E 04 04 00 3C 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 [13:54:01]wFMCommunicate OK [13:54:01]SAM_PROTO_GetFieldsCounters done [13:54:01]requested_item shift.num is exist - process it [13:54:01]requested_item shift.opened is exist - process it [13:54:01]req_shift_opened [13:54:01]FM_GetShiftState [13:54:01]SAM_PROTO_GetShiftState [13:54:01]wFMCommunicate request_size=4 [13:54:01]MH_SAM_APDU [13:54:01]CAPDU: 80 13 01 00 [13:54:01]Write to MH i2c: E2 08 00 34 73 80 13 01 00 00 00 00 00 24 [13:54:01]Write i2c OK [13:54:01]MH_I2C_Read... [13:54:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:54:01]Read from MH i2c: E2 [13:54:01]MH_I2C_Read... [13:54:01]Read from MH i2c: E2 0E 00 [13:54:01]MH_I2C_Read... [13:54:01]Read from MH i2c: E2 0E 00 34 73 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 41 [13:54:01]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [13:54:01]wFMCommunicate OK [13:54:01]SAM_PROTO_GetShiftState done [13:54:01]FM_GetShiftState done [13:54:01]req_shift_opened done [13:54:01]requested_item shift.open_date is exist - process it [13:54:01]req_shift_open_date [13:54:01]req_shift_open_date done [13:54:01]produce_requested_data done [13:54:01]produce_requested_data return {"fd.num":47441,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [13:54:01]process_action_free open_shift [13:54:01]json_value_free [13:54:01]json_value_free done [13:54:01]process_json_proto returns [13:54:01]Send response to host [13:54:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47441,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [13:54:01]free response buf [13:54:01]execute_script done [13:54:01]execute_script returns [13:54:01]free content buf [13:54:01]Sock 7.Close socket [13:54:01]Sock 7.Thread stoped [13:54:01]accept exits with 9 [13:54:01]New connection [13:54:01]New thread 3066596708 created [13:54:01]Thread 3066453348 joined [13:54:01]Waiting for new connection... [13:54:01] Sock 9.Parse request [13:54:01]Sock 9.Check first char [13:54:01]Sock 9.First char is OK [13:54:01]request: POST /json_proto HTTP/1.0 [13:54:01]Method: POST [13:54:01]URL: /json_proto [13:54:01]Method is POST - this is cgi request [13:54:01]url: /json_proto [13:54:01]query_string will be loaded in cgi processing [13:54:01]execute_cgi json_proto POST (null) [13:54:01]execute_cgi path=json_proto method=POST [13:54:01]POST find Content-Length [13:54:01]Host: 172.17.32.68:8080 [13:54:01]Content-Length: 331 [13:54:01]Content-Type: application/json [13:54:01] [13:54:01]POST finish read [13:54:01]Found Content-Length = 331 [13:54:01]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:54:01]execute_script... [13:54:01]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:54:01]POST & json_proto [13:54:01]process_json_proto [13:54:01]json parsed OK: [13:54:01]protocol is kg_v1.0 [13:54:01]action value=get_value [13:54:01]process_action get_value [13:54:01]cmd_get_value [13:54:01]process_action get_value done [13:54:01]requested_data is exist [13:54:01]produce_requested_data [13:54:01]requested_item fm.sale.total is exist - process it [13:54:01]SAM_PROTO_GetFMData [13:54:01]wFMCommunicate request_size=4 [13:54:01]MH_SAM_APDU [13:54:01]CAPDU: 80 13 03 00 [13:54:01]Write to MH i2c: E2 08 00 35 73 80 13 03 00 00 00 00 00 27 [13:54:01]Write i2c OK [13:54:01]MH_I2C_Read... [13:54:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:54:01]Read from MH i2c: E2 [13:54:01]MH_I2C_Read... [13:54:01]Read from MH i2c: E2 FD 00 [13:54:01]MH_I2C_Read... [13:54:01]Read from MH i2c: E2 FD 00 35 73 00 C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 24 [13:54:01]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D8 B6 00 00 69 04 A0 00 6F 04 04 00 AF B5 00 00 B1 04 04 00 1B 64 1A 30 70 04 04 00 34 93 29 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F8 B1 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A E5 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [13:54:01]wFMCommunicate OK [13:54:01]wFMCommunicate request_size=4 [13:54:01]MH_SAM_APDU [13:54:01]CAPDU: 80 17 00 00 [13:54:01]Write to MH i2c: E2 08 00 36 73 80 17 00 00 00 00 00 00 29 [13:54:01]Write i2c OK [13:54:01]MH_I2C_Read... [13:54:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:54:02]Read from MH i2c: E2 [13:54:02]MH_I2C_Read... [13:54:02]Read from MH i2c: E2 FD 00 [13:54:02]MH_I2C_Read... [13:54:02]Read from MH i2c: E2 FD 00 36 73 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 A2 [13:54:02]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:54:02]wFMCommunicate OK [13:54:02]wFMCommunicate request_size=4 [13:54:02]MH_SAM_APDU [13:54:02]CAPDU: 80 17 00 00 [13:54:02]Write to MH i2c: E2 08 00 37 73 80 17 00 00 00 00 00 00 2A [13:54:02]Write i2c OK [13:54:02]MH_I2C_Read... [13:54:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:54:02]Read from MH i2c: E2 [13:54:02]MH_I2C_Read... [13:54:02]Read from MH i2c: E2 FD 00 [13:54:02]MH_I2C_Read... [13:54:02]Read from MH i2c: E2 FD 00 37 73 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 CA [13:54:02]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:54:02]wFMCommunicate OK [13:54:02]wFMCommunicate request_size=4 [13:54:02]MH_SAM_APDU [13:54:02]CAPDU: 80 17 00 00 [13:54:02]Write to MH i2c: E2 08 00 38 73 80 17 00 00 00 00 00 00 2B [13:54:02]Write i2c OK [13:54:02]MH_I2C_Read... [13:54:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:54:02]Read from MH i2c: E2 [13:54:02]MH_I2C_Read... [13:54:02]Read from MH i2c: E2 FD 00 [13:54:02]MH_I2C_Read... [13:54:03]Read from MH i2c: E2 FD 00 38 73 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 B0 [13:54:03]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:54:03]wFMCommunicate OK [13:54:03]wFMCommunicate request_size=4 [13:54:03]MH_SAM_APDU [13:54:03]CAPDU: 80 17 00 00 [13:54:03]Write to MH i2c: E2 08 00 39 73 80 17 00 00 00 00 00 00 2C [13:54:03]Write i2c OK [13:54:03]MH_I2C_Read... [13:54:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:54:03]Read from MH i2c: E2 [13:54:03]MH_I2C_Read... [13:54:03]Read from MH i2c: E2 DE 00 [13:54:03]MH_I2C_Read... [13:54:03]Read from MH i2c: E2 DE 00 39 73 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [13:54:03]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:54:03]wFMCommunicate OK [13:54:03]SAM_PROTO_GetFMData done [13:54:03]requested_item fm.sale_refund.total is exist - process it [13:54:03]requested_item fm.buy.total is exist - process it [13:54:03]requested_item shift.sale.total is exist - process it [13:54:03]SAM_PROTO_GetShiftData [13:54:03]wFMCommunicate request_size=4 [13:54:03]MH_SAM_APDU [13:54:03]CAPDU: 80 13 02 00 [13:54:03]Write to MH i2c: E2 08 00 3A 73 80 13 02 00 00 00 00 00 2B [13:54:03]Write i2c OK [13:54:03]MH_I2C_Read... [13:54:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:54:04]Read from MH i2c: E2 [13:54:04]MH_I2C_Read... [13:54:04]Read from MH i2c: E2 FD 00 [13:54:04]MH_I2C_Read... [13:54:04]Read from MH i2c: E2 FD 00 3A 73 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 9E [13:54:04]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 [13:54:04]wFMCommunicate OK [13:54:04]wFMCommunicate request_size=4 [13:54:04]MH_SAM_APDU [13:54:04]CAPDU: 80 17 00 00 [13:54:04]Write to MH i2c: E2 08 00 3B 73 80 17 00 00 00 00 00 00 2E [13:54:04]Write i2c OK [13:54:04]MH_I2C_Read... [13:54:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:54:04]Read from MH i2c: E2 [13:54:04]MH_I2C_Read... [13:54:04]Read from MH i2c: E2 FD 00 [13:54:04]MH_I2C_Read... [13:54:04]Read from MH i2c: E2 FD 00 3B 73 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 36 [13:54:04]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 [13:54:04]wFMCommunicate OK [13:54:04]wFMCommunicate request_size=4 [13:54:04]MH_SAM_APDU [13:54:04]CAPDU: 80 17 00 00 [13:54:04]Write to MH i2c: E2 08 00 3C 73 80 17 00 00 00 00 00 00 2F [13:54:04]Write i2c OK [13:54:04]MH_I2C_Read... [13:54:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:54:05]Read from MH i2c: E2 [13:54:05]MH_I2C_Read... [13:54:05]Read from MH i2c: E2 FD 00 [13:54:05]MH_I2C_Read... [13:54:05]Read from MH i2c: E2 FD 00 3C 73 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 01 [13:54:05]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 [13:54:05]wFMCommunicate OK [13:54:05]wFMCommunicate request_size=4 [13:54:05]MH_SAM_APDU [13:54:05]CAPDU: 80 17 00 00 [13:54:05]Write to MH i2c: E2 08 00 3D 73 80 17 00 00 00 00 00 00 30 [13:54:05]Write i2c OK [13:54:05]MH_I2C_Read... [13:54:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:54:05]Read from MH i2c: E2 [13:54:05]MH_I2C_Read... [13:54:05]Read from MH i2c: E2 FD 00 [13:54:05]MH_I2C_Read... [13:54:05]Read from MH i2c: E2 FD 00 3D 73 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 A2 [13:54:05]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 [13:54:05]wFMCommunicate OK [13:54:05]wFMCommunicate request_size=4 [13:54:05]MH_SAM_APDU [13:54:05]CAPDU: 80 17 00 00 [13:54:05]Write to MH i2c: E2 08 00 3E 73 80 17 00 00 00 00 00 00 31 [13:54:05]Write i2c OK [13:54:05]MH_I2C_Read... [13:54:05]OFD Sender: No OFD packet to send [13:54:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [13:54:06]Read from MH i2c: E2 [13:54:06]MH_I2C_Read... [13:54:06]Read from MH i2c: E2 BD 00 [13:54:06]MH_I2C_Read... [13:54:06]Read from MH i2c: E2 BD 00 3E 73 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 17 [13:54:06]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 [13:54:06]wFMCommunicate OK [13:54:06]SAM_PROTO_GetShiftData done [13:54:06]requested_item shift.sale.total_cash is exist - process it [13:54:06]requested_item shift.sale_refund.total is exist - process it [13:54:06]requested_item shift.sale_refund.total_cash is exist - process it [13:54:06]requested_item shift.buy.total is exist - process it [13:54:06]requested_item shift.buy.total_cash is exist - process it [13:54:06]produce_requested_data done [13:54:06]produce_requested_data return {"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [13:54:06]process_action_free get_value [13:54:06]json_value_free [13:54:06]json_value_free done [13:54:06]process_json_proto returns [13:54:06]Send response to host [13:54:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070359.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [13:54:06]free response buf [13:54:06]execute_script done [13:54:06]execute_script returns [13:54:06]free content buf [13:54:06]Sock 9.Close socket [13:54:06]Sock 9.Thread stoped [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:36]OFD Sender: No OFD packet to send [13:57:41]OFD Sender: No OFD packet to send [13:57:46]OFD Sender: No OFD packet to send [13:57:51]OFD Sender: No OFD packet to send [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:21]OFD Sender: No OFD packet to send [13:58:26]OFD Sender: No OFD packet to send [13:58:31]OFD Sender: No OFD packet to send [13:58:36]OFD Sender: No OFD packet to send [13:58:41]OFD Sender: No OFD packet to send [13:58:46]OFD Sender: No OFD packet to send [13:58:51]OFD Sender: No OFD packet to send [13:58:56]OFD Sender: No OFD packet to send [13:59:01]OFD Sender: No OFD packet to send [13:59:06]OFD Sender: No OFD packet to send [13:59:11]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]OFD Sender: No OFD packet to send [14:04: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:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:16]OFD Sender: No OFD packet to send [14:12:21]OFD Sender: No OFD packet to send [14:12:26]OFD Sender: No OFD packet to send [14:12:31]OFD Sender: No OFD packet to send [14:12:36]OFD Sender: No OFD packet to send [14:12:41]OFD Sender: No OFD packet to send [14:12:46]OFD Sender: No OFD packet to send [14:12:51]OFD Sender: No OFD packet to send [14:12:56]OFD Sender: No OFD packet to send [14:13:01]OFD Sender: No OFD packet to send [14:13:06]OFD Sender: No OFD packet to send [14:13:11]OFD Sender: No OFD packet to send [14:13:16]OFD Sender: No OFD packet to send [14:13:21]OFD Sender: No OFD packet to send [14:13:26]OFD Sender: No OFD packet to send [14:13:31]OFD Sender: No OFD packet to send [14:13:36]OFD Sender: No OFD packet to send [14:13:41]OFD Sender: No OFD packet to send [14:13:46]OFD Sender: No OFD packet to send [14:13:51]OFD Sender: No OFD packet to send [14:13:56]OFD Sender: No OFD packet to send [14:14:01]OFD Sender: No OFD packet to send [14:14:06]OFD Sender: No OFD packet to send [14:14:11]OFD Sender: No OFD packet to send [14:14:16]OFD Sender: No OFD packet to send [14:14:21]OFD Sender: No OFD packet to send [14:14:26]OFD Sender: No OFD packet to send [14:14:31]OFD Sender: No OFD packet to send [14:14:36]OFD Sender: No OFD packet to send [14:14:41]OFD Sender: No OFD packet to send [14:14:46]OFD Sender: No OFD packet to send [14:14:51]OFD Sender: No OFD packet to send [14:14:56]OFD Sender: No OFD packet to send [14:15:01]OFD Sender: No OFD packet to send [14:15:06]OFD Sender: No OFD packet to send [14:15:11]OFD Sender: No OFD packet to send [14:15:16]OFD Sender: No OFD packet to send [14:15:21]OFD Sender: No OFD packet to send [14:15:26]OFD Sender: No OFD packet to send [14:15:31]OFD Sender: No OFD packet to send [14:15:36]OFD Sender: No OFD packet to send [14:15:41]OFD Sender: No OFD packet to send [14:15:46]OFD Sender: No OFD packet to send [14:15:51]OFD Sender: No OFD packet to send [14:15:56]OFD Sender: No OFD packet to send [14:16:01]OFD Sender: No OFD packet to send [14:16:06]OFD Sender: No OFD packet to send [14:16:11]OFD Sender: No OFD packet to send [14:16:16]OFD Sender: No OFD packet to send [14:16:21]OFD Sender: No OFD packet to send [14:16:26]OFD Sender: No OFD packet to send [14:16:31]OFD Sender: No OFD packet to send [14:16:36]OFD Sender: No OFD packet to send [14:16:41]OFD Sender: No OFD packet to send [14:16:46]OFD Sender: No OFD packet to send [14:16:51]OFD Sender: No OFD packet to send [14:16:56]OFD Sender: No OFD packet to send [14:17:01]OFD Sender: No OFD packet to send [14:17:06]OFD Sender: No OFD packet to send [14:17:11]OFD Sender: No OFD packet to send [14:17:16]OFD Sender: No OFD packet to send [14:17:21]OFD Sender: No OFD packet to send [14:17:26]OFD Sender: No OFD packet to send [14:17:31]OFD Sender: No OFD packet to send [14:17:36]OFD Sender: No OFD packet to send [14:17:41]OFD Sender: No OFD packet to send [14:17:46]OFD Sender: No OFD packet to send [14:17:51]OFD Sender: No OFD packet to send [14:17:56]OFD Sender: No OFD packet to send [14:18:01]OFD Sender: No OFD packet to send [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]OFD Sender: No OFD packet to send [14:25:42]OFD Sender: No OFD packet to send [14:25:47]OFD Sender: No OFD packet to send [14:25:52]OFD Sender: No OFD packet to send [14:25:57]OFD Sender: No OFD packet to send [14:26:02]OFD Sender: No OFD packet to send [14:26:07]OFD Sender: No OFD packet to send [14:26:12]OFD Sender: No OFD packet to send [14:26:17]OFD Sender: No OFD packet to send [14:26:22]OFD Sender: No OFD packet to send [14:26:27]OFD Sender: No OFD packet to send [14:26:32]OFD Sender: No OFD packet to send [14:26:37]OFD Sender: No OFD packet to send [14:26:42]OFD Sender: No OFD packet to send [14:26:47]OFD Sender: No OFD packet to send [14:26:52]OFD Sender: No OFD packet to send [14:26:57]OFD Sender: No OFD packet to send [14:27:02]OFD Sender: No OFD packet to send [14:27:07]OFD Sender: No OFD packet to send [14:27:12]OFD Sender: No OFD packet to send [14:27:17]OFD Sender: No OFD packet to send [14:27:22]OFD Sender: No OFD packet to send [14:27:27]OFD Sender: No OFD packet to send [14:27:32]OFD Sender: No OFD packet to send [14:27:37]OFD Sender: No OFD packet to send [14:27:42]OFD Sender: No OFD packet to send [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:12]OFD Sender: No OFD packet to send [14:32:17]OFD Sender: No OFD packet to send [14:32:22]OFD Sender: No OFD packet to send [14:32:27]OFD Sender: No OFD packet to send [14:32:32]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:27]OFD Sender: No OFD packet to send [14:34:32]OFD Sender: No OFD packet to send [14:34:37]OFD Sender: No OFD packet to send [14:34:42]OFD Sender: No OFD packet to send [14:34:47]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:38]OFD Sender: No OFD packet to send [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:13]OFD Sender: No OFD packet to send [14:57:18]OFD Sender: No OFD packet to send [14:57:23]OFD Sender: No OFD packet to send [14:57:28]OFD Sender: No OFD packet to send [14:57:33]OFD Sender: No OFD packet to send [14:57:38]OFD Sender: No OFD packet to send [14:57:43]OFD Sender: No OFD packet to send [14:57:48]OFD Sender: No OFD packet to send [14:57:53]OFD Sender: No OFD packet to send [14:57:58]OFD Sender: No OFD packet to send [14:58:03]OFD Sender: No OFD packet to send [14:58:08]OFD Sender: No OFD packet to send [14:58:13]OFD Sender: No OFD packet to send [14:58:18]OFD Sender: No OFD packet to send [14:58:23]OFD Sender: No OFD packet to send [14:58:28]OFD Sender: No OFD packet to send [14:58:33]OFD Sender: No OFD packet to send [14:58:38]OFD Sender: No OFD packet to send [14:58:43]OFD Sender: No OFD packet to send [14:58:48]OFD Sender: No OFD packet to send [14:58:53]OFD Sender: No OFD packet to send [14:58:58]OFD Sender: No OFD packet to send [14:59:03]OFD Sender: No OFD packet to send [14:59:08]OFD Sender: No OFD packet to send [14:59:13]OFD Sender: No OFD packet to send [14:59:18]OFD Sender: No OFD packet to send [14:59:23]OFD Sender: No OFD packet to send [14:59:28]OFD Sender: No OFD packet to send [14:59:33]OFD Sender: No OFD packet to send [14:59:38]OFD Sender: No OFD packet to send [14:59:43]OFD Sender: No OFD packet to send [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:27]accept exits with 7 [15:00:27]New connection [15:00:27]New thread 3066453348 created [15:00:27]Thread 3066596708 joined [15:00:27]Waiting for new connection... [15:00:27] Sock 7.Parse request [15:00:27]Sock 7.Check first char [15:00:27]Sock 7.First char is OK [15:00:27]request: POST /json_proto HTTP/1.0 [15:00:27]Method: POST [15:00:27]URL: /json_proto [15:00:27]Method is POST - this is cgi request [15:00:27]url: /json_proto [15:00:27]query_string will be loaded in cgi processing [15:00:27]execute_cgi json_proto POST (null) [15:00:27]execute_cgi path=json_proto method=POST [15:00:27]POST find Content-Length [15:00:27]Host: 172.17.32.68:8080 [15:00:27]Content-Length: 673 [15:00:27]Content-Type: application/json [15:00:27] [15:00:27]POST finish read [15:00:27]Found Content-Length = 673 [15:00:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242348", "tax_sys" : 0, "items" : [ { "code": "4630097263345", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C \u0441\u0430\u043B\u043E\u043D\u0430 Universal-cleaner", "price" : 320.00, "quantity" : 1.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:27]execute_script... [15:00:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242348", "tax_sys" : 0, "items" : [ { "code": "4630097263345", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C \u0441\u0430\u043B\u043E\u043D\u0430 Universal-cleaner", "price" : 320.00, "quantity" : 1.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:27]POST & json_proto [15:00:27]process_json_proto [15:00:27]json parsed OK: [15:00:27]protocol is kg_v1.0 [15:00:27]action value=close_receipt [15:00:27]process_action close_receipt [15:00:27]cmd_close_receipt [15:00:27]MH_GetDate [15:00:27]Write to MH i2c: F0 00 00 3F 73 A1 [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: F0 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: F0 09 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: F0 09 00 3F 73 00 A0 BF F1 65 0A 64 6E 65 A0 [15:00:27]GetLastDocTimeStamp 1710338059 [15:00:27]current date 1710342048 [15:00:27]FM_GetShiftState [15:00:27]SAM_PROTO_GetShiftState [15:00:27]wFMCommunicate request_size=4 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 13 01 00 [15:00:27]Write to MH i2c: E2 08 00 40 73 80 13 01 00 00 00 00 00 30 [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 0E 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 0E 00 40 73 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 4D [15:00:27]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [15:00:27]wFMCommunicate OK [15:00:27]SAM_PROTO_GetShiftState done [15:00:27]FM_GetShiftState done [15:00:27]opened in 1710338059 [15:00:27]opened+sec_in_day 1710424459 [15:00:27]quantity*price = 32000 [15:00:27]sum+1 = 32001 [15:00:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 1 13.03.2024 15:00 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47442 ФПД: 52681468016542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T150048&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47442&fm=52681468016542&tin=02508201610067®Number=0000000000092018&sum=32000 0 [15:00:28]StoreToDocumentArchive [15:00:28]shift 316 fd 47442 [15:00:28]save to /storage/0316/doc_00047442 [15:00:28]save last doc name /storage/0316/doc_00047442 to /storage/kkm_last_doc_name [15:00:28]save OK [15:00:28]Clear old archive folders... [15:00:28]ProcessDocumentItem done err = 0, tmpTLVsize=293 [15:00:28]tlvbuf is 003748E0 [15:00:28]SAM_PROTO_ClearQueue [15:00:28]wFMCommunicate request_size=4 [15:00:28]MH_SAM_APDU [15:00:28]CAPDU: 80 09 00 00 [15:00:28]Write to MH i2c: E2 08 00 4D 73 80 09 00 00 00 00 00 00 32 [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:00:28]Read from MH i2c: E2 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 4D 73 00 90 00 34 [15:00:28]RAPDU: 90 00 [15:00:28]wFMCommunicate OK [15:00:28]SAM_PROTO_ClearQueue done [15:00:28]KKMCreateOFDPacket [15:00:28]OFDProtocolAddRootSTLVToBuf [15:00:28]FM_MakeSignedData [15:00:28]FM_MakeSignedData [15:00:28]SAM_PROTO_SignData [15:00:28]wFMCommunicate request_size=4 [15:00:28]MH_SAM_APDU [15:00:28]CAPDU: 80 0D 01 02 [15:00:28]Write to MH i2c: E2 08 00 4E 73 80 0D 01 02 00 00 00 00 3A [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:00:28]Read from MH i2c: E2 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 4E 73 00 90 00 35 [15:00:28]RAPDU: 90 00 [15:00:28]wFMCommunicate OK [15:00:28]wFMCommunicate request_size=255 [15:00:28]MH_SAM_APDU [15:00:28]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 36 33 30 30 39 37 32 36 33 33 34 35 06 04 33 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D1 81 D0 B0 D0 BB D0 BE D0 BD D0 B0 20 55 6E 69 76 65 72 73 61 6C 2D 63 6C 65 61 6E 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 7D 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 A0 BF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [15:00:28]Write to MH i2c: E2 02 01 4F 73 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 36 33 30 30 39 37 32 36 33 33 34 35 06 04 33 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D1 81 D0 B0 D0 BB D0 BE D0 BD D0 B0 20 55 6E 69 76 65 72 73 61 6C 2D 63 6C 65 61 6E 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 7D 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 A0 BF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 08 [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:28]Read from MH i2c: E2 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 4F 73 00 90 00 36 [15:00:28]RAPDU: 90 00 [15:00:28]wFMCommunicate OK [15:00:28]wFMCommunicate request_size=52 [15:00:28]MH_SAM_APDU [15:00:28]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 52 B9 00 00 35 04 06 00 2F E9 DC 2F F7 9E [15:00:28]Write to MH i2c: E2 37 00 50 73 80 0D 02 02 2F 00 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 52 B9 00 00 35 04 06 00 2F E9 DC 2F F7 9E 00 00 BD [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:28]Read from MH i2c: E2 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 03 00 50 73 00 90 00 37 [15:00:28]RAPDU: 90 00 [15:00:28]wFMCommunicate OK [15:00:28]wFMCommunicate request_size=4 [15:00:28]MH_SAM_APDU [15:00:28]CAPDU: 80 0D 03 02 [15:00:28]Write to MH i2c: E2 08 00 51 73 80 0D 03 02 00 00 00 00 3F [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:00:28]Read from MH i2c: E2 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 0B 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 0B 00 51 73 00 65 0B 2E 66 2B 45 81 33 90 00 68 [15:00:28]RAPDU: 65 0B 2E 66 2B 45 81 33 90 00 [15:00:28]wFMCommunicate OK [15:00:28]SAM_PROTO_SignData done [15:00:28]FM_MakeSignedData done [15:00:28]CreateOFDProtocolMessage [15:00:28]wFMCommunicate request_size=4 [15:00:28]MH_SAM_APDU [15:00:28]CAPDU: 80 11 00 00 [15:00:28]Write to MH i2c: E2 08 00 52 73 80 11 00 00 00 00 00 00 3F [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:28]Read from MH i2c: E2 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 17 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: E2 17 00 52 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 91 [15:00:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [15:00:28]wFMCommunicate OK [15:00:28]CreateOFDProtocolMessage done [15:00:28]OFDSenderStorePacket 47442 [15:00:28]StoreOFDPacket docnum=47442 [15:00:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 A0 FE 31 01 75 4E 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 36 33 30 30 39 37 32 36 33 33 34 35 06 04 33 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D1 81 D0 B0 D0 BB D0 BE D0 BD D0 B0 20 55 6E 69 76 65 72 73 61 6C 2D 63 6C 65 61 6E 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 7D 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 A0 BF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 52 B9 00 00 35 04 06 00 2F E9 DC 2F F7 9E 65 0B 2E 66 2B 45 81 33 [15:00:28]CheckFolder [15:00:28]dirname=/storage/ofd_packets [15:00:28]CheckFolder done [15:00:28]ProducePacketName [15:00:28]name=ofd_packets/00047442 [15:00:28]NVStorageSaveData ofd_packets/00047442 [15:00:28]File name is /storage/ofd_packets/00047442 [15:00:28]Write 343 bytes [15:00:28]NVStorageSaveData done [15:00:28]OFDSenderStorePacket done [15:00:28]KKMCreateOFDPacket done [15:00:28]NVStorageSaveData kkm_last_timestamp [15:00:28]File name is /storage/kkm_last_timestamp [15:00:28]Write 4 bytes [15:00:28]NVStorageSaveData done [15:00:28]ExternCall_PrintAddStr [15:00:28]wPrintStart [15:00:28]Write to MH i2c: 01 00 00 53 73 C6 [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: 01 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: 01 07 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: 01 07 00 53 73 00 00 00 00 00 FF 0F DB [15:00:28]RasterBufferAndPrint [15:00:28]line Счет N : (3)242348 [15:00:28]line ИНН: 02508201610067 [15:00:28]line Контрольно-Кассовый Чек [15:00:28]line ПРОДАЖА [15:00:28]line Товар: 4630097263345 [15:00:28]line Очиститель салона Universal-cleaner [15:00:28]line 1.000 * 320.00 [15:00:28]line = 320.00 [15:00:28]line НДС 12% НСП 1% [15:00:28]line > о реализуемом товаре [15:00:28]line ИТОГО: 320.00 [15:00:28]line НСП 1% : 2.83 [15:00:28]line НДС 12% : 33.98 [15:00:28]line Наличными: 320.00 [15:00:28]line Безнал.: 0.00 [15:00:28]line Место: АЗС № 15 "Партнер Нефть" [15:00:28]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [15:00:28]line СНО: Общий режим [15:00:28]line Чек 1 13.03.2024 15:00 [15:00:28]line Смена: 316 ФФД: 1.0 [15:00:28]line ЗНМ: 0300000097 [15:00:28]line РНМ: 0000000000092018 [15:00:28]line Версия ККМ: 001 [15:00:28]line ФМ: 0000000000871816 [15:00:28]line ФД: 47442 [15:00:29]line ФПД: 52681468016542 [15:00:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T150048&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47442&fm=52681468016542&tin=02508201610067®Number=0000000000092018&sum=32000 [15:00:29]line 0 [15:00:29]OFD Sender: Processing packet 47442 [packets to send 8, broken 7] [15:00:29]ProducePacketName [15:00:29]name=ofd_packets/00047442 [15:00:29]OFD Sender: To server: pG, [15:00:29]CommunicateWithHost lk.salyk.kg:30040 [15:00:29]ConnectInit lk.salyk.kg [15:00:29]written 0, free lines is 4095 [15:00:29]Connected sock=10 [15:00:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 A0 FE 31 01 75 4E 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 36 33 30 30 39 37 32 36 33 33 34 35 06 04 33 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D1 81 D0 B0 D0 BB D0 BE D0 BD D0 B0 20 55 6E 69 76 65 72 73 61 6C 2D 63 6C 65 61 6E 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 7D 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 A0 BF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 52 B9 00 00 35 04 06 00 2F E9 DC 2F F7 9E 65 0B 2E 66 2B 45 81 33 [15:00:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 F1 72 47 00 80 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 52 B9 00 00 F4 03 04 00 2F 6A F1 65 B6 04 01 00 00 81 46 E4 7C 19 D3 68 BF [15:00:29]CommunicateWithHost err = 0 [15:00:29]CheckOFDResponse [15:00:29]1017 (14) - 77093643461234 [15:00:29]1041 (16) - 0000000000871816 [15:00:29]1040 (4) - 47442 [15:00:29]1012 (4) - 13.03.2024 08:56 [15:00:29]1206 (1) - 0 [15:00:29]OFD Sender: Remove packet 47442 [15:00:29]ProducePacketName [15:00:29]name=ofd_packets/00047442 [15:00:29]NVStorageDeleteData [15:00:29]Write to MH i2c: 01 00 00 7C 73 EF [15:00:29]Write i2c OK [15:00:29]MH_I2C_Read... [15:00:29]Read from MH i2c: 01 [15:00:29]MH_I2C_Read... [15:00:29]Read from MH i2c: 01 07 00 [15:00:29]MH_I2C_Read... [15:00:29]Read from MH i2c: 01 07 00 7C 73 00 00 00 00 00 E8 0C EA [15:00:29]RasterBufferAndPrint [15:00:29]line [15:00:29]line [15:00:29]line [15:00:29]line [15:00:29]line [15:00:29]written 0, free lines is 3310 [15:00:29]MH_Cut [15:00:29]Write to MH i2c: D1 01 00 83 73 01 C8 [15:00:29]Write i2c OK [15:00:29]MH_I2C_Read... [15:00:29]Read from MH i2c: D1 [15:00:29]MH_I2C_Read... [15:00:29]Read from MH i2c: D1 01 00 [15:00:29]MH_I2C_Read... [15:00:29]Read from MH i2c: D1 01 00 83 73 00 C7 [15:00:29]Write to MH i2c: 01 00 00 84 73 F7 [15:00:29]Write i2c OK [15:00:29]MH_I2C_Read... [15:00:29]OFD Sender: No OFD packet to send [15:00:30]*** Cut start [15:00:30]*** Purtial cut [15:00:30]*** Stage 1: CUTSNS_PIN = 1 [15:00:30]Read from MH i2c: 01 [15:00:30]MH_I2C_Read... [15:00:30]*** Stop cut motor [15:00:30]*** Cut end [15:00:30]Read from MH i2c: 01 07 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: 01 07 00 84 73 00 00 00 00 00 FF 0F 0C [15:00:30]process_action close_receipt done [15:00:30]requested_data is exist [15:00:30]produce_requested_data [15:00:30]requested_item fm.sn is exist - process it [15:00:30]wFMCommunicate request_size=4 [15:00:30]MH_SAM_APDU [15:00:30]CAPDU: 80 11 00 00 [15:00:30]Write to MH i2c: E2 08 00 85 73 80 11 00 00 00 00 00 00 72 [15:00:30]Write i2c OK [15:00:30]MH_I2C_Read... [15:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:30]Read from MH i2c: E2 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 17 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 17 00 85 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C4 [15:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [15:00:30]wFMCommunicate OK [15:00:30]requested_item fd.num is exist - process it [15:00:30]SAM_PROTO_GetFieldsCounters [15:00:30]wFMCommunicate request_size=4 [15:00:30]MH_SAM_APDU [15:00:30]CAPDU: 80 13 00 00 [15:00:30]Write to MH i2c: E2 08 00 86 73 80 13 00 00 00 00 00 00 75 [15:00:30]Write i2c OK [15:00:30]MH_I2C_Read... [15:00:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:00:30]Read from MH i2c: E2 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 62 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 62 00 86 73 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 52 B9 00 00 0E 04 04 00 3C 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 DB [15:00:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 52 B9 00 00 0E 04 04 00 3C 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 [15:00:30]wFMCommunicate OK [15:00:30]SAM_PROTO_GetFieldsCounters done [15:00:30]requested_item shift.num is exist - process it [15:00:30]requested_item shift.opened is exist - process it [15:00:30]req_shift_opened [15:00:30]FM_GetShiftState [15:00:30]SAM_PROTO_GetShiftState [15:00:30]wFMCommunicate request_size=4 [15:00:30]MH_SAM_APDU [15:00:30]CAPDU: 80 13 01 00 [15:00:30]Write to MH i2c: E2 08 00 87 73 80 13 01 00 00 00 00 00 77 [15:00:30]Write i2c OK [15:00:30]MH_I2C_Read... [15:00:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:31]Read from MH i2c: E2 [15:00:31]MH_I2C_Read... [15:00:31]Read from MH i2c: E2 0E 00 [15:00:31]MH_I2C_Read... [15:00:31]Read from MH i2c: E2 0E 00 87 73 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 94 [15:00:31]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [15:00:31]wFMCommunicate OK [15:00:31]SAM_PROTO_GetShiftState done [15:00:31]FM_GetShiftState done [15:00:31]req_shift_opened done [15:00:31]requested_item shift.open_date is exist - process it [15:00:31]req_shift_open_date [15:00:31]req_shift_open_date done [15:00:31]produce_requested_data done [15:00:31]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47442,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [15:00:31]process_action_free close_receipt [15:00:31]json_value_free [15:00:31]json_value_free done [15:00:31]process_json_proto returns [15:00:31]Send response to host [15:00:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47442,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [15:00:31]free response buf [15:00:31]execute_script done [15:00:31]execute_script returns [15:00:31]free content buf [15:00:31]Sock 7.Close socket [15:00:31]Sock 7.Thread stoped [15:00:35]OFD Sender: No OFD packet to send [15:00:40]OFD Sender: No OFD packet to send [15:00:45]OFD Sender: No OFD packet to send [15:00:50]OFD Sender: No OFD packet to send [15:00:55]OFD Sender: No OFD packet to send [15:01:00]OFD Sender: No OFD packet to send [15:01:05]OFD Sender: No OFD packet to send [15:01:10]OFD Sender: No OFD packet to send [15:01:15]OFD Sender: No OFD packet to send [15:01:20]OFD Sender: No OFD packet to send [15:01:25]OFD Sender: No OFD packet to send [15:01:30]OFD Sender: No OFD packet to send [15:01:35]OFD Sender: No OFD packet to send [15:01:40]OFD Sender: No OFD packet to send [15:01:45]OFD Sender: No OFD packet to send [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:05]OFD Sender: No OFD packet to send [15:05:10]OFD Sender: No OFD packet to send [15:05:15]OFD Sender: No OFD packet to send [15:05:20]OFD Sender: No OFD packet to send [15:05:25]OFD Sender: No OFD packet to send [15:05:30]OFD Sender: No OFD packet to send [15:05:35]OFD Sender: No OFD packet to send [15:05:40]OFD Sender: No OFD packet to send [15:05:45]OFD Sender: No OFD packet to send [15:05:50]OFD Sender: No OFD packet to send [15:05:55]OFD Sender: No OFD packet to send [15:06:00]OFD Sender: No OFD packet to send [15:06:05]OFD Sender: No OFD packet to send [15:06:10]OFD Sender: No OFD packet to send [15:06:15]OFD Sender: No OFD packet to send [15:06:20]OFD Sender: No OFD packet to send [15:06:25]OFD Sender: No OFD packet to send [15:06:30]OFD Sender: No OFD packet to send [15:06:35]OFD Sender: No OFD packet to send [15:06:40]OFD Sender: No OFD packet to send [15:06:45]OFD Sender: No OFD packet to send [15:06:50]OFD Sender: No OFD packet to send [15:06:55]OFD Sender: No OFD packet to send [15:07:00]OFD Sender: No OFD packet to send [15:07:05]OFD Sender: No OFD packet to send [15:07:10]OFD Sender: No OFD packet to send [15:07:15]OFD Sender: No OFD packet to send [15:07:20]OFD Sender: No OFD packet to send [15:07:25]OFD Sender: No OFD packet to send [15:07:30]OFD Sender: No OFD packet to send [15:07:35]OFD Sender: No OFD packet to send [15:07:40]OFD Sender: No OFD packet to send [15:07:45]OFD Sender: No OFD packet to send [15:07:50]OFD Sender: No OFD packet to send [15:07:55]OFD Sender: No OFD packet to send [15:08:00]OFD Sender: No OFD packet to send [15:08:05]OFD Sender: No OFD packet to send [15:08:10]OFD Sender: No OFD packet to send [15:08:15]OFD Sender: No OFD packet to send [15:08:20]OFD Sender: No OFD packet to send [15:08:25]OFD Sender: No OFD packet to send [15:08:30]OFD Sender: No OFD packet to send [15:08:35]OFD Sender: No OFD packet to send [15:08:40]OFD Sender: No OFD packet to send [15:08:45]OFD Sender: No OFD packet to send [15:08:50]OFD Sender: No OFD packet to send [15:08:55]OFD Sender: No OFD packet to send [15:09:00]OFD Sender: No OFD packet to send [15:09:05]OFD Sender: No OFD packet to send [15:09:10]OFD Sender: No OFD packet to send [15:09:15]OFD Sender: No OFD packet to send [15:09:20]OFD Sender: No OFD packet to send [15:09:25]OFD Sender: No OFD packet to send [15:09:30]OFD Sender: No OFD packet to send [15:09:35]OFD Sender: No OFD packet to send [15:09:40]OFD Sender: No OFD packet to send [15:09:45]OFD Sender: No OFD packet to send [15:09:50]OFD Sender: No OFD packet to send [15:09:55]OFD Sender: No OFD packet to send [15:10:00]OFD Sender: No OFD packet to send [15:10:05]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:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:36]OFD Sender: No OFD packet to send [15:23:41]OFD Sender: No OFD packet to send [15:23:46]OFD Sender: No OFD packet to send [15:23:51]OFD Sender: No OFD packet to send [15:23:56]OFD Sender: No OFD packet to send [15:24:01]OFD Sender: No OFD packet to send [15:24:06]OFD Sender: No OFD packet to send [15:24:11]OFD Sender: No OFD packet to send [15:24:16]OFD Sender: No OFD packet to send [15:24:21]OFD Sender: No OFD packet to send [15:24:26]OFD Sender: No OFD packet to send [15:24:31]OFD Sender: No OFD packet to send [15:24:36]OFD Sender: No OFD packet to send [15:24:41]OFD Sender: No OFD packet to send [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:01]OFD Sender: No OFD packet to send [15:29:06]OFD Sender: No OFD packet to send [15:29:11]OFD Sender: No OFD packet to send [15:29:16]OFD Sender: No OFD packet to send [15:29:21]OFD Sender: No OFD packet to send [15:29:26]OFD Sender: No OFD packet to send [15:29:31]OFD Sender: No OFD packet to send [15:29:36]OFD Sender: No OFD packet to send [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:01]OFD Sender: No OFD packet to send [15:31:06]OFD Sender: No OFD packet to send [15:31:11]OFD Sender: No OFD packet to send [15:31:16]OFD Sender: No OFD packet to send [15:31:21]OFD Sender: No OFD packet to send [15:31:26]OFD Sender: No OFD packet to send [15:31:31]OFD Sender: No OFD packet to send [15:31:36]OFD Sender: No OFD packet to send [15:31:41]OFD Sender: No OFD packet to send [15:31:46]OFD Sender: No OFD packet to send [15:31:51]OFD Sender: No OFD packet to send [15:31:56]OFD Sender: No OFD packet to send [15:32:01]OFD Sender: No OFD packet to send [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]OFD Sender: No OFD packet to send [15:32:51]OFD Sender: No OFD packet to send [15:32:56]OFD Sender: No OFD packet to send [15:33:01]OFD Sender: No OFD packet to send [15:33:06]OFD Sender: No OFD packet to send [15:33:11]OFD Sender: No OFD packet to send [15:33:16]OFD Sender: No OFD packet to send [15:33:21]OFD Sender: No OFD packet to send [15:33:26]OFD Sender: No OFD packet to send [15:33:31]OFD Sender: No OFD packet to send [15:33:36]OFD Sender: No OFD packet to send [15:33:41]OFD Sender: No OFD packet to send [15:33:46]OFD Sender: No OFD packet to send [15:33:51]OFD Sender: No OFD packet to send [15:33:56]OFD Sender: No OFD packet to send [15:34:01]OFD Sender: No OFD packet to send [15:34:06]OFD Sender: No OFD packet to send [15:34:11]OFD Sender: No OFD packet to send [15:34:16]OFD Sender: No OFD packet to send [15:34:21]OFD Sender: No OFD packet to send [15:34:26]OFD Sender: No OFD packet to send [15:34:31]OFD Sender: No OFD packet to send [15:34:36]OFD Sender: No OFD packet to send [15:34:41]OFD Sender: No OFD packet to send [15:34:46]OFD Sender: No OFD packet to send [15:34:51]OFD Sender: No OFD packet to send [15:34:56]OFD Sender: No OFD packet to send [15:35:01]OFD Sender: No OFD packet to send [15:35:06]OFD Sender: No OFD packet to send [15:35:11]OFD Sender: No OFD packet to send [15:35:16]OFD Sender: No OFD packet to send [15:35:21]OFD Sender: No OFD packet to send [15:35:26]OFD Sender: No OFD packet to send [15:35:31]OFD Sender: No OFD packet to send [15:35:36]OFD Sender: No OFD packet to send [15:35:41]OFD Sender: No OFD packet to send [15:35:46]OFD Sender: No OFD packet to send [15:35:51]OFD Sender: No OFD packet to send [15:35:56]OFD Sender: No OFD packet to send [15:36:01]OFD Sender: No OFD packet to send [15:36:06]OFD Sender: No OFD packet to send [15:36:11]OFD Sender: No OFD packet to send [15:36:16]OFD Sender: No OFD packet to send [15:36:21]OFD Sender: No OFD packet to send [15:36:26]OFD Sender: No OFD packet to send [15:36:31]OFD Sender: No OFD packet to send [15:36:36]OFD Sender: No OFD packet to send [15:36:41]OFD Sender: No OFD packet to send [15:36:46]OFD Sender: No OFD packet to send [15:36:51]OFD Sender: No OFD packet to send [15:36:56]OFD Sender: No OFD packet to send [15:37:01]OFD Sender: No OFD packet to send [15:37:06]OFD Sender: No OFD packet to send [15:37:11]OFD Sender: No OFD packet to send [15:37:16]OFD Sender: No OFD packet to send [15:37:21]OFD Sender: No OFD packet to send [15:37:26]OFD Sender: No OFD packet to send [15:37:31]OFD Sender: No OFD packet to send [15:37:36]OFD Sender: No OFD packet to send [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]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:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:57]OFD Sender: No OFD packet to send [16:00:02]OFD Sender: No OFD packet to send [16:00:07]OFD Sender: No OFD packet to send [16:00:12]OFD Sender: No OFD packet to send [16:00:17]OFD Sender: No OFD packet to send [16:00:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:32]OFD Sender: No OFD packet to send [16:00:37]OFD Sender: No OFD packet to send [16:00:42]OFD Sender: No OFD packet to send [16:00:47]OFD Sender: No OFD packet to send [16:00:52]OFD Sender: No OFD packet to send [16:00:57]OFD Sender: No OFD packet to send [16:01:02]OFD Sender: No OFD packet to send [16:01:07]OFD Sender: No OFD packet to send [16:01:12]OFD Sender: No OFD packet to send [16:01:17]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]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:03]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]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:42]accept exits with 9 [16:33:42]New connection [16:33:42]New thread 3066596708 created [16:33:42]Thread 3066453348 joined [16:33:42]Waiting for new connection... [16:33:42] Sock 9.Parse request [16:33:42]Sock 9.Check first char [16:33:42]Sock 9.First char is OK [16:33:42]request: POST /json_proto HTTP/1.0 [16:33:42]Method: POST [16:33:42]URL: /json_proto [16:33:42]Method is POST - this is cgi request [16:33:42]url: /json_proto [16:33:42]query_string will be loaded in cgi processing [16:33:42]execute_cgi json_proto POST (null) [16:33:42]execute_cgi path=json_proto method=POST [16:33:42]POST find Content-Length [16:33:42]Host: 172.17.32.68:8080 [16:33:42]Content-Length: 626 [16:33:42]Content-Type: application/json [16:33:42] [16:33:42]POST finish read [16:33:42]Found Content-Length = 626 [16:33:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242349", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:42]execute_script... [16:33: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)242349", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:42]POST & json_proto [16:33:42]process_json_proto [16:33:42]json parsed OK: [16:33:42]protocol is kg_v1.0 [16:33:42]action value=close_receipt [16:33:42]process_action close_receipt [16:33:42]cmd_close_receipt [16:33:42]MH_GetDate [16:33:42]Write to MH i2c: F0 00 00 88 73 EA [16:33:42]Write i2c OK [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: F0 [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: F0 09 00 [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: F0 09 00 88 73 00 7C D5 F1 65 0A 64 6E 65 DB [16:33:42]GetLastDocTimeStamp 1710342048 [16:33:42]current date 1710347644 [16:33:42]FM_GetShiftState [16:33:42]SAM_PROTO_GetShiftState [16:33:42]wFMCommunicate request_size=4 [16:33:42]MH_SAM_APDU [16:33:42]CAPDU: 80 13 01 00 [16:33:42]Write to MH i2c: E2 08 00 89 73 80 13 01 00 00 00 00 00 79 [16:33:42]Write i2c OK [16:33:42]MH_I2C_Read... [16:33:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:42]Read from MH i2c: E2 [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: E2 0E 00 [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: E2 0E 00 89 73 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 96 [16:33:42]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [16:33:42]wFMCommunicate OK [16:33:42]SAM_PROTO_GetShiftState done [16:33:42]FM_GetShiftState done [16:33:42]opened in 1710338059 [16:33:42]opened+sec_in_day 1710424459 [16:33:42]quantity*price = 11500 [16:33:42]sum+1 = 11501 [16:33:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 2 13.03.2024 16:34 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47443 ФПД: 177231803116161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T163404&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47443&fm=177231803116161&tin=02508201610067®Number=0000000000092018&sum=11500 0 [16:33:43]StoreToDocumentArchive [16:33:43]shift 316 fd 47443 [16:33:43]save to /storage/0316/doc_00047443 [16:33:43]save last doc name /storage/0316/doc_00047443 to /storage/kkm_last_doc_name [16:33:43]save OK [16:33:43]Clear old archive folders... [16:33:43]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:33:43]tlvbuf is 00396EF0 [16:33:43]SAM_PROTO_ClearQueue [16:33:43]wFMCommunicate request_size=4 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 09 00 00 [16:33:43]Write to MH i2c: E2 08 00 96 73 80 09 00 00 00 00 00 00 7B [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 96 73 00 90 00 7D [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]SAM_PROTO_ClearQueue done [16:33:43]KKMCreateOFDPacket [16:33:43]OFDProtocolAddRootSTLVToBuf [16:33:43]FM_MakeSignedData [16:33:43]FM_MakeSignedData [16:33:43]SAM_PROTO_SignData [16:33:43]wFMCommunicate request_size=4 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 01 02 [16:33:43]Write to MH i2c: E2 08 00 97 73 80 0D 01 02 00 00 00 00 83 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 97 73 00 90 00 7E [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]wFMCommunicate request_size=255 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7C D5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 [16:33:43]Write to MH i2c: E2 02 01 98 73 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7C D5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 00 00 00 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 98 73 00 90 00 7F [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]wFMCommunicate request_size=33 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 31 36 10 04 04 00 53 B9 00 00 35 04 06 00 A1 30 FE AA EA 81 [16:33:43]Write to MH i2c: E2 24 00 99 73 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 31 36 10 04 04 00 53 B9 00 00 35 04 06 00 A1 30 FE AA EA 81 00 00 04 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 99 73 00 90 00 80 [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]wFMCommunicate request_size=4 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 03 02 [16:33:43]Write to MH i2c: E2 08 00 9A 73 80 0D 03 02 00 00 00 00 88 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 0B 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 0B 00 9A 73 00 F8 B9 D6 A1 BD EE C6 D0 90 00 F2 [16:33:43]RAPDU: F8 B9 D6 A1 BD EE C6 D0 90 00 [16:33:43]wFMCommunicate OK [16:33:43]SAM_PROTO_SignData done [16:33:43]FM_MakeSignedData done [16:33:43]CreateOFDProtocolMessage [16:33:43]wFMCommunicate request_size=4 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 11 00 00 [16:33:43]Write to MH i2c: E2 08 00 9B 73 80 11 00 00 00 00 00 00 88 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 17 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 17 00 9B 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DA [16:33:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:33:43]wFMCommunicate OK [16:33:43]CreateOFDProtocolMessage done [16:33:43]OFDSenderStorePacket 47443 [16:33:43]StoreOFDPacket docnum=47443 [16:33:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 26 01 00 00 E0 76 1E 01 0F 0E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7C D5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 53 B9 00 00 35 04 06 00 A1 30 FE AA EA 81 F8 B9 D6 A1 BD EE C6 D0 [16:33:43]CheckFolder [16:33:43]dirname=/storage/ofd_packets [16:33:43]CheckFolder done [16:33:43]ProducePacketName [16:33:43]name=ofd_packets/00047443 [16:33:43]NVStorageSaveData ofd_packets/00047443 [16:33:43]File name is /storage/ofd_packets/00047443 [16:33:43]Write 324 bytes [16:33:43]NVStorageSaveData done [16:33:43]OFDSenderStorePacket done [16:33:43]KKMCreateOFDPacket done [16:33:43]NVStorageSaveData kkm_last_timestamp [16:33:43]File name is /storage/kkm_last_timestamp [16:33:43]Write 4 bytes [16:33:43]NVStorageSaveData done [16:33:43]ExternCall_PrintAddStr [16:33:43]wPrintStart [16:33:43]Write to MH i2c: 01 00 00 9C 73 0F [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: 01 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: 01 07 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: 01 07 00 9C 73 00 00 00 00 00 FF 0F 24 [16:33:43]RasterBufferAndPrint [16:33:43]line Счет N : (3)242349 [16:33:43]line ИНН: 02508201610067 [16:33:43]line Контрольно-Кассовый Чек [16:33:43]line ПРОДАЖА [16:33:43]line Товар: 2000036240010 [16:33:43]line Кофе Латте (GABB TRADE) [16:33:43]line 1.000 * 115.00 [16:33:43]line = 115.00 [16:33:43]line НДС 12% НСП 1% [16:33:43]line > о реализуемом товаре [16:33:43]line ИТОГО: 115.00 [16:33:43]line НСП 1% : 1.02 [16:33:43]line НДС 12% : 12.21 [16:33:43]line Наличными: 115.00 [16:33:43]line Безнал.: 0.00 [16:33:43]line Место: АЗС № 15 "Партнер Нефть" [16:33:43]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [16:33:43]line СНО: Общий режим [16:33:43]line Чек 2 13.03.2024 16:34 [16:33:43]line Смена: 316 ФФД: 1.0 [16:33:43]line ЗНМ: 0300000097 [16:33:43]line РНМ: 0000000000092018 [16:33:43]line Версия ККМ: 001 [16:33:43]line ФМ: 0000000000871816 [16:33:43]line ФД: 47443 [16:33:43]line ФПД: 177231803116161 [16:33:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T163404&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47443&fm=177231803116161&tin=02508201610067®Number=0000000000092018&sum=11500 [16:33:44]line 0 [16:33:44]OFD Sender: Processing packet 47443 [packets to send 8, broken 7] [16:33:44]ProducePacketName [16:33:44]name=ofd_packets/00047443 [16:33:44]OFD Sender: To server: pG, [16:33:44]CommunicateWithHost lk.salyk.kg:30040 [16:33:44]ConnectInit lk.salyk.kg [16:33:44]written 0, free lines is 4095 [16:33:44]Connected sock=10 [16:33:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 26 01 00 00 E0 76 1E 01 0F 0E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7C D5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 53 B9 00 00 35 04 06 00 A1 30 FE AA EA 81 F8 B9 D6 A1 BD EE C6 D0 [16:33:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 EE FB 47 00 46 0F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 53 B9 00 00 F4 03 04 00 0A 80 F1 65 B6 04 01 00 00 22 8C F3 E7 65 EA AF 4C [16:33:44]CommunicateWithHost err = 0 [16:33:44]CheckOFDResponse [16:33:44]1017 (14) - 77093643461234 [16:33:44]1041 (16) - 0000000000871816 [16:33:44]1040 (4) - 47443 [16:33:44]1012 (4) - 13.03.2024 10:29 [16:33:44]1206 (1) - 0 [16:33:44]OFD Sender: Remove packet 47443 [16:33:44]ProducePacketName [16:33:44]name=ofd_packets/00047443 [16:33:44]NVStorageDeleteData [16:33:44]Write to MH i2c: 01 00 00 C4 73 37 [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: 01 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: 01 07 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: 01 07 00 C4 73 00 00 00 00 00 EE 0C 38 [16:33:44]RasterBufferAndPrint [16:33:44]line [16:33:44]line [16:33:44]line [16:33:44]line [16:33:44]line [16:33:44]written 0, free lines is 3316 [16:33:44]MH_Cut [16:33:44]Write to MH i2c: D1 01 00 CB 73 01 10 [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: D1 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: D1 01 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: D1 01 00 CB 73 00 0F [16:33:44]Write to MH i2c: 01 00 00 CC 73 3F [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]OFD Sender: No OFD packet to send [16:33:45]*** Cut start [16:33:45]*** Purtial cut [16:33:45]*** Stage 1: CUTSNS_PIN = 1 [16:33:45]Read from MH i2c: 01 [16:33:45]MH_I2C_Read... [16:33:45]*** Stop cut motor [16:33:45]*** Cut end [16:33:45]Read from MH i2c: 01 07 00 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: 01 07 00 CC 73 00 00 00 00 00 FF 0F 54 [16:33:45]process_action close_receipt done [16:33:45]requested_data is exist [16:33:45]produce_requested_data [16:33:45]requested_item fm.sn is exist - process it [16:33:45]wFMCommunicate request_size=4 [16:33:45]MH_SAM_APDU [16:33:45]CAPDU: 80 11 00 00 [16:33:45]Write to MH i2c: E2 08 00 CD 73 80 11 00 00 00 00 00 00 BA [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:45]Read from MH i2c: E2 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: E2 17 00 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: E2 17 00 CD 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 0C [16:33:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:33:45]wFMCommunicate OK [16:33:45]requested_item fd.num is exist - process it [16:33:45]SAM_PROTO_GetFieldsCounters [16:33:45]wFMCommunicate request_size=4 [16:33:45]MH_SAM_APDU [16:33:45]CAPDU: 80 13 00 00 [16:33:45]Write to MH i2c: E2 08 00 CE 73 80 13 00 00 00 00 00 00 BD [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:33:45]Read from MH i2c: E2 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: E2 62 00 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: E2 62 00 CE 73 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 53 B9 00 00 0E 04 04 00 3C 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 27 [16:33:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 53 B9 00 00 0E 04 04 00 3C 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 [16:33:45]wFMCommunicate OK [16:33:45]SAM_PROTO_GetFieldsCounters done [16:33:45]requested_item shift.num is exist - process it [16:33:45]requested_item shift.opened is exist - process it [16:33:45]req_shift_opened [16:33:45]FM_GetShiftState [16:33:45]SAM_PROTO_GetShiftState [16:33:45]wFMCommunicate request_size=4 [16:33:45]MH_SAM_APDU [16:33:45]CAPDU: 80 13 01 00 [16:33:45]Write to MH i2c: E2 08 00 CF 73 80 13 01 00 00 00 00 00 BF [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:45]Read from MH i2c: E2 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: E2 0E 00 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: E2 0E 00 CF 73 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 DC [16:33:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [16:33:45]wFMCommunicate OK [16:33:45]SAM_PROTO_GetShiftState done [16:33:45]FM_GetShiftState done [16:33:45]req_shift_opened done [16:33:45]requested_item shift.open_date is exist - process it [16:33:45]req_shift_open_date [16:33:45]req_shift_open_date done [16:33:45]produce_requested_data done [16:33:45]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47443,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [16:33:45]process_action_free close_receipt [16:33:45]json_value_free [16:33:45]json_value_free done [16:33:45]process_json_proto returns [16:33:45]Send response to host [16:33:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47443,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [16:33:45]free response buf [16:33:45]execute_script done [16:33:45]execute_script returns [16:33:45]free content buf [16:33:45]Sock 9.Close socket [16:33:45]Sock 9.Thread stoped [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:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]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:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:15]OFD Sender: No OFD packet to send [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:45]OFD Sender: No OFD packet to send [16:44:50]OFD Sender: No OFD packet to send [16:44:53]accept exits with 7 [16:44:53]New connection [16:44:53]New thread 3066453348 created [16:44:53]Thread 3066596708 joined [16:44:53]Waiting for new connection... [16:44:53] Sock 7.Parse request [16:44:53]Sock 7.Check first char [16:44:53]Sock 7.First char is OK [16:44:53]request: POST /json_proto HTTP/1.0 [16:44:53]Method: POST [16:44:53]URL: /json_proto [16:44:53]Method is POST - this is cgi request [16:44:53]url: /json_proto [16:44:53]query_string will be loaded in cgi processing [16:44:53]execute_cgi json_proto POST (null) [16:44:53]execute_cgi path=json_proto method=POST [16:44:53]POST find Content-Length [16:44:53]Host: 172.17.32.68:8080 [16:44:53]Content-Length: 667 [16:44:53]Content-Type: application/json [16:44:53] [16:44:53]POST finish read [16:44:53]Found Content-Length = 667 [16:44:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242350", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:53]execute_script... [16:44: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)242350", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:53]POST & json_proto [16:44:53]process_json_proto [16:44:53]json parsed OK: [16:44:53]protocol is kg_v1.0 [16:44:53]action value=close_receipt [16:44:53]process_action close_receipt [16:44:53]cmd_close_receipt [16:44:53]MH_GetDate [16:44:53]Write to MH i2c: F0 00 00 D0 73 32 [16:44:53]Write i2c OK [16:44:53]MH_I2C_Read... [16:44:53]Read from MH i2c: F0 [16:44:53]MH_I2C_Read... [16:44:53]Read from MH i2c: F0 09 00 [16:44:53]MH_I2C_Read... [16:44:53]Read from MH i2c: F0 09 00 D0 73 00 1B D8 F1 65 0A 64 6E 65 C5 [16:44:53]GetLastDocTimeStamp 1710347644 [16:44:53]current date 1710348315 [16:44:53]FM_GetShiftState [16:44:53]SAM_PROTO_GetShiftState [16:44:53]wFMCommunicate request_size=4 [16:44:53]MH_SAM_APDU [16:44:53]CAPDU: 80 13 01 00 [16:44:53]Write to MH i2c: E2 08 00 D1 73 80 13 01 00 00 00 00 00 C1 [16:44:53]Write i2c OK [16:44:53]MH_I2C_Read... [16:44:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:53]Read from MH i2c: E2 [16:44:53]MH_I2C_Read... [16:44:53]Read from MH i2c: E2 0E 00 [16:44:53]MH_I2C_Read... [16:44:53]Read from MH i2c: E2 0E 00 D1 73 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 DE [16:44:53]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [16:44:53]wFMCommunicate OK [16:44:53]SAM_PROTO_GetShiftState done [16:44:53]FM_GetShiftState done [16:44:53]opened in 1710338059 [16:44:53]opened+sec_in_day 1710424459 [16:44:53]quantity*price = 12000 [16:44:53]sum+1 = 12001 [16:44:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 3 13.03.2024 16:45 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47444 ФПД: 168377756125488 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T164515&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47444&fm=168377756125488&tin=02508201610067®Number=0000000000092018&sum=12000 0 [16:44:54]StoreToDocumentArchive [16:44:54]shift 316 fd 47444 [16:44:54]save to /storage/0316/doc_00047444 [16:44:54]save last doc name /storage/0316/doc_00047444 to /storage/kkm_last_doc_name [16:44:54]save OK [16:44:54]Clear old archive folders... [16:44:54]ProcessDocumentItem done err = 0, tmpTLVsize=283 [16:44:54]tlvbuf is 004CF350 [16:44:54]SAM_PROTO_ClearQueue [16:44:54]wFMCommunicate request_size=4 [16:44:54]MH_SAM_APDU [16:44:54]CAPDU: 80 09 00 00 [16:44:54]Write to MH i2c: E2 08 00 DE 73 80 09 00 00 00 00 00 00 C3 [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:44:54]Read from MH i2c: E2 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 DE 73 00 90 00 C5 [16:44:54]RAPDU: 90 00 [16:44:54]wFMCommunicate OK [16:44:54]SAM_PROTO_ClearQueue done [16:44:54]KKMCreateOFDPacket [16:44:54]OFDProtocolAddRootSTLVToBuf [16:44:54]FM_MakeSignedData [16:44:54]FM_MakeSignedData [16:44:54]SAM_PROTO_SignData [16:44:54]wFMCommunicate request_size=4 [16:44:54]MH_SAM_APDU [16:44:54]CAPDU: 80 0D 01 02 [16:44:54]Write to MH i2c: E2 08 00 DF 73 80 0D 01 02 00 00 00 00 CB [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:44:54]Read from MH i2c: E2 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 DF 73 00 90 00 C6 [16:44:54]RAPDU: 90 00 [16:44:54]wFMCommunicate OK [16:44:54]wFMCommunicate request_size=255 [16:44:54]MH_SAM_APDU [16:44:54]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B D8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 [16:44:54]Write to MH i2c: E2 02 01 E0 73 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B D8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 00 00 11 [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:54]Read from MH i2c: E2 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 E0 73 00 90 00 C7 [16:44:54]RAPDU: 90 00 [16:44:54]wFMCommunicate OK [16:44:54]wFMCommunicate request_size=42 [16:44:54]MH_SAM_APDU [16:44:54]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 54 B9 00 00 35 04 06 00 99 23 80 57 89 30 [16:44:54]Write to MH i2c: E2 2D 00 E1 73 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 54 B9 00 00 35 04 06 00 99 23 80 57 89 30 00 00 FB [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:54]Read from MH i2c: E2 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 03 00 E1 73 00 90 00 C8 [16:44:54]RAPDU: 90 00 [16:44:54]wFMCommunicate OK [16:44:54]wFMCommunicate request_size=4 [16:44:54]MH_SAM_APDU [16:44:54]CAPDU: 80 0D 03 02 [16:44:54]Write to MH i2c: E2 08 00 E2 73 80 0D 03 02 00 00 00 00 D0 [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:44:54]Read from MH i2c: E2 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 0B 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 0B 00 E2 73 00 61 E2 60 69 9A 94 0B AA 90 00 C0 [16:44:54]RAPDU: 61 E2 60 69 9A 94 0B AA 90 00 [16:44:54]wFMCommunicate OK [16:44:54]SAM_PROTO_SignData done [16:44:54]FM_MakeSignedData done [16:44:54]CreateOFDProtocolMessage [16:44:54]wFMCommunicate request_size=4 [16:44:54]MH_SAM_APDU [16:44:54]CAPDU: 80 11 00 00 [16:44:54]Write to MH i2c: E2 08 00 E3 73 80 11 00 00 00 00 00 00 D0 [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:54]Read from MH i2c: E2 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 17 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: E2 17 00 E3 73 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 22 [16:44:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:44:54]wFMCommunicate OK [16:44:54]CreateOFDProtocolMessage done [16:44:54]OFDSenderStorePacket 47444 [16:44:54]StoreOFDPacket docnum=47444 [16:44:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2F 01 00 00 20 73 27 01 8F 09 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B D8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 54 B9 00 00 35 04 06 00 99 23 80 57 89 30 61 E2 60 69 9A 94 0B AA [16:44:54]CheckFolder [16:44:54]dirname=/storage/ofd_packets [16:44:54]CheckFolder done [16:44:54]ProducePacketName [16:44:54]name=ofd_packets/00047444 [16:44:54]NVStorageSaveData ofd_packets/00047444 [16:44:54]File name is /storage/ofd_packets/00047444 [16:44:54]Write 333 bytes [16:44:54]NVStorageSaveData done [16:44:54]OFDSenderStorePacket done [16:44:54]KKMCreateOFDPacket done [16:44:54]NVStorageSaveData kkm_last_timestamp [16:44:54]File name is /storage/kkm_last_timestamp [16:44:54]Write 4 bytes [16:44:54]NVStorageSaveData done [16:44:54]ExternCall_PrintAddStr [16:44:54]wPrintStart [16:44:54]Write to MH i2c: 01 00 00 E4 73 57 [16:44:54]OFD Sender: Processing packet 47444 [packets to send 8, broken 7] [16:44:54]ProducePacketName [16:44:54]name=ofd_packets/00047444 [16:44:54]OFD Sender: To server: pG, [16:44:54]CommunicateWithHost lk.salyk.kg:30040 [16:44:54]ConnectInit lk.salyk.kg [16:44:54]Write i2c OK [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: 01 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: 01 07 00 [16:44:54]MH_I2C_Read... [16:44:54]Read from MH i2c: 01 07 00 E4 73 00 00 00 00 00 FF 0F 6C [16:44:54]RasterBufferAndPrint [16:44:54]line Счет N : (3)242350 [16:44:54]line ИНН: 02508201610067 [16:44:54]line Контрольно-Кассовый Чек [16:44:54]line ПРОДАЖА [16:44:54]line Товар: 4800452010610 [16:44:54]line Кофе капучино XL (АКЦИЯ) [16:44:54]line 1.000 * 120.00 [16:44:54]line = 120.00 [16:44:54]line НДС 12% НСП 1% [16:44:54]line > о реализуемом товаре [16:44:54]line ИТОГО: 120.00 [16:44:54]line НСП 1% : 1.06 [16:44:54]line НДС 12% : 12.74 [16:44:54]line Наличными: 120.00 [16:44:54]line Безнал.: 0.00 [16:44:54]line Место: АЗС № 15 "Партнер Нефть" [16:44:54]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [16:44:54]line СНО: Общий режим [16:44:54]line Чек 3 13.03.2024 16:45 [16:44:54]line Смена: 316 ФФД: 1.0 [16:44:54]line ЗНМ: 0300000097 [16:44:54]line РНМ: 0000000000092018 [16:44:54]line Версия ККМ: 001 [16:44:54]line ФМ: 0000000000871816 [16:44:54]line ФД: 47444 [16:44:54]line ФПД: 168377756125488 [16:44:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T164515&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47444&fm=168377756125488&tin=02508201610067®Number=0000000000092018&sum=12000 [16:44:55]line 0 [16:44:55]Connected sock=10 [16:44:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2F 01 00 00 20 73 27 01 8F 09 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B D8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 54 B9 00 00 35 04 06 00 99 23 80 57 89 30 61 E2 60 69 9A 94 0B AA [16:44:55]written 0, free lines is 4095 [16:44:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 7D 76 47 00 77 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 54 B9 00 00 F4 03 04 00 A9 82 F1 65 B6 04 01 00 00 67 28 34 8B 03 CA 64 74 [16:44:55]CommunicateWithHost err = 0 [16:44:55]CheckOFDResponse [16:44:55]1017 (14) - 77093643461234 [16:44:55]1041 (16) - 0000000000871816 [16:44:55]1040 (4) - 47444 [16:44:55]1012 (4) - 13.03.2024 10:40 [16:44:55]1206 (1) - 0 [16:44:55]OFD Sender: Remove packet 47444 [16:44:55]ProducePacketName [16:44:55]name=ofd_packets/00047444 [16:44:55]NVStorageDeleteData [16:44:55]Write to MH i2c: 01 00 00 0C 74 80 [16:44:55]Write i2c OK [16:44:55]MH_I2C_Read... [16:44:55]Read from MH i2c: 01 [16:44:55]MH_I2C_Read... [16:44:55]Read from MH i2c: 01 07 00 [16:44:55]MH_I2C_Read... [16:44:55]Read from MH i2c: 01 07 00 0C 74 00 00 00 00 00 EF 0C 82 [16:44:55]RasterBufferAndPrint [16:44:55]line [16:44:55]line [16:44:55]line [16:44:55]line [16:44:55]line [16:44:55]written 0, free lines is 3319 [16:44:55]MH_Cut [16:44:55]Write to MH i2c: D1 01 00 13 74 01 59 [16:44:55]Write i2c OK [16:44:55]MH_I2C_Read... [16:44:55]Read from MH i2c: D1 [16:44:55]MH_I2C_Read... [16:44:55]Read from MH i2c: D1 01 00 [16:44:55]MH_I2C_Read... [16:44:55]Read from MH i2c: D1 01 00 13 74 00 58 [16:44:55]Write to MH i2c: 01 00 00 14 74 88 [16:44:55]Write i2c OK [16:44:55]MH_I2C_Read... [16:44:55]OFD Sender: No OFD packet to send [16:44:56]*** Cut start [16:44:56]*** Purtial cut [16:44:56]*** Stage 1: CUTSNS_PIN = 1 [16:44:56]Read from MH i2c: 01 [16:44:56]MH_I2C_Read... [16:44:56]*** Stop cut motor [16:44:56]*** Cut end [16:44:56]Read from MH i2c: 01 07 00 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: 01 07 00 14 74 00 00 00 00 00 FF 0F 9D [16:44:56]process_action close_receipt done [16:44:56]requested_data is exist [16:44:56]produce_requested_data [16:44:56]requested_item fm.sn is exist - process it [16:44:56]wFMCommunicate request_size=4 [16:44:56]MH_SAM_APDU [16:44:56]CAPDU: 80 11 00 00 [16:44:56]Write to MH i2c: E2 08 00 15 74 80 11 00 00 00 00 00 00 03 [16:44:56]Write i2c OK [16:44:56]MH_I2C_Read... [16:44:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:56]Read from MH i2c: E2 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: E2 17 00 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: E2 17 00 15 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 55 [16:44:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [16:44:56]wFMCommunicate OK [16:44:56]requested_item fd.num is exist - process it [16:44:56]SAM_PROTO_GetFieldsCounters [16:44:56]wFMCommunicate request_size=4 [16:44:56]MH_SAM_APDU [16:44:56]CAPDU: 80 13 00 00 [16:44:56]Write to MH i2c: E2 08 00 16 74 80 13 00 00 00 00 00 00 06 [16:44:56]Write i2c OK [16:44:56]MH_I2C_Read... [16:44:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:44:56]Read from MH i2c: E2 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: E2 62 00 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: E2 62 00 16 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 54 B9 00 00 0E 04 04 00 3C 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 74 [16:44:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 54 B9 00 00 0E 04 04 00 3C 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 [16:44:56]wFMCommunicate OK [16:44:56]SAM_PROTO_GetFieldsCounters done [16:44:56]requested_item shift.num is exist - process it [16:44:56]requested_item shift.opened is exist - process it [16:44:56]req_shift_opened [16:44:56]FM_GetShiftState [16:44:56]SAM_PROTO_GetShiftState [16:44:56]wFMCommunicate request_size=4 [16:44:56]MH_SAM_APDU [16:44:56]CAPDU: 80 13 01 00 [16:44:56]Write to MH i2c: E2 08 00 17 74 80 13 01 00 00 00 00 00 08 [16:44:56]Write i2c OK [16:44:56]MH_I2C_Read... [16:44:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:56]Read from MH i2c: E2 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: E2 0E 00 [16:44:56]MH_I2C_Read... [16:44:56]Read from MH i2c: E2 0E 00 17 74 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 25 [16:44:56]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [16:44:56]wFMCommunicate OK [16:44:56]SAM_PROTO_GetShiftState done [16:44:56]FM_GetShiftState done [16:44:56]req_shift_opened done [16:44:56]requested_item shift.open_date is exist - process it [16:44:56]req_shift_open_date [16:44:56]req_shift_open_date done [16:44:56]produce_requested_data done [16:44:56]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47444,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [16:44:56]process_action_free close_receipt [16:44:56]json_value_free [16:44:56]json_value_free done [16:44:56]process_json_proto returns [16:44:56]Send response to host [16:44:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47444,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [16:44:56]free response buf [16:44:56]execute_script done [16:44:56]execute_script returns [16:44:56]free content buf [16:44:56]Sock 7.Close socket [16:44:56]Sock 7.Thread stoped [16:45:00]OFD Sender: No OFD packet to send [16:45:05]OFD Sender: No OFD packet to send [16:45:10]OFD Sender: No OFD packet to send [16:45:15]OFD Sender: No OFD packet to send [16:45:20]OFD Sender: No OFD packet to send [16:45:25]OFD Sender: No OFD packet to send [16:45:30]OFD Sender: No OFD packet to send [16:45:35]OFD Sender: No OFD packet to send [16:45:40]OFD Sender: No OFD packet to send [16:45:45]OFD Sender: No OFD packet to send [16:45:50]OFD Sender: No OFD packet to send [16:45:55]OFD Sender: No OFD packet to send [16:46:00]OFD Sender: No OFD packet to send [16:46:05]OFD Sender: No OFD packet to send [16:46:10]OFD Sender: No OFD packet to send [16:46:15]OFD Sender: No OFD packet to send [16:46:20]OFD Sender: No OFD packet to send [16:46:25]OFD Sender: No OFD packet to send [16:46:30]OFD Sender: No OFD packet to send [16:46:35]OFD Sender: No OFD packet to send [16:46:40]OFD Sender: No OFD packet to send [16:46:45]OFD Sender: No OFD packet to send [16:46:50]OFD Sender: No OFD packet to send [16:46:55]OFD Sender: No OFD packet to send [16:47:00]OFD Sender: No OFD packet to send [16:47:05]OFD Sender: No OFD packet to send [16:47:10]OFD Sender: No OFD packet to send [16:47:15]OFD Sender: No OFD packet to send [16:47:20]OFD Sender: No OFD packet to send [16:47:25]OFD Sender: No OFD packet to send [16:47:30]OFD Sender: No OFD packet to send [16:47:35]OFD Sender: No OFD packet to send [16:47:40]OFD Sender: No OFD packet to send [16:47:45]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:21]OFD Sender: No OFD packet to send [16:48:26]OFD Sender: No OFD packet to send [16:48:31]OFD Sender: No OFD packet to send [16:48:36]OFD Sender: No OFD packet to send [16:48:41]OFD Sender: No OFD packet to send [16:48:46]OFD Sender: No OFD packet to send [16:48:51]OFD Sender: No OFD packet to send [16:48:56]OFD Sender: No OFD packet to send [16:49:01]OFD Sender: No OFD packet to send [16:49:06]OFD Sender: No OFD packet to send [16:49:11]OFD Sender: No OFD packet to send [16:49:16]OFD Sender: No OFD packet to send [16:49:21]OFD Sender: No OFD packet to send [16:49:26]OFD Sender: No OFD packet to send [16:49:31]OFD Sender: No OFD packet to send [16:49:36]OFD Sender: No OFD packet to send [16:49:41]OFD Sender: No OFD packet to send [16:49:46]OFD Sender: No OFD packet to send [16:49:51]OFD Sender: No OFD packet to send [16:49:56]OFD Sender: No OFD packet to send [16:50:01]OFD Sender: No OFD packet to send [16:50:06]OFD Sender: No OFD packet to send [16:50:11]OFD Sender: No OFD packet to send [16:50:16]OFD Sender: No OFD packet to send [16:50:21]OFD Sender: No OFD packet to send [16:50:26]OFD Sender: No OFD packet to send [16:50:31]OFD Sender: No OFD packet to send [16:50:36]OFD Sender: No OFD packet to send [16:50:41]OFD Sender: No OFD packet to send [16:50:46]OFD Sender: No OFD packet to send [16:50:51]OFD Sender: No OFD packet to send [16:50:56]OFD Sender: No OFD packet to send [16:51:01]OFD Sender: No OFD packet to send [16:51:06]OFD Sender: No OFD packet to send [16:51:11]OFD Sender: No OFD packet to send [16:51:16]OFD Sender: No OFD packet to send [16:51:21]OFD Sender: No OFD packet to send [16:51:26]OFD Sender: No OFD packet to send [16:51:31]OFD Sender: No OFD packet to send [16:51:36]OFD Sender: No OFD packet to send [16:51:41]OFD Sender: No OFD packet to send [16:51:46]OFD Sender: No OFD packet to send [16:51:51]OFD Sender: No OFD packet to send [16:51:56]OFD Sender: No OFD packet to send [16:52:01]OFD Sender: No OFD packet to send [16:52:06]OFD Sender: No OFD packet to send [16:52:11]OFD Sender: No OFD packet to send [16:52:16]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [16:54:11]OFD Sender: No OFD packet to send [16:54:16]OFD Sender: No OFD packet to send [16:54:21]OFD Sender: No OFD packet to send [16:54:26]OFD Sender: No OFD packet to send [16:54:31]OFD Sender: No OFD packet to send [16:54:36]OFD Sender: No OFD packet to send [16:54:41]OFD Sender: No OFD packet to send [16:54:46]OFD Sender: No OFD packet to send [16:54:51]OFD Sender: No OFD packet to send [16:54:56]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]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:13]OFD Sender: No OFD packet to send [17:31:18]OFD Sender: No OFD packet to send [17:31:23]OFD Sender: No OFD packet to send [17:31:28]OFD Sender: No OFD packet to send [17:31:33]OFD Sender: No OFD packet to send [17:31:38]OFD Sender: No OFD packet to send [17:31:43]OFD Sender: No OFD packet to send [17:31:48]OFD Sender: No OFD packet to send [17:31:53]OFD Sender: No OFD packet to send [17:31:58]OFD Sender: No OFD packet to send [17:32:03]OFD Sender: No OFD packet to send [17:32:08]OFD Sender: No OFD packet to send [17:32:13]OFD Sender: No OFD packet to send [17:32:18]OFD Sender: No OFD packet to send [17:32:23]OFD Sender: No OFD packet to send [17:32:28]OFD Sender: No OFD packet to send [17:32:33]OFD Sender: No OFD packet to send [17:32:38]OFD Sender: No OFD packet to send [17:32:43]OFD Sender: No OFD packet to send [17:32:48]OFD Sender: No OFD packet to send [17:32:53]OFD Sender: No OFD packet to send [17:32:58]OFD Sender: No OFD packet to send [17:33:03]OFD Sender: No OFD packet to send [17:33:08]OFD Sender: No OFD packet to send [17:33:13]OFD Sender: No OFD packet to send [17:33:18]OFD Sender: No OFD packet to send [17:33:23]OFD Sender: No OFD packet to send [17:33:28]OFD Sender: No OFD packet to send [17:33:33]OFD Sender: No OFD packet to send [17:33:38]OFD Sender: No OFD packet to send [17:33:43]OFD Sender: No OFD packet to send [17:33:48]OFD Sender: No OFD packet to send [17:33:53]OFD Sender: No OFD packet to send [17:33:58]OFD Sender: No OFD packet to send [17:34:03]OFD Sender: No OFD packet to send [17:34:08]OFD Sender: No OFD packet to send [17:34:13]OFD Sender: No OFD packet to send [17:34:18]OFD Sender: No OFD packet to send [17:34:23]OFD Sender: No OFD packet to send [17:34:28]OFD Sender: No OFD packet to send [17:34:33]OFD Sender: No OFD packet to send [17:34:38]OFD Sender: No OFD packet to send [17:34:43]OFD Sender: No OFD packet to send [17:34:48]OFD Sender: No OFD packet to send [17:34:53]OFD Sender: No OFD packet to send [17:34:58]OFD Sender: No OFD packet to send [17:35:03]OFD Sender: No OFD packet to send [17:35:08]OFD Sender: No OFD packet to send [17:35:13]OFD Sender: No OFD packet to send [17:35:18]OFD Sender: No OFD packet to send [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:53]accept exits with 9 [17:37:53]New connection [17:37:53]New thread 3066596708 created [17:37:53]Thread 3066453348 joined [17:37:53]Waiting for new connection... [17:37:53] Sock 9.Parse request [17:37:53]Sock 9.Check first char [17:37:53]Sock 9.First char is OK [17:37:53]request: POST /json_proto HTTP/1.0 [17:37:53]Method: POST [17:37:53]URL: /json_proto [17:37:53]Method is POST - this is cgi request [17:37:53]url: /json_proto [17:37:53]query_string will be loaded in cgi processing [17:37:53]execute_cgi json_proto POST (null) [17:37:53]execute_cgi path=json_proto method=POST [17:37:53]POST find Content-Length [17:37:53]Host: 172.17.32.68:8080 [17:37:53]Content-Length: 3285 [17:37:53]Content-Type: application/json [17:37:53] [17:37:53]POST finish read [17:37:53]Found Content-Length = 3285 [17:37:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242352", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522671", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 1,20 \u041F\u042D", "price" : 125.00, "quantity" : 3.000, "sum" : 375.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u044! [17:37:53]execute_script... [17:37: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)242352", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522671", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 1,20 \u041F\u042D", "price" : 125.00, "quantity" : 3.000, "sum" : 375.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u044! [17:37:53]POST & json_proto [17:37:53]process_json_proto [17:37:53]json parse error [17:37:53]process_json_proto returns [17:37:53]execute_script returns [17:37:53]free content buf [17:37:53]Sock 9.Close socket [17:37:53]Sock 9.Thread stoped [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]accept exits with 7 [17:38:18]New connection [17:38:18]New thread 3066453348 created [17:38:18]Thread 3066596708 joined [17:38:18]Waiting for new connection... [17:38:18] Sock 7.Parse request [17:38:18]Sock 7.Check first char [17:38:18]Sock 7.First char is OK [17:38:18]request: POST /json_proto HTTP/1.0 [17:38:18]Method: POST [17:38:18]URL: /json_proto [17:38:18]Method is POST - this is cgi request [17:38:18]url: /json_proto [17:38:18]query_string will be loaded in cgi processing [17:38:18]execute_cgi json_proto POST (null) [17:38:18]execute_cgi path=json_proto method=POST [17:38:18]POST find Content-Length [17:38:18]Host: 172.17.32.68:8080 [17:38:18]Content-Length: 215 [17:38:18]Content-Type: application/json [17:38:18] [17:38:18]POST finish read [17:38:18]Found Content-Length = 215 [17:38:18]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:38:18]execute_script... [17:38:18]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:38:18]POST & json_proto [17:38:18]process_json_proto [17:38:18]json parsed OK: [17:38:18]protocol is kg_v1.0 [17:38:18]action value=get_value [17:38:18]process_action get_value [17:38:18]cmd_get_value [17:38:18]process_action get_value done [17:38:18]requested_data is exist [17:38:18]produce_requested_data [17:38:18]requested_item kkm.sn is exist - process it [17:38:18]requested_item kkm.ver is exist - process it [17:38:18]requested_item fm.sn is exist - process it [17:38:18]wFMCommunicate request_size=4 [17:38:18]MH_SAM_APDU [17:38:18]CAPDU: 80 11 00 00 [17:38:18]Write to MH i2c: E2 08 00 18 74 80 11 00 00 00 00 00 00 06 [17:38:18]Write i2c OK [17:38:18]MH_I2C_Read... [17:38:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:38:18]OFD Sender: No OFD packet to send [17:38:18]Read from MH i2c: E2 [17:38:18]MH_I2C_Read... [17:38:18]Read from MH i2c: E2 17 00 [17:38:18]MH_I2C_Read... [17:38:18]Read from MH i2c: E2 17 00 18 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 58 [17:38:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:38:18]wFMCommunicate OK [17:38:18]requested_item fd.num is exist - process it [17:38:18]SAM_PROTO_GetFieldsCounters [17:38:18]wFMCommunicate request_size=4 [17:38:18]MH_SAM_APDU [17:38:18]CAPDU: 80 13 00 00 [17:38:18]Write to MH i2c: E2 08 00 19 74 80 13 00 00 00 00 00 00 09 [17:38:18]Write i2c OK [17:38:18]MH_I2C_Read... [17:38:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:38:18]Read from MH i2c: E2 [17:38:18]MH_I2C_Read... [17:38:18]Read from MH i2c: E2 62 00 [17:38:18]MH_I2C_Read... [17:38:18]Read from MH i2c: E2 62 00 19 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 54 B9 00 00 0E 04 04 00 3C 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 77 [17:38:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 54 B9 00 00 0E 04 04 00 3C 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 [17:38:18]wFMCommunicate OK [17:38:18]SAM_PROTO_GetFieldsCounters done [17:38:18]requested_item shift.num is exist - process it [17:38:18]requested_item shift.opened is exist - process it [17:38:18]req_shift_opened [17:38:18]FM_GetShiftState [17:38:18]SAM_PROTO_GetShiftState [17:38:18]wFMCommunicate request_size=4 [17:38:18]MH_SAM_APDU [17:38:18]CAPDU: 80 13 01 00 [17:38:18]Write to MH i2c: E2 08 00 1A 74 80 13 01 00 00 00 00 00 0B [17:38:18]Write i2c OK [17:38:18]MH_I2C_Read... [17:38:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:38:18]Read from MH i2c: E2 [17:38:18]MH_I2C_Read... [17:38:18]Read from MH i2c: E2 0E 00 [17:38:18]MH_I2C_Read... [17:38:18]Read from MH i2c: E2 0E 00 1A 74 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 28 [17:38:18]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:38:18]wFMCommunicate OK [17:38:18]SAM_PROTO_GetShiftState done [17:38:18]FM_GetShiftState done [17:38:18]req_shift_opened done [17:38:18]requested_item shift.open_date is exist - process it [17:38:18]req_shift_open_date [17:38:18]req_shift_open_date done [17:38:18]produce_requested_data done [17:38:18]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47444,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:38:18]process_action_free get_value [17:38:18]json_value_free [17:38:18]json_value_free done [17:38:18]process_json_proto returns [17:38:18]Send response to host [17:38:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47444,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:38:18]free response buf [17:38:18]execute_script done [17:38:18]execute_script returns [17:38:18]free content buf [17:38:18]Sock 7.Close socket [17:38:18]Sock 7.Thread stoped [17:38:18]accept exits with 9 [17:38:18]New connection [17:38:18]New thread 3066596708 created [17:38:18]Thread 3066453348 joined [17:38:18]Waiting for new connection... [17:38:18] Sock 9.Parse request [17:38:18]Sock 9.Check first char [17:38:18]Sock 9.First char is OK [17:38:18]request: POST /json_proto HTTP/1.0 [17:38:18]Method: POST [17:38:18]URL: /json_proto [17:38:18]Method is POST - this is cgi request [17:38:18]url: /json_proto [17:38:18]query_string will be loaded in cgi processing [17:38:18]execute_cgi json_proto POST (null) [17:38:18]execute_cgi path=json_proto method=POST [17:38:18]POST find Content-Length [17:38:18]Host: 172.17.32.68:8080 [17:38:18]Content-Length: 331 [17:38:18]Content-Type: application/json [17:38:18] [17:38:18]POST finish read [17:38:18]Found Content-Length = 331 [17:38:18]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:38:18]execute_script... [17:38:18]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:38:18]POST & json_proto [17:38:18]process_json_proto [17:38:18]json parsed OK: [17:38:18]protocol is kg_v1.0 [17:38:18]action value=get_value [17:38:18]process_action get_value [17:38:18]cmd_get_value [17:38:18]process_action get_value done [17:38:18]requested_data is exist [17:38:18]produce_requested_data [17:38:18]requested_item fm.sale.total is exist - process it [17:38:18]SAM_PROTO_GetFMData [17:38:18]wFMCommunicate request_size=4 [17:38:18]MH_SAM_APDU [17:38:18]CAPDU: 80 13 03 00 [17:38:18]Write to MH i2c: E2 08 00 1B 74 80 13 03 00 00 00 00 00 0E [17:38:18]Write i2c OK [17:38:18]MH_I2C_Read... [17:38:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:38:19]Read from MH i2c: E2 [17:38:19]MH_I2C_Read... [17:38:19]Read from MH i2c: E2 FD 00 [17:38:19]MH_I2C_Read... [17:38:19]Read from MH i2c: E2 FD 00 1B 74 00 C1 04 85 04 BD 04 6E 04 04 00 DB B6 00 00 69 04 A0 00 6F 04 04 00 B2 B5 00 00 B1 04 04 00 E7 3C 1B 30 70 04 04 00 00 6C 2A 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FD C8 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 85 E7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 65 [17:38:19]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 DB B6 00 00 69 04 A0 00 6F 04 04 00 B2 B5 00 00 B1 04 04 00 E7 3C 1B 30 70 04 04 00 00 6C 2A 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FD C8 1B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 85 E7 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [17:38:19]wFMCommunicate OK [17:38:19]wFMCommunicate request_size=4 [17:38:19]MH_SAM_APDU [17:38:19]CAPDU: 80 17 00 00 [17:38:19]Write to MH i2c: E2 08 00 1C 74 80 17 00 00 00 00 00 00 10 [17:38:19]Write i2c OK [17:38:19]MH_I2C_Read... [17:38:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:38:19]Read from MH i2c: E2 [17:38:19]MH_I2C_Read... [17:38:19]Read from MH i2c: E2 FD 00 [17:38:19]MH_I2C_Read... [17:38:19]Read from MH i2c: E2 FD 00 1C 74 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 89 [17:38:19]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [17:38:19]wFMCommunicate OK [17:38:19]wFMCommunicate request_size=4 [17:38:19]MH_SAM_APDU [17:38:19]CAPDU: 80 17 00 00 [17:38:19]Write to MH i2c: E2 08 00 1D 74 80 17 00 00 00 00 00 00 11 [17:38:19]Write i2c OK [17:38:19]MH_I2C_Read... [17:38:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:38:19]Read from MH i2c: E2 [17:38:19]MH_I2C_Read... [17:38:19]Read from MH i2c: E2 FD 00 [17:38:19]MH_I2C_Read... [17:38:19]Read from MH i2c: E2 FD 00 1D 74 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 B1 [17:38:19]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [17:38:19]wFMCommunicate OK [17:38:19]wFMCommunicate request_size=4 [17:38:19]MH_SAM_APDU [17:38:19]CAPDU: 80 17 00 00 [17:38:19]Write to MH i2c: E2 08 00 1E 74 80 17 00 00 00 00 00 00 12 [17:38:19]Write i2c OK [17:38:19]MH_I2C_Read... [17:38:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:38:20]Read from MH i2c: E2 [17:38:20]MH_I2C_Read... [17:38:20]Read from MH i2c: E2 FD 00 [17:38:20]MH_I2C_Read... [17:38:20]Read from MH i2c: E2 FD 00 1E 74 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 97 [17:38:20]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [17:38:20]wFMCommunicate OK [17:38:20]wFMCommunicate request_size=4 [17:38:20]MH_SAM_APDU [17:38:20]CAPDU: 80 17 00 00 [17:38:20]Write to MH i2c: E2 08 00 1F 74 80 17 00 00 00 00 00 00 13 [17:38:20]Write i2c OK [17:38:20]MH_I2C_Read... [17:38:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [17:38:20]Read from MH i2c: E2 [17:38:20]MH_I2C_Read... [17:38:20]Read from MH i2c: E2 DE 00 [17:38:20]MH_I2C_Read... [17:38:20]Read from MH i2c: E2 DE 00 1F 74 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F2 [17:38:20]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:38:20]wFMCommunicate OK [17:38:20]SAM_PROTO_GetFMData done [17:38:20]requested_item fm.sale_refund.total is exist - process it [17:38:20]requested_item fm.buy.total is exist - process it [17:38:20]requested_item shift.sale.total is exist - process it [17:38:20]SAM_PROTO_GetShiftData [17:38:20]wFMCommunicate request_size=4 [17:38:20]MH_SAM_APDU [17:38:20]CAPDU: 80 13 02 00 [17:38:20]Write to MH i2c: E2 08 00 20 74 80 13 02 00 00 00 00 00 12 [17:38:20]Write i2c OK [17:38:20]MH_I2C_Read... [17:38:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:38:20]Read from MH i2c: E2 [17:38:20]MH_I2C_Read... [17:38:20]Read from MH i2c: E2 FD 00 [17:38:20]MH_I2C_Read... [17:38:20]Read from MH i2c: E2 FD 00 20 74 00 A8 04 AA 04 A4 04 6E 04 04 00 03 00 00 00 69 04 95 00 6F 04 04 00 03 00 00 00 B1 04 02 00 CC D8 70 04 02 00 CC D8 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 05 17 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 EB 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 0D [17:38:20]RAPDU: A8 04 AA 04 A4 04 6E 04 04 00 03 00 00 00 69 04 95 00 6F 04 04 00 03 00 00 00 B1 04 02 00 CC D8 70 04 02 00 CC D8 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 05 17 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 EB 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [17:38:20]wFMCommunicate OK [17:38:20]wFMCommunicate request_size=4 [17:38:20]MH_SAM_APDU [17:38:20]CAPDU: 80 17 00 00 [17:38:20]Write to MH i2c: E2 08 00 21 74 80 17 00 00 00 00 00 00 15 [17:38:20]Write i2c OK [17:38:20]MH_I2C_Read... [17:38:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:38:21]Read from MH i2c: E2 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 FD 00 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 FD 00 21 74 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 20 [17:38:21]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [17:38:21]wFMCommunicate OK [17:38:21]wFMCommunicate request_size=4 [17:38:21]MH_SAM_APDU [17:38:21]CAPDU: 80 17 00 00 [17:38:21]Write to MH i2c: E2 08 00 22 74 80 17 00 00 00 00 00 00 16 [17:38:21]Write i2c OK [17:38:21]MH_I2C_Read... [17:38:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:38:21]Read from MH i2c: E2 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 FD 00 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 FD 00 22 74 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 90 00 E1 [17:38:21]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 90 00 [17:38:21]wFMCommunicate OK [17:38:21]wFMCommunicate request_size=4 [17:38:21]MH_SAM_APDU [17:38:21]CAPDU: 80 17 00 00 [17:38:21]Write to MH i2c: E2 08 00 23 74 80 17 00 00 00 00 00 00 17 [17:38:21]Write i2c OK [17:38:21]MH_I2C_Read... [17:38:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:38:21]Read from MH i2c: E2 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 FD 00 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 FD 00 23 74 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 8C [17:38:21]RAPDU: F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 [17:38:21]wFMCommunicate OK [17:38:21]wFMCommunicate request_size=4 [17:38:21]MH_SAM_APDU [17:38:21]CAPDU: 80 17 00 00 [17:38:21]Write to MH i2c: E2 08 00 24 74 80 17 00 00 00 00 00 00 18 [17:38:21]Write i2c OK [17:38:21]MH_I2C_Read... [17:38:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [17:38:21]Read from MH i2c: E2 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 C5 00 [17:38:21]MH_I2C_Read... [17:38:21]Read from MH i2c: E2 C5 00 24 74 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FD [17:38:21]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:38:21]wFMCommunicate OK [17:38:21]SAM_PROTO_GetShiftData done [17:38:21]requested_item shift.sale.total_cash is exist - process it [17:38:21]requested_item shift.sale_refund.total is exist - process it [17:38:21]requested_item shift.sale_refund.total_cash is exist - process it [17:38:21]requested_item shift.buy.total is exist - process it [17:38:21]requested_item shift.buy.total_cash is exist - process it [17:38:21]produce_requested_data done [17:38:21]produce_requested_data return {"fm.sale.total":8070914.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":555.00,"shift.sale.total_cash":555.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:38:21]process_action_free get_value [17:38:21]json_value_free [17:38:21]json_value_free done [17:38:21]process_json_proto returns [17:38:21]Send response to host [17:38:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8070914.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":555.00,"shift.sale.total_cash":555.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:38:21]free response buf [17:38:21]execute_script done [17:38:21]execute_script returns [17:38:21]free content buf [17:38:21]Sock 9.Close socket [17:38:21]Sock 9.Thread stoped [17:38:23]OFD Sender: No OFD packet to send [17:38:24]accept exits with 7 [17:38:24]New connection [17:38:24]New thread 3066453348 created [17:38:24]Thread 3066596708 joined [17:38:24]Waiting for new connection... [17:38:24] Sock 7.Parse request [17:38:24]Sock 7.Check first char [17:38:24]Sock 7.First char is OK [17:38:24]request: POST /json_proto HTTP/1.0 [17:38:24]Method: POST [17:38:24]URL: /json_proto [17:38:24]Method is POST - this is cgi request [17:38:24]url: /json_proto [17:38:24]query_string will be loaded in cgi processing [17:38:24]execute_cgi json_proto POST (null) [17:38:24]execute_cgi path=json_proto method=POST [17:38:24]POST find Content-Length [17:38:24]Host: 172.17.32.68:8080 [17:38:24]Content-Length: 3285 [17:38:24]Content-Type: application/json [17:38:24] [17:38:24]POST finish read [17:38:24]Found Content-Length = 3285 [17:38:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242352", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522671", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 1,20 \u041F\u042D", "price" : 125.00, "quantity" : 3.000, "sum" : 375.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4904530592034", "name": "TOSHIBA CR2016", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4008321771193", "name": "\u0410/\u043B NEOLUX N453 60/55W 12v", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4870209743581", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 BIG BOB \u0410\u0434\u0436\u0438\u043A\u0430 50 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700321005017", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Mike \u0436\u0430\u0440\u0435\u043D\u044B\u0439 \u0441\u043E\u043B\u0435\u043D\u044B\u0439 50\u0433", "price" : 43.00, "quantity" : 1.000, "sum" : 43.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1484.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:38:24]execute_script... [17:38:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242352", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522671", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 1,20 \u041F\u042D", "price" : 125.00, "quantity" : 3.000, "sum" : 375.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4904530592034", "name": "TOSHIBA CR2016", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4008321771193", "name": "\u0410/\u043B NEOLUX N453 60/55W 12v", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4870209743581", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 BIG BOB \u0410\u0434\u0436\u0438\u043A\u0430 50 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700321005017", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Mike \u0436\u0430\u0440\u0435\u043D\u044B\u0439 \u0441\u043E\u043B\u0435\u043D\u044B\u0439 50\u0433", "price" : 43.00, "quantity" : 1.000, "sum" : 43.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1484.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:38:25]POST & json_proto [17:38:25]process_json_proto [17:38:25]json parsed OK: [17:38:25]protocol is kg_v1.0 [17:38:25]action value=close_receipt [17:38:25]process_action close_receipt [17:38:25]cmd_close_receipt [17:38:25]MH_GetDate [17:38:25]Write to MH i2c: F0 00 00 25 74 88 [17:38:25]Write i2c OK [17:38:25]MH_I2C_Read... [17:38:25]Read from MH i2c: F0 [17:38:25]MH_I2C_Read... [17:38:25]Read from MH i2c: F0 09 00 [17:38:25]MH_I2C_Read... [17:38:25]Read from MH i2c: F0 09 00 25 74 00 A7 E4 F1 65 0A 64 6E 65 B3 [17:38:25]GetLastDocTimeStamp 1710348315 [17:38:25]current date 1710351527 [17:38:25]FM_GetShiftState [17:38:25]SAM_PROTO_GetShiftState [17:38:25]wFMCommunicate request_size=4 [17:38:25]MH_SAM_APDU [17:38:25]CAPDU: 80 13 01 00 [17:38:25]Write to MH i2c: E2 08 00 26 74 80 13 01 00 00 00 00 00 17 [17:38:25]Write i2c OK [17:38:25]MH_I2C_Read... [17:38:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:38:25]Read from MH i2c: E2 [17:38:25]MH_I2C_Read... [17:38:25]Read from MH i2c: E2 0E 00 [17:38:25]MH_I2C_Read... [17:38:25]Read from MH i2c: E2 0E 00 26 74 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 34 [17:38:25]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:38:25]wFMCommunicate OK [17:38:25]SAM_PROTO_GetShiftState done [17:38:25]FM_GetShiftState done [17:38:25]opened in 1710338059 [17:38:25]opened+sec_in_day 1710424459 [17:38:25]quantity*price = 7000 [17:38:25]sum+1 = 7001 [17:38:25]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522671 Garden напиток со вкусом граната 1,20 ПЭ 3.000 * 125.00 = 375.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4650243871828 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681062 Grizzly волнистые Колбаски с горчицей 55 2.000 * 90.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4904530592034 TOSHIBA CR2016 1.000 * 133.00 = 133.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4008321771193 А/л NEOLUX N453 60/55W 12v 1.000 * 250.00 = 250.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4670003190051 Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л 1.000 * 225.00 = 225.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870209743581 Арахис BIG BOB Аджика 50 гр 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700321005017 Арахис Mike жареный соленый 50г 1.000 * 43.00 = 43.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400242 Арахис жарен Караван орехов 50 гр 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1484.00 НСП 1% : 13.13 НДС 12% : 157.58 Наличными: 1484.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 4 13.03.2024 17:38 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47445 ФПД: 166997277396956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T173847&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47445&fm=166997277396956&tin=02508201610067®Number=0000000000092018&sum=148400 0 [17:38:27]StoreToDocumentArchive [17:38:27]shift 316 fd 47445 [17:38:27]save to /storage/0316/doc_00047445 [17:38:27]save last doc name /storage/0316/doc_00047445 to /storage/kkm_last_doc_name [17:38:27]save OK [17:38:27]Clear old archive folders... [17:38:27]ProcessDocumentItem done err = 0, tmpTLVsize=1385 [17:38:27]tlvbuf is B6E83350 [17:38:27]SAM_PROTO_ClearQueue [17:38:27]wFMCommunicate request_size=4 [17:38:27]MH_SAM_APDU [17:38:27]CAPDU: 80 09 00 00 [17:38:27]Write to MH i2c: E2 08 00 33 74 80 09 00 00 00 00 00 00 19 [17:38:27]Write i2c OK [17:38:27]MH_I2C_Read... [17:38:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:38:27]Read from MH i2c: E2 [17:38:27]MH_I2C_Read... [17:38:27]Read from MH i2c: E2 03 00 [17:38:27]MH_I2C_Read... [17:38:27]Read from MH i2c: E2 03 00 33 74 00 90 00 1B [17:38:27]RAPDU: 90 00 [17:38:27]wFMCommunicate OK [17:38:27]SAM_PROTO_ClearQueue done [17:38:27]KKMCreateOFDPacket [17:38:27]OFDProtocolAddRootSTLVToBuf [17:38:27]FM_MakeSignedData [17:38:27]FM_MakeSignedData [17:38:27]SAM_PROTO_SignData [17:38:27]wFMCommunicate request_size=4 [17:38:27]MH_SAM_APDU [17:38:27]CAPDU: 80 0D 01 02 [17:38:27]Write to MH i2c: E2 08 00 34 74 80 0D 01 02 00 00 00 00 21 [17:38:27]Write i2c OK [17:38:27]MH_I2C_Read... [17:38:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:38:27]Read from MH i2c: E2 [17:38:27]MH_I2C_Read... [17:38:27]Read from MH i2c: E2 03 00 [17:38:27]MH_I2C_Read... [17:38:27]Read from MH i2c: E2 03 00 34 74 00 90 00 1C [17:38:27]RAPDU: 90 00 [17:38:27]wFMCommunicate OK [17:38:27]wFMCommunicate request_size=255 [17:38:27]MH_SAM_APDU [17:38:27]CAPDU: 80 0D 02 02 FA 03 00 69 05 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD 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 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 [17:38:27]Write to MH i2c: E2 02 01 35 74 80 0D 02 02 FA 00 03 00 69 05 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD 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 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 00 00 6E [17:38:27]Write i2c OK [17:38:27]MH_I2C_Read... [17:38:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:27]Read from MH i2c: E2 [17:38:27]MH_I2C_Read... [17:38:27]Read from MH i2c: E2 03 00 [17:38:27]MH_I2C_Read... [17:38:27]Read from MH i2c: E2 03 00 35 74 00 90 00 1D [17:38:27]RAPDU: 90 00 [17:38:27]wFMCommunicate OK [17:38:27]wFMCommunicate request_size=255 [17:38:27]MH_SAM_APDU [17:38:27]CAPDU: 80 0D 02 02 FA D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 FF 03 08 00 [17:38:27]Write to MH i2c: E2 02 01 36 74 80 0D 02 02 FA 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 FF 03 08 00 00 00 BB [17:38:27]Write i2c OK [17:38:27]MH_I2C_Read... [17:38:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:28]Read from MH i2c: E2 [17:38:28]MH_I2C_Read... [17:38:28]Read from MH i2c: E2 03 00 [17:38:28]MH_I2C_Read... [17:38:28]Read from MH i2c: E2 03 00 36 74 00 90 00 1E [17:38:28]RAPDU: 90 00 [17:38:28]wFMCommunicate OK [17:38:28]wFMCommunicate request_size=255 [17:38:28]MH_SAM_APDU [17:38:28]CAPDU: 80 0D 02 02 FA 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 30 30 38 33 32 31 37 37 31 31 39 33 06 04 1C 00 D0 90 2F D0 BB 20 4E 45 4F 4C 55 58 20 4E 34 35 33 20 36 30 2F 35 35 57 20 31 32 76 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 [17:38:28]Write to MH i2c: E2 02 01 37 74 80 0D 02 02 FA 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 30 30 38 33 32 31 37 37 31 31 39 33 06 04 1C 00 D0 90 2F D0 BB 20 4E 45 4F 4C 55 58 20 4E 34 35 33 20 36 30 2F 35 35 57 20 31 32 76 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 00 00 F4 [17:38:28]Write i2c OK [17:38:28]MH_I2C_Read... [17:38:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:28]Read from MH i2c: E2 [17:38:28]MH_I2C_Read... [17:38:28]Read from MH i2c: E2 03 00 [17:38:28]MH_I2C_Read... [17:38:28]Read from MH i2c: E2 03 00 37 74 00 90 00 1F [17:38:28]RAPDU: 90 00 [17:38:28]wFMCommunicate OK [17:38:28]wFMCommunicate request_size=255 [17:38:28]MH_SAM_APDU [17:38:28]CAPDU: 80 0D 02 02 FA 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 23 04 6D 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 38 31 06 04 29 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 90 D0 B4 D0 B6 D0 B8 D0 BA D0 B0 20 35 30 20 D0 B3 D1 80 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 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 [17:38:28]Write to MH i2c: E2 02 01 38 74 80 0D 02 02 FA 00 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 23 04 6D 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 38 31 06 04 29 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 90 D0 B4 D0 B6 D0 B8 D0 BA D0 B0 20 35 30 20 D0 B3 D1 80 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 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 00 00 C0 [17:38:28]OFD Sender: No OFD packet to send [17:38:28]Write i2c OK [17:38:28]MH_I2C_Read... [17:38:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:28]Read from MH i2c: E2 [17:38:28]MH_I2C_Read... [17:38:28]Read from MH i2c: E2 03 00 [17:38:28]MH_I2C_Read... [17:38:28]Read from MH i2c: E2 03 00 38 74 00 90 00 20 [17:38:28]RAPDU: 90 00 [17:38:28]wFMCommunicate OK [17:38:28]wFMCommunicate request_size=255 [17:38:28]MH_SAM_APDU [17:38:28]CAPDU: 80 0D 02 02 FA D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 43 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [17:38:28]Write to MH i2c: E2 02 01 39 74 80 0D 02 02 FA 00 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 43 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 AF [17:38:28]Write i2c OK [17:38:28]MH_I2C_Read... [17:38:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:29]Read from MH i2c: E2 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 03 00 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 03 00 39 74 00 90 00 21 [17:38:29]RAPDU: 90 00 [17:38:29]wFMCommunicate OK [17:38:29]wFMCommunicate request_size=144 [17:38:29]MH_SAM_APDU [17:38:29]CAPDU: 80 0D 02 02 8B 00 21 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 3D 00 00 00 00 07 04 06 00 B0 43 02 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 A7 E4 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 55 B9 00 00 35 04 06 00 97 E2 15 65 CF DC [17:38:29]Write to MH i2c: E2 93 00 3A 74 80 0D 02 02 8B 00 00 21 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 3D 00 00 00 00 07 04 06 00 B0 43 02 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 A7 E4 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 55 B9 00 00 35 04 06 00 97 E2 15 65 CF DC 00 00 19 [17:38:29]Write i2c OK [17:38:29]MH_I2C_Read... [17:38:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:29]Read from MH i2c: E2 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 03 00 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 03 00 3A 74 00 90 00 22 [17:38:29]RAPDU: 90 00 [17:38:29]wFMCommunicate OK [17:38:29]wFMCommunicate request_size=4 [17:38:29]MH_SAM_APDU [17:38:29]CAPDU: 80 0D 03 02 [17:38:29]Write to MH i2c: E2 08 00 3B 74 80 0D 03 02 00 00 00 00 2A [17:38:29]Write i2c OK [17:38:29]MH_I2C_Read... [17:38:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:38:29]Read from MH i2c: E2 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 0B 00 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 0B 00 3B 74 00 A5 AB 55 7B 39 34 2E F0 90 00 D6 [17:38:29]RAPDU: A5 AB 55 7B 39 34 2E F0 90 00 [17:38:29]wFMCommunicate OK [17:38:29]SAM_PROTO_SignData done [17:38:29]FM_MakeSignedData done [17:38:29]CreateOFDProtocolMessage [17:38:29]wFMCommunicate request_size=4 [17:38:29]MH_SAM_APDU [17:38:29]CAPDU: 80 11 00 00 [17:38:29]Write to MH i2c: E2 08 00 3C 74 80 11 00 00 00 00 00 00 2A [17:38:29]Write i2c OK [17:38:29]MH_I2C_Read... [17:38:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:38:29]Read from MH i2c: E2 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 17 00 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: E2 17 00 3C 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7C [17:38:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:38:29]wFMCommunicate OK [17:38:29]CreateOFDProtocolMessage done [17:38:29]OFDSenderStorePacket 47445 [17:38:29]StoreOFDPacket docnum=47445 [17:38:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 7D 05 00 00 68 B9 75 05 BA BC 5A 03 01 00 03 00 69 05 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD 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 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 30 30 38 33 32 31 37 37 31 31 39 33 06 04 1C 00 D0 90 2F D0 BB 20 4E 45 4F 4C 55 58 20 4E 34 35 33 20 36 30 2F 35 35 57 20 31 32 76 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 6D 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 38 31 06 04 29 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 90 D0 B4 D0 B6 D0 B8 D0 BA D0 B0 20 35 30 20 D0 B3 D1 80 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 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 43 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 3D 00 00 00 00 07 04 06 00 B0 43 02 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 A7 E4 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 55 B9 00 00 35 04 06 00 97 E2 15 65 CF DC A5 AB 55 7B 39 34 2E F0 [17:38:29]CheckFolder [17:38:29]dirname=/storage/ofd_packets [17:38:29]CheckFolder done [17:38:29]ProducePacketName [17:38:29]name=ofd_packets/00047445 [17:38:29]NVStorageSaveData ofd_packets/00047445 [17:38:29]File name is /storage/ofd_packets/00047445 [17:38:29]Write 1435 bytes [17:38:29]NVStorageSaveData done [17:38:29]OFDSenderStorePacket done [17:38:29]KKMCreateOFDPacket done [17:38:29]NVStorageSaveData kkm_last_timestamp [17:38:29]File name is /storage/kkm_last_timestamp [17:38:29]Write 4 bytes [17:38:29]NVStorageSaveData done [17:38:29]ExternCall_PrintAddStr [17:38:29]wPrintStart [17:38:29]Write to MH i2c: 01 00 00 3D 74 B1 [17:38:29]Write i2c OK [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: 01 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: 01 07 00 [17:38:29]MH_I2C_Read... [17:38:29]Read from MH i2c: 01 07 00 3D 74 00 00 00 00 00 FF 0F C6 [17:38:29]RasterBufferAndPrint [17:38:29]line Счет N : (3)242352 [17:38:29]line ИНН: 02508201610067 [17:38:29]line Контрольно-Кассовый Чек [17:38:29]line ПРОДАЖА [17:38:29]line Товар: 4870202522688 [17:38:29]line Garden напиток со вкусом граната 0,45 ПЭ [17:38:29]line 1.000 * 70.00 [17:38:29]line = 70.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4870202522671 [17:38:29]line Garden напиток со вкусом граната 1,20 ПЭ [17:38:29]line 3.000 * 125.00 [17:38:29]line = 375.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4650243871828 [17:38:29]line Gorilla эн нап манго-кокос 0,45 ж/б [17:38:29]line 1.000 * 93.00 [17:38:29]line = 93.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4870235681062 [17:38:29]line Grizzly волнистые Колбаски с горчицей 55 [17:38:29]line 2.000 * 90.00 [17:38:29]line = 180.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4904530592034 [17:38:29]line TOSHIBA CR2016 [17:38:29]line 1.000 * 133.00 [17:38:29]line = 133.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4008321771193 [17:38:29]line А/л NEOLUX N453 60/55W 12v [17:38:29]line 1.000 * 250.00 [17:38:29]line = 250.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4670003190051 [17:38:29]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [17:38:29]line 1.000 * 225.00 [17:38:29]line = 225.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4870209743581 [17:38:29]line Арахис BIG BOB Аджика 50 гр [17:38:29]line 1.000 * 60.00 [17:38:29]line = 60.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4700321005017 [17:38:29]line Арахис Mike жареный соленый 50г [17:38:29]line 1.000 * 43.00 [17:38:29]line = 43.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line Товар: 4630007400242 [17:38:29]line Арахис жарен Караван орехов 50 гр [17:38:29]line 1.000 * 55.00 [17:38:29]line = 55.00 [17:38:29]line НДС 12% НСП 1% [17:38:29]line > о реализуемом товаре [17:38:29]line ИТОГО: 1484.00 [17:38:30]line НСП 1% : 13.13 [17:38:30]line НДС 12% : 157.58 [17:38:30]line Наличными: 1484.00 [17:38:30]line Безнал.: 0.00 [17:38:30]line Место: АЗС № 15 "Партнер Нефть" [17:38:30]OFD Sender: Processing packet 47445 [packets to send 8, broken 7] [17:38:30]ProducePacketName [17:38:30]name=ofd_packets/00047445 [17:38:30]OFD Sender: To server: pG, [17:38:30]CommunicateWithHost lk.salyk.kg:30040 [17:38:30]ConnectInit lk.salyk.kg [17:38:30]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:38:30]line СНО: Общий режим [17:38:30]line Чек 4 13.03.2024 17:38 [17:38:30]line Смена: 316 ФФД: 1.0 [17:38:30]line ЗНМ: 0300000097 [17:38:30]line РНМ: 0000000000092018 [17:38:30]line Версия ККМ: 001 [17:38:30]line ФМ: 0000000000871816 [17:38:30]line ФД: 47445 [17:38:30]line ФПД: 166997277396956 [17:38:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T173847&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47445&fm=166997277396956&tin=02508201610067®Number=0000000000092018&sum=148400 [17:38:30]line 0 [17:38:30]written 0, free lines is 4095 [17:38:30]Connected sock=10 [17:38:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 7D 05 00 00 68 B9 75 05 BA BC 5A 03 01 00 03 00 69 05 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD 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 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 30 30 38 33 32 31 37 37 31 31 39 33 06 04 1C 00 D0 90 2F D0 BB 20 4E 45 4F 4C 55 58 20 4E 34 35 33 20 36 30 2F 35 35 57 20 31 32 76 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 6D 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 38 31 06 04 29 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 90 D0 B4 D0 B6 D0 B8 D0 BA D0 B0 20 35 30 20 D0 B3 D1 80 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 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 43 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 3D 00 00 00 00 07 04 06 00 B0 43 02 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 A7 E4 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 55 B9 00 00 35 04 06 00 97 E2 15 65 CF DC A5 AB 55 7B 39 34 2E F0 [17:38:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 A4 81 47 00 E1 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 55 B9 00 00 F4 03 04 00 38 8F F1 65 B6 04 01 00 00 30 F7 F2 F2 36 98 03 06 [17:38:30]CommunicateWithHost err = 0 [17:38:30]CheckOFDResponse [17:38:30]1017 (14) - 77093643461234 [17:38:30]1041 (16) - 0000000000871816 [17:38:30]1040 (4) - 47445 [17:38:30]1012 (4) - 13.03.2024 11:34 [17:38:30]1206 (1) - 0 [17:38:30]OFD Sender: Remove packet 47445 [17:38:30]ProducePacketName [17:38:30]name=ofd_packets/00047445 [17:38:30]NVStorageDeleteData [17:38:31]Write to MH i2c: 01 00 00 A2 74 16 [17:38:31]Write i2c OK [17:38:31]MH_I2C_Read... [17:38:31]Read from MH i2c: 01 [17:38:31]MH_I2C_Read... [17:38:31]Read from MH i2c: 01 07 00 [17:38:31]MH_I2C_Read... [17:38:31]Read from MH i2c: 01 07 00 A2 74 00 00 00 00 00 6D 09 93 [17:38:31]RasterBufferAndPrint [17:38:31]line [17:38:31]line [17:38:31]line [17:38:31]line [17:38:31]line [17:38:31]written 0, free lines is 2437 [17:38:31]MH_Cut [17:38:31]Write to MH i2c: D1 01 00 A9 74 01 EF [17:38:31]Write i2c OK [17:38:31]MH_I2C_Read... [17:38:31]Read from MH i2c: D1 [17:38:31]MH_I2C_Read... [17:38:31]Read from MH i2c: D1 01 00 [17:38:31]MH_I2C_Read... [17:38:31]Read from MH i2c: D1 01 00 A9 74 00 EE [17:38:31]Write to MH i2c: 01 00 00 AA 74 1E [17:38:31]Write i2c OK [17:38:31]MH_I2C_Read... [17:38:31]OFD Sender: No OFD packet to send [17:38:32]*** Cut start [17:38:32]*** Purtial cut [17:38:32]*** Stage 1: CUTSNS_PIN = 1 [17:38:32]Read from MH i2c: 01 [17:38:32]MH_I2C_Read... [17:38:32]*** Stop cut motor [17:38:32]*** Cut end [17:38:32]Read from MH i2c: 01 07 00 [17:38:32]MH_I2C_Read... [17:38:32]Read from MH i2c: 01 07 00 AA 74 00 00 00 00 00 FF 0F 33 [17:38:32]process_action close_receipt done [17:38:32]requested_data is exist [17:38:32]produce_requested_data [17:38:32]requested_item fm.sn is exist - process it [17:38:32]wFMCommunicate request_size=4 [17:38:32]MH_SAM_APDU [17:38:32]CAPDU: 80 11 00 00 [17:38:32]Write to MH i2c: E2 08 00 AB 74 80 11 00 00 00 00 00 00 99 [17:38:32]Write i2c OK [17:38:32]MH_I2C_Read... [17:38:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:38:32]Read from MH i2c: E2 [17:38:32]MH_I2C_Read... [17:38:32]Read from MH i2c: E2 17 00 [17:38:32]MH_I2C_Read... [17:38:32]Read from MH i2c: E2 17 00 AB 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EB [17:38:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:38:32]wFMCommunicate OK [17:38:32]requested_item fd.num is exist - process it [17:38:32]SAM_PROTO_GetFieldsCounters [17:38:32]wFMCommunicate request_size=4 [17:38:32]MH_SAM_APDU [17:38:32]CAPDU: 80 13 00 00 [17:38:32]Write to MH i2c: E2 08 00 AC 74 80 13 00 00 00 00 00 00 9C [17:38:32]Write i2c OK [17:38:32]MH_I2C_Read... [17:38:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:38:33]Read from MH i2c: E2 [17:38:33]MH_I2C_Read... [17:38:33]Read from MH i2c: E2 62 00 [17:38:33]MH_I2C_Read... [17:38:33]Read from MH i2c: E2 62 00 AC 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 55 B9 00 00 0E 04 04 00 3C 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 0E [17:38:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 55 B9 00 00 0E 04 04 00 3C 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 [17:38:33]wFMCommunicate OK [17:38:33]SAM_PROTO_GetFieldsCounters done [17:38:33]requested_item shift.num is exist - process it [17:38:33]requested_item shift.opened is exist - process it [17:38:33]req_shift_opened [17:38:33]FM_GetShiftState [17:38:33]SAM_PROTO_GetShiftState [17:38:33]wFMCommunicate request_size=4 [17:38:33]MH_SAM_APDU [17:38:33]CAPDU: 80 13 01 00 [17:38:33]Write to MH i2c: E2 08 00 AD 74 80 13 01 00 00 00 00 00 9E [17:38:33]Write i2c OK [17:38:33]MH_I2C_Read... [17:38:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:38:33]Read from MH i2c: E2 [17:38:33]MH_I2C_Read... [17:38:33]Read from MH i2c: E2 0E 00 [17:38:33]MH_I2C_Read... [17:38:33]Read from MH i2c: E2 0E 00 AD 74 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 BB [17:38:33]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:38:33]wFMCommunicate OK [17:38:33]SAM_PROTO_GetShiftState done [17:38:33]FM_GetShiftState done [17:38:33]req_shift_opened done [17:38:33]requested_item shift.open_date is exist - process it [17:38:33]req_shift_open_date [17:38:33]req_shift_open_date done [17:38:33]produce_requested_data done [17:38:33]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47445,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:38:33]process_action_free close_receipt [17:38:33]json_value_free [17:38:33]json_value_free done [17:38:33]process_json_proto returns [17:38:33]Send response to host [17:38:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47445,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:38:33]free response buf [17:38:33]execute_script done [17:38:33]execute_script returns [17:38:33]free content buf [17:38:33]Sock 7.Close socket [17:38:33]Sock 7.Thread stoped [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:25]accept exits with 9 [17:42:25]New connection [17:42:25]New thread 3066596708 created [17:42:25]Thread 3066453348 joined [17:42:25]Waiting for new connection... [17:42:25] Sock 9.Parse request [17:42:25]Sock 9.Check first char [17:42:25]Sock 9.First char is OK [17:42:25]request: POST /json_proto HTTP/1.0 [17:42:25]Method: POST [17:42:25]URL: /json_proto [17:42:25]Method is POST - this is cgi request [17:42:25]url: /json_proto [17:42:25]query_string will be loaded in cgi processing [17:42:25]execute_cgi json_proto POST (null) [17:42:25]execute_cgi path=json_proto method=POST [17:42:25]POST find Content-Length [17:42:25]Host: 172.17.32.68:8080 [17:42:25]Content-Length: 3051 [17:42:25]Content-Type: application/json [17:42:25] [17:42:25]POST finish read [17:42:25]Found Content-Length = 3051 [17:42:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242353", "tax_sys" : 0, "items" : [ { "code": "4630007400969", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 40 ", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5901947070611", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 Dr.MARCUS Fresh Bag b.gum", "price" : 240.00, "quantity" : 1.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.0 [17:42:25]execute_script... [17:42:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242353", "tax_sys" : 0, "items" : [ { "code": "4630007400969", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 40 ", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5901947070611", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 Dr.MARCUS Fresh Bag b.gum", "price" : 240.00, "quantity" : 1.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.0 [17:42:25]POST & json_proto [17:42:25]process_json_proto [17:42:25]json parse error [17:42:25]process_json_proto returns [17:42:25]execute_script returns [17:42:25]free content buf [17:42:25]Sock 9.Close socket [17:42:25]Sock 9.Thread stoped [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:42]accept exits with 7 [17:42:42]New connection [17:42:42]New thread 3066453348 created [17:42:42]Thread 3066596708 joined [17:42:42]Waiting for new connection... [17:42:42] Sock 7.Parse request [17:42:42]Sock 7.Check first char [17:42:42]Sock 7.First char is OK [17:42:42]request: POST /json_proto HTTP/1.0 [17:42:42]Method: POST [17:42:42]URL: /json_proto [17:42:42]Method is POST - this is cgi request [17:42:42]url: /json_proto [17:42:42]query_string will be loaded in cgi processing [17:42:42]execute_cgi json_proto POST (null) [17:42:42]execute_cgi path=json_proto method=POST [17:42:42]POST find Content-Length [17:42:42]Host: 172.17.32.68:8080 [17:42:42]Content-Length: 215 [17:42:42]Content-Type: application/json [17:42:42] [17:42:42]POST finish read [17:42:42]Found Content-Length = 215 [17:42:42]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:42:42]execute_script... [17:42:42]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:42:42]POST & json_proto [17:42:42]process_json_proto [17:42:42]json parsed OK: [17:42:42]protocol is kg_v1.0 [17:42:42]action value=get_value [17:42:42]process_action get_value [17:42:42]cmd_get_value [17:42:42]process_action get_value done [17:42:42]requested_data is exist [17:42:42]produce_requested_data [17:42:42]requested_item kkm.sn is exist - process it [17:42:42]requested_item kkm.ver is exist - process it [17:42:42]requested_item fm.sn is exist - process it [17:42:42]wFMCommunicate request_size=4 [17:42:42]MH_SAM_APDU [17:42:42]CAPDU: 80 11 00 00 [17:42:42]Write to MH i2c: E2 08 00 AE 74 80 11 00 00 00 00 00 00 9C [17:42:42]Write i2c OK [17:42:42]MH_I2C_Read... [17:42:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:42:42]Read from MH i2c: E2 [17:42:42]MH_I2C_Read... [17:42:42]Read from MH i2c: E2 17 00 [17:42:42]MH_I2C_Read... [17:42:42]Read from MH i2c: E2 17 00 AE 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EE [17:42:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:42:42]wFMCommunicate OK [17:42:42]requested_item fd.num is exist - process it [17:42:42]SAM_PROTO_GetFieldsCounters [17:42:42]wFMCommunicate request_size=4 [17:42:42]MH_SAM_APDU [17:42:42]CAPDU: 80 13 00 00 [17:42:42]Write to MH i2c: E2 08 00 AF 74 80 13 00 00 00 00 00 00 9F [17:42:42]Write i2c OK [17:42:42]MH_I2C_Read... [17:42:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:42:43]Read from MH i2c: E2 [17:42:43]MH_I2C_Read... [17:42:43]Read from MH i2c: E2 62 00 [17:42:43]MH_I2C_Read... [17:42:43]Read from MH i2c: E2 62 00 AF 74 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 55 B9 00 00 0E 04 04 00 3C 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 11 [17:42:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 55 B9 00 00 0E 04 04 00 3C 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 [17:42:43]wFMCommunicate OK [17:42:43]SAM_PROTO_GetFieldsCounters done [17:42:43]requested_item shift.num is exist - process it [17:42:43]requested_item shift.opened is exist - process it [17:42:43]req_shift_opened [17:42:43]FM_GetShiftState [17:42:43]SAM_PROTO_GetShiftState [17:42:43]wFMCommunicate request_size=4 [17:42:43]MH_SAM_APDU [17:42:43]CAPDU: 80 13 01 00 [17:42:43]Write to MH i2c: E2 08 00 B0 74 80 13 01 00 00 00 00 00 A1 [17:42:43]Write i2c OK [17:42:43]MH_I2C_Read... [17:42:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:42:43]Read from MH i2c: E2 [17:42:43]MH_I2C_Read... [17:42:43]Read from MH i2c: E2 0E 00 [17:42:43]MH_I2C_Read... [17:42:43]Read from MH i2c: E2 0E 00 B0 74 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 BE [17:42:43]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:42:43]wFMCommunicate OK [17:42:43]SAM_PROTO_GetShiftState done [17:42:43]FM_GetShiftState done [17:42:43]req_shift_opened done [17:42:43]requested_item shift.open_date is exist - process it [17:42:43]req_shift_open_date [17:42:43]req_shift_open_date done [17:42:43]produce_requested_data done [17:42:43]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47445,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:42:43]process_action_free get_value [17:42:43]json_value_free [17:42:43]json_value_free done [17:42:43]process_json_proto returns [17:42:43]Send response to host [17:42:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47445,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:42:43]free response buf [17:42:43]execute_script done [17:42:43]execute_script returns [17:42:43]free content buf [17:42:43]Sock 7.Close socket [17:42:43]Sock 7.Thread stoped [17:42:43]accept exits with 9 [17:42:43]New connection [17:42:43]New thread 3066596708 created [17:42:43]Thread 3066453348 joined [17:42:43]Waiting for new connection... [17:42:43] Sock 9.Parse request [17:42:43]Sock 9.Check first char [17:42:43]Sock 9.First char is OK [17:42:43]request: POST /json_proto HTTP/1.0 [17:42:43]Method: POST [17:42:43]URL: /json_proto [17:42:43]Method is POST - this is cgi request [17:42:43]url: /json_proto [17:42:43]query_string will be loaded in cgi processing [17:42:43]execute_cgi json_proto POST (null) [17:42:43]execute_cgi path=json_proto method=POST [17:42:43]POST find Content-Length [17:42:43]Host: 172.17.32.68:8080 [17:42:43]Content-Length: 331 [17:42:43]Content-Type: application/json [17:42:43] [17:42:43]POST finish read [17:42:43]Found Content-Length = 331 [17:42: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:42:43]execute_script... [17:42: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:42:43]POST & json_proto [17:42:43]process_json_proto [17:42:43]json parsed OK: [17:42:43]protocol is kg_v1.0 [17:42:43]action value=get_value [17:42:43]process_action get_value [17:42:43]cmd_get_value [17:42:43]process_action get_value done [17:42:43]requested_data is exist [17:42:43]produce_requested_data [17:42:43]requested_item fm.sale.total is exist - process it [17:42:43]SAM_PROTO_GetFMData [17:42:43]wFMCommunicate request_size=4 [17:42:43]MH_SAM_APDU [17:42:43]CAPDU: 80 13 03 00 [17:42:43]Write to MH i2c: E2 08 00 B1 74 80 13 03 00 00 00 00 00 A4 [17:42:43]Write i2c OK [17:42:43]MH_I2C_Read... [17:42:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:42:43]Read from MH i2c: E2 [17:42:43]MH_I2C_Read... [17:42:43]Read from MH i2c: E2 FD 00 [17:42:43]MH_I2C_Read... [17:42:43]Read from MH i2c: E2 FD 00 B1 74 00 C1 04 85 04 BD 04 6E 04 04 00 DC B6 00 00 69 04 A0 00 6F 04 04 00 B3 B5 00 00 B1 04 04 00 97 80 1D 30 70 04 04 00 B0 AF 2C 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8B 06 1C 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A6 EC 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 DB [17:42:43]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 DC B6 00 00 69 04 A0 00 6F 04 04 00 B3 B5 00 00 B1 04 04 00 97 80 1D 30 70 04 04 00 B0 AF 2C 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8B 06 1C 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A6 EC 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [17:42:43]wFMCommunicate OK [17:42:43]wFMCommunicate request_size=4 [17:42:43]MH_SAM_APDU [17:42:43]CAPDU: 80 17 00 00 [17:42:43]Write to MH i2c: E2 08 00 B2 74 80 17 00 00 00 00 00 00 A6 [17:42:43]Write i2c OK [17:42:43]MH_I2C_Read... [17:42:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:42:44]Read from MH i2c: E2 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 FD 00 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 FD 00 B2 74 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 1F [17:42:44]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [17:42:44]wFMCommunicate OK [17:42:44]wFMCommunicate request_size=4 [17:42:44]MH_SAM_APDU [17:42:44]CAPDU: 80 17 00 00 [17:42:44]Write to MH i2c: E2 08 00 B3 74 80 17 00 00 00 00 00 00 A7 [17:42:44]Write i2c OK [17:42:44]MH_I2C_Read... [17:42:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:42:44]Read from MH i2c: E2 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 FD 00 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 FD 00 B3 74 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 47 [17:42:44]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [17:42:44]wFMCommunicate OK [17:42:44]wFMCommunicate request_size=4 [17:42:44]MH_SAM_APDU [17:42:44]CAPDU: 80 17 00 00 [17:42:44]Write to MH i2c: E2 08 00 B4 74 80 17 00 00 00 00 00 00 A8 [17:42:44]Write i2c OK [17:42:44]MH_I2C_Read... [17:42:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:42:44]Read from MH i2c: E2 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 FD 00 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 FD 00 B4 74 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 2D [17:42:44]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [17:42:44]wFMCommunicate OK [17:42:44]wFMCommunicate request_size=4 [17:42:44]MH_SAM_APDU [17:42:44]CAPDU: 80 17 00 00 [17:42:44]Write to MH i2c: E2 08 00 B5 74 80 17 00 00 00 00 00 00 A9 [17:42:44]Write i2c OK [17:42:44]MH_I2C_Read... [17:42:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [17:42:44]Read from MH i2c: E2 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 DE 00 [17:42:44]MH_I2C_Read... [17:42:44]Read from MH i2c: E2 DE 00 B5 74 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 88 [17:42:44]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:42:44]wFMCommunicate OK [17:42:44]SAM_PROTO_GetFMData done [17:42:44]requested_item fm.sale_refund.total is exist - process it [17:42:44]requested_item fm.buy.total is exist - process it [17:42:44]requested_item shift.sale.total is exist - process it [17:42:44]SAM_PROTO_GetShiftData [17:42:44]wFMCommunicate request_size=4 [17:42:44]MH_SAM_APDU [17:42:44]CAPDU: 80 13 02 00 [17:42:44]Write to MH i2c: E2 08 00 B6 74 80 13 02 00 00 00 00 00 A8 [17:42:44]Write i2c OK [17:42:44]MH_I2C_Read... [17:42:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:42:45]Read from MH i2c: E2 [17:42:45]MH_I2C_Read... [17:42:45]Read from MH i2c: E2 FD 00 [17:42:45]MH_I2C_Read... [17:42:45]Read from MH i2c: E2 FD 00 B6 74 00 AA 04 AA 04 A6 04 6E 04 04 00 04 00 00 00 69 04 97 00 6F 04 04 00 04 00 00 00 B1 04 03 00 7C 1C 03 70 04 03 00 7C 1C 03 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 93 54 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 0C 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 81 [17:42:45]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 04 00 00 00 69 04 97 00 6F 04 04 00 04 00 00 00 B1 04 03 00 7C 1C 03 70 04 03 00 7C 1C 03 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 93 54 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 0C 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [17:42:45]wFMCommunicate OK [17:42:45]wFMCommunicate request_size=4 [17:42:45]MH_SAM_APDU [17:42:45]CAPDU: 80 17 00 00 [17:42:45]Write to MH i2c: E2 08 00 B7 74 80 17 00 00 00 00 00 00 AB [17:42:45]Write i2c OK [17:42:45]MH_I2C_Read... [17:42:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:42:45]Read from MH i2c: E2 [17:42:45]MH_I2C_Read... [17:42:45]Read from MH i2c: E2 FD 00 [17:42:45]MH_I2C_Read... [17:42:45]Read from MH i2c: E2 FD 00 B7 74 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 D1 [17:42:45]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [17:42:45]wFMCommunicate OK [17:42:45]wFMCommunicate request_size=4 [17:42:45]MH_SAM_APDU [17:42:45]CAPDU: 80 17 00 00 [17:42:45]Write to MH i2c: E2 08 00 B8 74 80 17 00 00 00 00 00 00 AC [17:42:45]Write i2c OK [17:42:45]MH_I2C_Read... [17:42:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:42:45]Read from MH i2c: E2 [17:42:45]MH_I2C_Read... [17:42:45]Read from MH i2c: E2 FD 00 [17:42:45]MH_I2C_Read... [17:42:45]Read from MH i2c: E2 FD 00 B8 74 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 5F [17:42:45]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 [17:42:45]wFMCommunicate OK [17:42:45]wFMCommunicate request_size=4 [17:42:45]MH_SAM_APDU [17:42:45]CAPDU: 80 17 00 00 [17:42:45]Write to MH i2c: E2 08 00 B9 74 80 17 00 00 00 00 00 00 AD [17:42:45]Write i2c OK [17:42:45]MH_I2C_Read... [17:42:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:42:46]Read from MH i2c: E2 [17:42:46]MH_I2C_Read... [17:42:46]Read from MH i2c: E2 FD 00 [17:42:46]MH_I2C_Read... [17:42:46]Read from MH i2c: E2 FD 00 B9 74 00 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 1F [17:42:46]RAPDU: 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 [17:42:46]wFMCommunicate OK [17:42:46]wFMCommunicate request_size=4 [17:42:46]MH_SAM_APDU [17:42:46]CAPDU: 80 17 00 00 [17:42:46]Write to MH i2c: E2 08 00 BA 74 80 17 00 00 00 00 00 00 AE [17:42:46]Write i2c OK [17:42:46]MH_I2C_Read... [17:42:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [17:42:46]Read from MH i2c: E2 [17:42:46]MH_I2C_Read... [17:42:46]Read from MH i2c: E2 C7 00 [17:42:46]MH_I2C_Read... [17:42:46]Read from MH i2c: E2 C7 00 BA 74 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A1 [17:42:46]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:42:46]wFMCommunicate OK [17:42:46]SAM_PROTO_GetShiftData done [17:42:46]requested_item shift.sale.total_cash is exist - process it [17:42:46]requested_item shift.sale_refund.total is exist - process it [17:42:46]requested_item shift.sale_refund.total_cash is exist - process it [17:42:46]requested_item shift.buy.total is exist - process it [17:42:46]requested_item shift.buy.total_cash is exist - process it [17:42:46]produce_requested_data done [17:42:46]produce_requested_data return {"fm.sale.total":8072398.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":2039.00,"shift.sale.total_cash":2039.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:42:46]process_action_free get_value [17:42:46]json_value_free [17:42:46]json_value_free done [17:42:46]process_json_proto returns [17:42:46]Send response to host [17:42:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8072398.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":2039.00,"shift.sale.total_cash":2039.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:42:46]free response buf [17:42:46]execute_script done [17:42:46]execute_script returns [17:42:46]free content buf [17:42:46]Sock 9.Close socket [17:42:46]Sock 9.Thread stoped [17:42:46]OFD Sender: No OFD packet to send [17:42:49]accept exits with 7 [17:42:49]New connection [17:42:49]New thread 3066453348 created [17:42:49]Thread 3066596708 joined [17:42:49]Waiting for new connection... [17:42:49] Sock 7.Parse request [17:42:49]Sock 7.Check first char [17:42:49]Sock 7.First char is OK [17:42:49]request: POST /json_proto HTTP/1.0 [17:42:49]Method: POST [17:42:49]URL: /json_proto [17:42:49]Method is POST - this is cgi request [17:42:49]url: /json_proto [17:42:49]query_string will be loaded in cgi processing [17:42:49]execute_cgi json_proto POST (null) [17:42:49]execute_cgi path=json_proto method=POST [17:42:49]POST find Content-Length [17:42:49]Host: 172.17.32.68:8080 [17:42:49]Content-Length: 3051 [17:42:49]Content-Type: application/json [17:42:49] [17:42:49]POST finish read [17:42:49]Found Content-Length = 3051 [17:42:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242353", "tax_sys" : 0, "items" : [ { "code": "4630007400969", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 40 ", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5901947070611", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 Dr.MARCUS Fresh Bag b.gum", "price" : 240.00, "quantity" : 1.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159438056", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles \u041A\u0438\u0441\u043B\u043E\u043C\u0438\u043A\u0441", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173372", "name": "\u0416\u0435\u0432 Orbit \u0434\u043B\u044F \u0434\u0435\u0442\u0435\u0439 Classic", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017450726", "name": "\u041A\u0430\u0440. \u0421\u0442\u0440\u0430\u0439\u043A \u0430\u0441\u0441\u043E\u0440\u0442\u0438 11.3\u0433/50\u0448\u0442", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870004909915", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u041A\u043E\u043D\u0443\u0441 XXL \u0448\u043E\u043A\u043E\u043B\u0430\u0434 145\u0433\u0440", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 840.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:42:49]execute_script... [17:42:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242353", "tax_sys" : 0, "items" : [ { "code": "4630007400969", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 40 ", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5901947070611", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 Dr.MARCUS Fresh Bag b.gum", "price" : 240.00, "quantity" : 1.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159438056", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles \u041A\u0438\u0441\u043B\u043E\u043C\u0438\u043A\u0441", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173372", "name": "\u0416\u0435\u0432 Orbit \u0434\u043B\u044F \u0434\u0435\u0442\u0435\u0439 Classic", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017450726", "name": "\u041A\u0430\u0440. \u0421\u0442\u0440\u0430\u0439\u043A \u0430\u0441\u0441\u043E\u0440\u0442\u0438 11.3\u0433/50\u0448\u0442", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870004909915", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u041A\u043E\u043D\u0443\u0441 XXL \u0448\u043E\u043A\u043E\u043B\u0430\u0434 145\u0433\u0440", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 840.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:42:49]POST & json_proto [17:42:49]process_json_proto [17:42:49]json parsed OK: [17:42:49]protocol is kg_v1.0 [17:42:49]action value=close_receipt [17:42:49]process_action close_receipt [17:42:49]cmd_close_receipt [17:42:49]MH_GetDate [17:42:49]Write to MH i2c: F0 00 00 BB 74 1E [17:42:49]Write i2c OK [17:42:49]MH_I2C_Read... [17:42:49]Read from MH i2c: F0 [17:42:49]MH_I2C_Read... [17:42:49]Read from MH i2c: F0 09 00 [17:42:49]MH_I2C_Read... [17:42:49]Read from MH i2c: F0 09 00 BB 74 00 B0 E5 F1 65 0A 64 6E 65 53 [17:42:49]GetLastDocTimeStamp 1710351527 [17:42:49]current date 1710351792 [17:42:49]FM_GetShiftState [17:42:49]SAM_PROTO_GetShiftState [17:42:49]wFMCommunicate request_size=4 [17:42:49]MH_SAM_APDU [17:42:49]CAPDU: 80 13 01 00 [17:42:49]Write to MH i2c: E2 08 00 BC 74 80 13 01 00 00 00 00 00 AD [17:42:49]Write i2c OK [17:42:49]MH_I2C_Read... [17:42:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:42:50]Read from MH i2c: E2 [17:42:50]MH_I2C_Read... [17:42:50]Read from MH i2c: E2 0E 00 [17:42:50]MH_I2C_Read... [17:42:50]Read from MH i2c: E2 0E 00 BC 74 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 CA [17:42:50]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:42:50]wFMCommunicate OK [17:42:50]SAM_PROTO_GetShiftState done [17:42:50]FM_GetShiftState done [17:42:50]opened in 1710338059 [17:42:50]opened+sec_in_day 1710424459 [17:42:50]quantity*price = 4000 [17:42:50]sum+1 = 4001 [17:42:50]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5901947070611 Ароматизатор Dr.MARCUS Fresh Bag b.gum 1.000 * 240.00 = 240.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002328404 Вода ASU пит н.газ мята ПЭТ 0,5л 3.000 * 65.00 = 195.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001571535 Вода ASU пит н.газ персик ПЭТ 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5000159438056 Драже Skittles Кисломикс 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 50173372 Жев Orbit для детей Classic 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620017450726 Кар. Страйк ассорти 11.3г/50шт 2.000 * 10.00 = 20.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870004909915 Мороженое Конус XXL шоколад 145гр 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 840.00 НСП 1% : 7.42 НДС 12% : 89.20 Наличными: 840.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 5 13.03.2024 17:43 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47446 ФПД: 51514659584956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174312&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47446&fm=51514659584956&tin=02508201610067®Number=0000000000092018&sum=84000 0 [17:42:51]StoreToDocumentArchive [17:42:51]shift 316 fd 47446 [17:42:51]save to /storage/0316/doc_00047446 [17:42:51]save last doc name /storage/0316/doc_00047446 to /storage/kkm_last_doc_name [17:42:51]save OK [17:42:51]Clear old archive folders... [17:42:51]ProcessDocumentItem done err = 0, tmpTLVsize=1264 [17:42:51]tlvbuf is 00262A40 [17:42:51]SAM_PROTO_ClearQueue [17:42:51]wFMCommunicate request_size=4 [17:42:51]MH_SAM_APDU [17:42:51]CAPDU: 80 09 00 00 [17:42:51]Write to MH i2c: E2 08 00 C9 74 80 09 00 00 00 00 00 00 AF [17:42:51]Write i2c OK [17:42:51]MH_I2C_Read... [17:42:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:42:51]Read from MH i2c: E2 [17:42:51]MH_I2C_Read... [17:42:51]Read from MH i2c: E2 03 00 [17:42:51]MH_I2C_Read... [17:42:51]Read from MH i2c: E2 03 00 C9 74 00 90 00 B1 [17:42:51]RAPDU: 90 00 [17:42:51]wFMCommunicate OK [17:42:51]SAM_PROTO_ClearQueue done [17:42:51]KKMCreateOFDPacket [17:42:51]OFDProtocolAddRootSTLVToBuf [17:42:51]FM_MakeSignedData [17:42:51]FM_MakeSignedData [17:42:51]SAM_PROTO_SignData [17:42:51]wFMCommunicate request_size=4 [17:42:51]MH_SAM_APDU [17:42:51]CAPDU: 80 0D 01 02 [17:42:51]Write to MH i2c: E2 08 00 CA 74 80 0D 01 02 00 00 00 00 B7 [17:42:51]Write i2c OK [17:42:51]MH_I2C_Read... [17:42:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:42:51]Read from MH i2c: E2 [17:42:51]MH_I2C_Read... [17:42:51]Read from MH i2c: E2 03 00 [17:42:51]MH_I2C_Read... [17:42:51]Read from MH i2c: E2 03 00 CA 74 00 90 00 B2 [17:42:51]RAPDU: 90 00 [17:42:51]wFMCommunicate OK [17:42:51]wFMCommunicate request_size=255 [17:42:51]MH_SAM_APDU [17:42:51]CAPDU: 80 0D 02 02 FA 03 00 F0 04 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 34 30 20 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 76 00 8A 04 0D 00 35 39 30 31 39 34 37 30 37 30 36 31 31 06 04 32 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 44 72 2E 4D 41 52 43 55 53 20 46 72 65 73 68 20 42 61 67 20 62 2E 67 75 6D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 5D 00 00 00 00 [17:42:52]Write to MH i2c: E2 02 01 CB 74 80 0D 02 02 FA 00 03 00 F0 04 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 34 30 20 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 76 00 8A 04 0D 00 35 39 30 31 39 34 37 30 37 30 36 31 31 06 04 32 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 44 72 2E 4D 41 52 43 55 53 20 46 72 65 73 68 20 42 61 67 20 62 2E 67 75 6D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 5D 00 00 00 00 00 00 C1 [17:42:52]Write i2c OK [17:42:52]MH_I2C_Read... [17:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:42:52]Read from MH i2c: E2 [17:42:52]MH_I2C_Read... [17:42:52]Read from MH i2c: E2 03 00 [17:42:52]MH_I2C_Read... [17:42:52]Read from MH i2c: E2 03 00 CB 74 00 90 00 B3 [17:42:52]RAPDU: 90 00 [17:42:52]wFMCommunicate OK [17:42:52]wFMCommunicate request_size=255 [17:42:52]MH_SAM_APDU [17:42:52]CAPDU: 80 0D 02 02 FA 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 64 19 00 00 00 00 [17:42:52]Write to MH i2c: E2 02 01 CC 74 80 0D 02 02 FA 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 64 19 00 00 00 00 00 00 6A [17:42:52]Write i2c OK [17:42:52]MH_I2C_Read... [17:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:42:52]Read from MH i2c: E2 [17:42:52]MH_I2C_Read... [17:42:52]Read from MH i2c: E2 03 00 [17:42:52]MH_I2C_Read... [17:42:52]Read from MH i2c: E2 03 00 CC 74 00 90 00 B4 [17:42:52]RAPDU: 90 00 [17:42:52]wFMCommunicate OK [17:42:52]wFMCommunicate request_size=255 [17:42:52]MH_SAM_APDU [17:42:52]CAPDU: 80 0D 02 02 FA 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 38 30 35 36 06 04 26 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D0 9A D0 B8 D1 81 D0 BB D0 BE D0 BC D0 B8 D0 BA D1 81 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 23 04 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 6E 00 8A 04 0D 00 36 39 [17:42:52]Write to MH i2c: E2 02 01 CD 74 80 0D 02 02 FA 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 38 30 35 36 06 04 26 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D0 9A D0 B8 D1 81 D0 BB D0 BE D0 BC D0 B8 D0 BA D1 81 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 23 04 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 6E 00 8A 04 0D 00 36 39 00 00 AD [17:42:52]Write i2c OK [17:42:52]MH_I2C_Read... [17:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:42:52]Read from MH i2c: E2 [17:42:52]MH_I2C_Read... [17:42:52]Read from MH i2c: E2 03 00 [17:42:52]MH_I2C_Read... [17:42:52]Read from MH i2c: E2 03 00 CD 74 00 90 00 B5 [17:42:52]RAPDU: 90 00 [17:42:52]wFMCommunicate OK [17:42:52]wFMCommunicate request_size=255 [17:42:52]MH_SAM_APDU [17:42:52]CAPDU: 80 0D 02 02 FA 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 30 37 32 36 06 04 31 00 D0 9A D0 B0 D1 80 2E 20 D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 20 31 31 2E 33 D0 B3 2F 35 30 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 34 39 30 39 39 31 35 06 04 38 00 [17:42:53]Write to MH i2c: E2 02 01 CE 74 80 0D 02 02 FA 00 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 30 37 32 36 06 04 31 00 D0 9A D0 B0 D1 80 2E 20 D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 20 31 31 2E 33 D0 B3 2F 35 30 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 34 39 30 39 39 31 35 06 04 38 00 00 00 85 [17:42:53]Write i2c OK [17:42:53]MH_I2C_Read... [17:42:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:42:53]Read from MH i2c: E2 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 03 00 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 03 00 CE 74 00 90 00 B6 [17:42:53]RAPDU: 90 00 [17:42:53]wFMCommunicate OK [17:42:53]wFMCommunicate request_size=255 [17:42:53]MH_SAM_APDU [17:42:53]CAPDU: 80 0D 02 02 FA D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 9A D0 BE D0 BD D1 83 D1 81 20 58 58 4C 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 31 34 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 22 00 00 00 00 07 04 06 00 20 48 01 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 B0 E5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 [17:42:53]Write to MH i2c: E2 02 01 CF 74 80 0D 02 02 FA 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 9A D0 BE D0 BD D1 83 D1 81 20 58 58 4C 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 31 34 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 22 00 00 00 00 07 04 06 00 20 48 01 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 B0 E5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 00 00 49 [17:42:53]Write i2c OK [17:42:53]MH_I2C_Read... [17:42:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:42:53]Read from MH i2c: E2 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 03 00 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 03 00 CF 74 00 90 00 B7 [17:42:53]RAPDU: 90 00 [17:42:53]wFMCommunicate OK [17:42:53]wFMCommunicate request_size=23 [17:42:53]MH_SAM_APDU [17:42:53]CAPDU: 80 0D 02 02 12 10 04 04 00 56 B9 00 00 35 04 06 00 2E DA 30 FC 3B BC [17:42:53]Write to MH i2c: E2 1A 00 D0 74 80 0D 02 02 12 00 10 04 04 00 56 B9 00 00 35 04 06 00 2E DA 30 FC 3B BC 00 00 73 [17:42:53]Write i2c OK [17:42:53]MH_I2C_Read... [17:42:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:42:53]Read from MH i2c: E2 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 03 00 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 03 00 D0 74 00 90 00 B8 [17:42:53]RAPDU: 90 00 [17:42:53]wFMCommunicate OK [17:42:53]wFMCommunicate request_size=4 [17:42:53]MH_SAM_APDU [17:42:53]CAPDU: 80 0D 03 02 [17:42:53]Write to MH i2c: E2 08 00 D1 74 80 0D 03 02 00 00 00 00 C0 [17:42:53]Write i2c OK [17:42:53]MH_I2C_Read... [17:42:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:42:53]Read from MH i2c: E2 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 0B 00 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 0B 00 D1 74 00 69 7E 98 F0 5F D9 D4 48 90 00 84 [17:42:53]RAPDU: 69 7E 98 F0 5F D9 D4 48 90 00 [17:42:53]wFMCommunicate OK [17:42:53]SAM_PROTO_SignData done [17:42:53]FM_MakeSignedData done [17:42:53]CreateOFDProtocolMessage [17:42:53]wFMCommunicate request_size=4 [17:42:53]MH_SAM_APDU [17:42:53]CAPDU: 80 11 00 00 [17:42:53]Write to MH i2c: E2 08 00 D2 74 80 11 00 00 00 00 00 00 C0 [17:42:53]Write i2c OK [17:42:53]MH_I2C_Read... [17:42:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:42:53]Read from MH i2c: E2 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 17 00 [17:42:53]MH_I2C_Read... [17:42:53]Read from MH i2c: E2 17 00 D2 74 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 12 [17:42:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:42:53]wFMCommunicate OK [17:42:53]CreateOFDProtocolMessage done [17:42:53]OFDSenderStorePacket 47446 [17:42:53]StoreOFDPacket docnum=47446 [17:42:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 04 05 00 00 1F 78 FC 04 9A E0 5A 03 01 00 03 00 F0 04 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 34 30 20 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 76 00 8A 04 0D 00 35 39 30 31 39 34 37 30 37 30 36 31 31 06 04 32 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 44 72 2E 4D 41 52 43 55 53 20 46 72 65 73 68 20 42 61 67 20 62 2E 67 75 6D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 5D 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 38 30 35 36 06 04 26 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D0 9A D0 B8 D1 81 D0 BB D0 BE D0 BC D0 B8 D0 BA D1 81 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 23 04 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 30 37 32 36 06 04 31 00 D0 9A D0 B0 D1 80 2E 20 D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 20 31 31 2E 33 D0 B3 2F 35 30 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 34 39 30 39 39 31 35 06 04 38 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 9A D0 BE D0 BD D1 83 D1 81 20 58 58 4C 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 31 34 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 22 00 00 00 00 07 04 06 00 20 48 01 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 B0 E5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 56 B9 00 00 35 04 06 00 2E DA 30 FC 3B BC 69 7E 98 F0 5F D9 D4 48 [17:42:53]CheckFolder [17:42:53]dirname=/storage/ofd_packets [17:42:53]CheckFolder done [17:42:53]ProducePacketName [17:42:54]name=ofd_packets/00047446 [17:42:54]NVStorageSaveData ofd_packets/00047446 [17:42:54]File name is /storage/ofd_packets/00047446 [17:42:54]Write 1314 bytes [17:42:54]NVStorageSaveData done [17:42:54]OFDSenderStorePacket done [17:42:54]KKMCreateOFDPacket done [17:42:54]NVStorageSaveData kkm_last_timestamp [17:42:54]File name is /storage/kkm_last_timestamp [17:42:54]Write 4 bytes [17:42:54]NVStorageSaveData done [17:42:54]ExternCall_PrintAddStr [17:42:54]wPrintStart [17:42:54]Write to MH i2c: 01 00 00 D3 74 47 [17:42:54]Write i2c OK [17:42:54]MH_I2C_Read... [17:42:54]Read from MH i2c: 01 [17:42:54]MH_I2C_Read... [17:42:54]Read from MH i2c: 01 07 00 [17:42:54]MH_I2C_Read... [17:42:54]Read from MH i2c: 01 07 00 D3 74 00 00 00 00 00 FF 0F 5C [17:42:54]RasterBufferAndPrint [17:42:54]line Счет N : (3)242353 [17:42:54]line ИНН: 02508201610067 [17:42:54]line Контрольно-Кассовый Чек [17:42:54]line ПРОДАЖА [17:42:54]line Товар: 4630007400969 [17:42:54]line Арахис жарен Караван орехов Стандарт 40 [17:42:54]line 1.000 * 40.00 [17:42:54]line = 40.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 5901947070611 [17:42:54]line Ароматизатор Dr.MARCUS Fresh Bag b.gum [17:42:54]line 1.000 * 240.00 [17:42:54]line = 240.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 4870002328404 [17:42:54]line Вода ASU пит н.газ мята ПЭТ 0,5л [17:42:54]line 3.000 * 65.00 [17:42:54]line = 195.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 4870001571535 [17:42:54]line Вода ASU пит н.газ персик ПЭТ 0,5л [17:42:54]line 1.000 * 65.00 [17:42:54]line = 65.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 5000159438056 [17:42:54]line Драже Skittles Кисломикс [17:42:54]line 1.000 * 60.00 [17:42:54]line = 60.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 50173372 [17:42:54]line Жев Orbit для детей Classic [17:42:54]line 1.000 * 40.00 [17:42:54]line = 40.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 6931280300549 [17:42:54]line Зажигалка Cricket ПН пьезо [17:42:54]line 1.000 * 67.00 [17:42:54]line = 67.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 4620017450726 [17:42:54]line Кар. Страйк ассорти 11.3г/50шт [17:42:54]line 2.000 * 10.00 [17:42:54]line = 20.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line Товар: 4870004909915 [17:42:54]line Мороженое Конус XXL шоколад 145гр [17:42:54]line 1.000 * 113.00 [17:42:54]line = 113.00 [17:42:54]line НДС 12% НСП 1% [17:42:54]line > о реализуемом товаре [17:42:54]line ИТОГО: 840.00 [17:42:54]line НСП 1% : 7.42 [17:42:54]line НДС 12% : 89.20 [17:42:54]line Наличными: 840.00 [17:42:54]line Безнал.: 0.00 [17:42:54]line Место: АЗС № 15 "Партнер Нефть" [17:42:54]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:42:54]line СНО: Общий режим [17:42:54]line Чек 5 13.03.2024 17:43 [17:42:54]line Смена: 316 ФФД: 1.0 [17:42:54]line ЗНМ: 0300000097 [17:42:54]line РНМ: 0000000000092018 [17:42:54]line Версия ККМ: 001 [17:42:54]line ФМ: 0000000000871816 [17:42:54]line ФД: 47446 [17:42:54]line ФПД: 51514659584956 [17:42:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174312&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47446&fm=51514659584956&tin=02508201610067®Number=0000000000092018&sum=84000 [17:42:54]line 0 [17:42:54]written 0, free lines is 4095 [17:42:54]OFD Sender: Processing packet 47446 [packets to send 8, broken 7] [17:42:54]ProducePacketName [17:42:54]name=ofd_packets/00047446 [17:42:54]OFD Sender: To server: pG, [17:42:54]CommunicateWithHost lk.salyk.kg:30040 [17:42:54]ConnectInit lk.salyk.kg [17:42:54]Connected sock=10 [17:42:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 04 05 00 00 1F 78 FC 04 9A E0 5A 03 01 00 03 00 F0 04 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 34 30 20 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 76 00 8A 04 0D 00 35 39 30 31 39 34 37 30 37 30 36 31 31 06 04 32 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 44 72 2E 4D 41 52 43 55 53 20 46 72 65 73 68 20 42 61 67 20 62 2E 67 75 6D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 5D 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 38 30 35 36 06 04 26 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D0 9A D0 B8 D1 81 D0 BB D0 BE D0 BC D0 B8 D0 BA D1 81 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 23 04 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 30 37 32 36 06 04 31 00 D0 9A D0 B0 D1 80 2E 20 D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 20 31 31 2E 33 D0 B3 2F 35 30 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 34 39 30 39 39 31 35 06 04 38 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 9A D0 BE D0 BD D1 83 D1 81 20 58 58 4C 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 31 34 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 22 00 00 00 00 07 04 06 00 20 48 01 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 B0 E5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 56 B9 00 00 35 04 06 00 2E DA 30 FC 3B BC 69 7E 98 F0 5F D9 D4 48 [17:42:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E0 06 47 00 84 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 56 B9 00 00 F4 03 04 00 40 90 F1 65 B6 04 01 00 00 B3 FF 9B 15 69 BB 44 7C [17:42:54]CommunicateWithHost err = 0 [17:42:54]CheckOFDResponse [17:42:54]1017 (14) - 77093643461234 [17:42:54]1041 (16) - 0000000000871816 [17:42:54]1040 (4) - 47446 [17:42:54]1012 (4) - 13.03.2024 11:38 [17:42:54]1206 (1) - 0 [17:42:54]OFD Sender: Remove packet 47446 [17:42:54]ProducePacketName [17:42:54]name=ofd_packets/00047446 [17:42:54]NVStorageDeleteData [17:42:55]Write to MH i2c: 01 00 00 31 75 A6 [17:42:55]Write i2c OK [17:42:55]MH_I2C_Read... [17:42:55]Read from MH i2c: 01 [17:42:55]MH_I2C_Read... [17:42:55]Read from MH i2c: 01 07 00 [17:42:55]MH_I2C_Read... [17:42:55]Read from MH i2c: 01 07 00 31 75 00 00 00 00 00 C3 09 79 [17:42:55]RasterBufferAndPrint [17:42:55]line [17:42:55]line [17:42:55]line [17:42:55]line [17:42:55]line [17:42:55]written 0, free lines is 2514 [17:42:55]MH_Cut [17:42:55]Write to MH i2c: D1 01 00 38 75 01 7F [17:42:55]Write i2c OK [17:42:55]MH_I2C_Read... [17:42:55]Read from MH i2c: D1 [17:42:55]MH_I2C_Read... [17:42:55]Read from MH i2c: D1 01 00 [17:42:55]MH_I2C_Read... [17:42:55]Read from MH i2c: D1 01 00 38 75 00 7E [17:42:55]Write to MH i2c: 01 00 00 39 75 AE [17:42:55]Write i2c OK [17:42:55]MH_I2C_Read... [17:42:55]OFD Sender: No OFD packet to send [17:42:56]*** Cut start [17:42:56]*** Purtial cut [17:42:56]*** Stage 1: CUTSNS_PIN = 1 [17:42:57]Read from MH i2c: 01 [17:42:57]MH_I2C_Read... [17:42:57]*** Stop cut motor [17:42:57]*** Cut end [17:42:57]Read from MH i2c: 01 07 00 [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: 01 07 00 39 75 00 00 00 00 00 FF 0F C3 [17:42:57]process_action close_receipt done [17:42:57]requested_data is exist [17:42:57]produce_requested_data [17:42:57]requested_item fm.sn is exist - process it [17:42:57]wFMCommunicate request_size=4 [17:42:57]MH_SAM_APDU [17:42:57]CAPDU: 80 11 00 00 [17:42:57]Write to MH i2c: E2 08 00 3A 75 80 11 00 00 00 00 00 00 29 [17:42:57]Write i2c OK [17:42:57]MH_I2C_Read... [17:42:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:42:57]Read from MH i2c: E2 [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: E2 17 00 [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: E2 17 00 3A 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7B [17:42:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:42:57]wFMCommunicate OK [17:42:57]requested_item fd.num is exist - process it [17:42:57]SAM_PROTO_GetFieldsCounters [17:42:57]wFMCommunicate request_size=4 [17:42:57]MH_SAM_APDU [17:42:57]CAPDU: 80 13 00 00 [17:42:57]Write to MH i2c: E2 08 00 3B 75 80 13 00 00 00 00 00 00 2C [17:42:57]Write i2c OK [17:42:57]MH_I2C_Read... [17:42:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:42:57]Read from MH i2c: E2 [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: E2 62 00 [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: E2 62 00 3B 75 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 56 B9 00 00 0E 04 04 00 3C 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 A2 [17:42:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 56 B9 00 00 0E 04 04 00 3C 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 [17:42:57]wFMCommunicate OK [17:42:57]SAM_PROTO_GetFieldsCounters done [17:42:57]requested_item shift.num is exist - process it [17:42:57]requested_item shift.opened is exist - process it [17:42:57]req_shift_opened [17:42:57]FM_GetShiftState [17:42:57]SAM_PROTO_GetShiftState [17:42:57]wFMCommunicate request_size=4 [17:42:57]MH_SAM_APDU [17:42:57]CAPDU: 80 13 01 00 [17:42:57]Write to MH i2c: E2 08 00 3C 75 80 13 01 00 00 00 00 00 2E [17:42:57]Write i2c OK [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: E2 [17:42:57]MH_I2C_Read... [17:42:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:42:57]Read from MH i2c: E2 0E 00 [17:42:57]MH_I2C_Read... [17:42:57]Read from MH i2c: E2 0E 00 3C 75 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 4B [17:42:57]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:42:57]wFMCommunicate OK [17:42:57]SAM_PROTO_GetShiftState done [17:42:57]FM_GetShiftState done [17:42:57]req_shift_opened done [17:42:57]requested_item shift.open_date is exist - process it [17:42:57]req_shift_open_date [17:42:57]req_shift_open_date done [17:42:57]produce_requested_data done [17:42:57]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47446,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:42:57]process_action_free close_receipt [17:42:57]json_value_free [17:42:57]json_value_free done [17:42:57]process_json_proto returns [17:42:57]Send response to host [17:42:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47446,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:42:57]free response buf [17:42:57]execute_script done [17:42:57]execute_script returns [17:42:57]free content buf [17:42:57]Sock 7.Close socket [17:42:57]Sock 7.Thread stoped [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:42]accept exits with 9 [17:44:42]New connection [17:44:42]New thread 3066596708 created [17:44:42]Thread 3066453348 joined [17:44:42]Waiting for new connection... [17:44:42] Sock 9.Parse request [17:44:42]Sock 9.Check first char [17:44:42]Sock 9.First char is OK [17:44:42]request: POST /json_proto HTTP/1.0 [17:44:42]Method: POST [17:44:42]URL: /json_proto [17:44:42]Method is POST - this is cgi request [17:44:42]url: /json_proto [17:44:42]query_string will be loaded in cgi processing [17:44:42]execute_cgi json_proto POST (null) [17:44:42]execute_cgi path=json_proto method=POST [17:44:42]POST find Content-Length [17:44:42]Host: 172.17.32.68:8080 [17:44:42]Content-Length: 2558 [17:44:42]Content-Type: application/json [17:44:42] [17:44:42]POST finish read [17:44:42]Found Content-Length = 2558 [17:44:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242356", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 205.00, "quantity" : 4.000, "sum" : 820.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 2.000, "sum" : 126.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 2.000, "sum" : 410.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000131836", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 0,5\u043B", "price" : 63.00, "quantity" : 2.000, "sum" : 126.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329470", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043C\u0430\u043D\u0433\u043E,\u0430\u043D\u0430\u043D,\u043B\u0435\u043C 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 2232.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:44:42]execute_script... [17:44: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)242356", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 205.00, "quantity" : 4.000, "sum" : 820.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 2.000, "sum" : 126.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 2.000, "sum" : 410.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000131836", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 0,5\u043B", "price" : 63.00, "quantity" : 2.000, "sum" : 126.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329470", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043C\u0430\u043D\u0433\u043E,\u0430\u043D\u0430\u043D,\u043B\u0435\u043C 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 2232.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:44:42]POST & json_proto [17:44:42]process_json_proto [17:44:42]json parsed OK: [17:44:42]protocol is kg_v1.0 [17:44:42]action value=close_receipt [17:44:42]process_action close_receipt [17:44:42]cmd_close_receipt [17:44:42]MH_GetDate [17:44:42]Write to MH i2c: F0 00 00 3D 75 A1 [17:44:42]Write i2c OK [17:44:42]MH_I2C_Read... [17:44:42]Read from MH i2c: F0 [17:44:42]MH_I2C_Read... [17:44:42]Read from MH i2c: F0 09 00 [17:44:42]MH_I2C_Read... [17:44:42]Read from MH i2c: F0 09 00 3D 75 00 20 E6 F1 65 0A 64 6E 65 47 [17:44:42]GetLastDocTimeStamp 1710351792 [17:44:42]current date 1710351904 [17:44:42]FM_GetShiftState [17:44:42]SAM_PROTO_GetShiftState [17:44:42]wFMCommunicate request_size=4 [17:44:42]MH_SAM_APDU [17:44:42]CAPDU: 80 13 01 00 [17:44:42]Write to MH i2c: E2 08 00 3E 75 80 13 01 00 00 00 00 00 30 [17:44:42]Write i2c OK [17:44:42]MH_I2C_Read... [17:44:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:44:42]Read from MH i2c: E2 [17:44:42]MH_I2C_Read... [17:44:42]Read from MH i2c: E2 0E 00 [17:44:42]MH_I2C_Read... [17:44:42]Read from MH i2c: E2 0E 00 3E 75 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 4D [17:44:42]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:44:42]wFMCommunicate OK [17:44:42]SAM_PROTO_GetShiftState done [17:44:42]FM_GetShiftState done [17:44:42]opened in 1710338059 [17:44:42]opened+sec_in_day 1710424459 [17:44:42]quantity*price = 39000 [17:44:42]sum+1 = 39001 [17:44:42]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570095 Напиток Pepsi 2л 4.000 * 205.00 = 820.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000996 Напиток Кока-Кола 0,33л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 2.000 * 63.00 = 126.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 170.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000286 Напиток Кока-Кола 2л 2.000 * 205.00 = 410.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000131836 Напиток Кока-Кола Zero 0,5л 2.000 * 63.00 = 126.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002329470 Напиток Пиала Ice Tea манго,анан,лем 1л 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 2232.00 НСП 1% : 19.74 НДС 12% : 237.03 Наличными: 2232.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 6 13.03.2024 17:45 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47447 ФПД: 67668487467961 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174504&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47447&fm=67668487467961&tin=02508201610067®Number=0000000000092018&sum=223200 0 [17:44:44]StoreToDocumentArchive [17:44:44]shift 316 fd 47447 [17:44:44]save to /storage/0316/doc_00047447 [17:44:44]save last doc name /storage/0316/doc_00047447 to /storage/kkm_last_doc_name [17:44:44]save OK [17:44:44]Clear old archive folders... [17:44:44]ProcessDocumentItem done err = 0, tmpTLVsize=1047 [17:44:44]tlvbuf is 003AC260 [17:44:44]SAM_PROTO_ClearQueue [17:44:44]wFMCommunicate request_size=4 [17:44:44]MH_SAM_APDU [17:44:44]CAPDU: 80 09 00 00 [17:44:44]Write to MH i2c: E2 08 00 4B 75 80 09 00 00 00 00 00 00 32 [17:44:44]Write i2c OK [17:44:44]MH_I2C_Read... [17:44:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:44:44]Read from MH i2c: E2 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 4B 75 00 90 00 34 [17:44:44]RAPDU: 90 00 [17:44:44]wFMCommunicate OK [17:44:44]SAM_PROTO_ClearQueue done [17:44:44]KKMCreateOFDPacket [17:44:44]OFDProtocolAddRootSTLVToBuf [17:44:44]FM_MakeSignedData [17:44:44]FM_MakeSignedData [17:44:44]SAM_PROTO_SignData [17:44:44]wFMCommunicate request_size=4 [17:44:44]MH_SAM_APDU [17:44:44]CAPDU: 80 0D 01 02 [17:44:44]Write to MH i2c: E2 08 00 4C 75 80 0D 01 02 00 00 00 00 3A [17:44:44]Write i2c OK [17:44:44]MH_I2C_Read... [17:44:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:44:44]Read from MH i2c: E2 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 4C 75 00 90 00 35 [17:44:44]RAPDU: 90 00 [17:44:44]wFMCommunicate OK [17:44:44]wFMCommunicate request_size=255 [17:44:44]MH_SAM_APDU [17:44:44]CAPDU: 80 0D 02 02 FA 03 00 17 04 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 32 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 50 40 01 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 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D [17:44:44]Write to MH i2c: E2 02 01 4D 75 80 0D 02 02 FA 00 03 00 17 04 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 32 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 50 40 01 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 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D 00 00 4B [17:44:44]Write i2c OK [17:44:44]MH_I2C_Read... [17:44:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:44]Read from MH i2c: E2 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 4D 75 00 90 00 36 [17:44:44]RAPDU: 90 00 [17:44:44]wFMCommunicate OK [17:44:44]wFMCommunicate request_size=255 [17:44:44]MH_SAM_APDU [17:44:44]CAPDU: 80 0D 02 02 FA D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 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 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 [17:44:44]Write to MH i2c: E2 02 01 4E 75 80 0D 02 02 FA 00 D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 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 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 2F [17:44:44]Write i2c OK [17:44:44]MH_I2C_Read... [17:44:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:44]Read from MH i2c: E2 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 [17:44:44]MH_I2C_Read... [17:44:44]Read from MH i2c: E2 03 00 4E 75 00 90 00 37 [17:44:44]RAPDU: 90 00 [17:44:44]wFMCommunicate OK [17:44:44]wFMCommunicate request_size=255 [17:44:44]MH_SAM_APDU [17:44:44]CAPDU: 80 0D 02 02 FA 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 28 A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [17:44:44]Write to MH i2c: E2 02 01 4F 75 80 0D 02 02 FA 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 28 A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 2E [17:44:44]Write i2c OK [17:44:44]MH_I2C_Read... [17:44:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:45]Read from MH i2c: E2 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 03 00 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 03 00 4F 75 00 90 00 38 [17:44:45]RAPDU: 90 00 [17:44:45]wFMCommunicate OK [17:44:45]wFMCommunicate request_size=255 [17:44:45]MH_SAM_APDU [17:44:45]CAPDU: 80 0D 02 02 FA 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 67 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 5C 00 00 00 00 07 04 06 00 E0 67 03 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 20 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [17:44:45]Write to MH i2c: E2 02 01 50 75 80 0D 02 02 FA 00 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 67 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 5C 00 00 00 00 07 04 06 00 E0 67 03 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 20 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 F6 [17:44:45]Write i2c OK [17:44:45]MH_I2C_Read... [17:44:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:45]Read from MH i2c: E2 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 03 00 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 03 00 50 75 00 90 00 39 [17:44:45]RAPDU: 90 00 [17:44:45]wFMCommunicate OK [17:44:45]wFMCommunicate request_size=56 [17:44:45]MH_SAM_APDU [17:44:45]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 57 B9 00 00 35 04 06 00 3D 8B 4C 28 73 B9 [17:44:45]Write to MH i2c: E2 3B 00 51 75 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 57 B9 00 00 35 04 06 00 3D 8B 4C 28 73 B9 00 00 3D [17:44:45]Write i2c OK [17:44:45]MH_I2C_Read... [17:44:45]OFD Sender: No OFD packet to send [17:44:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:45]Read from MH i2c: E2 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 03 00 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 03 00 51 75 00 90 00 3A [17:44:45]RAPDU: 90 00 [17:44:45]wFMCommunicate OK [17:44:45]wFMCommunicate request_size=4 [17:44:45]MH_SAM_APDU [17:44:45]CAPDU: 80 0D 03 02 [17:44:45]Write to MH i2c: E2 08 00 52 75 80 0D 03 02 00 00 00 00 42 [17:44:45]Write i2c OK [17:44:45]MH_I2C_Read... [17:44:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:44:45]Read from MH i2c: E2 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 0B 00 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 0B 00 52 75 00 56 9D EA 8A 77 99 D9 C0 90 00 53 [17:44:45]RAPDU: 56 9D EA 8A 77 99 D9 C0 90 00 [17:44:45]wFMCommunicate OK [17:44:45]SAM_PROTO_SignData done [17:44:45]FM_MakeSignedData done [17:44:45]CreateOFDProtocolMessage [17:44:45]wFMCommunicate request_size=4 [17:44:45]MH_SAM_APDU [17:44:45]CAPDU: 80 11 00 00 [17:44:45]Write to MH i2c: E2 08 00 53 75 80 11 00 00 00 00 00 00 42 [17:44:45]Write i2c OK [17:44:45]MH_I2C_Read... [17:44:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:44:45]Read from MH i2c: E2 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 17 00 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: E2 17 00 53 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 94 [17:44:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:44:45]wFMCommunicate OK [17:44:45]CreateOFDProtocolMessage done [17:44:45]OFDSenderStorePacket 47447 [17:44:45]StoreOFDPacket docnum=47447 [17:44:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2B 04 00 00 F7 E7 23 04 78 8F 5A 03 01 00 03 00 17 04 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 32 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 50 40 01 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 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 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 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 28 A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 67 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 5C 00 00 00 00 07 04 06 00 E0 67 03 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 20 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 57 B9 00 00 35 04 06 00 3D 8B 4C 28 73 B9 56 9D EA 8A 77 99 D9 C0 [17:44:45]CheckFolder [17:44:45]dirname=/storage/ofd_packets [17:44:45]CheckFolder done [17:44:45]ProducePacketName [17:44:45]name=ofd_packets/00047447 [17:44:45]NVStorageSaveData ofd_packets/00047447 [17:44:45]File name is /storage/ofd_packets/00047447 [17:44:45]Write 1097 bytes [17:44:45]NVStorageSaveData done [17:44:45]OFDSenderStorePacket done [17:44:45]KKMCreateOFDPacket done [17:44:45]NVStorageSaveData kkm_last_timestamp [17:44:45]File name is /storage/kkm_last_timestamp [17:44:45]Write 4 bytes [17:44:45]NVStorageSaveData done [17:44:45]ExternCall_PrintAddStr [17:44:45]wPrintStart [17:44:45]Write to MH i2c: 01 00 00 54 75 C9 [17:44:45]Write i2c OK [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: 01 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: 01 07 00 [17:44:45]MH_I2C_Read... [17:44:45]Read from MH i2c: 01 07 00 54 75 00 00 00 00 00 FF 0F DE [17:44:46]RasterBufferAndPrint [17:44:46]line Счет N : (3)242356 [17:44:46]line ИНН: 02508201610067 [17:44:46]line Контрольно-Кассовый Чек [17:44:46]line ПРОДАЖА [17:44:46]line Товар: 4870001570071 [17:44:46]line Напиток Pepsi 1л [17:44:46]line 3.000 * 130.00 [17:44:46]line = 390.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 4870001570095 [17:44:46]line Напиток Pepsi 2л [17:44:46]line 4.000 * 205.00 [17:44:46]line = 820.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 5449000000996 [17:44:46]line Напиток Кока-Кола 0,33л [17:44:46]line 1.000 * 85.00 [17:44:46]line = 85.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 54491472 [17:44:46]line Напиток Кока-Кола 0,5л [17:44:46]line 2.000 * 63.00 [17:44:46]OFD Sender: Processing packet 47447 [packets to send 8, broken 7] [17:44:46]ProducePacketName [17:44:46]name=ofd_packets/00047447 [17:44:46]OFD Sender: To server: pG, [17:44:46]CommunicateWithHost lk.salyk.kg:30040 [17:44:46]ConnectInit lk.salyk.kg [17:44:46]line = 126.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 5449000000439 [17:44:46]line Напиток Кока-Кола 1,5л [17:44:46]line 1.000 * 170.00 [17:44:46]line = 170.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 5449000000286 [17:44:46]line Напиток Кока-Кола 2л [17:44:46]line 2.000 * 205.00 [17:44:46]line = 410.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 5449000131836 [17:44:46]line Напиток Кока-Кола Zero 0,5л [17:44:46]line 2.000 * 63.00 [17:44:46]line = 126.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line Товар: 4870002329470 [17:44:46]line Напиток Пиала Ice Tea манго,анан,лем 1л [17:44:46]line 1.000 * 105.00 [17:44:46]line = 105.00 [17:44:46]line НДС 12% НСП 1% [17:44:46]line > о реализуемом товаре [17:44:46]line ИТОГО: 2232.00 [17:44:46]line НСП 1% : 19.74 [17:44:46]line НДС 12% : 237.03 [17:44:46]line Наличными: 2232.00 [17:44:46]line Безнал.: 0.00 [17:44:46]line Место: АЗС № 15 "Партнер Нефть" [17:44:46]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:44:46]line СНО: Общий режим [17:44:46]line Чек 6 13.03.2024 17:45 [17:44:46]line Смена: 316 ФФД: 1.0 [17:44:46]line ЗНМ: 0300000097 [17:44:46]line РНМ: 0000000000092018 [17:44:46]line Версия ККМ: 001 [17:44:46]line ФМ: 0000000000871816 [17:44:46]line ФД: 47447 [17:44:46]line ФПД: 67668487467961 [17:44:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174504&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47447&fm=67668487467961&tin=02508201610067®Number=0000000000092018&sum=223200 [17:44:46]line 0 [17:44:46]written 0, free lines is 4095 [17:44:46]Connected sock=10 [17:44:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2B 04 00 00 F7 E7 23 04 78 8F 5A 03 01 00 03 00 17 04 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 32 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 50 40 01 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 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 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 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 28 A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 38 31 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 67 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 5C 00 00 00 00 07 04 06 00 E0 67 03 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 20 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 57 B9 00 00 35 04 06 00 3D 8B 4C 28 73 B9 56 9D EA 8A 77 99 D9 C0 [17:44:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 DA 4B 47 00 F8 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 57 B9 00 00 F4 03 04 00 B0 90 F1 65 B6 04 01 00 00 F8 14 41 4E 74 78 44 DF [17:44:46]CommunicateWithHost err = 0 [17:44:46]CheckOFDResponse [17:44:46]1017 (14) - 77093643461234 [17:44:46]1041 (16) - 0000000000871816 [17:44:46]1040 (4) - 47447 [17:44:46]1012 (4) - 13.03.2024 11:40 [17:44:46]1206 (1) - 0 [17:44:46]OFD Sender: Remove packet 47447 [17:44:46]ProducePacketName [17:44:46]name=ofd_packets/00047447 [17:44:46]NVStorageDeleteData [17:44:46]OFD Sender: No OFD packet to send [17:44:46]Write to MH i2c: 01 00 00 A7 75 1C [17:44:46]Write i2c OK [17:44:46]MH_I2C_Read... [17:44:46]Read from MH i2c: 01 [17:44:46]MH_I2C_Read... [17:44:46]Read from MH i2c: 01 07 00 [17:44:46]MH_I2C_Read... [17:44:46]Read from MH i2c: 01 07 00 A7 75 00 00 00 00 00 C2 0A EF [17:44:46]RasterBufferAndPrint [17:44:46]line [17:44:46]line [17:44:46]line [17:44:46]line [17:44:46]line [17:44:46]written 0, free lines is 2766 [17:44:47]MH_Cut [17:44:47]Write to MH i2c: D1 01 00 AE 75 01 F5 [17:44:47]Write i2c OK [17:44:47]MH_I2C_Read... [17:44:47]Read from MH i2c: D1 [17:44:47]MH_I2C_Read... [17:44:47]Read from MH i2c: D1 01 00 [17:44:47]MH_I2C_Read... [17:44:47]Read from MH i2c: D1 01 00 AE 75 00 F4 [17:44:47]Write to MH i2c: 01 00 00 AF 75 24 [17:44:47]Write i2c OK [17:44:47]MH_I2C_Read... [17:44:48]*** Cut start [17:44:48]*** Purtial cut [17:44:48]*** Stage 1: CUTSNS_PIN = 1 [17:44:48]Read from MH i2c: 01 [17:44:48]MH_I2C_Read... [17:44:48]*** Stop cut motor [17:44:48]*** Cut end [17:44:48]Read from MH i2c: 01 07 00 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: 01 07 00 AF 75 00 00 00 00 00 FF 0F 39 [17:44:48]process_action close_receipt done [17:44:48]requested_data is exist [17:44:48]produce_requested_data [17:44:48]requested_item fm.sn is exist - process it [17:44:48]wFMCommunicate request_size=4 [17:44:48]MH_SAM_APDU [17:44:48]CAPDU: 80 11 00 00 [17:44:48]Write to MH i2c: E2 08 00 B0 75 80 11 00 00 00 00 00 00 9F [17:44:48]Write i2c OK [17:44:48]MH_I2C_Read... [17:44:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:44:48]Read from MH i2c: E2 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: E2 17 00 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: E2 17 00 B0 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F1 [17:44:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:44:48]wFMCommunicate OK [17:44:48]requested_item fd.num is exist - process it [17:44:48]SAM_PROTO_GetFieldsCounters [17:44:48]wFMCommunicate request_size=4 [17:44:48]MH_SAM_APDU [17:44:48]CAPDU: 80 13 00 00 [17:44:48]Write to MH i2c: E2 08 00 B1 75 80 13 00 00 00 00 00 00 A2 [17:44:48]Write i2c OK [17:44:48]MH_I2C_Read... [17:44:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:44:48]Read from MH i2c: E2 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: E2 62 00 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: E2 62 00 B1 75 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 57 B9 00 00 0E 04 04 00 3C 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 1C [17:44:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 57 B9 00 00 0E 04 04 00 3C 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 [17:44:48]wFMCommunicate OK [17:44:48]SAM_PROTO_GetFieldsCounters done [17:44:48]requested_item shift.num is exist - process it [17:44:48]requested_item shift.opened is exist - process it [17:44:48]req_shift_opened [17:44:48]FM_GetShiftState [17:44:48]SAM_PROTO_GetShiftState [17:44:48]wFMCommunicate request_size=4 [17:44:48]MH_SAM_APDU [17:44:48]CAPDU: 80 13 01 00 [17:44:48]Write to MH i2c: E2 08 00 B2 75 80 13 01 00 00 00 00 00 A4 [17:44:48]Write i2c OK [17:44:48]MH_I2C_Read... [17:44:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:44:48]Read from MH i2c: E2 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: E2 0E 00 [17:44:48]MH_I2C_Read... [17:44:48]Read from MH i2c: E2 0E 00 B2 75 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 C1 [17:44:48]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:44:48]wFMCommunicate OK [17:44:48]SAM_PROTO_GetShiftState done [17:44:48]FM_GetShiftState done [17:44:48]req_shift_opened done [17:44:48]requested_item shift.open_date is exist - process it [17:44:48]req_shift_open_date [17:44:48]req_shift_open_date done [17:44:48]produce_requested_data done [17:44:48]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47447,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:44:48]process_action_free close_receipt [17:44:48]json_value_free [17:44:48]json_value_free done [17:44:48]process_json_proto returns [17:44:48]Send response to host [17:44:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47447,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:44:48]free response buf [17:44:48]execute_script done [17:44:48]execute_script returns [17:44:48]free content buf [17:44:48]Sock 9.Close socket [17:44:48]Sock 9.Thread stoped [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:27]OFD Sender: No OFD packet to send [17:45:32]OFD Sender: No OFD packet to send [17:45:37]OFD Sender: No OFD packet to send [17:45:42]OFD Sender: No OFD packet to send [17:45:47]OFD Sender: No OFD packet to send [17:45:52]OFD Sender: No OFD packet to send [17:45:57]OFD Sender: No OFD packet to send [17:46:02]OFD Sender: No OFD packet to send [17:46:07]OFD Sender: No OFD packet to send [17:46:12]OFD Sender: No OFD packet to send [17:46:17]OFD Sender: No OFD packet to send [17:46:22]OFD Sender: No OFD packet to send [17:46:27]OFD Sender: No OFD packet to send [17:46:32]OFD Sender: No OFD packet to send [17:46:37]OFD Sender: No OFD packet to send [17:46:39]accept exits with 7 [17:46:39]New connection [17:46:39]New thread 3066453348 created [17:46:39]Thread 3066596708 joined [17:46:39]Waiting for new connection... [17:46:39] Sock 7.Parse request [17:46:39]Sock 7.Check first char [17:46:39]Sock 7.First char is OK [17:46:39]request: POST /json_proto HTTP/1.0 [17:46:39]Method: POST [17:46:39]URL: /json_proto [17:46:39]Method is POST - this is cgi request [17:46:39]url: /json_proto [17:46:39]query_string will be loaded in cgi processing [17:46:39]execute_cgi json_proto POST (null) [17:46:39]execute_cgi path=json_proto method=POST [17:46:39]POST find Content-Length [17:46:39]Host: 172.17.32.68:8080 [17:46:39]Content-Length: 2108 [17:46:39]Content-Type: application/json [17:46:39] [17:46:39]POST finish read [17:46:39]Found Content-Length = 2108 [17:46:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242357", "tax_sys" : 0, "items" : [ { "code": "5449000011527", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8699367358996", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C CARB", "price" : 211.00, "quantity" : 1.000, "sum" : 211.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002768", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Biskrem 100\u0433", "price" : 59.00, "quantity" : 4.000, "sum" : 236.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5906534941503", "name": "\u041F\u0440\u0438\u0441\u0430\u0434\u043A\u0430 \u0410\u043D\u0442\u0438\u0433\u0435\u043B\u044C \u0434\u043B\u044F \u0434\u0438\u0437\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0442\u043E\u043F\u043B\u0438\u0432\u0430", "price" : 855.00, "quantity" : 1.000, "sum" : 855.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8809010072357", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0430 NEW KUMO \u043C\u0438\u043A\u0440\u043E\u0444\u0438\u0431 \u0436\u0435\u043B\u0442\u0430\u044F", "price" : 173.00, "quantity" : 2.000, "sum" : 346.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1897.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:39]execute_script... [17:46: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)242357", "tax_sys" : 0, "items" : [ { "code": "5449000011527", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8699367358996", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C CARB", "price" : 211.00, "quantity" : 1.000, "sum" : 211.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002768", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Biskrem 100\u0433", "price" : 59.00, "quantity" : 4.000, "sum" : 236.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5906534941503", "name": "\u041F\u0440\u0438\u0441\u0430\u0434\u043A\u0430 \u0410\u043D\u0442\u0438\u0433\u0435\u043B\u044C \u0434\u043B\u044F \u0434\u0438\u0437\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0442\u043E\u043F\u043B\u0438\u0432\u0430", "price" : 855.00, "quantity" : 1.000, "sum" : 855.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8809010072357", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0430 NEW KUMO \u043C\u0438\u043A\u0440\u043E\u0444\u0438\u0431 \u0436\u0435\u043B\u0442\u0430\u044F", "price" : 173.00, "quantity" : 2.000, "sum" : 346.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1897.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:39]POST & json_proto [17:46:39]process_json_proto [17:46:39]json parsed OK: [17:46:39]protocol is kg_v1.0 [17:46:39]action value=close_receipt [17:46:39]process_action close_receipt [17:46:39]cmd_close_receipt [17:46:39]MH_GetDate [17:46:39]Write to MH i2c: F0 00 00 B3 75 17 [17:46:39]Write i2c OK [17:46:39]MH_I2C_Read... [17:46:39]Read from MH i2c: F0 [17:46:39]MH_I2C_Read... [17:46:39]Read from MH i2c: F0 09 00 [17:46:39]MH_I2C_Read... [17:46:39]Read from MH i2c: F0 09 00 B3 75 00 95 E6 F1 65 0A 64 6E 65 32 [17:46:39]GetLastDocTimeStamp 1710351904 [17:46:39]current date 1710352021 [17:46:39]FM_GetShiftState [17:46:39]SAM_PROTO_GetShiftState [17:46:39]wFMCommunicate request_size=4 [17:46:39]MH_SAM_APDU [17:46:39]CAPDU: 80 13 01 00 [17:46:39]Write to MH i2c: E2 08 00 B4 75 80 13 01 00 00 00 00 00 A6 [17:46:39]Write i2c OK [17:46:39]MH_I2C_Read... [17:46:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:39]Read from MH i2c: E2 [17:46:39]MH_I2C_Read... [17:46:39]Read from MH i2c: E2 0E 00 [17:46:39]MH_I2C_Read... [17:46:39]Read from MH i2c: E2 0E 00 B4 75 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 C3 [17:46:39]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:46:39]wFMCommunicate OK [17:46:39]SAM_PROTO_GetShiftState done [17:46:39]FM_GetShiftState done [17:46:39]opened in 1710338059 [17:46:39]opened+sec_in_day 1710424459 [17:46:39]quantity*price = 17000 [17:46:39]sum+1 = 17001 [17:46:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8699367358996 Очиститель CARB 1.000 * 211.00 = 211.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607015235777 Печ. сд. Яшкино вишня 137г 1.000 * 79.00 = 79.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112002768 Печенье Biskrem 100г 4.000 * 59.00 = 236.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5906534941503 Присадка Антигель для дизельного топлива 1.000 * 855.00 = 855.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 8809010072357 Салфетка NEW KUMO микрофиб желтая 2.000 * 173.00 = 346.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1897.00 НСП 1% : 16.79 НДС 12% : 201.45 Наличными: 1897.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 7 13.03.2024 17:47 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47448 ФПД: 245971961951609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174701&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47448&fm=245971961951609&tin=02508201610067®Number=0000000000092018&sum=189700 0 [17:46:40]StoreToDocumentArchive [17:46:40]shift 316 fd 47448 [17:46:40]save to /storage/0316/doc_00047448 [17:46:40]save last doc name /storage/0316/doc_00047448 to /storage/kkm_last_doc_name [17:46:40]save OK [17:46:40]Clear old archive folders... [17:46:40]ProcessDocumentItem done err = 0, tmpTLVsize=861 [17:46:40]tlvbuf is 00283DB0 [17:46:40]SAM_PROTO_ClearQueue [17:46:40]wFMCommunicate request_size=4 [17:46:40]MH_SAM_APDU [17:46:40]CAPDU: 80 09 00 00 [17:46:40]Write to MH i2c: E2 08 00 C1 75 80 09 00 00 00 00 00 00 A8 [17:46:40]Write i2c OK [17:46:40]MH_I2C_Read... [17:46:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:46:41]Read from MH i2c: E2 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 C1 75 00 90 00 AA [17:46:41]RAPDU: 90 00 [17:46:41]wFMCommunicate OK [17:46:41]SAM_PROTO_ClearQueue done [17:46:41]KKMCreateOFDPacket [17:46:41]OFDProtocolAddRootSTLVToBuf [17:46:41]FM_MakeSignedData [17:46:41]FM_MakeSignedData [17:46:41]SAM_PROTO_SignData [17:46:41]wFMCommunicate request_size=4 [17:46:41]MH_SAM_APDU [17:46:41]CAPDU: 80 0D 01 02 [17:46:41]Write to MH i2c: E2 08 00 C2 75 80 0D 01 02 00 00 00 00 B0 [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:46:41]Read from MH i2c: E2 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 C2 75 00 90 00 AB [17:46:41]RAPDU: 90 00 [17:46:41]wFMCommunicate OK [17:46:41]wFMCommunicate request_size=255 [17:46:41]MH_SAM_APDU [17:46:41]CAPDU: 80 0D 02 02 FA 03 00 5D 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 52 00 00 00 00 13 04 06 00 6C 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 [17:46:41]Write to MH i2c: E2 02 01 C3 75 80 0D 02 02 FA 00 03 00 5D 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 52 00 00 00 00 13 04 06 00 6C 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 00 00 F6 [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:41]Read from MH i2c: E2 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 C3 75 00 90 00 AC [17:46:41]RAPDU: 90 00 [17:46:41]wFMCommunicate OK [17:46:41]wFMCommunicate request_size=255 [17:46:41]MH_SAM_APDU [17:46:41]CAPDU: 80 0D 02 02 FA AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 35 39 30 36 35 33 34 39 34 31 35 30 33 06 04 4C 00 D0 9F D1 80 D0 B8 D1 81 D0 B0 D0 B4 D0 BA D0 B0 20 D0 90 D0 BD D1 82 D0 B8 D0 B3 D0 B5 D0 BB D1 8C 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B8 D0 B7 D0 B5 D0 [17:46:41]Write to MH i2c: E2 02 01 C4 75 80 0D 02 02 FA 00 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 35 39 30 36 35 33 34 39 34 31 35 30 33 06 04 4C 00 D0 9F D1 80 D0 B8 D1 81 D0 B0 D0 B4 D0 BA D0 B0 20 D0 90 D0 BD D1 82 D0 B8 D0 B3 D0 B5 D0 BB D1 8C 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B8 D0 B7 D0 B5 D0 00 00 B2 [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:41]Read from MH i2c: E2 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 C4 75 00 90 00 AD [17:46:41]RAPDU: 90 00 [17:46:41]wFMCommunicate OK [17:46:41]wFMCommunicate request_size=255 [17:46:41]MH_SAM_APDU [17:46:41]CAPDU: 80 0D 02 02 FA BB D1 8C D0 BD D0 BE D0 B3 D0 BE 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 4D 01 00 00 00 13 04 06 00 FC 4D 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 37 32 33 35 37 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 43 00 00 00 00 13 04 06 00 28 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 E5 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 4E 00 00 [17:46:41]Write to MH i2c: E2 02 01 C5 75 80 0D 02 02 FA 00 BB D1 8C D0 BD D0 BE D0 B3 D0 BE 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 4D 01 00 00 00 13 04 06 00 FC 4D 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 37 32 33 35 37 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 43 00 00 00 00 13 04 06 00 28 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 E5 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 4E 00 00 00 00 50 [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:41]Read from MH i2c: E2 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 03 00 C5 75 00 90 00 AE [17:46:41]RAPDU: 90 00 [17:46:41]wFMCommunicate OK [17:46:41]wFMCommunicate request_size=120 [17:46:41]MH_SAM_APDU [17:46:41]CAPDU: 80 0D 02 02 73 00 00 07 04 06 00 04 E5 02 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 95 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 58 B9 00 00 35 04 06 00 DF B5 CF 6A B5 79 [17:46:41]Write to MH i2c: E2 7B 00 C6 75 80 0D 02 02 73 00 00 00 07 04 06 00 04 E5 02 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 95 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 58 B9 00 00 35 04 06 00 DF B5 CF 6A B5 79 00 00 DB [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:42]Read from MH i2c: E2 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 03 00 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 03 00 C6 75 00 90 00 AF [17:46:42]RAPDU: 90 00 [17:46:42]wFMCommunicate OK [17:46:42]wFMCommunicate request_size=4 [17:46:42]MH_SAM_APDU [17:46:42]CAPDU: 80 0D 03 02 [17:46:42]Write to MH i2c: E2 08 00 C7 75 80 0D 03 02 00 00 00 00 B7 [17:46:42]Write i2c OK [17:46:42]MH_I2C_Read... [17:46:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:46:42]Read from MH i2c: E2 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 0B 00 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 0B 00 C7 75 00 26 82 A7 AF 98 5E 4F 9B 90 00 96 [17:46:42]RAPDU: 26 82 A7 AF 98 5E 4F 9B 90 00 [17:46:42]wFMCommunicate OK [17:46:42]SAM_PROTO_SignData done [17:46:42]FM_MakeSignedData done [17:46:42]CreateOFDProtocolMessage [17:46:42]wFMCommunicate request_size=4 [17:46:42]MH_SAM_APDU [17:46:42]CAPDU: 80 11 00 00 [17:46:42]Write to MH i2c: E2 08 00 C8 75 80 11 00 00 00 00 00 00 B7 [17:46:42]Write i2c OK [17:46:42]MH_I2C_Read... [17:46:42]OFD Sender: No OFD packet to send [17:46:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:42]Read from MH i2c: E2 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 17 00 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 17 00 C8 75 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 09 [17:46:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:46:42]wFMCommunicate OK [17:46:42]CreateOFDProtocolMessage done [17:46:42]OFDSenderStorePacket 47448 [17:46:42]StoreOFDPacket docnum=47448 [17:46:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 71 03 00 00 01 3E 69 03 2F 1C 5A 03 01 00 03 00 5D 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 52 00 00 00 00 13 04 06 00 6C 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 35 39 30 36 35 33 34 39 34 31 35 30 33 06 04 4C 00 D0 9F D1 80 D0 B8 D1 81 D0 B0 D0 B4 D0 BA D0 B0 20 D0 90 D0 BD D1 82 D0 B8 D0 B3 D0 B5 D0 BB D1 8C 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B8 D0 B7 D0 B5 D0 BB D1 8C D0 BD D0 BE D0 B3 D0 BE 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 4D 01 00 00 00 13 04 06 00 FC 4D 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 37 32 33 35 37 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 43 00 00 00 00 13 04 06 00 28 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 E5 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 4E 00 00 00 00 07 04 06 00 04 E5 02 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 95 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 58 B9 00 00 35 04 06 00 DF B5 CF 6A B5 79 26 82 A7 AF 98 5E 4F 9B [17:46:42]CheckFolder [17:46:42]dirname=/storage/ofd_packets [17:46:42]CheckFolder done [17:46:42]ProducePacketName [17:46:42]name=ofd_packets/00047448 [17:46:42]NVStorageSaveData ofd_packets/00047448 [17:46:42]File name is /storage/ofd_packets/00047448 [17:46:42]Write 911 bytes [17:46:42]NVStorageSaveData done [17:46:42]OFDSenderStorePacket done [17:46:42]KKMCreateOFDPacket done [17:46:42]NVStorageSaveData kkm_last_timestamp [17:46:42]File name is /storage/kkm_last_timestamp [17:46:42]Write 4 bytes [17:46:42]NVStorageSaveData done [17:46:42]ExternCall_PrintAddStr [17:46:42]wPrintStart [17:46:42]Write to MH i2c: 01 00 00 C9 75 3E [17:46:42]Write i2c OK [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: 01 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: 01 07 00 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: 01 07 00 C9 75 00 00 00 00 00 FF 0F 53 [17:46:42]RasterBufferAndPrint [17:46:42]line Счет N : (3)242357 [17:46:42]line ИНН: 02508201610067 [17:46:42]line Контрольно-Кассовый Чек [17:46:42]line ПРОДАЖА [17:46:42]line Товар: 5449000011527 [17:46:42]line Напиток Фанта 0,33л [17:46:42]line 2.000 * 85.00 [17:46:42]line = 170.00 [17:46:42]line НДС 12% НСП 1% [17:46:42]line > о реализуемом товаре [17:46:42]line Товар: 8699367358996 [17:46:42]line Очиститель CARB [17:46:42]line 1.000 * 211.00 [17:46:42]line = 211.00 [17:46:42]line НДС 12% НСП 1% [17:46:42]line > о реализуемом товаре [17:46:42]line Товар: 4607015235777 [17:46:42]line Печ. сд. Яшкино вишня 137г [17:46:42]line 1.000 * 79.00 [17:46:42]line = 79.00 [17:46:42]line НДС 12% НСП 1% [17:46:42]line > о реализуемом товаре [17:46:42]line Товар: 4870112002768 [17:46:42]line Печенье Biskrem 100г [17:46:42]line 4.000 * 59.00 [17:46:42]line = 236.00 [17:46:42]line НДС 12% НСП 1% [17:46:42]line > о реализуемом товаре [17:46:42]line Товар: 5906534941503 [17:46:42]line Присадка Антигель для дизельного топлива [17:46:42]line 1.000 * 855.00 [17:46:42]line = 855.00 [17:46:42]line НДС 12% НСП 1% [17:46:42]line > о реализуемом товаре [17:46:42]line Товар: 8809010072357 [17:46:42]line Салфетка NEW KUMO микрофиб желтая [17:46:42]line 2.000 * 173.00 [17:46:42]line = 346.00 [17:46:42]line НДС 12% НСП 1% [17:46:42]line > о реализуемом товаре [17:46:42]line ИТОГО: 1897.00 [17:46:42]line НСП 1% : 16.79 [17:46:42]line НДС 12% : 201.45 [17:46:42]line Наличными: 1897.00 [17:46:42]line Безнал.: 0.00 [17:46:42]line Место: АЗС № 15 "Партнер Нефть" [17:46:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:46:42]line СНО: Общий режим [17:46:42]line Чек 7 13.03.2024 17:47 [17:46:42]line Смена: 316 ФФД: 1.0 [17:46:42]line ЗНМ: 0300000097 [17:46:42]line РНМ: 0000000000092018 [17:46:42]line Версия ККМ: 001 [17:46:42]line ФМ: 0000000000871816 [17:46:42]line ФД: 47448 [17:46:42]line ФПД: 245971961951609 [17:46:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174701&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47448&fm=245971961951609&tin=02508201610067®Number=0000000000092018&sum=189700 [17:46:42]line 0 [17:46:42]written 0, free lines is 4095 [17:46:42]OFD Sender: Processing packet 47448 [packets to send 8, broken 7] [17:46:42]ProducePacketName [17:46:42]name=ofd_packets/00047448 [17:46:42]OFD Sender: To server: pG, [17:46:42]CommunicateWithHost lk.salyk.kg:30040 [17:46:42]ConnectInit lk.salyk.kg [17:46:42]Connected sock=10 [17:46:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 71 03 00 00 01 3E 69 03 2F 1C 5A 03 01 00 03 00 5D 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 52 00 00 00 00 13 04 06 00 6C 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 35 39 30 36 35 33 34 39 34 31 35 30 33 06 04 4C 00 D0 9F D1 80 D0 B8 D1 81 D0 B0 D0 B4 D0 BA D0 B0 20 D0 90 D0 BD D1 82 D0 B8 D0 B3 D0 B5 D0 BB D1 8C 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B8 D0 B7 D0 B5 D0 BB D1 8C D0 BD D0 BE D0 B3 D0 BE 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 4D 01 00 00 00 13 04 06 00 FC 4D 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 37 32 33 35 37 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 43 00 00 00 00 13 04 06 00 28 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 E5 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 4E 00 00 00 00 07 04 06 00 04 E5 02 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 95 E6 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 58 B9 00 00 35 04 06 00 DF B5 CF 6A B5 79 26 82 A7 AF 98 5E 4F 9B [17:46:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 8C 35 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 31 38 31 36 10 04 04 00 58 B9 00 00 F4 03 04 00 24 91 F1 65 B6 04 01 00 00 F2 5C CA 97 30 18 13 95 [17:46:42]CommunicateWithHost err = 0 [17:46:42]CheckOFDResponse [17:46:42]1017 (14) - 77093643461234 [17:46:42]1041 (16) - 0000000000871816 [17:46:42]1040 (4) - 47448 [17:46:42]1012 (4) - 13.03.2024 11:42 [17:46:42]1206 (1) - 0 [17:46:42]OFD Sender: Remove packet 47448 [17:46:42]ProducePacketName [17:46:42]name=ofd_packets/00047448 [17:46:42]NVStorageDeleteData [17:46:43]Write to MH i2c: 01 00 00 11 76 87 [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: 01 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: 01 07 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: 01 07 00 11 76 00 00 00 00 00 2D 0B C6 [17:46:43]RasterBufferAndPrint [17:46:43]line [17:46:43]line [17:46:43]line [17:46:43]line [17:46:43]line [17:46:43]written 0, free lines is 2871 [17:46:43]MH_Cut [17:46:43]Write to MH i2c: D1 01 00 18 76 01 60 [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: D1 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: D1 01 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: D1 01 00 18 76 00 5F [17:46:43]Write to MH i2c: 01 00 00 19 76 8F [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]OFD Sender: No OFD packet to send [17:46:44]*** Cut start [17:46:44]*** Purtial cut [17:46:44]*** Stage 1: CUTSNS_PIN = 1 [17:46:44]Read from MH i2c: 01 [17:46:44]MH_I2C_Read... [17:46:44]*** Stop cut motor [17:46:44]*** Cut end [17:46:44]Read from MH i2c: 01 07 00 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: 01 07 00 19 76 00 00 00 00 00 FF 0F A4 [17:46:44]process_action close_receipt done [17:46:44]requested_data is exist [17:46:44]produce_requested_data [17:46:44]requested_item fm.sn is exist - process it [17:46:44]wFMCommunicate request_size=4 [17:46:44]MH_SAM_APDU [17:46:44]CAPDU: 80 11 00 00 [17:46:44]Write to MH i2c: E2 08 00 1A 76 80 11 00 00 00 00 00 00 0A [17:46:44]Write i2c OK [17:46:44]MH_I2C_Read... [17:46:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:44]Read from MH i2c: E2 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: E2 17 00 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: E2 17 00 1A 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5C [17:46:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:46:44]wFMCommunicate OK [17:46:44]requested_item fd.num is exist - process it [17:46:44]SAM_PROTO_GetFieldsCounters [17:46:44]wFMCommunicate request_size=4 [17:46:44]MH_SAM_APDU [17:46:44]CAPDU: 80 13 00 00 [17:46:44]Write to MH i2c: E2 08 00 1B 76 80 13 00 00 00 00 00 00 0D [17:46:44]Write i2c OK [17:46:44]MH_I2C_Read... [17:46:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:46:44]Read from MH i2c: E2 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: E2 62 00 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: E2 62 00 1B 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 58 B9 00 00 0E 04 04 00 3C 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 8B [17:46:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 58 B9 00 00 0E 04 04 00 3C 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:46:44]wFMCommunicate OK [17:46:44]SAM_PROTO_GetFieldsCounters done [17:46:44]requested_item shift.num is exist - process it [17:46:44]requested_item shift.opened is exist - process it [17:46:44]req_shift_opened [17:46:44]FM_GetShiftState [17:46:44]SAM_PROTO_GetShiftState [17:46:44]wFMCommunicate request_size=4 [17:46:44]MH_SAM_APDU [17:46:44]CAPDU: 80 13 01 00 [17:46:44]Write to MH i2c: E2 08 00 1C 76 80 13 01 00 00 00 00 00 0F [17:46:44]Write i2c OK [17:46:44]MH_I2C_Read... [17:46:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:44]Read from MH i2c: E2 [17:46:44]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 0E 00 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 0E 00 1C 76 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 2C [17:46:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:46:45]wFMCommunicate OK [17:46:45]SAM_PROTO_GetShiftState done [17:46:45]FM_GetShiftState done [17:46:45]req_shift_opened done [17:46:45]requested_item shift.open_date is exist - process it [17:46:45]req_shift_open_date [17:46:45]req_shift_open_date done [17:46:45]produce_requested_data done [17:46:45]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47448,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:46:45]process_action_free close_receipt [17:46:45]json_value_free [17:46:45]json_value_free done [17:46:45]process_json_proto returns [17:46:45]Send response to host [17:46:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47448,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:46:45]free response buf [17:46:45]execute_script done [17:46:45]execute_script returns [17:46:45]free content buf [17:46:45]Sock 7.Close socket [17:46:45]Sock 7.Thread stoped [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:56]accept exits with 9 [17:49:56]New connection [17:49:56]New thread 3066596708 created [17:49:56]Thread 3066453348 joined [17:49:56]Waiting for new connection... [17:49:56] Sock 9.Parse request [17:49:56]Sock 9.Check first char [17:49:56]Sock 9.First char is OK [17:49:56]request: POST /json_proto HTTP/1.0 [17:49:56]Method: POST [17:49:56]URL: /json_proto [17:49:56]Method is POST - this is cgi request [17:49:56]url: /json_proto [17:49:56]query_string will be loaded in cgi processing [17:49:56]execute_cgi json_proto POST (null) [17:49:56]execute_cgi path=json_proto method=POST [17:49:56]POST find Content-Length [17:49:56]Host: 172.17.32.68:8080 [17:49:56]Content-Length: 3335 [17:49:56]Content-Type: application/json [17:49:56] [17:49:56]POST finish read [17:49:56]Found Content-Length = 3335 [17:49:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242358", "tax_sys" : 0, "items" : [ { "code": "4610080727818", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Pamperino kids 8\u0448\u0442", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 10.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000134912", "name": "\u0425ежим Чек 7 13.03.2024 17:47 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47448 ФПД: 245971961951609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174701&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47448&fm=245971961951609&tin=02508201610067®Number=0000000000092018&sum=189700 0 tps: [17:49:56]execute_script... [17:49: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)242358", "tax_sys" : 0, "items" : [ { "code": "4610080727818", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Pamperino kids 8\u0448\u0442", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 10.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000134912", "name": "\u0425ежим Чек 7 13.03.2024 17:47 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47448 ФПД: 245971961951609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T174701&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47448&fm=245971961951609&tin=02508201610067®Number=0000000000092018&sum=189700 0 tps: [17:49:57]POST & json_proto [17:49:57]process_json_proto [17:49:57]json parse error [17:49:57]process_json_proto returns [17:49:57]execute_script returns [17:49:57]free content buf [17:49:57]Sock 9.Close socket [17:49:57]Sock 9.Thread stoped [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:31]accept exits with 7 [17:56:31]New connection [17:56:31]New thread 3066453348 created [17:56:31]Thread 3066596708 joined [17:56:31]Waiting for new connection... [17:56:31] Sock 7.Parse request [17:56:31]Sock 7.Check first char [17:56:31]Sock 7.First char is OK [17:56:31]request: POST /json_proto HTTP/1.0 [17:56:31]Method: POST [17:56:31]URL: /json_proto [17:56:31]Method is POST - this is cgi request [17:56:31]url: /json_proto [17:56:31]query_string will be loaded in cgi processing [17:56:31]execute_cgi json_proto POST (null) [17:56:31]execute_cgi path=json_proto method=POST [17:56:31]POST find Content-Length [17:56:31]Host: 172.17.32.68:8080 [17:56:31]Content-Length: 215 [17:56:31]Content-Type: application/json [17:56:31] [17:56:31]POST finish read [17:56:31]Found Content-Length = 215 [17:56:31]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:56:31]execute_script... [17:56:31]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:56:31]POST & json_proto [17:56:31]process_json_proto [17:56:31]json parsed OK: [17:56:31]protocol is kg_v1.0 [17:56:31]action value=get_value [17:56:31]process_action get_value [17:56:31]cmd_get_value [17:56:31]process_action get_value done [17:56:31]requested_data is exist [17:56:31]produce_requested_data [17:56:31]requested_item kkm.sn is exist - process it [17:56:31]requested_item kkm.ver is exist - process it [17:56:31]requested_item fm.sn is exist - process it [17:56:31]wFMCommunicate request_size=4 [17:56:31]MH_SAM_APDU [17:56:31]CAPDU: 80 11 00 00 [17:56:31]Write to MH i2c: E2 08 00 1D 76 80 11 00 00 00 00 00 00 0D [17:56:31]Write i2c OK [17:56:31]MH_I2C_Read... [17:56:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:31]Read from MH i2c: E2 [17:56:31]MH_I2C_Read... [17:56:31]Read from MH i2c: E2 17 00 [17:56:31]MH_I2C_Read... [17:56:31]Read from MH i2c: E2 17 00 1D 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5F [17:56:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:56:31]wFMCommunicate OK [17:56:31]requested_item fd.num is exist - process it [17:56:31]SAM_PROTO_GetFieldsCounters [17:56:31]wFMCommunicate request_size=4 [17:56:31]MH_SAM_APDU [17:56:31]CAPDU: 80 13 00 00 [17:56:31]Write to MH i2c: E2 08 00 1E 76 80 13 00 00 00 00 00 00 10 [17:56:31]Write i2c OK [17:56:31]MH_I2C_Read... [17:56:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:31]Read from MH i2c: E2 [17:56:31]MH_I2C_Read... [17:56:31]Read from MH i2c: E2 62 00 [17:56:31]MH_I2C_Read... [17:56:31]Read from MH i2c: E2 62 00 1E 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 58 B9 00 00 0E 04 04 00 3C 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 8E [17:56:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 58 B9 00 00 0E 04 04 00 3C 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:56:31]wFMCommunicate OK [17:56:31]SAM_PROTO_GetFieldsCounters done [17:56:31]requested_item shift.num is exist - process it [17:56:31]requested_item shift.opened is exist - process it [17:56:31]req_shift_opened [17:56:31]FM_GetShiftState [17:56:31]SAM_PROTO_GetShiftState [17:56:31]wFMCommunicate request_size=4 [17:56:31]MH_SAM_APDU [17:56:31]CAPDU: 80 13 01 00 [17:56:31]Write to MH i2c: E2 08 00 1F 76 80 13 01 00 00 00 00 00 12 [17:56:31]Write i2c OK [17:56:31]MH_I2C_Read... [17:56:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:31]Read from MH i2c: E2 [17:56:31]MH_I2C_Read... [17:56:31]Read from MH i2c: E2 0E 00 [17:56:31]MH_I2C_Read... [17:56:31]Read from MH i2c: E2 0E 00 1F 76 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 2F [17:56:31]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:56:31]wFMCommunicate OK [17:56:31]SAM_PROTO_GetShiftState done [17:56:31]FM_GetShiftState done [17:56:31]req_shift_opened done [17:56:31]requested_item shift.open_date is exist - process it [17:56:31]req_shift_open_date [17:56:31]req_shift_open_date done [17:56:31]produce_requested_data done [17:56:31]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47448,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:56:31]process_action_free get_value [17:56:31]json_value_free [17:56:31]json_value_free done [17:56:31]process_json_proto returns [17:56:31]Send response to host [17:56:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47448,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:56:31]free response buf [17:56:31]execute_script done [17:56:31]execute_script returns [17:56:31]free content buf [17:56:31]Sock 7.Close socket [17:56:31]Sock 7.Thread stoped [17:56:31]accept exits with 9 [17:56:31]New connection [17:56:31]New thread 3066596708 created [17:56:31]Thread 3066453348 joined [17:56:31]Waiting for new connection... [17:56:31] Sock 9.Parse request [17:56:31]Sock 9.Check first char [17:56:31]Sock 9.First char is OK [17:56:31]request: POST /json_proto HTTP/1.0 [17:56:31]Method: POST [17:56:31]URL: /json_proto [17:56:31]Method is POST - this is cgi request [17:56:31]url: /json_proto [17:56:31]query_string will be loaded in cgi processing [17:56:31]execute_cgi json_proto POST (null) [17:56:31]execute_cgi path=json_proto method=POST [17:56:31]POST find Content-Length [17:56:31]Host: 172.17.32.68:8080 [17:56:31]Content-Length: 331 [17:56:31]Content-Type: application/json [17:56:31] [17:56:31]POST finish read [17:56:31]Found Content-Length = 331 [17:56:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:56:31]execute_script... [17:56:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:56:31]POST & json_proto [17:56:31]process_json_proto [17:56:31]json parsed OK: [17:56:31]protocol is kg_v1.0 [17:56:31]action value=get_value [17:56:31]process_action get_value [17:56:31]cmd_get_value [17:56:31]process_action get_value done [17:56:31]requested_data is exist [17:56:31]produce_requested_data [17:56:31]requested_item fm.sale.total is exist - process it [17:56:31]SAM_PROTO_GetFMData [17:56:31]wFMCommunicate request_size=4 [17:56:31]MH_SAM_APDU [17:56:31]CAPDU: 80 13 03 00 [17:56:31]Write to MH i2c: E2 08 00 20 76 80 13 03 00 00 00 00 00 15 [17:56:31]Write i2c OK [17:56:31]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 20 76 00 C1 04 85 04 BD 04 6E 04 04 00 DF B6 00 00 69 04 A0 00 6F 04 04 00 B6 B5 00 00 B1 04 04 00 9B 15 25 30 70 04 04 00 B4 44 34 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 AB D4 1C 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D1 FD 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 BE [17:56:32]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 DF B6 00 00 69 04 A0 00 6F 04 04 00 B6 B5 00 00 B1 04 04 00 9B 15 25 30 70 04 04 00 B4 44 34 28 72 04 04 00 E7 D0 F0 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 AB D4 1C 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D1 FD 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 17 00 00 [17:56:32]Write to MH i2c: E2 08 00 21 76 80 17 00 00 00 00 00 00 17 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 21 76 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 90 [17:56:32]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 17 00 00 [17:56:32]Write to MH i2c: E2 08 00 22 76 80 17 00 00 00 00 00 00 18 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 22 76 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 B8 [17:56:32]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 17 00 00 [17:56:32]Write to MH i2c: E2 08 00 23 76 80 17 00 00 00 00 00 00 19 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 FD 00 23 76 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 9E [17:56:32]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 17 00 00 [17:56:32]Write to MH i2c: E2 08 00 24 76 80 17 00 00 00 00 00 00 1A [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [17:56:33]Read from MH i2c: E2 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: E2 DE 00 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: E2 DE 00 24 76 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F9 [17:56:33]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:56:33]wFMCommunicate OK [17:56:33]SAM_PROTO_GetFMData done [17:56:33]requested_item fm.sale_refund.total is exist - process it [17:56:33]requested_item fm.buy.total is exist - process it [17:56:33]requested_item shift.sale.total is exist - process it [17:56:33]SAM_PROTO_GetShiftData [17:56:33]wFMCommunicate request_size=4 [17:56:33]MH_SAM_APDU [17:56:33]CAPDU: 80 13 02 00 [17:56:33]Write to MH i2c: E2 08 00 25 76 80 13 02 00 00 00 00 00 19 [17:56:33]Write i2c OK [17:56:33]MH_I2C_Read... [17:56:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:56:33]Read from MH i2c: E2 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: E2 FD 00 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: E2 FD 00 25 76 00 AB 04 AA 04 A7 04 6E 04 04 00 07 00 00 00 69 04 98 00 6F 04 04 00 07 00 00 00 B1 04 03 00 80 B1 0A 70 04 03 00 80 B1 0A 72 04 00 00 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 B3 22 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 37 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 7A [17:56:33]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 07 00 00 00 69 04 98 00 6F 04 04 00 07 00 00 00 B1 04 03 00 80 B1 0A 70 04 03 00 80 B1 0A 72 04 00 00 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 B3 22 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 37 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [17:56:33]wFMCommunicate OK [17:56:33]wFMCommunicate request_size=4 [17:56:33]MH_SAM_APDU [17:56:33]CAPDU: 80 17 00 00 [17:56:33]Write to MH i2c: E2 08 00 26 76 80 17 00 00 00 00 00 00 1C [17:56:33]Write i2c OK [17:56:33]MH_I2C_Read... [17:56:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:56:33]Read from MH i2c: E2 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: E2 FD 00 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: E2 FD 00 26 76 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 31 [17:56:33]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [17:56:33]wFMCommunicate OK [17:56:33]wFMCommunicate request_size=4 [17:56:33]MH_SAM_APDU [17:56:33]CAPDU: 80 17 00 00 [17:56:33]Write to MH i2c: E2 08 00 27 76 80 17 00 00 00 00 00 00 1D [17:56:33]Write i2c OK [17:56:33]MH_I2C_Read... [17:56:33]OFD Sender: No OFD packet to send [17:56:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:56:34]Read from MH i2c: E2 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 FD 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 FD 00 27 76 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 CD [17:56:34]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [17:56:34]wFMCommunicate OK [17:56:34]wFMCommunicate request_size=4 [17:56:34]MH_SAM_APDU [17:56:34]CAPDU: 80 17 00 00 [17:56:34]Write to MH i2c: E2 08 00 28 76 80 17 00 00 00 00 00 00 1E [17:56:34]Write i2c OK [17:56:34]MH_I2C_Read... [17:56:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:56:34]Read from MH i2c: E2 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 FD 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 FD 00 28 76 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 A4 [17:56:34]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [17:56:34]wFMCommunicate OK [17:56:34]wFMCommunicate request_size=4 [17:56:34]MH_SAM_APDU [17:56:34]CAPDU: 80 17 00 00 [17:56:34]Write to MH i2c: E2 08 00 29 76 80 17 00 00 00 00 00 00 1F [17:56:34]Write i2c OK [17:56:34]MH_I2C_Read... [17:56:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [17:56:34]Read from MH i2c: E2 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 C8 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 C8 00 29 76 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 02 [17:56:34]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:56:34]wFMCommunicate OK [17:56:34]SAM_PROTO_GetShiftData done [17:56:34]requested_item shift.sale.total_cash is exist - process it [17:56:34]requested_item shift.sale_refund.total is exist - process it [17:56:34]requested_item shift.sale_refund.total_cash is exist - process it [17:56:34]requested_item shift.buy.total is exist - process it [17:56:34]requested_item shift.buy.total_cash is exist - process it [17:56:34]produce_requested_data done [17:56:34]produce_requested_data return {"fm.sale.total":8077367.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":7008.00,"shift.sale.total_cash":7008.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:56:34]process_action_free get_value [17:56:34]json_value_free [17:56:34]json_value_free done [17:56:34]process_json_proto returns [17:56:34]Send response to host [17:56:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8077367.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":7008.00,"shift.sale.total_cash":7008.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:56:34]free response buf [17:56:34]execute_script done [17:56:34]execute_script returns [17:56:34]free content buf [17:56:34]Sock 9.Close socket [17:56:34]Sock 9.Thread stoped [17:56:37]accept exits with 7 [17:56:37]New connection [17:56:37]New thread 3066453348 created [17:56:37]Thread 3066596708 joined [17:56:37]Waiting for new connection... [17:56:37] Sock 7.Parse request [17:56:37]Sock 7.Check first char [17:56:37]Sock 7.First char is OK [17:56:37]request: POST /json_proto HTTP/1.0 [17:56:37]Method: POST [17:56:37]URL: /json_proto [17:56:37]Method is POST - this is cgi request [17:56:37]url: /json_proto [17:56:37]query_string will be loaded in cgi processing [17:56:37]execute_cgi json_proto POST (null) [17:56:37]execute_cgi path=json_proto method=POST [17:56:37]POST find Content-Length [17:56:37]Host: 172.17.32.68:8080 [17:56:37]Content-Length: 3335 [17:56:37]Content-Type: application/json [17:56:37] [17:56:37]POST finish read [17:56:37]Found Content-Length = 3335 [17:56:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242358", "tax_sys" : 0, "items" : [ { "code": "4610080727818", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Pamperino kids 8\u0448\u0442", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 10.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000134912", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 0,33 \u0436/\u0431", "price" : 77.00, "quantity" : 2.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010407", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u044F\u0431\u043B \u0448\u0438\u043F\u043E\u0432\u043D\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 960.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:37]execute_script... [17:56: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)242358", "tax_sys" : 0, "items" : [ { "code": "4610080727818", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Pamperino kids 8\u0448\u0442", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 10.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000134912", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 0,33 \u0436/\u0431", "price" : 77.00, "quantity" : 2.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010407", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u044F\u0431\u043B \u0448\u0438\u043F\u043E\u0432\u043D\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 960.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:38]POST & json_proto [17:56:38]process_json_proto [17:56:38]json parsed OK: [17:56:38]protocol is kg_v1.0 [17:56:38]action value=close_receipt [17:56:38]process_action close_receipt [17:56:38]cmd_close_receipt [17:56:38]MH_GetDate [17:56:38]Write to MH i2c: F0 00 00 2A 76 8F [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: F0 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: F0 09 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: F0 09 00 2A 76 00 EC E8 F1 65 0A 64 6E 65 03 [17:56:38]GetLastDocTimeStamp 1710352021 [17:56:38]current date 1710352620 [17:56:38]FM_GetShiftState [17:56:38]SAM_PROTO_GetShiftState [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 13 01 00 [17:56:38]Write to MH i2c: E2 08 00 2B 76 80 13 01 00 00 00 00 00 1E [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 0E 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 0E 00 2B 76 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 3B [17:56:38]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:56:38]wFMCommunicate OK [17:56:38]SAM_PROTO_GetShiftState done [17:56:38]FM_GetShiftState done [17:56:38]opened in 1710338059 [17:56:38]opened+sec_in_day 1710424459 [17:56:38]quantity*price = 5000 [17:56:38]sum+1 = 5001 [17:56:38]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700041420152 Салфетки влажн BEST GOLD 20шт 1.000 * 51.00 = 51.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400358 Семечки ДЖИНН 70г 2.000 * 70.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 10.000 * 15.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000134912 Холодный чай Fuse манго,ромашка 0,33 ж/б 2.000 * 77.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189318 Холодный чай Fuse лимон 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189349 Холодный чай Fuse манго ананас 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189325 Холодный чай Fuse персик 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010032 Чай хол Let`s Go! чер персик ПЭТ 0,5л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010407 Чай хол Let`s Go! ябл шиповник ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 960.00 НСП 1% : 8.48 НДС 12% : 101.94 Наличными: 960.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 8 13.03.2024 17:57 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47449 ФПД: 231451352172390 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T175700&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47449&fm=231451352172390&tin=02508201610067®Number=0000000000092018&sum=96000 0 [17:56:40]StoreToDocumentArchive [17:56:40]shift 316 fd 47449 [17:56:40]save to /storage/0316/doc_00047449 [17:56:40]save last doc name /storage/0316/doc_00047449 to /storage/kkm_last_doc_name [17:56:40]save OK [17:56:40]Clear old archive folders... [17:56:40]ProcessDocumentItem done err = 0, tmpTLVsize=1379 [17:56:40]tlvbuf is 002836A0 [17:56:40]SAM_PROTO_ClearQueue [17:56:40]wFMCommunicate request_size=4 [17:56:40]MH_SAM_APDU [17:56:40]CAPDU: 80 09 00 00 [17:56:40]Write to MH i2c: E2 08 00 38 76 80 09 00 00 00 00 00 00 20 [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:40]Read from MH i2c: E2 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 38 76 00 90 00 22 [17:56:40]RAPDU: 90 00 [17:56:40]wFMCommunicate OK [17:56:40]SAM_PROTO_ClearQueue done [17:56:40]KKMCreateOFDPacket [17:56:40]OFDProtocolAddRootSTLVToBuf [17:56:40]FM_MakeSignedData [17:56:40]FM_MakeSignedData [17:56:40]SAM_PROTO_SignData [17:56:40]wFMCommunicate request_size=4 [17:56:40]MH_SAM_APDU [17:56:40]CAPDU: 80 0D 01 02 [17:56:40]Write to MH i2c: E2 08 00 39 76 80 0D 01 02 00 00 00 00 28 [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:40]Read from MH i2c: E2 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 39 76 00 90 00 23 [17:56:40]RAPDU: 90 00 [17:56:40]wFMCommunicate OK [17:56:40]wFMCommunicate request_size=255 [17:56:40]MH_SAM_APDU [17:56:40]CAPDU: 80 0D 02 02 FA 03 00 63 05 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 31 30 30 38 30 37 32 37 38 31 38 06 04 25 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 50 61 6D 70 65 72 69 6E 6F 20 6B 69 64 73 20 38 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 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 33 30 30 30 37 34 [17:56:40]Write to MH i2c: E2 02 01 3A 76 80 0D 02 02 FA 00 03 00 63 05 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 31 30 30 38 30 37 32 37 38 31 38 06 04 25 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 50 61 6D 70 65 72 69 6E 6F 20 6B 69 64 73 20 38 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 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 33 30 30 30 37 34 00 00 56 [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:40]Read from MH i2c: E2 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 3A 76 00 90 00 24 [17:56:40]RAPDU: 90 00 [17:56:40]wFMCommunicate OK [17:56:40]wFMCommunicate request_size=255 [17:56:40]MH_SAM_APDU [17:56:40]CAPDU: 80 0D 02 02 FA 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 DC 05 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 85 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 34 39 31 32 06 04 41 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 [17:56:40]Write to MH i2c: E2 02 01 3B 76 80 0D 02 02 FA 00 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 DC 05 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 85 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 34 39 31 32 06 04 41 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 00 00 D3 [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:40]Read from MH i2c: E2 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 03 00 3B 76 00 90 00 25 [17:56:40]RAPDU: 90 00 [17:56:40]wFMCommunicate OK [17:56:40]wFMCommunicate request_size=255 [17:56:40]MH_SAM_APDU [17:56:40]CAPDU: 80 0D 02 02 FA D0 B0 D0 B9 20 46 75 73 65 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 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 [17:56:40]Write to MH i2c: E2 02 01 3C 76 80 0D 02 02 FA 00 D0 B0 D0 B9 20 46 75 73 65 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 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 00 00 6F [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 3C 76 00 90 00 26 [17:56:41]RAPDU: 90 00 [17:56:41]wFMCommunicate OK [17:56:41]wFMCommunicate request_size=255 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 0D 02 02 FA D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 [17:56:41]Write to MH i2c: E2 02 01 3D 76 80 0D 02 02 FA 00 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 00 00 33 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 3D 76 00 90 00 27 [17:56:41]RAPDU: 90 00 [17:56:41]wFMCommunicate OK [17:56:41]wFMCommunicate request_size=255 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 0D 02 02 FA 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 81 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 30 37 06 04 3D 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 8F D0 B1 D0 BB 20 D1 88 D0 B8 D0 BF D0 BE D0 B2 D0 BD D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 77 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 [17:56:41]Write to MH i2c: E2 02 01 3E 76 80 0D 02 02 FA 00 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 81 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 30 37 06 04 3D 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 8F D0 B1 D0 BB 20 D1 88 D0 B8 D0 BF D0 BE D0 B2 D0 BD D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 77 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 00 14 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 3E 76 00 90 00 28 [17:56:41]RAPDU: 90 00 [17:56:41]wFMCommunicate OK [17:56:41]wFMCommunicate request_size=138 [17:56:42]MH_SAM_APDU [17:56:42]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 27 00 00 00 00 07 04 06 00 00 77 01 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 EC E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 59 B9 00 00 35 04 06 00 D2 80 F7 A1 07 66 [17:56:42]Write to MH i2c: E2 8D 00 3F 76 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 27 00 00 00 00 07 04 06 00 00 77 01 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 EC E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 59 B9 00 00 35 04 06 00 D2 80 F7 A1 07 66 00 00 A9 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 03 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 03 00 3F 76 00 90 00 29 [17:56:42]RAPDU: 90 00 [17:56:42]wFMCommunicate OK [17:56:42]wFMCommunicate request_size=4 [17:56:42]MH_SAM_APDU [17:56:42]CAPDU: 80 0D 03 02 [17:56:42]Write to MH i2c: E2 08 00 40 76 80 0D 03 02 00 00 00 00 31 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 0B 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 0B 00 40 76 00 FB 97 2C 31 62 37 63 D6 90 00 F3 [17:56:42]RAPDU: FB 97 2C 31 62 37 63 D6 90 00 [17:56:42]wFMCommunicate OK [17:56:42]SAM_PROTO_SignData done [17:56:42]FM_MakeSignedData done [17:56:42]CreateOFDProtocolMessage [17:56:42]wFMCommunicate request_size=4 [17:56:42]MH_SAM_APDU [17:56:42]CAPDU: 80 11 00 00 [17:56:42]Write to MH i2c: E2 08 00 41 76 80 11 00 00 00 00 00 00 31 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 17 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 17 00 41 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 83 [17:56:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:56:42]wFMCommunicate OK [17:56:42]CreateOFDProtocolMessage done [17:56:42]OFDSenderStorePacket 47449 [17:56:42]StoreOFDPacket docnum=47449 [17:56:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 77 05 00 00 A7 5E 6F 05 C8 2D 5A 03 01 00 03 00 63 05 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 31 30 30 38 30 37 32 37 38 31 38 06 04 25 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 50 61 6D 70 65 72 69 6E 6F 20 6B 69 64 73 20 38 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 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 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 DC 05 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 85 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 34 39 31 32 06 04 41 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 81 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 30 37 06 04 3D 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 8F D0 B1 D0 BB 20 D1 88 D0 B8 D0 BF D0 BE D0 B2 D0 BD D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 77 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 27 00 00 00 00 07 04 06 00 00 77 01 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 EC E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 59 B9 00 00 35 04 06 00 D2 80 F7 A1 07 66 FB 97 2C 31 62 37 63 D6 [17:56:42]CheckFolder [17:56:42]dirname=/storage/ofd_packets [17:56:42]CheckFolder done [17:56:42]ProducePacketName [17:56:42]name=ofd_packets/00047449 [17:56:42]NVStorageSaveData ofd_packets/00047449 [17:56:42]File name is /storage/ofd_packets/00047449 [17:56:42]Write 1429 bytes [17:56:42]NVStorageSaveData done [17:56:42]OFDSenderStorePacket done [17:56:42]KKMCreateOFDPacket done [17:56:42]NVStorageSaveData kkm_last_timestamp [17:56:42]File name is /storage/kkm_last_timestamp [17:56:42]Write 4 bytes [17:56:42]NVStorageSaveData done [17:56:42]ExternCall_PrintAddStr [17:56:42]wPrintStart [17:56:42]Write to MH i2c: 01 00 00 42 76 B8 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 07 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 07 00 42 76 00 00 00 00 00 FF 0F CD [17:56:42]RasterBufferAndPrint [17:56:42]line Счет N : (3)242358 [17:56:42]line ИНН: 02508201610067 [17:56:42]line Контрольно-Кассовый Чек [17:56:42]line ПРОДАЖА [17:56:42]line Товар: 4610080727818 [17:56:42]line Салфетки Pamperino kids 8шт [17:56:42]line 2.000 * 25.00 [17:56:42]line = 50.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 4700041420152 [17:56:42]line Салфетки влажн BEST GOLD 20шт [17:56:42]line 1.000 * 51.00 [17:56:42]line = 51.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 4630007400358 [17:56:42]line Семечки ДЖИНН 70г [17:56:42]line 2.000 * 70.00 [17:56:42]line = 140.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 4700000160013 [17:56:42]line Снек Курут индивидуальный [17:56:42]line 10.000 * 15.00 [17:56:42]line = 150.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 5449000134912 [17:56:42]line Холодный чай Fuse манго,ромашка 0,33 ж/б [17:56:42]line 2.000 * 77.00 [17:56:42]line = 154.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]OFD Sender: Processing packet 47449 [packets to send 8, broken 7] [17:56:42]ProducePacketName [17:56:42]name=ofd_packets/00047449 [17:56:42]OFD Sender: To server: pG, [17:56:42]CommunicateWithHost lk.salyk.kg:30040 [17:56:42]ConnectInit lk.salyk.kg [17:56:42]line Товар: 5449000189318 [17:56:42]line Холодный чай Fuse лимон 1л [17:56:42]line 1.000 * 120.00 [17:56:42]line = 120.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 5449000189349 [17:56:42]line Холодный чай Fuse манго ананас 0,5л [17:56:42]line 1.000 * 75.00 [17:56:42]line = 75.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 5449000189325 [17:56:42]line Холодный чай Fuse персик 0,5л [17:56:42]line 1.000 * 75.00 [17:56:42]line = 75.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 4700003010032 [17:56:42]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [17:56:42]line 1.000 * 50.00 [17:56:42]line = 50.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line Товар: 4700003010407 [17:56:42]line Чай хол Let`s Go! ябл шиповник ПЭТ 1,25л [17:56:42]line 1.000 * 95.00 [17:56:42]line = 95.00 [17:56:42]line НДС 12% НСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line ИТОГО: 960.00 [17:56:42]line НСП 1% : 8.48 [17:56:42]line НДС 12% : 101.94 [17:56:42]line Наличными: 960.00 [17:56:42]line Безнал.: 0.00 [17:56:42]line Место: АЗС № 15 "Партнер Нефть" [17:56:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:56:42]line СНО: Общий режим [17:56:42]line Чек 8 13.03.2024 17:57 [17:56:42]line Смена: 316 ФФД: 1.0 [17:56:42]line ЗНМ: 0300000097 [17:56:42]line РНМ: 0000000000092018 [17:56:42]line Версия ККМ: 001 [17:56:42]line ФМ: 0000000000871816 [17:56:42]line ФД: 47449 [17:56:42]line ФПД: 231451352172390 [17:56:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T175700&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47449&fm=231451352172390&tin=02508201610067®Number=0000000000092018&sum=96000 [17:56:42]line 0 [17:56:42]written 0, free lines is 4095 [17:56:42]Connected sock=10 [17:56:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 77 05 00 00 A7 5E 6F 05 C8 2D 5A 03 01 00 03 00 63 05 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 31 30 30 38 30 37 32 37 38 31 38 06 04 25 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 50 61 6D 70 65 72 69 6E 6F 20 6B 69 64 73 20 38 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 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 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 DC 05 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 85 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 34 39 31 32 06 04 41 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 81 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 30 37 06 04 3D 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 8F D0 B1 D0 BB 20 D1 88 D0 B8 D0 BF D0 BE D0 B2 D0 BD D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 77 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 27 00 00 00 00 07 04 06 00 00 77 01 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 EC E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 59 B9 00 00 35 04 06 00 D2 80 F7 A1 07 66 FB 97 2C 31 62 37 63 D6 [17:56:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 CB 99 47 00 3A C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 59 B9 00 00 F4 03 04 00 7D 93 F1 65 B6 04 01 00 00 C4 3F 51 6C E7 5E FC 99 [17:56:43]CommunicateWithHost err = 0 [17:56:43]CheckOFDResponse [17:56:43]1017 (14) - 77093643461234 [17:56:43]1041 (16) - 0000000000871816 [17:56:43]1040 (4) - 47449 [17:56:43]1012 (4) - 13.03.2024 11:52 [17:56:43]1206 (1) - 0 [17:56:43]OFD Sender: Remove packet 47449 [17:56:43]ProducePacketName [17:56:43]name=ofd_packets/00047449 [17:56:43]NVStorageDeleteData [17:56:43]Write to MH i2c: 01 00 00 A6 76 1C [17:56:43]Write i2c OK [17:56:43]MH_I2C_Read... [17:56:43]Read from MH i2c: 01 [17:56:43]MH_I2C_Read... [17:56:43]Read from MH i2c: 01 07 00 [17:56:43]MH_I2C_Read... [17:56:43]Read from MH i2c: 01 07 00 A6 76 00 00 00 00 00 45 09 71 [17:56:43]RasterBufferAndPrint [17:56:43]line [17:56:43]line [17:56:43]line [17:56:43]line [17:56:43]line [17:56:43]written 0, free lines is 2397 [17:56:43]MH_Cut [17:56:43]Write to MH i2c: D1 01 00 AD 76 01 F5 [17:56:43]Write i2c OK [17:56:43]MH_I2C_Read... [17:56:43]Read from MH i2c: D1 [17:56:43]MH_I2C_Read... [17:56:43]Read from MH i2c: D1 01 00 [17:56:43]MH_I2C_Read... [17:56:43]Read from MH i2c: D1 01 00 AD 76 00 F4 [17:56:43]Write to MH i2c: 01 00 00 AE 76 24 [17:56:43]Write i2c OK [17:56:43]MH_I2C_Read... [17:56:44]OFD Sender: No OFD packet to send [17:56:45]*** Cut start [17:56:45]*** Purtial cut [17:56:45]*** Stage 1: CUTSNS_PIN = 1 [17:56:45]Read from MH i2c: 01 [17:56:45]MH_I2C_Read... [17:56:45]*** Stop cut motor [17:56:45]*** Cut end [17:56:45]Read from MH i2c: 01 07 00 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: 01 07 00 AE 76 00 00 00 00 00 FF 0F 39 [17:56:45]process_action close_receipt done [17:56:45]requested_data is exist [17:56:45]produce_requested_data [17:56:45]requested_item fm.sn is exist - process it [17:56:45]wFMCommunicate request_size=4 [17:56:45]MH_SAM_APDU [17:56:45]CAPDU: 80 11 00 00 [17:56:45]Write to MH i2c: E2 08 00 AF 76 80 11 00 00 00 00 00 00 9F [17:56:45]Write i2c OK [17:56:45]MH_I2C_Read... [17:56:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:45]Read from MH i2c: E2 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: E2 17 00 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: E2 17 00 AF 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F1 [17:56:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:56:45]wFMCommunicate OK [17:56:45]requested_item fd.num is exist - process it [17:56:45]SAM_PROTO_GetFieldsCounters [17:56:45]wFMCommunicate request_size=4 [17:56:45]MH_SAM_APDU [17:56:45]CAPDU: 80 13 00 00 [17:56:45]Write to MH i2c: E2 08 00 B0 76 80 13 00 00 00 00 00 00 A2 [17:56:45]Write i2c OK [17:56:45]MH_I2C_Read... [17:56:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:45]Read from MH i2c: E2 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: E2 62 00 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: E2 62 00 B0 76 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 59 B9 00 00 0E 04 04 00 3C 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 24 [17:56:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 59 B9 00 00 0E 04 04 00 3C 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 [17:56:45]wFMCommunicate OK [17:56:45]SAM_PROTO_GetFieldsCounters done [17:56:45]requested_item shift.num is exist - process it [17:56:45]requested_item shift.opened is exist - process it [17:56:45]req_shift_opened [17:56:45]FM_GetShiftState [17:56:45]SAM_PROTO_GetShiftState [17:56:45]wFMCommunicate request_size=4 [17:56:45]MH_SAM_APDU [17:56:45]CAPDU: 80 13 01 00 [17:56:45]Write to MH i2c: E2 08 00 B1 76 80 13 01 00 00 00 00 00 A4 [17:56:45]Write i2c OK [17:56:45]MH_I2C_Read... [17:56:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:45]Read from MH i2c: E2 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: E2 0E 00 [17:56:45]MH_I2C_Read... [17:56:45]Read from MH i2c: E2 0E 00 B1 76 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 C1 [17:56:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:56:45]wFMCommunicate OK [17:56:45]SAM_PROTO_GetShiftState done [17:56:45]FM_GetShiftState done [17:56:45]req_shift_opened done [17:56:45]requested_item shift.open_date is exist - process it [17:56:45]req_shift_open_date [17:56:45]req_shift_open_date done [17:56:45]produce_requested_data done [17:56:45]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47449,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:56:45]process_action_free close_receipt [17:56:45]json_value_free [17:56:45]json_value_free done [17:56:45]process_json_proto returns [17:56:45]Send response to host [17:56:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47449,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:56:45]free response buf [17:56:45]execute_script done [17:56:45]execute_script returns [17:56:45]free content buf [17:56:45]Sock 7.Close socket [17:56:45]Sock 7.Thread stoped [17:56:47]accept exits with 9 [17:56:47]New connection [17:56:47]New thread 3066596708 created [17:56:47]Thread 3066453348 joined [17:56:47]Waiting for new connection... [17:56:47] Sock 9.Parse request [17:56:47]Sock 9.Check first char [17:56:47]Sock 9.First char is OK [17:56:47]request: POST /json_proto HTTP/1.0 [17:56:47]Method: POST [17:56:47]URL: /json_proto [17:56:47]Method is POST - this is cgi request [17:56:47]url: /json_proto [17:56:47]query_string will be loaded in cgi processing [17:56:47]execute_cgi json_proto POST (null) [17:56:47]execute_cgi path=json_proto method=POST [17:56:47]POST find Content-Length [17:56:47]Host: 172.17.32.68:8080 [17:56:47]Content-Length: 1296 [17:56:47]Content-Type: application/json [17:56:47] [17:56:47]POST finish read [17:56:47]Found Content-Length = 1296 [17:56:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242359", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 6.000, "sum" : 570.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600823143036", "name": "\u0428\u043E\u043A \u0411\u0430\u0431\u0430\u0435\u0432\u0441\u043A\u0438\u0439 20 \u0433 \u0433\u043E\u0440\u044C\u043A\u0438\u0439", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 4.000, "sum" : 236.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 845.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:47]execute_script... [17:56: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)242359", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 6.000, "sum" : 570.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600823143036", "name": "\u0428\u043E\u043A \u0411\u0430\u0431\u0430\u0435\u0432\u0441\u043A\u0438\u0439 20 \u0433 \u0433\u043E\u0440\u044C\u043A\u0438\u0439", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 4.000, "sum" : 236.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 845.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:47]POST & json_proto [17:56:47]process_json_proto [17:56:47]json parsed OK: [17:56:47]protocol is kg_v1.0 [17:56:47]action value=close_receipt [17:56:47]process_action close_receipt [17:56:47]cmd_close_receipt [17:56:47]MH_GetDate [17:56:47]Write to MH i2c: F0 00 00 B2 76 17 [17:56:47]Write i2c OK [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: F0 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: F0 09 00 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: F0 09 00 B2 76 00 F5 E8 F1 65 0A 64 6E 65 94 [17:56:47]GetLastDocTimeStamp 1710352620 [17:56:47]current date 1710352629 [17:56:47]FM_GetShiftState [17:56:47]SAM_PROTO_GetShiftState [17:56:47]wFMCommunicate request_size=4 [17:56:47]MH_SAM_APDU [17:56:47]CAPDU: 80 13 01 00 [17:56:47]Write to MH i2c: E2 08 00 B3 76 80 13 01 00 00 00 00 00 A6 [17:56:47]Write i2c OK [17:56:47]MH_I2C_Read... [17:56:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:47]Read from MH i2c: E2 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: E2 0E 00 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: E2 0E 00 B3 76 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 C3 [17:56:47]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:56:47]wFMCommunicate OK [17:56:47]SAM_PROTO_GetShiftState done [17:56:47]FM_GetShiftState done [17:56:47]opened in 1710338059 [17:56:47]opened+sec_in_day 1710424459 [17:56:47]quantity*price = 57000 [17:56:47]sum+1 = 57001 [17:56:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600823143036 Шок Бабаевский 20 г горький 1.000 * 39.00 = 39.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 4.000 * 59.00 = 236.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 845.00 НСП 1% : 7.47 НДС 12% : 89.73 Наличными: 845.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 9 13.03.2024 17:57 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47450 ФПД: 121047024909111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T175709&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47450&fm=121047024909111&tin=02508201610067®Number=0000000000092018&sum=84500 0 [17:56:49]StoreToDocumentArchive [17:56:49]shift 316 fd 47450 [17:56:49]save to /storage/0316/doc_00047450 [17:56:49]save last doc name /storage/0316/doc_00047450 to /storage/kkm_last_doc_name [17:56:49]save OK [17:56:49]Clear old archive folders... [17:56:49]ProcessDocumentItem done err = 0, tmpTLVsize=540 [17:56:49]tlvbuf is B6E6A630 [17:56:49]SAM_PROTO_ClearQueue [17:56:49]wFMCommunicate request_size=4 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 09 00 00 [17:56:49]Write to MH i2c: E2 08 00 C0 76 80 09 00 00 00 00 00 00 A8 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C0 76 00 90 00 AA [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]SAM_PROTO_ClearQueue done [17:56:49]KKMCreateOFDPacket [17:56:49]OFDProtocolAddRootSTLVToBuf [17:56:49]FM_MakeSignedData [17:56:49]FM_MakeSignedData [17:56:49]SAM_PROTO_SignData [17:56:49]wFMCommunicate request_size=4 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 0D 01 02 [17:56:49]Write to MH i2c: E2 08 00 C1 76 80 0D 01 02 00 00 00 00 B0 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C1 76 00 90 00 AB [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]wFMCommunicate request_size=255 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 0D 02 02 FA 03 00 1C 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 A8 DE 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 38 32 33 31 34 33 30 33 36 06 04 30 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D0 B1 D0 B0 D0 B5 D0 B2 D1 81 D0 BA D0 B8 D0 B9 20 32 30 20 D0 B3 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 [17:56:49]Write to MH i2c: E2 02 01 C2 76 80 0D 02 02 FA 00 03 00 1C 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 A8 DE 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 38 32 33 31 34 33 30 33 36 06 04 30 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D0 B1 D0 B0 D0 B5 D0 B2 D1 81 D0 BA D0 B8 D0 B9 20 32 30 20 D0 B3 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 C8 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C2 76 00 90 00 AC [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]wFMCommunicate request_size=255 [17:56:49]MH_SAM_APDU [17:56:49]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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 4A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 23 00 00 00 00 07 04 06 00 14 4A 01 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 F5 E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [17:56:49]Write to MH i2c: E2 02 01 C3 76 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 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 4A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 23 00 00 00 00 07 04 06 00 14 4A 01 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 F5 E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 E6 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 03 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 03 00 C3 76 00 90 00 AD [17:56:50]RAPDU: 90 00 [17:56:50]wFMCommunicate OK [17:56:50]wFMCommunicate request_size=49 [17:56:50]MH_SAM_APDU [17:56:50]CAPDU: 80 0D 02 02 2C 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5A B9 00 00 35 04 06 00 6E 17 74 EB BB 37 [17:56:50]Write to MH i2c: E2 34 00 C4 76 80 0D 02 02 2C 00 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5A B9 00 00 35 04 06 00 6E 17 74 EB BB 37 00 00 C4 [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 03 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 03 00 C4 76 00 90 00 AE [17:56:50]RAPDU: 90 00 [17:56:50]wFMCommunicate OK [17:56:50]wFMCommunicate request_size=4 [17:56:50]MH_SAM_APDU [17:56:50]CAPDU: 80 0D 03 02 [17:56:50]Write to MH i2c: E2 08 00 C5 76 80 0D 03 02 00 00 00 00 B6 [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 0B 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 0B 00 C5 76 00 6B F5 BE 0C AE 84 24 F2 90 00 29 [17:56:50]RAPDU: 6B F5 BE 0C AE 84 24 F2 90 00 [17:56:50]wFMCommunicate OK [17:56:50]SAM_PROTO_SignData done [17:56:50]FM_MakeSignedData done [17:56:50]CreateOFDProtocolMessage [17:56:50]wFMCommunicate request_size=4 [17:56:50]MH_SAM_APDU [17:56:50]CAPDU: 80 11 00 00 [17:56:50]Write to MH i2c: E2 08 00 C6 76 80 11 00 00 00 00 00 00 B6 [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 17 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 17 00 C6 76 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 08 [17:56:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:56:50]wFMCommunicate OK [17:56:50]CreateOFDProtocolMessage done [17:56:50]OFDSenderStorePacket 47450 [17:56:50]StoreOFDPacket docnum=47450 [17:56:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 30 02 00 00 2F F9 28 02 06 41 5A 03 01 00 03 00 1C 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 A8 DE 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 38 32 33 31 34 33 30 33 36 06 04 30 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D0 B1 D0 B0 D0 B5 D0 B2 D1 81 D0 BA D0 B8 D0 B9 20 32 30 20 D0 B3 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 4A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 23 00 00 00 00 07 04 06 00 14 4A 01 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 F5 E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5A B9 00 00 35 04 06 00 6E 17 74 EB BB 37 6B F5 BE 0C AE 84 24 F2 [17:56:50]CheckFolder [17:56:50]dirname=/storage/ofd_packets [17:56:50]CheckFolder done [17:56:50]ProducePacketName [17:56:50]name=ofd_packets/00047450 [17:56:50]NVStorageSaveData ofd_packets/00047450 [17:56:50]File name is /storage/ofd_packets/00047450 [17:56:50]Write 590 bytes [17:56:50]NVStorageSaveData done [17:56:50]OFDSenderStorePacket done [17:56:50]KKMCreateOFDPacket done [17:56:50]NVStorageSaveData kkm_last_timestamp [17:56:50]File name is /storage/kkm_last_timestamp [17:56:50]Write 4 bytes [17:56:50]NVStorageSaveData done [17:56:50]ExternCall_PrintAddStr [17:56:50]wPrintStart [17:56:50]Write to MH i2c: 01 00 00 C7 76 3D [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: 01 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: 01 07 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: 01 07 00 C7 76 00 00 00 00 00 FF 0F 52 [17:56:50]RasterBufferAndPrint [17:56:50]line Счет N : (3)242359 [17:56:50]line ИНН: 02508201610067 [17:56:50]line Контрольно-Кассовый Чек [17:56:50]line ПРОДАЖА [17:56:50]line Товар: 4870235681383 [17:56:50]line ЧИПСЫ SLANG СО ВКУСОМ СМЕТАНА/ЗЕЛЕНЬ 60Г [17:56:50]line 6.000 * 95.00 [17:56:50]line = 570.00 [17:56:50]line НДС 12% НСП 1% [17:56:50]line > о реализуемом товаре [17:56:50]line Товар: 4600823143036 [17:56:50]line Шок Бабаевский 20 г горький [17:56:50]line 1.000 * 39.00 [17:56:50]line = 39.00 [17:56:50]line НДС 12% НСП 1% [17:56:50]line > о реализуемом товаре [17:56:50]line Товар: 4607065001445 [17:56:50]line Шок батончик Snickers 50,5г [17:56:50]line 4.000 * 59.00 [17:56:50]line = 236.00 [17:56:50]line НДС 12% НСП 1% [17:56:50]line > о реализуемом товаре [17:56:50]line ИТОГО: 845.00 [17:56:50]line НСП 1% : 7.47 [17:56:50]line НДС 12% : 89.73 [17:56:50]line Наличными: 845.00 [17:56:50]line Безнал.: 0.00 [17:56:50]line Место: АЗС № 15 "Партнер Нефть" [17:56:50]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [17:56:50]line СНО: Общий режим [17:56:50]line Чек 9 13.03.2024 17:57 [17:56:50]line Смена: 316 ФФД: 1.0 [17:56:50]line ЗНМ: 0300000097 [17:56:50]line РНМ: 0000000000092018 [17:56:50]line Версия ККМ: 001 [17:56:50]line ФМ: 0000000000871816 [17:56:50]line ФД: 47450 [17:56:50]line ФПД: 121047024909111 [17:56:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T175709&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47450&fm=121047024909111&tin=02508201610067®Number=0000000000092018&sum=84500 [17:56:50]OFD Sender: Processing packet 47450 [packets to send 8, broken 7] [17:56:50]ProducePacketName [17:56:50]name=ofd_packets/00047450 [17:56:50]OFD Sender: To server: pG, [17:56:50]CommunicateWithHost lk.salyk.kg:30040 [17:56:50]ConnectInit lk.salyk.kg [17:56:50]line 0 [17:56:50]written 0, free lines is 4095 [17:56:50]Connected sock=10 [17:56:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 30 02 00 00 2F F9 28 02 06 41 5A 03 01 00 03 00 1C 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 A8 DE 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 38 32 33 31 34 33 30 33 36 06 04 30 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D0 B1 D0 B0 D0 B5 D0 B2 D1 81 D0 BA D0 B8 D0 B9 20 32 30 20 D0 B3 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 4A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 23 00 00 00 00 07 04 06 00 14 4A 01 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 F5 E8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5A B9 00 00 35 04 06 00 6E 17 74 EB BB 37 6B F5 BE 0C AE 84 24 F2 [17:56:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 7C B2 47 00 AD B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5A B9 00 00 F4 03 04 00 85 93 F1 65 B6 04 01 00 00 ED AF 1C 77 29 A6 73 39 [17:56:51]CommunicateWithHost err = 0 [17:56:51]CheckOFDResponse [17:56:51]1017 (14) - 77093643461234 [17:56:51]1041 (16) - 0000000000871816 [17:56:51]1040 (4) - 47450 [17:56:51]1012 (4) - 13.03.2024 11:52 [17:56:51]1206 (1) - 0 [17:56:51]OFD Sender: Remove packet 47450 [17:56:51]ProducePacketName [17:56:51]name=ofd_packets/00047450 [17:56:51]NVStorageDeleteData [17:56:51]Write to MH i2c: 01 00 00 FC 76 72 [17:56:51]Write i2c OK [17:56:51]MH_I2C_Read... [17:56:51]Read from MH i2c: 01 [17:56:51]MH_I2C_Read... [17:56:51]Read from MH i2c: 01 07 00 [17:56:51]MH_I2C_Read... [17:56:51]Read from MH i2c: 01 07 00 FC 76 00 00 00 00 00 B4 0C 39 [17:56:51]RasterBufferAndPrint [17:56:51]line [17:56:51]line [17:56:51]line [17:56:51]line [17:56:51]line [17:56:51]written 0, free lines is 3279 [17:56:51]MH_Cut [17:56:51]Write to MH i2c: D1 01 00 03 77 01 4C [17:56:51]Write i2c OK [17:56:51]MH_I2C_Read... [17:56:51]Read from MH i2c: D1 [17:56:51]MH_I2C_Read... [17:56:51]Read from MH i2c: D1 01 00 [17:56:51]MH_I2C_Read... [17:56:51]Read from MH i2c: D1 01 00 03 77 00 4B [17:56:51]Write to MH i2c: 01 00 00 04 77 7B [17:56:51]Write i2c OK [17:56:51]MH_I2C_Read... [17:56:51]OFD Sender: No OFD packet to send [17:56:52]*** Cut start [17:56:52]*** Purtial cut [17:56:52]*** Stage 1: CUTSNS_PIN = 1 [17:56:52]Read from MH i2c: 01 [17:56:52]MH_I2C_Read... [17:56:52]*** Stop cut motor [17:56:52]*** Cut end [17:56:52]Read from MH i2c: 01 07 00 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: 01 07 00 04 77 00 00 00 00 00 FF 0F 90 [17:56:52]process_action close_receipt done [17:56:52]requested_data is exist [17:56:52]produce_requested_data [17:56:52]requested_item fm.sn is exist - process it [17:56:52]wFMCommunicate request_size=4 [17:56:52]MH_SAM_APDU [17:56:52]CAPDU: 80 11 00 00 [17:56:52]Write to MH i2c: E2 08 00 05 77 80 11 00 00 00 00 00 00 F6 [17:56:52]Write i2c OK [17:56:52]MH_I2C_Read... [17:56:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:52]Read from MH i2c: E2 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: E2 17 00 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: E2 17 00 05 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 48 [17:56:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [17:56:52]wFMCommunicate OK [17:56:52]requested_item fd.num is exist - process it [17:56:52]SAM_PROTO_GetFieldsCounters [17:56:52]wFMCommunicate request_size=4 [17:56:52]MH_SAM_APDU [17:56:52]CAPDU: 80 13 00 00 [17:56:52]Write to MH i2c: E2 08 00 06 77 80 13 00 00 00 00 00 00 F9 [17:56:52]Write i2c OK [17:56:52]MH_I2C_Read... [17:56:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:52]Read from MH i2c: E2 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: E2 62 00 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: E2 62 00 06 77 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5A B9 00 00 0E 04 04 00 3C 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 7F [17:56:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5A B9 00 00 0E 04 04 00 3C 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 [17:56:52]wFMCommunicate OK [17:56:52]SAM_PROTO_GetFieldsCounters done [17:56:52]requested_item shift.num is exist - process it [17:56:52]requested_item shift.opened is exist - process it [17:56:52]req_shift_opened [17:56:52]FM_GetShiftState [17:56:52]SAM_PROTO_GetShiftState [17:56:52]wFMCommunicate request_size=4 [17:56:52]MH_SAM_APDU [17:56:52]CAPDU: 80 13 01 00 [17:56:52]Write to MH i2c: E2 08 00 07 77 80 13 01 00 00 00 00 00 FB [17:56:52]Write i2c OK [17:56:52]MH_I2C_Read... [17:56:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:52]Read from MH i2c: E2 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: E2 0E 00 [17:56:52]MH_I2C_Read... [17:56:52]Read from MH i2c: E2 0E 00 07 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 18 [17:56:52]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [17:56:52]wFMCommunicate OK [17:56:52]SAM_PROTO_GetShiftState done [17:56:52]FM_GetShiftState done [17:56:52]req_shift_opened done [17:56:52]requested_item shift.open_date is exist - process it [17:56:52]req_shift_open_date [17:56:52]req_shift_open_date done [17:56:52]produce_requested_data done [17:56:52]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47450,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [17:56:52]process_action_free close_receipt [17:56:52]json_value_free [17:56:52]json_value_free done [17:56:52]process_json_proto returns [17:56:52]Send response to host [17:56:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47450,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [17:56:52]free response buf [17:56:52]execute_script done [17:56:52]execute_script returns [17:56:52]free content buf [17:56:52]Sock 9.Close socket [17:56:52]Sock 9.Thread stoped [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:07]OFD Sender: No OFD packet to send [18:03:12]OFD Sender: No OFD packet to send [18:03:17]OFD Sender: No OFD packet to send [18:03:22]OFD Sender: No OFD packet to send [18:03:27]OFD Sender: No OFD packet to send [18:03:32]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:40]accept exits with 7 [18:13:40]New connection [18:13:40]New thread 3066453348 created [18:13:40]Thread 3066596708 joined [18:13:40]Waiting for new connection... [18:13:40] Sock 7.Parse request [18:13:40]Sock 7.Check first char [18:13:40]Sock 7.First char is OK [18:13:40]request: POST /json_proto HTTP/1.0 [18:13:40]Method: POST [18:13:40]URL: /json_proto [18:13:40]Method is POST - this is cgi request [18:13:40]url: /json_proto [18:13:40]query_string will be loaded in cgi processing [18:13:40]execute_cgi json_proto POST (null) [18:13:40]execute_cgi path=json_proto method=POST [18:13:40]POST find Content-Length [18:13:40]Host: 172.17.32.68:8080 [18:13:40]Content-Length: 632 [18:13:40]Content-Type: application/json [18:13:40] [18:13:40]POST finish read [18:13:40]Found Content-Length = 632 [18:13:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242361", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:13:40]execute_script... [18:13:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242361", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:13:40]POST & json_proto [18:13:40]process_json_proto [18:13:40]json parsed OK: [18:13:40]protocol is kg_v1.0 [18:13:40]action value=close_receipt [18:13:40]process_action close_receipt [18:13:40]cmd_close_receipt [18:13:40]MH_GetDate [18:13:40]Write to MH i2c: F0 00 00 08 77 6E [18:13:40]Write i2c OK [18:13:40]MH_I2C_Read... [18:13:40]Read from MH i2c: F0 [18:13:40]MH_I2C_Read... [18:13:40]Read from MH i2c: F0 09 00 [18:13:40]MH_I2C_Read... [18:13:40]Read from MH i2c: F0 09 00 08 77 00 EB EC F1 65 0A 64 6E 65 E5 [18:13:40]GetLastDocTimeStamp 1710352629 [18:13:40]current date 1710353643 [18:13:40]FM_GetShiftState [18:13:40]SAM_PROTO_GetShiftState [18:13:40]wFMCommunicate request_size=4 [18:13:40]MH_SAM_APDU [18:13:40]CAPDU: 80 13 01 00 [18:13:40]Write to MH i2c: E2 08 00 09 77 80 13 01 00 00 00 00 00 FD [18:13:40]Write i2c OK [18:13:40]MH_I2C_Read... [18:13:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:13:41]Read from MH i2c: E2 [18:13:41]MH_I2C_Read... [18:13:41]Read from MH i2c: E2 0E 00 [18:13:41]MH_I2C_Read... [18:13:41]Read from MH i2c: E2 0E 00 09 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1A [18:13:41]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:13:41]wFMCommunicate OK [18:13:41]SAM_PROTO_GetShiftState done [18:13:41]FM_GetShiftState done [18:13:41]opened in 1710338059 [18:13:41]opened+sec_in_day 1710424459 [18:13:41]quantity*price = 4000 [18:13:41]sum+1 = 4001 [18:13:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 10 13.03.2024 18:14 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47451 ФПД: 255769296124453 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T181403&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47451&fm=255769296124453&tin=02508201610067®Number=0000000000092018&sum=4000 0 [18:13:42]StoreToDocumentArchive [18:13:42]shift 316 fd 47451 [18:13:42]save to /storage/0316/doc_00047451 [18:13:42]save last doc name /storage/0316/doc_00047451 to /storage/kkm_last_doc_name [18:13:42]save OK [18:13:42]Clear old archive folders... [18:13:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [18:13:42]tlvbuf is 003C7DB0 [18:13:42]SAM_PROTO_ClearQueue [18:13:42]wFMCommunicate request_size=4 [18:13:42]MH_SAM_APDU [18:13:42]CAPDU: 80 09 00 00 [18:13:42]Write to MH i2c: E2 08 00 16 77 80 09 00 00 00 00 00 00 FF [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:13:42]Read from MH i2c: E2 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 16 77 00 90 00 01 [18:13:42]RAPDU: 90 00 [18:13:42]wFMCommunicate OK [18:13:42]SAM_PROTO_ClearQueue done [18:13:42]KKMCreateOFDPacket [18:13:42]OFDProtocolAddRootSTLVToBuf [18:13:42]FM_MakeSignedData [18:13:42]FM_MakeSignedData [18:13:42]SAM_PROTO_SignData [18:13:42]wFMCommunicate request_size=4 [18:13:42]MH_SAM_APDU [18:13:42]CAPDU: 80 0D 01 02 [18:13:42]Write to MH i2c: E2 08 00 17 77 80 0D 01 02 00 00 00 00 07 [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:13:42]Read from MH i2c: E2 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 17 77 00 90 00 02 [18:13:42]RAPDU: 90 00 [18:13:42]wFMCommunicate OK [18:13:42]wFMCommunicate request_size=255 [18:13:42]MH_SAM_APDU [18:13:42]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 EB EC F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [18:13:42]Write to MH i2c: E2 02 01 18 77 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 EB EC F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 5B [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:13:42]Read from MH i2c: E2 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 18 77 00 90 00 03 [18:13:42]RAPDU: 90 00 [18:13:42]wFMCommunicate OK [18:13:42]wFMCommunicate request_size=30 [18:13:42]MH_SAM_APDU [18:13:42]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 5B B9 00 00 35 04 06 00 E8 9E EE 0A 3A 25 [18:13:42]Write to MH i2c: E2 21 00 19 77 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 5B B9 00 00 35 04 06 00 E8 9E EE 0A 3A 25 00 00 F3 [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:13:42]OFD Sender: No OFD packet to send [18:13:42]Read from MH i2c: E2 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 03 00 19 77 00 90 00 04 [18:13:42]RAPDU: 90 00 [18:13:42]wFMCommunicate OK [18:13:42]wFMCommunicate request_size=4 [18:13:42]MH_SAM_APDU [18:13:42]CAPDU: 80 0D 03 02 [18:13:42]Write to MH i2c: E2 08 00 1A 77 80 0D 03 02 00 00 00 00 0C [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:13:42]Read from MH i2c: E2 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 0B 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 0B 00 1A 77 00 9D 2B 46 C8 72 91 FF E9 90 00 CE [18:13:42]RAPDU: 9D 2B 46 C8 72 91 FF E9 90 00 [18:13:42]wFMCommunicate OK [18:13:42]SAM_PROTO_SignData done [18:13:42]FM_MakeSignedData done [18:13:42]CreateOFDProtocolMessage [18:13:42]wFMCommunicate request_size=4 [18:13:42]MH_SAM_APDU [18:13:42]CAPDU: 80 11 00 00 [18:13:42]Write to MH i2c: E2 08 00 1B 77 80 11 00 00 00 00 00 00 0C [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:13:42]Read from MH i2c: E2 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 17 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: E2 17 00 1B 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 5E [18:13:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:13:42]wFMCommunicate OK [18:13:42]CreateOFDProtocolMessage done [18:13:42]OFDSenderStorePacket 47451 [18:13:42]StoreOFDPacket docnum=47451 [18:13:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 7E 56 1B 01 19 37 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 EB EC F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5B B9 00 00 35 04 06 00 E8 9E EE 0A 3A 25 9D 2B 46 C8 72 91 FF E9 [18:13:42]CheckFolder [18:13:42]dirname=/storage/ofd_packets [18:13:42]CheckFolder done [18:13:42]ProducePacketName [18:13:42]name=ofd_packets/00047451 [18:13:42]NVStorageSaveData ofd_packets/00047451 [18:13:42]File name is /storage/ofd_packets/00047451 [18:13:42]Write 321 bytes [18:13:42]NVStorageSaveData done [18:13:42]OFDSenderStorePacket done [18:13:42]KKMCreateOFDPacket done [18:13:42]NVStorageSaveData kkm_last_timestamp [18:13:42]File name is /storage/kkm_last_timestamp [18:13:42]Write 4 bytes [18:13:42]NVStorageSaveData done [18:13:42]ExternCall_PrintAddStr [18:13:42]wPrintStart [18:13:42]Write to MH i2c: 01 00 00 1C 77 93 [18:13:42]Write i2c OK [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: 01 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: 01 07 00 [18:13:42]MH_I2C_Read... [18:13:42]Read from MH i2c: 01 07 00 1C 77 00 00 00 00 00 FF 0F A8 [18:13:42]RasterBufferAndPrint [18:13:42]line Счет N : (3)242361 [18:13:42]line ИНН: 02508201610067 [18:13:42]line Контрольно-Кассовый Чек [18:13:42]line ПРОДАЖА [18:13:42]line Товар: 4700000160211 [18:13:42]line Вода Легенда 0,5л [18:13:42]line 1.000 * 40.00 [18:13:42]line = 40.00 [18:13:42]line НДС 12% НСП 1% [18:13:42]line > о реализуемом товаре [18:13:42]line ИТОГО: 40.00 [18:13:42]line НСП 1% : 0.35 [18:13:42]line НДС 12% : 4.25 [18:13:42]line Наличными: 40.00 [18:13:42]line Безнал.: 0.00 [18:13:42]line Место: АЗС № 15 "Партнер Нефть" [18:13:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:13:42]line СНО: Общий режим [18:13:42]line Чек 10 13.03.2024 18:14 [18:13:42]line Смена: 316 ФФД: 1.0 [18:13:42]line ЗНМ: 0300000097 [18:13:42]line РНМ: 0000000000092018 [18:13:42]line Версия ККМ: 001 [18:13:42]line ФМ: 0000000000871816 [18:13:42]line ФД: 47451 [18:13:42]line ФПД: 255769296124453 [18:13:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T181403&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47451&fm=255769296124453&tin=02508201610067®Number=0000000000092018&sum=4000 [18:13:43]line 0 [18:13:43]OFD Sender: Processing packet 47451 [packets to send 8, broken 7] [18:13:43]ProducePacketName [18:13:43]name=ofd_packets/00047451 [18:13:43]OFD Sender: To server: pG, [18:13:43]CommunicateWithHost lk.salyk.kg:30040 [18:13:43]ConnectInit lk.salyk.kg [18:13:43]written 0, free lines is 4095 [18:13:43]Connected sock=10 [18:13:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 7E 56 1B 01 19 37 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 EB EC F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5B B9 00 00 35 04 06 00 E8 9E EE 0A 3A 25 9D 2B 46 C8 72 91 FF E9 [18:13:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 5F 7F 47 00 1E 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5B B9 00 00 F4 03 04 00 79 97 F1 65 B6 04 01 00 00 A9 46 3E 6D 15 55 C1 AA [18:13:43]CommunicateWithHost err = 0 [18:13:43]CheckOFDResponse [18:13:43]1017 (14) - 77093643461234 [18:13:43]1041 (16) - 0000000000871816 [18:13:43]1040 (4) - 47451 [18:13:43]1012 (4) - 13.03.2024 12:09 [18:13:43]1206 (1) - 0 [18:13:43]OFD Sender: Remove packet 47451 [18:13:43]ProducePacketName [18:13:43]name=ofd_packets/00047451 [18:13:43]NVStorageDeleteData [18:13:43]Write to MH i2c: 01 00 00 44 77 BB [18:13:43]Write i2c OK [18:13:43]MH_I2C_Read... [18:13:43]Read from MH i2c: 01 [18:13:43]MH_I2C_Read... [18:13:43]Read from MH i2c: 01 07 00 [18:13:43]MH_I2C_Read... [18:13:43]Read from MH i2c: 01 07 00 44 77 00 00 00 00 00 F1 0C BF [18:13:43]RasterBufferAndPrint [18:13:43]line [18:13:43]line [18:13:43]line [18:13:43]line [18:13:43]line [18:13:43]written 0, free lines is 3319 [18:13:43]MH_Cut [18:13:43]Write to MH i2c: D1 01 00 4B 77 01 94 [18:13:43]Write i2c OK [18:13:43]MH_I2C_Read... [18:13:43]Read from MH i2c: D1 [18:13:43]MH_I2C_Read... [18:13:43]Read from MH i2c: D1 01 00 [18:13:43]MH_I2C_Read... [18:13:43]Read from MH i2c: D1 01 00 4B 77 00 93 [18:13:43]Write to MH i2c: 01 00 00 4C 77 C3 [18:13:43]Write i2c OK [18:13:43]MH_I2C_Read... [18:13:43]OFD Sender: No OFD packet to send [18:13:44]*** Cut start [18:13:44]*** Purtial cut [18:13:44]*** Stage 1: CUTSNS_PIN = 1 [18:13:44]Read from MH i2c: 01 [18:13:44]MH_I2C_Read... [18:13:44]*** Stop cut motor [18:13:44]*** Cut end [18:13:44]Read from MH i2c: 01 07 00 [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: 01 07 00 4C 77 00 00 00 00 00 FF 0F D8 [18:13:44]process_action close_receipt done [18:13:44]requested_data is exist [18:13:44]produce_requested_data [18:13:44]requested_item fm.sn is exist - process it [18:13:44]wFMCommunicate request_size=4 [18:13:44]MH_SAM_APDU [18:13:44]CAPDU: 80 11 00 00 [18:13:44]Write to MH i2c: E2 08 00 4D 77 80 11 00 00 00 00 00 00 3E [18:13:44]Write i2c OK [18:13:44]MH_I2C_Read... [18:13:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:13:44]Read from MH i2c: E2 [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: E2 17 00 [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: E2 17 00 4D 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 90 [18:13:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:13:44]wFMCommunicate OK [18:13:44]requested_item fd.num is exist - process it [18:13:44]SAM_PROTO_GetFieldsCounters [18:13:44]wFMCommunicate request_size=4 [18:13:44]MH_SAM_APDU [18:13:44]CAPDU: 80 13 00 00 [18:13:44]Write to MH i2c: E2 08 00 4E 77 80 13 00 00 00 00 00 00 41 [18:13:44]Write i2c OK [18:13:44]MH_I2C_Read... [18:13:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:13:44]Read from MH i2c: E2 [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: E2 62 00 [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: E2 62 00 4E 77 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5B B9 00 00 0E 04 04 00 3C 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 CB [18:13:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5B B9 00 00 0E 04 04 00 3C 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 [18:13:44]wFMCommunicate OK [18:13:44]SAM_PROTO_GetFieldsCounters done [18:13:44]requested_item shift.num is exist - process it [18:13:44]requested_item shift.opened is exist - process it [18:13:44]req_shift_opened [18:13:44]FM_GetShiftState [18:13:44]SAM_PROTO_GetShiftState [18:13:44]wFMCommunicate request_size=4 [18:13:44]MH_SAM_APDU [18:13:44]CAPDU: 80 13 01 00 [18:13:44]Write to MH i2c: E2 08 00 4F 77 80 13 01 00 00 00 00 00 43 [18:13:44]Write i2c OK [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: E2 [18:13:44]MH_I2C_Read... [18:13:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:13:44]Read from MH i2c: E2 0E 00 [18:13:44]MH_I2C_Read... [18:13:44]Read from MH i2c: E2 0E 00 4F 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 60 [18:13:44]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:13:44]wFMCommunicate OK [18:13:44]SAM_PROTO_GetShiftState done [18:13:44]FM_GetShiftState done [18:13:44]req_shift_opened done [18:13:44]requested_item shift.open_date is exist - process it [18:13:44]req_shift_open_date [18:13:44]req_shift_open_date done [18:13:44]produce_requested_data done [18:13:44]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47451,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [18:13:44]process_action_free close_receipt [18:13:44]json_value_free [18:13:44]json_value_free done [18:13:44]process_json_proto returns [18:13:44]Send response to host [18:13:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47451,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [18:13:44]free response buf [18:13:44]execute_script done [18:13:44]execute_script returns [18:13:44]free content buf [18:13:44]Sock 7.Close socket [18:13:44]Sock 7.Thread stoped [18:13:48]OFD Sender: No OFD packet to send [18:13:53]OFD Sender: No OFD packet to send [18:13:58]OFD Sender: No OFD packet to send [18:14:03]OFD Sender: No OFD packet to send [18:14:08]OFD Sender: No OFD packet to send [18:14:13]OFD Sender: No OFD packet to send [18:14:18]OFD Sender: No OFD packet to send [18:14:23]OFD Sender: No OFD packet to send [18:14:28]OFD Sender: No OFD packet to send [18:14:33]OFD Sender: No OFD packet to send [18:14:38]OFD Sender: No OFD packet to send [18:14:43]OFD Sender: No OFD packet to send [18:14:48]OFD Sender: No OFD packet to send [18:14:53]OFD Sender: No OFD packet to send [18:14:58]OFD Sender: No OFD packet to send [18:15:03]OFD Sender: No OFD packet to send [18:15:08]OFD Sender: No OFD packet to send [18:15:13]OFD Sender: No OFD packet to send [18:15:18]OFD Sender: No OFD packet to send [18:15:23]OFD Sender: No OFD packet to send [18:15:28]OFD Sender: No OFD packet to send [18:15:33]OFD Sender: No OFD packet to send [18:15:38]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:39]accept exits with 9 [18:16:39]New connection [18:16:39]New thread 3066596708 created [18:16:39]Thread 3066453348 joined [18:16:39]Waiting for new connection... [18:16:39] Sock 9.Parse request [18:16:39]Sock 9.Check first char [18:16:39]Sock 9.First char is OK [18:16:39]request: POST /json_proto HTTP/1.0 [18:16:39]Method: POST [18:16:39]URL: /json_proto [18:16:39]Method is POST - this is cgi request [18:16:39]url: /json_proto [18:16:39]query_string will be loaded in cgi processing [18:16:39]execute_cgi json_proto POST (null) [18:16:39]execute_cgi path=json_proto method=POST [18:16:39]POST find Content-Length [18:16:39]Host: 172.17.32.68:8080 [18:16:39]Content-Length: 646 [18:16:39]Content-Type: application/json [18:16:39] [18:16:39]POST finish read [18:16:39]Found Content-Length = 646 [18:16:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242362", "tax_sys" : 0, "items" : [ { "code": "5906534012111", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento Fahren", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:16:39]execute_script... [18:16: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)242362", "tax_sys" : 0, "items" : [ { "code": "5906534012111", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento Fahren", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:16:39]POST & json_proto [18:16:39]process_json_proto [18:16:39]json parsed OK: [18:16:39]protocol is kg_v1.0 [18:16:39]action value=close_receipt [18:16:39]process_action close_receipt [18:16:39]cmd_close_receipt [18:16:39]MH_GetDate [18:16:39]Write to MH i2c: F0 00 00 50 77 B6 [18:16:39]Write i2c OK [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: F0 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: F0 09 00 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: F0 09 00 50 77 00 9D ED F1 65 0A 64 6E 65 E0 [18:16:39]GetLastDocTimeStamp 1710353643 [18:16:39]current date 1710353821 [18:16:39]FM_GetShiftState [18:16:39]SAM_PROTO_GetShiftState [18:16:39]wFMCommunicate request_size=4 [18:16:39]MH_SAM_APDU [18:16:39]CAPDU: 80 13 01 00 [18:16:39]Write to MH i2c: E2 08 00 51 77 80 13 01 00 00 00 00 00 45 [18:16:39]Write i2c OK [18:16:39]MH_I2C_Read... [18:16:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:16:39]Read from MH i2c: E2 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 0E 00 [18:16:39]MH_I2C_Read... [18:16:39]Read from MH i2c: E2 0E 00 51 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 62 [18:16:39]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:16:39]wFMCommunicate OK [18:16:39]SAM_PROTO_GetShiftState done [18:16:39]FM_GetShiftState done [18:16:39]opened in 1710338059 [18:16:39]opened+sec_in_day 1710424459 [18:16:39]quantity*price = 24500 [18:16:39]sum+1 = 24501 [18:16:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 11 13.03.2024 18:17 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47452 ФПД: 272980243536455 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T181701&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47452&fm=272980243536455&tin=02508201610067®Number=0000000000092018&sum=24500 0 [18:16:40]StoreToDocumentArchive [18:16:40]shift 316 fd 47452 [18:16:40]save to /storage/0316/doc_00047452 [18:16:40]save last doc name /storage/0316/doc_00047452 to /storage/kkm_last_doc_name [18:16:40]save OK [18:16:40]Clear old archive folders... [18:16:40]ProcessDocumentItem done err = 0, tmpTLVsize=282 [18:16:40]tlvbuf is 0027C740 [18:16:40]SAM_PROTO_ClearQueue [18:16:40]wFMCommunicate request_size=4 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 09 00 00 [18:16:40]Write to MH i2c: E2 08 00 5E 77 80 09 00 00 00 00 00 00 47 [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 5E 77 00 90 00 49 [18:16:40]RAPDU: 90 00 [18:16:40]wFMCommunicate OK [18:16:40]SAM_PROTO_ClearQueue done [18:16:40]KKMCreateOFDPacket [18:16:40]OFDProtocolAddRootSTLVToBuf [18:16:40]FM_MakeSignedData [18:16:40]FM_MakeSignedData [18:16:40]SAM_PROTO_SignData [18:16:40]wFMCommunicate request_size=4 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 0D 01 02 [18:16:40]Write to MH i2c: E2 08 00 5F 77 80 0D 01 02 00 00 00 00 4F [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 5F 77 00 90 00 4A [18:16:40]RAPDU: 90 00 [18:16:40]wFMCommunicate OK [18:16:40]wFMCommunicate request_size=255 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 9D ED F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 [18:16:40]Write to MH i2c: E2 02 01 60 77 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 9D ED F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 00 00 5B [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 60 77 00 90 00 4B [18:16:40]RAPDU: 90 00 [18:16:40]wFMCommunicate OK [18:16:40]wFMCommunicate request_size=41 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5C B9 00 00 35 04 06 00 F8 46 2A 72 5A 47 [18:16:40]Write to MH i2c: E2 2C 00 61 77 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5C B9 00 00 35 04 06 00 F8 46 2A 72 5A 47 00 00 B0 [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 03 00 61 77 00 90 00 4C [18:16:40]RAPDU: 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 0D 03 02 [18:16:40]Write to MH i2c: E2 08 00 62 77 80 0D 03 02 00 00 00 00 54 [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 0B 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 0B 00 62 77 00 AA 2E 80 D3 C9 DF A4 31 90 00 FD [18:16:40]RAPDU: AA 2E 80 D3 C9 DF A4 31 90 00 [18:16:40]wFMCommunicate OK [18:16:40]SAM_PROTO_SignData done [18:16:40]FM_MakeSignedData done [18:16:40]CreateOFDProtocolMessage [18:16:40]wFMCommunicate request_size=4 [18:16:40]MH_SAM_APDU [18:16:40]CAPDU: 80 11 00 00 [18:16:40]Write to MH i2c: E2 08 00 63 77 80 11 00 00 00 00 00 00 54 [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:16:40]Read from MH i2c: E2 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 17 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: E2 17 00 63 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A6 [18:16:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:16:40]wFMCommunicate OK [18:16:40]CreateOFDProtocolMessage done [18:16:40]OFDSenderStorePacket 47452 [18:16:40]StoreOFDPacket docnum=47452 [18:16:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2E 01 00 00 96 23 26 01 26 EF 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 9D ED F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5C B9 00 00 35 04 06 00 F8 46 2A 72 5A 47 AA 2E 80 D3 C9 DF A4 31 [18:16:40]CheckFolder [18:16:40]dirname=/storage/ofd_packets [18:16:40]CheckFolder done [18:16:40]ProducePacketName [18:16:40]name=ofd_packets/00047452 [18:16:40]NVStorageSaveData ofd_packets/00047452 [18:16:40]File name is /storage/ofd_packets/00047452 [18:16:40]Write 332 bytes [18:16:40]NVStorageSaveData done [18:16:40]OFDSenderStorePacket done [18:16:40]KKMCreateOFDPacket done [18:16:40]NVStorageSaveData kkm_last_timestamp [18:16:40]File name is /storage/kkm_last_timestamp [18:16:40]Write 4 bytes [18:16:40]NVStorageSaveData done [18:16:40]ExternCall_PrintAddStr [18:16:40]wPrintStart [18:16:40]Write to MH i2c: 01 00 00 64 77 DB [18:16:40]Write i2c OK [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: 01 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: 01 07 00 [18:16:40]MH_I2C_Read... [18:16:40]Read from MH i2c: 01 07 00 64 77 00 00 00 00 00 FF 0F F0 [18:16:40]RasterBufferAndPrint [18:16:40]line Счет N : (3)242362 [18:16:40]line ИНН: 02508201610067 [18:16:40]line Контрольно-Кассовый Чек [18:16:40]line ПРОДАЖА [18:16:40]line Товар: 5906534012111 [18:16:40]line Ароматизатор K2 Vento Fahren [18:16:40]line 1.000 * 245.00 [18:16:40]line = 245.00 [18:16:40]line НДС 12% НСП 1% [18:16:40]line > о реализуемом товаре [18:16:40]line ИТОГО: 245.00 [18:16:40]line НСП 1% : 2.17 [18:16:40]line НДС 12% : 26.02 [18:16:40]line Наличными: 245.00 [18:16:40]line Безнал.: 0.00 [18:16:40]line Место: АЗС № 15 "Партнер Нефть" [18:16:40]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:16:40]line СНО: Общий режим [18:16:40]line Чек 11 13.03.2024 18:17 [18:16:40]line Смена: 316 ФФД: 1.0 [18:16:40]line ЗНМ: 0300000097 [18:16:40]line РНМ: 0000000000092018 [18:16:41]line Версия ККМ: 001 [18:16:41]line ФМ: 0000000000871816 [18:16:41]line ФД: 47452 [18:16:41]line ФПД: 272980243536455 [18:16:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T181701&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47452&fm=272980243536455&tin=02508201610067®Number=0000000000092018&sum=24500 [18:16:41]line 0 [18:16:41]OFD Sender: Processing packet 47452 [packets to send 8, broken 7] [18:16:41]ProducePacketName [18:16:41]name=ofd_packets/00047452 [18:16:41]OFD Sender: To server: pG, [18:16:41]CommunicateWithHost lk.salyk.kg:30040 [18:16:41]ConnectInit lk.salyk.kg [18:16:41]written 0, free lines is 4095 [18:16:41]Connected sock=10 [18:16:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2E 01 00 00 96 23 26 01 26 EF 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 9D ED F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5C B9 00 00 35 04 06 00 F8 46 2A 72 5A 47 AA 2E 80 D3 C9 DF A4 31 [18:16:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 40 A5 47 00 FD B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5C B9 00 00 F4 03 04 00 2B 98 F1 65 B6 04 01 00 00 53 91 69 9C 77 B9 79 B9 [18:16:41]CommunicateWithHost err = 0 [18:16:41]CheckOFDResponse [18:16:41]1017 (14) - 77093643461234 [18:16:41]1041 (16) - 0000000000871816 [18:16:41]1040 (4) - 47452 [18:16:41]1012 (4) - 13.03.2024 12:12 [18:16:41]1206 (1) - 0 [18:16:41]OFD Sender: Remove packet 47452 [18:16:41]ProducePacketName [18:16:41]name=ofd_packets/00047452 [18:16:41]NVStorageDeleteData [18:16:41]Write to MH i2c: 01 00 00 8D 77 04 [18:16:41]Write i2c OK [18:16:41]MH_I2C_Read... [18:16:41]Read from MH i2c: 01 [18:16:41]MH_I2C_Read... [18:16:41]Read from MH i2c: 01 07 00 [18:16:41]MH_I2C_Read... [18:16:41]Read from MH i2c: 01 07 00 8D 77 00 00 00 00 00 D3 0C EA [18:16:41]RasterBufferAndPrint [18:16:41]line [18:16:41]line [18:16:41]line [18:16:41]line [18:16:41]line [18:16:41]written 0, free lines is 3288 [18:16:41]MH_Cut [18:16:41]Write to MH i2c: D1 01 00 94 77 01 DD [18:16:41]Write i2c OK [18:16:41]MH_I2C_Read... [18:16:41]Read from MH i2c: D1 [18:16:41]MH_I2C_Read... [18:16:41]Read from MH i2c: D1 01 00 [18:16:41]MH_I2C_Read... [18:16:41]Read from MH i2c: D1 01 00 94 77 00 DC [18:16:41]Write to MH i2c: 01 00 00 95 77 0C [18:16:41]Write i2c OK [18:16:41]MH_I2C_Read... [18:16:41]OFD Sender: No OFD packet to send [18:16:42]*** Cut start [18:16:42]*** Purtial cut [18:16:42]*** Stage 1: CUTSNS_PIN = 1 [18:16:42]Read from MH i2c: 01 [18:16:42]MH_I2C_Read... [18:16:42]*** Stop cut motor [18:16:42]*** Cut end [18:16:42]Read from MH i2c: 01 07 00 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: 01 07 00 95 77 00 00 00 00 00 FF 0F 21 [18:16:42]process_action close_receipt done [18:16:42]requested_data is exist [18:16:42]produce_requested_data [18:16:42]requested_item fm.sn is exist - process it [18:16:42]wFMCommunicate request_size=4 [18:16:42]MH_SAM_APDU [18:16:42]CAPDU: 80 11 00 00 [18:16:42]Write to MH i2c: E2 08 00 96 77 80 11 00 00 00 00 00 00 87 [18:16:42]Write i2c OK [18:16:42]MH_I2C_Read... [18:16:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:16:42]Read from MH i2c: E2 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: E2 17 00 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: E2 17 00 96 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D9 [18:16:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:16:42]wFMCommunicate OK [18:16:42]requested_item fd.num is exist - process it [18:16:42]SAM_PROTO_GetFieldsCounters [18:16:42]wFMCommunicate request_size=4 [18:16:42]MH_SAM_APDU [18:16:42]CAPDU: 80 13 00 00 [18:16:42]Write to MH i2c: E2 08 00 97 77 80 13 00 00 00 00 00 00 8A [18:16:42]Write i2c OK [18:16:42]MH_I2C_Read... [18:16:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:16:42]Read from MH i2c: E2 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: E2 62 00 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: E2 62 00 97 77 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5C B9 00 00 0E 04 04 00 3C 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 18 [18:16:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5C B9 00 00 0E 04 04 00 3C 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 [18:16:42]wFMCommunicate OK [18:16:42]SAM_PROTO_GetFieldsCounters done [18:16:42]requested_item shift.num is exist - process it [18:16:42]requested_item shift.opened is exist - process it [18:16:42]req_shift_opened [18:16:42]FM_GetShiftState [18:16:42]SAM_PROTO_GetShiftState [18:16:42]wFMCommunicate request_size=4 [18:16:42]MH_SAM_APDU [18:16:42]CAPDU: 80 13 01 00 [18:16:42]Write to MH i2c: E2 08 00 98 77 80 13 01 00 00 00 00 00 8C [18:16:42]Write i2c OK [18:16:42]MH_I2C_Read... [18:16:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:16:42]Read from MH i2c: E2 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: E2 0E 00 [18:16:42]MH_I2C_Read... [18:16:42]Read from MH i2c: E2 0E 00 98 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 A9 [18:16:42]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:16:42]wFMCommunicate OK [18:16:42]SAM_PROTO_GetShiftState done [18:16:42]FM_GetShiftState done [18:16:42]req_shift_opened done [18:16:42]requested_item shift.open_date is exist - process it [18:16:42]req_shift_open_date [18:16:42]req_shift_open_date done [18:16:42]produce_requested_data done [18:16:42]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47452,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [18:16:42]process_action_free close_receipt [18:16:42]json_value_free [18:16:42]json_value_free done [18:16:42]process_json_proto returns [18:16:42]Send response to host [18:16:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47452,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [18:16:42]free response buf [18:16:42]execute_script done [18:16:42]execute_script returns [18:16:42]free content buf [18:16:42]Sock 9.Close socket [18:16:42]Sock 9.Thread stoped [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:40]ConnectInit Can't connect to host [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:48]accept exits with 7 [18:33:48]New connection [18:33:48]New thread 3066453348 created [18:33:48]Thread 3066596708 joined [18:33:48]Waiting for new connection... [18:33:48] Sock 7.Parse request [18:33:48]Sock 7.Check first char [18:33:48]Sock 7.First char is OK [18:33:48]request: POST /json_proto HTTP/1.0 [18:33:48]Method: POST [18:33:48]URL: /json_proto [18:33:48]Method is POST - this is cgi request [18:33:48]url: /json_proto [18:33:48]query_string will be loaded in cgi processing [18:33:48]execute_cgi json_proto POST (null) [18:33:48]execute_cgi path=json_proto method=POST [18:33:48]POST find Content-Length [18:33:48]Host: 172.17.32.68:8080 [18:33:48]Content-Length: 1150 [18:33:48]Content-Type: application/json [18:33:48] [18:33:48]POST finish read [18:33:48]Found Content-Length = 1150 [18:33:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242363", "tax_sys" : 0, "items" : [ { "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159439480", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u041B\u0435\u0441.\u041E\u0440\u0435\u0445 81\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 323.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:48]execute_script... [18:33:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242363", "tax_sys" : 0, "items" : [ { "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159439480", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u041B\u0435\u0441.\u041E\u0440\u0435\u0445 81\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 323.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:48]POST & json_proto [18:33:48]process_json_proto [18:33:48]json parsed OK: [18:33:48]protocol is kg_v1.0 [18:33:48]action value=close_receipt [18:33:48]process_action close_receipt [18:33:48]cmd_close_receipt [18:33:48]MH_GetDate [18:33:48]Write to MH i2c: F0 00 00 99 77 FF [18:33:48]Write i2c OK [18:33:48]MH_I2C_Read... [18:33:48]Read from MH i2c: F0 [18:33:48]MH_I2C_Read... [18:33:48]Read from MH i2c: F0 09 00 [18:33:48]MH_I2C_Read... [18:33:48]Read from MH i2c: F0 09 00 99 77 00 A2 F1 F1 65 0A 64 6E 65 32 [18:33:48]GetLastDocTimeStamp 1710353821 [18:33:48]current date 1710354850 [18:33:48]FM_GetShiftState [18:33:48]SAM_PROTO_GetShiftState [18:33:48]wFMCommunicate request_size=4 [18:33:48]MH_SAM_APDU [18:33:48]CAPDU: 80 13 01 00 [18:33:48]Write to MH i2c: E2 08 00 9A 77 80 13 01 00 00 00 00 00 8E [18:33:48]Write i2c OK [18:33:48]MH_I2C_Read... [18:33:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:48]Read from MH i2c: E2 [18:33:48]MH_I2C_Read... [18:33:48]Read from MH i2c: E2 0E 00 [18:33:48]MH_I2C_Read... [18:33:48]Read from MH i2c: E2 0E 00 9A 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 AB [18:33:48]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:33:48]wFMCommunicate OK [18:33:48]SAM_PROTO_GetShiftState done [18:33:48]FM_GetShiftState done [18:33:48]opened in 1710338059 [18:33:48]opened+sec_in_day 1710424459 [18:33:48]quantity*price = 14500 [18:33:48]sum+1 = 14501 [18:33:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159439480 Шок Батончик Сникерс Лес.Орех 81г 2.000 * 89.00 = 178.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 323.00 НСП 1% : 2.85 НДС 12% : 34.30 Наличными: 0.00 Безнал.: 323.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 12 13.03.2024 18:34 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47453 ФПД: 180179363562459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T183410&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47453&fm=180179363562459&tin=02508201610067®Number=0000000000092018&sum=32300 0 [18:33:49]StoreToDocumentArchive [18:33:49]shift 316 fd 47453 [18:33:49]save to /storage/0316/doc_00047453 [18:33:49]save last doc name /storage/0316/doc_00047453 to /storage/kkm_last_doc_name [18:33:49]save OK [18:33:49]Clear old archive folders... [18:33:49]ProcessDocumentItem done err = 0, tmpTLVsize=407 [18:33:49]tlvbuf is 004CF650 [18:33:49]SAM_PROTO_ClearQueue [18:33:49]wFMCommunicate request_size=4 [18:33:49]MH_SAM_APDU [18:33:49]CAPDU: 80 09 00 00 [18:33:49]Write to MH i2c: E2 08 00 A7 77 80 09 00 00 00 00 00 00 90 [18:33:49]Write i2c OK [18:33:49]MH_I2C_Read... [18:33:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:33:49]Read from MH i2c: E2 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 A7 77 00 90 00 92 [18:33:49]RAPDU: 90 00 [18:33:49]wFMCommunicate OK [18:33:49]SAM_PROTO_ClearQueue done [18:33:49]KKMCreateOFDPacket [18:33:49]OFDProtocolAddRootSTLVToBuf [18:33:49]FM_MakeSignedData [18:33:49]FM_MakeSignedData [18:33:49]SAM_PROTO_SignData [18:33:49]wFMCommunicate request_size=4 [18:33:49]MH_SAM_APDU [18:33:49]CAPDU: 80 0D 01 02 [18:33:49]Write to MH i2c: E2 08 00 A8 77 80 0D 01 02 00 00 00 00 98 [18:33:49]Write i2c OK [18:33:49]MH_I2C_Read... [18:33:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:33:49]Read from MH i2c: E2 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 A8 77 00 90 00 93 [18:33:49]RAPDU: 90 00 [18:33:49]wFMCommunicate OK [18:33:49]wFMCommunicate request_size=255 [18:33:49]MH_SAM_APDU [18:33:49]CAPDU: 80 0D 02 02 FA 03 00 97 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 [18:33:49]Write to MH i2c: E2 02 01 A9 77 80 0D 02 02 FA 00 03 00 97 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 BF [18:33:49]Write i2c OK [18:33:49]MH_I2C_Read... [18:33:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:49]Read from MH i2c: E2 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 A9 77 00 90 00 94 [18:33:49]RAPDU: 90 00 [18:33:49]wFMCommunicate OK [18:33:49]wFMCommunicate request_size=166 [18:33:49]MH_SAM_APDU [18:33:49]CAPDU: 80 0D 02 02 A1 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A2 F1 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5D B9 00 00 35 04 06 00 A3 DF 46 F6 03 DB [18:33:49]Write to MH i2c: E2 A9 00 AA 77 80 0D 02 02 A1 00 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A2 F1 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5D B9 00 00 35 04 06 00 A3 DF 46 F6 03 DB 00 00 DD [18:33:49]Write i2c OK [18:33:49]MH_I2C_Read... [18:33:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:49]Read from MH i2c: E2 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 03 00 AA 77 00 90 00 95 [18:33:49]RAPDU: 90 00 [18:33:49]wFMCommunicate OK [18:33:49]wFMCommunicate request_size=4 [18:33:49]MH_SAM_APDU [18:33:49]CAPDU: 80 0D 03 02 [18:33:49]Write to MH i2c: E2 08 00 AB 77 80 0D 03 02 00 00 00 00 9D [18:33:49]Write i2c OK [18:33:49]MH_I2C_Read... [18:33:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:33:49]Read from MH i2c: E2 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 0B 00 [18:33:49]MH_I2C_Read... [18:33:49]Read from MH i2c: E2 0B 00 AB 77 00 3B 0D C5 B9 5A 08 CB 28 90 00 B9 [18:33:49]RAPDU: 3B 0D C5 B9 5A 08 CB 28 90 00 [18:33:49]wFMCommunicate OK [18:33:49]SAM_PROTO_SignData done [18:33:49]FM_MakeSignedData done [18:33:49]CreateOFDProtocolMessage [18:33:49]wFMCommunicate request_size=4 [18:33:49]MH_SAM_APDU [18:33:49]CAPDU: 80 11 00 00 [18:33:49]Write to MH i2c: E2 08 00 AC 77 80 11 00 00 00 00 00 00 9D [18:33:49]Write i2c OK [18:33:49]MH_I2C_Read... [18:33:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:50]Read from MH i2c: E2 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: E2 17 00 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: E2 17 00 AC 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EF [18:33:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:33:50]wFMCommunicate OK [18:33:50]CreateOFDProtocolMessage done [18:33:50]OFDSenderStorePacket 47453 [18:33:50]StoreOFDPacket docnum=47453 [18:33:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 AB 01 00 00 02 DF A3 01 51 52 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A2 F1 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5D B9 00 00 35 04 06 00 A3 DF 46 F6 03 DB 3B 0D C5 B9 5A 08 CB 28 [18:33:50]CheckFolder [18:33:50]dirname=/storage/ofd_packets [18:33:50]CheckFolder done [18:33:50]ProducePacketName [18:33:50]name=ofd_packets/00047453 [18:33:50]NVStorageSaveData ofd_packets/00047453 [18:33:50]File name is /storage/ofd_packets/00047453 [18:33:50]Write 457 bytes [18:33:50]NVStorageSaveData done [18:33:50]OFDSenderStorePacket done [18:33:50]KKMCreateOFDPacket done [18:33:50]NVStorageSaveData kkm_last_timestamp [18:33:50]File name is /storage/kkm_last_timestamp [18:33:50]Write 4 bytes [18:33:50]NVStorageSaveData done [18:33:50]ExternCall_PrintAddStr [18:33:50]wPrintStart [18:33:50]Write to MH i2c: 01 00 00 AD 77 24 [18:33:50]Write i2c OK [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: 01 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: 01 07 00 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: 01 07 00 AD 77 00 00 00 00 00 FF 0F 39 [18:33:50]RasterBufferAndPrint [18:33:50]line Счет N : (3)242363 [18:33:50]line ИНН: 02508201610067 [18:33:50]line Контрольно-Кассовый Чек [18:33:50]line ПРОДАЖА [18:33:50]line Товар: 48747073 [18:33:50]line Сигареты Richmond Royal Edition [18:33:50]line 1.000 * 145.00 [18:33:50]line = 145.00 [18:33:50]line НДС 12% НСП 1% [18:33:50]line > о реализуемом товаре [18:33:50]line Товар: 5000159439480 [18:33:50]line Шок Батончик Сникерс Лес.Орех 81г [18:33:50]line 2.000 * 89.00 [18:33:50]line = 178.00 [18:33:50]line НДС 12% НСП 1% [18:33:50]line > о реализуемом товаре [18:33:50]line ИТОГО: 323.00 [18:33:50]line НСП 1% : 2.85 [18:33:50]line НДС 12% : 34.30 [18:33:50]line Наличными: 0.00 [18:33:50]line Безнал.: 323.00 [18:33:50]line Место: АЗС № 15 "Партнер Нефть" [18:33:50]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:33:50]line СНО: Общий режим [18:33:50]line Чек 12 13.03.2024 18:34 [18:33:50]line Смена: 316 ФФД: 1.0 [18:33:50]line ЗНМ: 0300000097 [18:33:50]line РНМ: 0000000000092018 [18:33:50]line Версия ККМ: 001 [18:33:50]line Платежная система: Демир КИ Банк [18:33:50]line ФМ: 0000000000871816 [18:33:50]line ФД: 47453 [18:33:50]line ФПД: 180179363562459 [18:33:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T183410&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47453&fm=180179363562459&tin=02508201610067®Number=0000000000092018&sum=32300 [18:33:50]line 0 [18:33:50]written 0, free lines is 4095 [18:33:50]OFD Sender: Processing packet 47453 [packets to send 8, broken 7] [18:33:50]ProducePacketName [18:33:50]name=ofd_packets/00047453 [18:33:50]OFD Sender: To server: pG, [18:33:50]CommunicateWithHost lk.salyk.kg:30040 [18:33:50]ConnectInit lk.salyk.kg [18:33:50]Connected sock=10 [18:33:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 AB 01 00 00 02 DF A3 01 51 52 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A2 F1 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5D B9 00 00 35 04 06 00 A3 DF 46 F6 03 DB 3B 0D C5 B9 5A 08 CB 28 [18:33:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 55 92 47 00 54 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5D B9 00 00 F4 03 04 00 30 9C F1 65 B6 04 01 00 00 23 47 3C 8A 2D A8 24 CB [18:33:50]CommunicateWithHost err = 0 [18:33:50]CheckOFDResponse [18:33:50]1017 (14) - 77093643461234 [18:33:50]1041 (16) - 0000000000871816 [18:33:50]1040 (4) - 47453 [18:33:50]1012 (4) - 13.03.2024 12:29 [18:33:50]1206 (1) - 0 [18:33:50]OFD Sender: Remove packet 47453 [18:33:50]ProducePacketName [18:33:50]name=ofd_packets/00047453 [18:33:50]NVStorageDeleteData [18:33:50]Write to MH i2c: 01 00 00 DF 77 56 [18:33:50]Write i2c OK [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: 01 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: 01 07 00 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: 01 07 00 DF 77 00 00 00 00 00 59 0C C2 [18:33:50]RasterBufferAndPrint [18:33:50]line [18:33:50]line [18:33:50]line [18:33:50]line [18:33:50]line [18:33:50]written 0, free lines is 3169 [18:33:50]MH_Cut [18:33:50]Write to MH i2c: D1 01 00 E6 77 01 2F [18:33:50]Write i2c OK [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: D1 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: D1 01 00 [18:33:50]MH_I2C_Read... [18:33:50]Read from MH i2c: D1 01 00 E6 77 00 2E [18:33:50]Write to MH i2c: 01 00 00 E7 77 5E [18:33:50]Write i2c OK [18:33:50]MH_I2C_Read... [18:33:51]OFD Sender: No OFD packet to send [18:33:51]*** Cut start [18:33:51]*** Purtial cut [18:33:51]*** Stage 1: CUTSNS_PIN = 1 [18:33:52]Read from MH i2c: 01 [18:33:52]MH_I2C_Read... [18:33:52]*** Stop cut motor [18:33:52]*** Cut end [18:33:52]Read from MH i2c: 01 07 00 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: 01 07 00 E7 77 00 00 00 00 00 FF 0F 73 [18:33:52]process_action close_receipt done [18:33:52]requested_data is exist [18:33:52]produce_requested_data [18:33:52]requested_item fm.sn is exist - process it [18:33:52]wFMCommunicate request_size=4 [18:33:52]MH_SAM_APDU [18:33:52]CAPDU: 80 11 00 00 [18:33:52]Write to MH i2c: E2 08 00 E8 77 80 11 00 00 00 00 00 00 D9 [18:33:52]Write i2c OK [18:33:52]MH_I2C_Read... [18:33:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:52]Read from MH i2c: E2 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: E2 17 00 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: E2 17 00 E8 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2B [18:33:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:33:52]wFMCommunicate OK [18:33:52]requested_item fd.num is exist - process it [18:33:52]SAM_PROTO_GetFieldsCounters [18:33:52]wFMCommunicate request_size=4 [18:33:52]MH_SAM_APDU [18:33:52]CAPDU: 80 13 00 00 [18:33:52]Write to MH i2c: E2 08 00 E9 77 80 13 00 00 00 00 00 00 DC [18:33:52]Write i2c OK [18:33:52]MH_I2C_Read... [18:33:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:33:52]Read from MH i2c: E2 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: E2 62 00 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: E2 62 00 E9 77 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5D B9 00 00 0E 04 04 00 3C 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 6E [18:33:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5D B9 00 00 0E 04 04 00 3C 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 [18:33:52]wFMCommunicate OK [18:33:52]SAM_PROTO_GetFieldsCounters done [18:33:52]requested_item shift.num is exist - process it [18:33:52]requested_item shift.opened is exist - process it [18:33:52]req_shift_opened [18:33:52]FM_GetShiftState [18:33:52]SAM_PROTO_GetShiftState [18:33:52]wFMCommunicate request_size=4 [18:33:52]MH_SAM_APDU [18:33:52]CAPDU: 80 13 01 00 [18:33:52]Write to MH i2c: E2 08 00 EA 77 80 13 01 00 00 00 00 00 DE [18:33:52]Write i2c OK [18:33:52]MH_I2C_Read... [18:33:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:52]Read from MH i2c: E2 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: E2 0E 00 [18:33:52]MH_I2C_Read... [18:33:52]Read from MH i2c: E2 0E 00 EA 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 FB [18:33:52]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:33:52]wFMCommunicate OK [18:33:52]SAM_PROTO_GetShiftState done [18:33:52]FM_GetShiftState done [18:33:52]req_shift_opened done [18:33:52]requested_item shift.open_date is exist - process it [18:33:52]req_shift_open_date [18:33:52]req_shift_open_date done [18:33:52]produce_requested_data done [18:33:52]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47453,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [18:33:52]process_action_free close_receipt [18:33:52]json_value_free [18:33:52]json_value_free done [18:33:52]process_json_proto returns [18:33:52]Send response to host [18:33:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47453,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [18:33:52]free response buf [18:33:52]execute_script done [18:33:52]execute_script returns [18:33:52]free content buf [18:33:52]Sock 7.Close socket [18:33:52]Sock 7.Thread stoped [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:43]accept exits with 9 [18:38:43]New connection [18:38:43]New thread 3066596708 created [18:38:43]Thread 3066453348 joined [18:38:43]Waiting for new connection... [18:38:43] Sock 9.Parse request [18:38:43]Sock 9.Check first char [18:38:43]Sock 9.First char is OK [18:38:43]request: POST /json_proto HTTP/1.0 [18:38:43]Method: POST [18:38:43]URL: /json_proto [18:38:43]Method is POST - this is cgi request [18:38:43]url: /json_proto [18:38:43]query_string will be loaded in cgi processing [18:38:43]execute_cgi json_proto POST (null) [18:38:43]execute_cgi path=json_proto method=POST [18:38:43]POST find Content-Length [18:38:43]Host: 172.17.32.68:8080 [18:38:43]Content-Length: 911 [18:38:43]Content-Type: application/json [18:38:43] [18:38:43]POST finish read [18:38:43]Found Content-Length = 911 [18:38:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242364", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:38:43]execute_script... [18:38: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)242364", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:38:43]POST & json_proto [18:38:43]process_json_proto [18:38:43]json parsed OK: [18:38:43]protocol is kg_v1.0 [18:38:43]action value=close_receipt [18:38:43]process_action close_receipt [18:38:43]cmd_close_receipt [18:38:43]MH_GetDate [18:38:43]Write to MH i2c: F0 00 00 EB 77 51 [18:38:43]Write i2c OK [18:38:43]MH_I2C_Read... [18:38:43]Read from MH i2c: F0 [18:38:43]MH_I2C_Read... [18:38:43]Read from MH i2c: F0 09 00 [18:38:43]MH_I2C_Read... [18:38:43]Read from MH i2c: F0 09 00 EB 77 00 C9 F2 F1 65 0A 64 6E 65 AC [18:38:43]GetLastDocTimeStamp 1710354850 [18:38:43]current date 1710355145 [18:38:43]FM_GetShiftState [18:38:43]SAM_PROTO_GetShiftState [18:38:43]wFMCommunicate request_size=4 [18:38:43]MH_SAM_APDU [18:38:43]CAPDU: 80 13 01 00 [18:38:43]Write to MH i2c: E2 08 00 EC 77 80 13 01 00 00 00 00 00 E0 [18:38:43]Write i2c OK [18:38:43]MH_I2C_Read... [18:38:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:38:43]Read from MH i2c: E2 [18:38:43]MH_I2C_Read... [18:38:43]Read from MH i2c: E2 0E 00 [18:38:43]MH_I2C_Read... [18:38:43]Read from MH i2c: E2 0E 00 EC 77 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 FD [18:38:43]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:38:43]wFMCommunicate OK [18:38:43]SAM_PROTO_GetShiftState done [18:38:43]FM_GetShiftState done [18:38:43]opened in 1710338059 [18:38:43]opened+sec_in_day 1710424459 [18:38:43]quantity*price = 4000 [18:38:43]sum+1 = 4001 [18:38:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 94.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 13 13.03.2024 18:39 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47454 ФПД: 146266299335752 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T183905&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47454&fm=146266299335752&tin=02508201610067®Number=0000000000092018&sum=9400 0 [18:38:44]StoreToDocumentArchive [18:38:44]shift 316 fd 47454 [18:38:44]save to /storage/0316/doc_00047454 [18:38:44]save last doc name /storage/0316/doc_00047454 to /storage/kkm_last_doc_name [18:38:44]save OK [18:38:44]Clear old archive folders... [18:38:44]ProcessDocumentItem done err = 0, tmpTLVsize=382 [18:38:44]tlvbuf is 00396C00 [18:38:44]SAM_PROTO_ClearQueue [18:38:44]wFMCommunicate request_size=4 [18:38:44]MH_SAM_APDU [18:38:44]CAPDU: 80 09 00 00 [18:38:44]Write to MH i2c: E2 08 00 F9 77 80 09 00 00 00 00 00 00 E2 [18:38:44]Write i2c OK [18:38:44]MH_I2C_Read... [18:38:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:38:44]Read from MH i2c: E2 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 F9 77 00 90 00 E4 [18:38:44]RAPDU: 90 00 [18:38:44]wFMCommunicate OK [18:38:44]SAM_PROTO_ClearQueue done [18:38:44]KKMCreateOFDPacket [18:38:44]OFDProtocolAddRootSTLVToBuf [18:38:44]FM_MakeSignedData [18:38:44]FM_MakeSignedData [18:38:44]SAM_PROTO_SignData [18:38:44]wFMCommunicate request_size=4 [18:38:44]MH_SAM_APDU [18:38:44]CAPDU: 80 0D 01 02 [18:38:44]Write to MH i2c: E2 08 00 FA 77 80 0D 01 02 00 00 00 00 EA [18:38:44]Write i2c OK [18:38:44]MH_I2C_Read... [18:38:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:38:44]Read from MH i2c: E2 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 FA 77 00 90 00 E5 [18:38:44]RAPDU: 90 00 [18:38:44]wFMCommunicate OK [18:38:44]wFMCommunicate request_size=255 [18:38:44]MH_SAM_APDU [18:38:44]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 [18:38:44]Write to MH i2c: E2 02 01 FB 77 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 2A [18:38:44]Write i2c OK [18:38:44]MH_I2C_Read... [18:38:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:38:44]Read from MH i2c: E2 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 FB 77 00 90 00 E6 [18:38:44]RAPDU: 90 00 [18:38:44]wFMCommunicate OK [18:38:44]wFMCommunicate request_size=141 [18:38:44]MH_SAM_APDU [18:38:44]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 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 0D 00 00 00 F4 03 04 00 C9 F2 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5E B9 00 00 35 04 06 00 85 07 46 D0 84 48 [18:38:44]Write to MH i2c: E2 90 00 FC 77 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 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 0D 00 00 00 F4 03 04 00 C9 F2 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5E B9 00 00 35 04 06 00 85 07 46 D0 84 48 00 00 C9 [18:38:44]Write i2c OK [18:38:44]MH_I2C_Read... [18:38:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:38:44]Read from MH i2c: E2 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 03 00 FC 77 00 90 00 E7 [18:38:44]RAPDU: 90 00 [18:38:44]wFMCommunicate OK [18:38:44]wFMCommunicate request_size=4 [18:38:44]MH_SAM_APDU [18:38:44]CAPDU: 80 0D 03 02 [18:38:44]Write to MH i2c: E2 08 00 FD 77 80 0D 03 02 00 00 00 00 EF [18:38:44]Write i2c OK [18:38:44]MH_I2C_Read... [18:38:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:38:44]Read from MH i2c: E2 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 0B 00 [18:38:44]MH_I2C_Read... [18:38:44]Read from MH i2c: E2 0B 00 FD 77 00 B9 97 99 F1 AF B2 2F AF 90 00 09 [18:38:44]RAPDU: B9 97 99 F1 AF B2 2F AF 90 00 [18:38:44]wFMCommunicate OK [18:38:44]SAM_PROTO_SignData done [18:38:44]FM_MakeSignedData done [18:38:44]CreateOFDProtocolMessage [18:38:44]wFMCommunicate request_size=4 [18:38:44]MH_SAM_APDU [18:38:44]CAPDU: 80 11 00 00 [18:38:44]Write to MH i2c: E2 08 00 FE 77 80 11 00 00 00 00 00 00 EF [18:38:44]Write i2c OK [18:38:44]MH_I2C_Read... [18:38:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:38:45]Read from MH i2c: E2 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: E2 17 00 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: E2 17 00 FE 77 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 41 [18:38:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:38:45]wFMCommunicate OK [18:38:45]CreateOFDProtocolMessage done [18:38:45]OFDSenderStorePacket 47454 [18:38:45]StoreOFDPacket docnum=47454 [18:38:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 92 01 00 00 86 E5 8A 01 9B 84 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 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 0D 00 00 00 F4 03 04 00 C9 F2 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5E B9 00 00 35 04 06 00 85 07 46 D0 84 48 B9 97 99 F1 AF B2 2F AF [18:38:45]CheckFolder [18:38:45]dirname=/storage/ofd_packets [18:38:45]CheckFolder done [18:38:45]ProducePacketName [18:38:45]name=ofd_packets/00047454 [18:38:45]NVStorageSaveData ofd_packets/00047454 [18:38:45]File name is /storage/ofd_packets/00047454 [18:38:45]Write 432 bytes [18:38:45]NVStorageSaveData done [18:38:45]OFDSenderStorePacket done [18:38:45]KKMCreateOFDPacket done [18:38:45]NVStorageSaveData kkm_last_timestamp [18:38:45]File name is /storage/kkm_last_timestamp [18:38:45]Write 4 bytes [18:38:45]NVStorageSaveData done [18:38:45]ExternCall_PrintAddStr [18:38:45]wPrintStart [18:38:45]Write to MH i2c: 01 00 00 FF 77 76 [18:38:45]Write i2c OK [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: 01 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: 01 07 00 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: 01 07 00 FF 77 00 00 00 00 00 FF 0F 8B [18:38:45]RasterBufferAndPrint [18:38:45]line Счет N : (3)242364 [18:38:45]line ИНН: 02508201610067 [18:38:45]line Контрольно-Кассовый Чек [18:38:45]line ПРОДАЖА [18:38:45]line Товар: 4700000160211 [18:38:45]line Вода Легенда 0,5л [18:38:45]line 1.000 * 40.00 [18:38:45]line = 40.00 [18:38:45]line НДС 12% НСП 1% [18:38:45]line > о реализуемом товаре [18:38:45]line Товар: 4011100977952 [18:38:45]line Шок Батончик Твикс 55г [18:38:45]line 1.000 * 54.00 [18:38:45]line = 54.00 [18:38:45]line НДС 12% НСП 1% [18:38:45]line > о реализуемом товаре [18:38:45]line ИТОГО: 94.00 [18:38:45]line НСП 1% : 0.83 [18:38:45]line НДС 12% : 9.98 [18:38:45]line Наличными: 94.00 [18:38:45]line Безнал.: 0.00 [18:38:45]line Место: АЗС № 15 "Партнер Нефть" [18:38:45]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [18:38:45]line СНО: Общий режим [18:38:45]line Чек 13 13.03.2024 18:39 [18:38:45]line Смена: 316 ФФД: 1.0 [18:38:45]line ЗНМ: 0300000097 [18:38:45]line РНМ: 0000000000092018 [18:38:45]line Версия ККМ: 001 [18:38:45]line ФМ: 0000000000871816 [18:38:45]line ФД: 47454 [18:38:45]line ФПД: 146266299335752 [18:38:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T183905&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47454&fm=146266299335752&tin=02508201610067®Number=0000000000092018&sum=9400 [18:38:45]line 0 [18:38:45]written 0, free lines is 4095 [18:38:45]OFD Sender: Processing packet 47454 [packets to send 8, broken 7] [18:38:45]ProducePacketName [18:38:45]name=ofd_packets/00047454 [18:38:45]OFD Sender: To server: pG, [18:38:45]CommunicateWithHost lk.salyk.kg:30040 [18:38:45]ConnectInit lk.salyk.kg [18:38:45]Connected sock=10 [18:38:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 92 01 00 00 86 E5 8A 01 9B 84 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 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 0D 00 00 00 F4 03 04 00 C9 F2 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5E B9 00 00 35 04 06 00 85 07 46 D0 84 48 B9 97 99 F1 AF B2 2F AF [18:38:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 A7 28 47 00 6C 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 5E B9 00 00 F4 03 04 00 57 9D F1 65 B6 04 01 00 00 BF 2F 21 82 44 21 99 4B [18:38:45]CommunicateWithHost err = 0 [18:38:45]CheckOFDResponse [18:38:45]1017 (14) - 77093643461234 [18:38:45]1041 (16) - 0000000000871816 [18:38:45]1040 (4) - 47454 [18:38:45]1012 (4) - 13.03.2024 12:34 [18:38:45]1206 (1) - 0 [18:38:45]OFD Sender: Remove packet 47454 [18:38:45]ProducePacketName [18:38:45]name=ofd_packets/00047454 [18:38:45]NVStorageDeleteData [18:38:45]Write to MH i2c: 01 00 00 2D 78 A5 [18:38:45]Write i2c OK [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: 01 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: 01 07 00 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: 01 07 00 2D 78 00 00 00 00 00 9C 0C 54 [18:38:45]RasterBufferAndPrint [18:38:45]line [18:38:45]line [18:38:45]line [18:38:45]line [18:38:45]line [18:38:45]written 0, free lines is 3235 [18:38:45]MH_Cut [18:38:45]Write to MH i2c: D1 01 00 34 78 01 7E [18:38:45]Write i2c OK [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: D1 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: D1 01 00 [18:38:45]MH_I2C_Read... [18:38:45]Read from MH i2c: D1 01 00 34 78 00 7D [18:38:45]Write to MH i2c: 01 00 00 35 78 AD [18:38:45]Write i2c OK [18:38:45]MH_I2C_Read... [18:38:45]OFD Sender: No OFD packet to send [18:38:46]*** Cut start [18:38:46]*** Purtial cut [18:38:46]*** Stage 1: CUTSNS_PIN = 1 [18:38:46]Read from MH i2c: 01 [18:38:46]MH_I2C_Read... [18:38:46]*** Stop cut motor [18:38:46]*** Cut end [18:38:46]Read from MH i2c: 01 07 00 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: 01 07 00 35 78 00 00 00 00 00 FF 0F C2 [18:38:46]process_action close_receipt done [18:38:46]requested_data is exist [18:38:46]produce_requested_data [18:38:46]requested_item fm.sn is exist - process it [18:38:46]wFMCommunicate request_size=4 [18:38:46]MH_SAM_APDU [18:38:46]CAPDU: 80 11 00 00 [18:38:46]Write to MH i2c: E2 08 00 36 78 80 11 00 00 00 00 00 00 28 [18:38:46]Write i2c OK [18:38:46]MH_I2C_Read... [18:38:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:38:46]Read from MH i2c: E2 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: E2 17 00 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: E2 17 00 36 78 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7A [18:38:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:38:46]wFMCommunicate OK [18:38:46]requested_item fd.num is exist - process it [18:38:46]SAM_PROTO_GetFieldsCounters [18:38:46]wFMCommunicate request_size=4 [18:38:46]MH_SAM_APDU [18:38:46]CAPDU: 80 13 00 00 [18:38:46]Write to MH i2c: E2 08 00 37 78 80 13 00 00 00 00 00 00 2B [18:38:46]Write i2c OK [18:38:46]MH_I2C_Read... [18:38:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:38:46]Read from MH i2c: E2 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: E2 62 00 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: E2 62 00 37 78 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5E B9 00 00 0E 04 04 00 3C 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 C1 [18:38:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 5E B9 00 00 0E 04 04 00 3C 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 [18:38:46]wFMCommunicate OK [18:38:46]SAM_PROTO_GetFieldsCounters done [18:38:46]requested_item shift.num is exist - process it [18:38:46]requested_item shift.opened is exist - process it [18:38:46]req_shift_opened [18:38:46]FM_GetShiftState [18:38:46]SAM_PROTO_GetShiftState [18:38:46]wFMCommunicate request_size=4 [18:38:46]MH_SAM_APDU [18:38:46]CAPDU: 80 13 01 00 [18:38:46]Write to MH i2c: E2 08 00 38 78 80 13 01 00 00 00 00 00 2D [18:38:46]Write i2c OK [18:38:46]MH_I2C_Read... [18:38:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:38:46]Read from MH i2c: E2 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: E2 0E 00 [18:38:46]MH_I2C_Read... [18:38:46]Read from MH i2c: E2 0E 00 38 78 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 4A [18:38:46]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:38:46]wFMCommunicate OK [18:38:46]SAM_PROTO_GetShiftState done [18:38:46]FM_GetShiftState done [18:38:46]req_shift_opened done [18:38:46]requested_item shift.open_date is exist - process it [18:38:46]req_shift_open_date [18:38:46]req_shift_open_date done [18:38:46]produce_requested_data done [18:38:46]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47454,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [18:38:46]process_action_free close_receipt [18:38:46]json_value_free [18:38:46]json_value_free done [18:38:46]process_json_proto returns [18:38:46]Send response to host [18:38:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47454,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [18:38:46]free response buf [18:38:46]execute_script done [18:38:46]execute_script returns [18:38:46]free content buf [18:38:46]Sock 9.Close socket [18:38:46]Sock 9.Thread stoped [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41: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:41]OFD Sender: No OFD packet to send [18:48:46]OFD Sender: No OFD packet to send [18:48:51]OFD Sender: No OFD packet to send [18:48:56]OFD Sender: No OFD packet to send [18:49:01]OFD Sender: No OFD packet to send [18:49:06]OFD Sender: No OFD packet to send [18:49:11]OFD Sender: No OFD packet to send [18:49:16]OFD Sender: No OFD packet to send [18:49:21]OFD Sender: No OFD packet to send [18:49:26]OFD Sender: No OFD packet to send [18:49:31]OFD Sender: No OFD packet to send [18:49:36]OFD Sender: No OFD packet to send [18:49:41]OFD Sender: No OFD packet to send [18:49:46]OFD Sender: No OFD packet to send [18:49:51]OFD Sender: No OFD packet to send [18:49:56]OFD Sender: No OFD packet to send [18:50:01]OFD Sender: No OFD packet to send [18:50:06]OFD Sender: No OFD packet to send [18:50:11]OFD Sender: No OFD packet to send [18:50:11]accept exits with 7 [18:50:11]New connection [18:50:11]New thread 3066453348 created [18:50:11]Thread 3066596708 joined [18:50:11]Waiting for new connection... [18:50:11] Sock 7.Parse request [18:50:11]Sock 7.Check first char [18:50:11]Sock 7.First char is OK [18:50:11]request: POST /json_proto HTTP/1.0 [18:50:11]Method: POST [18:50:11]URL: /json_proto [18:50:11]Method is POST - this is cgi request [18:50:11]url: /json_proto [18:50:11]query_string will be loaded in cgi processing [18:50:11]execute_cgi json_proto POST (null) [18:50:11]execute_cgi path=json_proto method=POST [18:50:11]POST find Content-Length [18:50:11]Host: 172.17.32.68:8080 [18:50:11]Content-Length: 793 [18:50:11]Content-Type: application/json [18:50:11] [18:50:11]POST finish read [18:50:11]Found Content-Length = 793 [18:50:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242365", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:50:11]execute_script... [18:50:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242365", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:50:11]POST & json_proto [18:50:11]process_json_proto [18:50:11]json parsed OK: [18:50:11]protocol is kg_v1.0 [18:50:11]action value=close_receipt [18:50:11]process_action close_receipt [18:50:11]cmd_close_receipt [18:50:11]MH_GetDate [18:50:11]Write to MH i2c: F0 00 00 39 78 A0 [18:50:11]Write i2c OK [18:50:11]MH_I2C_Read... [18:50:11]Read from MH i2c: F0 [18:50:11]MH_I2C_Read... [18:50:11]Read from MH i2c: F0 09 00 [18:50:11]MH_I2C_Read... [18:50:11]Read from MH i2c: F0 09 00 39 78 00 7A F5 F1 65 0A 64 6E 65 AF [18:50:11]GetLastDocTimeStamp 1710355145 [18:50:11]current date 1710355834 [18:50:11]FM_GetShiftState [18:50:11]SAM_PROTO_GetShiftState [18:50:11]wFMCommunicate request_size=4 [18:50:11]MH_SAM_APDU [18:50:11]CAPDU: 80 13 01 00 [18:50:11]Write to MH i2c: E2 08 00 3A 78 80 13 01 00 00 00 00 00 2F [18:50:11]Write i2c OK [18:50:11]MH_I2C_Read... [18:50:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:50:12]Read from MH i2c: E2 [18:50:12]MH_I2C_Read... [18:50:12]Read from MH i2c: E2 0E 00 [18:50:12]MH_I2C_Read... [18:50:12]Read from MH i2c: E2 0E 00 3A 78 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 4C [18:50:12]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [18:50:12]wFMCommunicate OK [18:50:12]SAM_PROTO_GetShiftState done [18:50:12]FM_GetShiftState done [18:50:12]opened in 1710338059 [18:50:12]opened+sec_in_day 1710424459 [18:50:12]quantity*price = 4000 [18:50:12]sum+1 = 4001 [18:50:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 14 13.03.2024 18:50 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47455 ФПД: 12464372711026 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T185034&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47455&fm=12464372711026&tin=02508201610067®Number=0000000000092018&sum=4000 0 [18:50:13]StoreToDocumentArchive [18:50:13]shift 316 fd 47455 [18:50:13]save to /storage/0316/doc_00047455 [18:50:13]save last doc name /storage/0316/doc_00047455 to /storage/kkm_last_doc_name [18:50:13]save OK [18:50:13]Clear old archive folders... [18:50:13]ProcessDocumentItem done err = 0, tmpTLVsize=271 [18:50:13]tlvbuf is 00502C90 [18:50:13]SAM_PROTO_ClearQueue [18:50:13]wFMCommunicate request_size=4 [18:50:13]MH_SAM_APDU [18:50:13]CAPDU: 80 09 00 00 [18:50:13]Write to MH i2c: E2 08 00 47 78 80 09 00 00 00 00 00 00 31 [18:50:13]Write i2c OK [18:50:13]MH_I2C_Read... [18:50:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:50:13]Read from MH i2c: E2 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 47 78 00 90 00 33 [18:50:13]RAPDU: 90 00 [18:50:13]wFMCommunicate OK [18:50:13]SAM_PROTO_ClearQueue done [18:50:13]KKMCreateOFDPacket [18:50:13]OFDProtocolAddRootSTLVToBuf [18:50:13]FM_MakeSignedData [18:50:13]FM_MakeSignedData [18:50:13]SAM_PROTO_SignData [18:50:13]wFMCommunicate request_size=4 [18:50:13]MH_SAM_APDU [18:50:13]CAPDU: 80 0D 01 02 [18:50:13]Write to MH i2c: E2 08 00 48 78 80 0D 01 02 00 00 00 00 39 [18:50:13]Write i2c OK [18:50:13]MH_I2C_Read... [18:50:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:50:13]Read from MH i2c: E2 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 48 78 00 90 00 34 [18:50:13]RAPDU: 90 00 [18:50:13]wFMCommunicate OK [18:50:13]wFMCommunicate request_size=255 [18:50:13]MH_SAM_APDU [18:50:13]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 7A F5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [18:50:13]Write to MH i2c: E2 02 01 49 78 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 7A F5 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 29 [18:50:13]Write i2c OK [18:50:13]MH_I2C_Read... [18:50:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:50:13]Read from MH i2c: E2 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 49 78 00 90 00 35 [18:50:13]RAPDU: 90 00 [18:50:13]wFMCommunicate OK [18:50:13]wFMCommunicate request_size=30 [18:50:13]MH_SAM_APDU [18:50:13]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 5F B9 00 00 35 04 06 00 0B 56 16 81 FE 72 [18:50:13]Write to MH i2c: E2 21 00 4A 78 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 5F B9 00 00 35 04 06 00 0B 56 16 81 FE 72 00 00 B4 [18:50:13]Write i2c OK [18:50:13]MH_I2C_Read... [18:50:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:50:13]Read from MH i2c: E2 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 03 00 4A 78 00 90 00 36 [18:50:13]RAPDU: 90 00 [18:50:13]wFMCommunicate OK [18:50:13]wFMCommunicate request_size=4 [18:50:13]MH_SAM_APDU [18:50:13]CAPDU: 80 0D 03 02 [18:50:13]Write to MH i2c: E2 08 00 4B 78 80 0D 03 02 00 00 00 00 3E [18:50:13]Write i2c OK [18:50:13]MH_I2C_Read... [18:50:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:50:13]Read from MH i2c: E2 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 0B 00 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 0B 00 4B 78 00 C3 89 DA 70 A3 2D 34 54 90 00 2D [18:50:13]RAPDU: C3 89 DA 70 A3 2D 34 54 90 00 [18:50:13]wFMCommunicate OK [18:50:13]SAM_PROTO_SignData done [18:50:13]FM_MakeSignedData done [18:50:13]CreateOFDProtocolMessage [18:50:13]wFMCommunicate request_size=4 [18:50:13]MH_SAM_APDU [18:50:13]CAPDU: 80 11 00 00 [18:50:13]Write to MH i2c: E2 08 00 4C 78 80 11 00 00 00 00 00 00 3E [18:50:13]Write i2c OK [18:50:13]MH_I2C_Read... [18:50:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:50:13]Read from MH i2c: E2 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 17 00 [18:50:13]MH_I2C_Read... [18:50:13]Read from MH i2c: E2 17 00 4C 78 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 90 [18:50:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [18:50:13]wFMCommunicate OK [18:50:13]CreateOFDProtocolMessage done [18:52:08]ConnectInit Can't connect to host [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:49]accept exits with 9 [19:00:49]New connection [19:00:49]New thread 3067174244 created [19:00:49]Waiting for new connection... [19:00:49] Sock 9.Parse request [19:00:49]Sock 9.Check first char [19:00:49]Sock 9.First char is OK [19:00:49]request: POST /json_proto HTTP/1.0 [19:00:49]Method: POST [19:00:49]URL: /json_proto [19:00:49]Method is POST - this is cgi request [19:00:49]url: /json_proto [19:00:49]query_string will be loaded in cgi processing [19:00:49]execute_cgi json_proto POST (null) [19:00:49]execute_cgi path=json_proto method=POST [19:00:49]POST find Content-Length [19:00:49]Host: 172.17.32.68:8080 [19:00:49]Content-Length: 907 [19:00:49]Content-Type: application/json [19:00:49] [19:00:49]POST finish read [19:00:49]Found Content-Length = 907 [19:00:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242366", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 213.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:49]execute_script... [19:00:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242366", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 213.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:49]POST & json_proto [19:00:49]process_json_proto [19:00:49]json parsed OK: [19:00:49]protocol is kg_v1.0 [19:00:49]action value=close_receipt [19:00:49]process_action close_receipt [19:00:49]cmd_close_receipt [19:00:49]MH_GetDate [19:00:49]Write to MH i2c: F0 00 00 10 00 FF [19:00:49]Write i2c OK [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: F0 [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: F0 09 00 [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: F0 09 00 10 00 00 E1 F7 F1 65 0A 64 6E 65 77 [19:00:49]GetLastDocTimeStamp 48 [19:00:49]current date 1710356449 [19:00:49]FM_GetShiftState [19:00:49]SAM_PROTO_GetShiftState [19:00:49]wFMCommunicate request_size=4 [19:00:49]MH_SAM_APDU [19:00:49]CAPDU: 80 13 01 00 [19:00:49]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [19:00:49]Write i2c OK [19:00:49]MH_I2C_Read... [19:00:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:49]Read from MH i2c: E2 [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: E2 0E 00 [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 AB [19:00:49]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:00:49]wFMCommunicate OK [19:00:49]SAM_PROTO_GetShiftState done [19:00:49]FM_GetShiftState done [19:00:49]opened in 1710338059 [19:00:49]opened+sec_in_day 1710424459 [19:00:49]quantity*price = 13800 [19:00:49]sum+1 = 13801 [19:00:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189394 Холодный чай Fuse ягода 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 213.00 НСП 1% : 1.88 НДС 12% : 22.61 Наличными: 213.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 15 13.03.2024 19:00 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47456 ФПД: 143506082603474 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T190049&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47456&fm=143506082603474&tin=02508201610067®Number=0000000000092018&sum=21300 0 [19:00:50]StoreToDocumentArchive [19:00:50]shift 316 fd 47456 [19:00:50]save to /storage/0316/doc_00047456 [19:00:50]save last doc name /storage/0316/doc_00047456 to /storage/kkm_last_doc_name [19:00:50]save OK [19:00:50]Clear old archive folders... [19:00:50]ProcessDocumentItem done err = 0, tmpTLVsize=391 [19:00:50]tlvbuf is 01192100 [19:00:50]SAM_PROTO_ClearQueue [19:00:50]wFMCommunicate request_size=4 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 09 00 00 [19:00:50]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [19:00:50]RAPDU: 90 00 [19:00:50]wFMCommunicate OK [19:00:50]SAM_PROTO_ClearQueue done [19:00:50]KKMCreateOFDPacket [19:00:50]OFDProtocolAddRootSTLVToBuf [19:00:50]FM_MakeSignedData [19:00:50]FM_MakeSignedData [19:00:50]SAM_PROTO_SignData [19:00:50]wFMCommunicate request_size=4 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 0D 01 02 [19:00:50]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [19:00:50]RAPDU: 90 00 [19:00:50]wFMCommunicate OK [19:00:50]wFMCommunicate request_size=255 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [19:00:50]Write to MH i2c: E2 02 01 20 00 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 8C [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:51]Read from MH i2c: E2 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 03 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [19:00:51]RAPDU: 90 00 [19:00:51]wFMCommunicate OK [19:00:51]wFMCommunicate request_size=150 [19:00:51]MH_SAM_APDU [19:00:51]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 08 00 00 00 00 07 04 06 00 34 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 0F 00 00 00 F4 03 04 00 E1 F7 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 60 B9 00 00 35 04 06 00 82 84 9D 13 A1 D2 [19:00:51]Write to MH i2c: E2 99 00 21 00 80 0D 02 02 91 00 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 08 00 00 00 00 07 04 06 00 34 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 0F 00 00 00 F4 03 04 00 E1 F7 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 60 B9 00 00 35 04 06 00 82 84 9D 13 A1 D2 00 00 C2 [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:51]Read from MH i2c: E2 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 03 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [19:00:51]RAPDU: 90 00 [19:00:51]wFMCommunicate OK [19:00:51]wFMCommunicate request_size=4 [19:00:51]MH_SAM_APDU [19:00:51]CAPDU: 80 0D 03 02 [19:00:51]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:51]Read from MH i2c: E2 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 0B 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 0B 00 22 00 00 DE 0E F0 10 EB 37 71 25 90 00 42 [19:00:51]RAPDU: DE 0E F0 10 EB 37 71 25 90 00 [19:00:51]wFMCommunicate OK [19:00:51]SAM_PROTO_SignData done [19:00:51]FM_MakeSignedData done [19:00:51]CreateOFDProtocolMessage [19:00:51]wFMCommunicate request_size=4 [19:00:51]MH_SAM_APDU [19:00:51]CAPDU: 80 11 00 00 [19:00:51]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:51]Read from MH i2c: E2 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 17 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EF [19:00:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:00:51]wFMCommunicate OK [19:00:51]CreateOFDProtocolMessage done [19:00:51]OFDSenderStorePacket 47456 [19:00:51]StoreOFDPacket docnum=47456 [19:00:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 9B 01 00 00 F6 35 93 01 D1 95 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 08 00 00 00 00 07 04 06 00 34 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 0F 00 00 00 F4 03 04 00 E1 F7 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 60 B9 00 00 35 04 06 00 82 84 9D 13 A1 D2 DE 0E F0 10 EB 37 71 25 [19:00:51]CheckFolder [19:00:51]dirname=/storage/ofd_packets [19:00:51]CheckFolder done [19:00:51]ProducePacketName [19:00:51]name=ofd_packets/00047456 [19:00:51]NVStorageSaveData ofd_packets/00047456 [19:00:51]File name is /storage/ofd_packets/00047456 [19:00:51]Write 441 bytes [19:00:51]NVStorageSaveData done [19:00:51]OFDSenderStorePacket done [19:00:51]KKMCreateOFDPacket done [19:00:51]NVStorageSaveData kkm_last_timestamp [19:00:51]File name is /storage/kkm_last_timestamp [19:00:51]Write 4 bytes [19:00:51]NVStorageSaveData done [19:00:51]ExternCall_PrintAddStr [19:00:51]wPrintStart [19:00:51]Write to MH i2c: 01 00 00 24 00 24 [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: 01 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: 01 07 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [19:00:51]RasterBufferAndPrint [19:00:51]line Счет N : (3)242366 [19:00:51]line ИНН: 02508201610067 [19:00:51]line Контрольно-Кассовый Чек [19:00:51]line ПРОДАЖА [19:00:51]line Товар: 4640030091645 [19:00:51]line Сигареты ESSE Exchange M [19:00:51]line 1.000 * 138.00 [19:00:51]line = 138.00 [19:00:51]line НДС 12% НСП 1% [19:00:51]line > о реализуемом товаре [19:00:51]line Товар: 5449000189394 [19:00:51]line Холодный чай Fuse ягода 0,5л [19:00:51]line 1.000 * 75.00 [19:00:51]line = 75.00 [19:00:51]line НДС 12% НСП 1% [19:00:51]line > о реализуемом товаре [19:00:51]line ИТОГО: 213.00 [19:00:51]line НСП 1% : 1.88 [19:00:51]line НДС 12% : 22.61 [19:00:51]line Наличными: 213.00 [19:00:51]line Безнал.: 0.00 [19:00:51]line Место: АЗС № 15 "Партнер Нефть" [19:00:51]OFD Sender: Processing packet 47456 [packets to send 8, broken 7] [19:00:51]ProducePacketName [19:00:51]name=ofd_packets/00047456 [19:00:51]OFD Sender: To server: pG, [19:00:51]CommunicateWithHost lk.salyk.kg:30040 [19:00:51]ConnectInit lk.salyk.kg [19:00:51]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:00:51]line СНО: Общий режим [19:00:51]line Чек 15 13.03.2024 19:00 [19:00:51]line Смена: 316 ФФД: 1.0 [19:00:51]line ЗНМ: 0300000097 [19:00:51]line РНМ: 0000000000092018 [19:00:51]line Версия ККМ: 001 [19:00:51]line ФМ: 0000000000871816 [19:00:51]line ФД: 47456 [19:00:51]line ФПД: 143506082603474 [19:00:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T190049&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47456&fm=143506082603474&tin=02508201610067®Number=0000000000092018&sum=21300 [19:00:51]line 0 [19:00:51]written 0, free lines is 4095 [19:00:51]Connected sock=10 [19:00:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 9B 01 00 00 F6 35 93 01 D1 95 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 08 00 00 00 00 07 04 06 00 34 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 0F 00 00 00 F4 03 04 00 E1 F7 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 60 B9 00 00 35 04 06 00 82 84 9D 13 A1 D2 DE 0E F0 10 EB 37 71 25 [19:00:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 DA 30 47 00 C1 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 60 B9 00 00 F4 03 04 00 6F A2 F1 65 B6 04 01 00 00 90 DC 02 FA EB C2 6B E5 [19:00:52]CommunicateWithHost err = 0 [19:00:52]CheckOFDResponse [19:00:52]1017 (14) - 77093643461234 [19:00:52]1041 (16) - 0000000000871816 [19:00:52]1040 (4) - 47456 [19:00:52]1012 (4) - 13.03.2024 12:56 [19:00:52]1206 (1) - 0 [19:00:52]OFD Sender: Remove packet 47456 [19:00:52]ProducePacketName [19:00:52]name=ofd_packets/00047456 [19:00:52]NVStorageDeleteData [19:00:52]Write to MH i2c: 01 00 00 52 00 52 [19:00:52]Write i2c OK [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: 01 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: 01 07 00 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: 01 07 00 52 00 00 00 00 00 00 A6 0C 0B [19:00:52]RasterBufferAndPrint [19:00:52]line [19:00:52]line [19:00:52]line [19:00:52]line [19:00:52]line [19:00:52]written 0, free lines is 3244 [19:00:52]MH_Cut [19:00:52]Write to MH i2c: D1 01 00 59 00 01 2B [19:00:52]Write i2c OK [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: D1 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: D1 01 00 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: D1 01 00 59 00 00 2A [19:00:52]Write to MH i2c: 01 00 00 5A 00 5A [19:00:52]Write i2c OK [19:00:52]MH_I2C_Read... [19:00:52]OFD Sender: No OFD packet to send [19:00:53]*** Cut start [19:00:53]*** Purtial cut [19:00:53]*** Stage 1: CUTSNS_PIN = 1 [19:00:53]Read from MH i2c: 01 [19:00:53]*** Stop cut motor [19:00:53]MH_I2C_Read... [19:00:53]*** Cut end [19:00:53]Read from MH i2c: 01 07 00 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 FF 0F 6F [19:00:53]process_action close_receipt done [19:00:53]requested_data is exist [19:00:53]produce_requested_data [19:00:53]requested_item fm.sn is exist - process it [19:00:53]wFMCommunicate request_size=4 [19:00:53]MH_SAM_APDU [19:00:53]CAPDU: 80 11 00 00 [19:00:53]Write to MH i2c: E2 08 00 5B 00 80 11 00 00 00 00 00 00 D5 [19:00:53]Write i2c OK [19:00:53]MH_I2C_Read... [19:00:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:53]Read from MH i2c: E2 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: E2 17 00 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: E2 17 00 5B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 27 [19:00:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:00:53]wFMCommunicate OK [19:00:53]requested_item fd.num is exist - process it [19:00:53]SAM_PROTO_GetFieldsCounters [19:00:53]wFMCommunicate request_size=4 [19:00:53]MH_SAM_APDU [19:00:53]CAPDU: 80 13 00 00 [19:00:53]Write to MH i2c: E2 08 00 5C 00 80 13 00 00 00 00 00 00 D8 [19:00:53]Write i2c OK [19:00:53]MH_I2C_Read... [19:00:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:53]Read from MH i2c: E2 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: E2 62 00 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: E2 62 00 5C 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 60 B9 00 00 0E 04 04 00 3C 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 76 [19:00:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 60 B9 00 00 0E 04 04 00 3C 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 [19:00:53]wFMCommunicate OK [19:00:53]SAM_PROTO_GetFieldsCounters done [19:00:53]requested_item shift.num is exist - process it [19:00:53]requested_item shift.opened is exist - process it [19:00:53]req_shift_opened [19:00:53]FM_GetShiftState [19:00:53]SAM_PROTO_GetShiftState [19:00:53]wFMCommunicate request_size=4 [19:00:53]MH_SAM_APDU [19:00:53]CAPDU: 80 13 01 00 [19:00:53]Write to MH i2c: E2 08 00 5D 00 80 13 01 00 00 00 00 00 DA [19:00:53]Write i2c OK [19:00:53]MH_I2C_Read... [19:00:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:53]Read from MH i2c: E2 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: E2 0E 00 [19:00:53]MH_I2C_Read... [19:00:53]Read from MH i2c: E2 0E 00 5D 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 F7 [19:00:53]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:00:53]wFMCommunicate OK [19:00:53]SAM_PROTO_GetShiftState done [19:00:53]FM_GetShiftState done [19:00:53]req_shift_opened done [19:00:53]requested_item shift.open_date is exist - process it [19:00:53]req_shift_open_date [19:00:53]req_shift_open_date done [19:00:53]produce_requested_data done [19:00:53]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47456,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:00:53]process_action_free close_receipt [19:00:53]json_value_free [19:00:53]json_value_free done [19:00:53]process_json_proto returns [19:00:53]Send response to host [19:00:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47456,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:00:53]free response buf [19:00:53]execute_script done [19:00:53]execute_script returns [19:00:53]free content buf [19:00:53]Sock 9.Close socket [19:00:53]Sock 9.Thread stoped [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:24]accept exits with 7 [19:04:24]New connection [19:04:24]New thread 3067030884 created [19:04:24]Thread 3067174244 joined [19:04:24]Waiting for new connection... [19:04:24] Sock 7.Parse request [19:04:24]Sock 7.Check first char [19:04:24]Sock 7.First char is OK [19:04:24]request: POST /json_proto HTTP/1.0 [19:04:24]Method: POST [19:04:24]URL: /json_proto [19:04:24]Method is POST - this is cgi request [19:04:24]url: /json_proto [19:04:24]query_string will be loaded in cgi processing [19:04:24]execute_cgi json_proto POST (null) [19:04:24]execute_cgi path=json_proto method=POST [19:04:24]POST find Content-Length [19:04:24]Host: 172.17.32.68:8080 [19:04:24]Content-Length: 632 [19:04:24]Content-Type: application/json [19:04:24] [19:04:24]POST finish read [19:04:24]Found Content-Length = 632 [19:04:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242367", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:24]execute_script... [19:04:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242367", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:24]POST & json_proto [19:04:24]process_json_proto [19:04:24]json parsed OK: [19:04:24]protocol is kg_v1.0 [19:04:24]action value=close_receipt [19:04:24]process_action close_receipt [19:04:24]cmd_close_receipt [19:04:24]MH_GetDate [19:04:24]Write to MH i2c: F0 00 00 5E 00 4D [19:04:24]Write i2c OK [19:04:24]MH_I2C_Read... [19:04:24]Read from MH i2c: F0 [19:04:24]MH_I2C_Read... [19:04:24]Read from MH i2c: F0 09 00 [19:04:24]MH_I2C_Read... [19:04:24]Read from MH i2c: F0 09 00 5E 00 00 B8 F8 F1 65 0A 64 6E 65 9D [19:04:24]GetLastDocTimeStamp 1710356449 [19:04:24]current date 1710356664 [19:04:24]FM_GetShiftState [19:04:24]SAM_PROTO_GetShiftState [19:04:24]wFMCommunicate request_size=4 [19:04:24]MH_SAM_APDU [19:04:24]CAPDU: 80 13 01 00 [19:04:24]Write to MH i2c: E2 08 00 5F 00 80 13 01 00 00 00 00 00 DC [19:04:24]Write i2c OK [19:04:24]MH_I2C_Read... [19:04:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:24]Read from MH i2c: E2 [19:04:24]MH_I2C_Read... [19:04:24]Read from MH i2c: E2 0E 00 [19:04:24]MH_I2C_Read... [19:04:24]Read from MH i2c: E2 0E 00 5F 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 F9 [19:04:24]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:04:24]wFMCommunicate OK [19:04:24]SAM_PROTO_GetShiftState done [19:04:24]FM_GetShiftState done [19:04:24]opened in 1710338059 [19:04:24]opened+sec_in_day 1710424459 [19:04:24]quantity*price = 4000 [19:04:24]sum+1 = 4001 [19:04:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 16 13.03.2024 19:04 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47457 ФПД: 43961321224428 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T190424&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47457&fm=43961321224428&tin=02508201610067®Number=0000000000092018&sum=4000 0 [19:04:25]StoreToDocumentArchive [19:04:25]shift 316 fd 47457 [19:04:25]save to /storage/0316/doc_00047457 [19:04:25]save last doc name /storage/0316/doc_00047457 to /storage/kkm_last_doc_name [19:04:25]save OK [19:04:25]Clear old archive folders... [19:04:25]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:04:25]tlvbuf is 0119C390 [19:04:25]SAM_PROTO_ClearQueue [19:04:25]wFMCommunicate request_size=4 [19:04:25]MH_SAM_APDU [19:04:25]CAPDU: 80 09 00 00 [19:04:25]Write to MH i2c: E2 08 00 6C 00 80 09 00 00 00 00 00 00 DE [19:04:25]Write i2c OK [19:04:25]MH_I2C_Read... [19:04:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:04:25]Read from MH i2c: E2 [19:04:25]MH_I2C_Read... [19:04:25]Read from MH i2c: E2 03 00 [19:04:25]MH_I2C_Read... [19:04:25]Read from MH i2c: E2 03 00 6C 00 00 90 00 E0 [19:04:25]RAPDU: 90 00 [19:04:25]wFMCommunicate OK [19:04:25]SAM_PROTO_ClearQueue done [19:04:25]KKMCreateOFDPacket [19:04:25]OFDProtocolAddRootSTLVToBuf [19:04:25]FM_MakeSignedData [19:04:25]FM_MakeSignedData [19:04:25]SAM_PROTO_SignData [19:04:25]wFMCommunicate request_size=4 [19:04:25]MH_SAM_APDU [19:04:25]CAPDU: 80 0D 01 02 [19:04:25]Write to MH i2c: E2 08 00 6D 00 80 0D 01 02 00 00 00 00 E6 [19:04:25]Write i2c OK [19:04:25]MH_I2C_Read... [19:04:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:04:25]Read from MH i2c: E2 [19:04:25]MH_I2C_Read... [19:04:25]Read from MH i2c: E2 03 00 [19:04:25]MH_I2C_Read... [19:04:25]Read from MH i2c: E2 03 00 6D 00 00 90 00 E1 [19:04:25]RAPDU: 90 00 [19:04:25]wFMCommunicate OK [19:04:25]wFMCommunicate request_size=255 [19:04:25]MH_SAM_APDU [19:04:25]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B8 F8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:04:25]Write to MH i2c: E2 02 01 6E 00 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B8 F8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 19 [19:04:25]Write i2c OK [19:04:25]MH_I2C_Read... [19:04:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:25]Read from MH i2c: E2 [19:04:25]MH_I2C_Read... [19:04:25]Read from MH i2c: E2 03 00 [19:04:25]MH_I2C_Read... [19:04:25]Read from MH i2c: E2 03 00 6E 00 00 90 00 E2 [19:04:25]RAPDU: 90 00 [19:04:25]wFMCommunicate OK [19:04:25]wFMCommunicate request_size=30 [19:04:25]MH_SAM_APDU [19:04:25]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 61 B9 00 00 35 04 06 00 27 FB 8A EF 78 EC [19:04:25]Write to MH i2c: E2 21 00 6F 00 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 61 B9 00 00 35 04 06 00 27 FB 8A EF 78 EC 00 00 FA [19:04:25]Write i2c OK [19:04:25]MH_I2C_Read... [19:04:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:26]Read from MH i2c: E2 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: E2 03 00 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: E2 03 00 6F 00 00 90 00 E3 [19:04:26]RAPDU: 90 00 [19:04:26]wFMCommunicate OK [19:04:26]wFMCommunicate request_size=4 [19:04:26]MH_SAM_APDU [19:04:26]CAPDU: 80 0D 03 02 [19:04:26]Write to MH i2c: E2 08 00 70 00 80 0D 03 02 00 00 00 00 EB [19:04:26]Write i2c OK [19:04:26]MH_I2C_Read... [19:04:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:04:26]Read from MH i2c: E2 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: E2 0B 00 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: E2 0B 00 70 00 00 86 3C FD 77 42 CD F6 19 90 00 40 [19:04:26]RAPDU: 86 3C FD 77 42 CD F6 19 90 00 [19:04:26]wFMCommunicate OK [19:04:26]SAM_PROTO_SignData done [19:04:26]FM_MakeSignedData done [19:04:26]CreateOFDProtocolMessage [19:04:26]wFMCommunicate request_size=4 [19:04:26]MH_SAM_APDU [19:04:26]CAPDU: 80 11 00 00 [19:04:26]Write to MH i2c: E2 08 00 71 00 80 11 00 00 00 00 00 00 EB [19:04:26]Write i2c OK [19:04:26]MH_I2C_Read... [19:04:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:26]Read from MH i2c: E2 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: E2 17 00 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: E2 17 00 71 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3D [19:04:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:04:26]wFMCommunicate OK [19:04:26]CreateOFDProtocolMessage done [19:04:26]OFDSenderStorePacket 47457 [19:04:26]StoreOFDPacket docnum=47457 [19:04:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 69 A5 1B 01 28 B8 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B8 F8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 61 B9 00 00 35 04 06 00 27 FB 8A EF 78 EC 86 3C FD 77 42 CD F6 19 [19:04:26]CheckFolder [19:04:26]dirname=/storage/ofd_packets [19:04:26]CheckFolder done [19:04:26]ProducePacketName [19:04:26]name=ofd_packets/00047457 [19:04:26]NVStorageSaveData ofd_packets/00047457 [19:04:26]File name is /storage/ofd_packets/00047457 [19:04:26]Write 321 bytes [19:04:26]NVStorageSaveData done [19:04:26]OFDSenderStorePacket done [19:04:26]KKMCreateOFDPacket done [19:04:26]NVStorageSaveData kkm_last_timestamp [19:04:26]File name is /storage/kkm_last_timestamp [19:04:26]Write 4 bytes [19:04:26]NVStorageSaveData done [19:04:26]ExternCall_PrintAddStr [19:04:26]wPrintStart [19:04:26]Write to MH i2c: 01 00 00 72 00 72 [19:04:26]Write i2c OK [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: 01 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: 01 07 00 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: 01 07 00 72 00 00 00 00 00 00 FF 0F 87 [19:04:26]RasterBufferAndPrint [19:04:26]line Счет N : (3)242367 [19:04:26]line ИНН: 02508201610067 [19:04:26]line Контрольно-Кассовый Чек [19:04:26]line ПРОДАЖА [19:04:26]line Товар: 4700000160211 [19:04:26]line Вода Легенда 0,5л [19:04:26]line 1.000 * 40.00 [19:04:26]line = 40.00 [19:04:26]line НДС 12% НСП 1% [19:04:26]line > о реализуемом товаре [19:04:26]line ИТОГО: 40.00 [19:04:26]line НСП 1% : 0.35 [19:04:26]line НДС 12% : 4.25 [19:04:26]line Наличными: 40.00 [19:04:26]line Безнал.: 0.00 [19:04:26]line Место: АЗС № 15 "Партнер Нефть" [19:04:26]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:04:26]line СНО: Общий режим [19:04:26]line Чек 16 13.03.2024 19:04 [19:04:26]line Смена: 316 ФФД: 1.0 [19:04:26]line ЗНМ: 0300000097 [19:04:26]line РНМ: 0000000000092018 [19:04:26]line Версия ККМ: 001 [19:04:26]line ФМ: 0000000000871816 [19:04:26]line ФД: 47457 [19:04:26]line ФПД: 43961321224428 [19:04:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T190424&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47457&fm=43961321224428&tin=02508201610067®Number=0000000000092018&sum=4000 [19:04:26]line 0 [19:04:26]OFD Sender: Processing packet 47457 [packets to send 8, broken 7] [19:04:26]ProducePacketName [19:04:26]name=ofd_packets/00047457 [19:04:26]OFD Sender: To server: pG, [19:04:26]CommunicateWithHost lk.salyk.kg:30040 [19:04:26]ConnectInit lk.salyk.kg [19:04:26]written 0, free lines is 4095 [19:04:26]Connected sock=10 [19:04:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 69 A5 1B 01 28 B8 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B8 F8 F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 61 B9 00 00 35 04 06 00 27 FB 8A EF 78 EC 86 3C FD 77 42 CD F6 19 [19:04:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 49 5F 47 00 8C 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 61 B9 00 00 F4 03 04 00 46 A3 F1 65 B6 04 01 00 00 EB E0 16 29 57 B7 A9 B0 [19:04:26]CommunicateWithHost err = 0 [19:04:26]CheckOFDResponse [19:04:26]1017 (14) - 77093643461234 [19:04:26]1041 (16) - 0000000000871816 [19:04:26]1040 (4) - 47457 [19:04:26]1012 (4) - 13.03.2024 12:59 [19:04:26]1206 (1) - 0 [19:04:26]OFD Sender: Remove packet 47457 [19:04:26]ProducePacketName [19:04:26]name=ofd_packets/00047457 [19:04:26]NVStorageDeleteData [19:04:26]Write to MH i2c: 01 00 00 9A 00 9A [19:04:26]Write i2c OK [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: 01 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: 01 07 00 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: 01 07 00 9A 00 00 00 00 00 00 F1 0C 9E [19:04:26]RasterBufferAndPrint [19:04:26]line [19:04:26]line [19:04:26]line [19:04:26]line [19:04:26]line [19:04:26]written 0, free lines is 3319 [19:04:26]MH_Cut [19:04:26]Write to MH i2c: D1 01 00 A1 00 01 73 [19:04:26]Write i2c OK [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: D1 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: D1 01 00 [19:04:26]MH_I2C_Read... [19:04:26]Read from MH i2c: D1 01 00 A1 00 00 72 [19:04:26]Write to MH i2c: 01 00 00 A2 00 A2 [19:04:26]Write i2c OK [19:04:26]MH_I2C_Read... [19:04:27]OFD Sender: No OFD packet to send [19:04:27]*** Cut start [19:04:27]*** Purtial cut [19:04:27]*** Stage 1: CUTSNS_PIN = 1 [19:04:27]Read from MH i2c: 01 [19:04:27]MH_I2C_Read... [19:04:27]*** Stop cut motor [19:04:27]*** Cut end [19:04:27]Read from MH i2c: 01 07 00 [19:04:27]MH_I2C_Read... [19:04:27]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 FF 0F B7 [19:04:27]process_action close_receipt done [19:04:27]requested_data is exist [19:04:27]produce_requested_data [19:04:27]requested_item fm.sn is exist - process it [19:04:27]wFMCommunicate request_size=4 [19:04:27]MH_SAM_APDU [19:04:27]CAPDU: 80 11 00 00 [19:04:27]Write to MH i2c: E2 08 00 A3 00 80 11 00 00 00 00 00 00 1D [19:04:27]Write i2c OK [19:04:27]MH_I2C_Read... [19:04:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:28]Read from MH i2c: E2 [19:04:28]MH_I2C_Read... [19:04:28]Read from MH i2c: E2 17 00 [19:04:28]MH_I2C_Read... [19:04:28]Read from MH i2c: E2 17 00 A3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 6F [19:04:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:04:28]wFMCommunicate OK [19:04:28]requested_item fd.num is exist - process it [19:04:28]SAM_PROTO_GetFieldsCounters [19:04:28]wFMCommunicate request_size=4 [19:04:28]MH_SAM_APDU [19:04:28]CAPDU: 80 13 00 00 [19:04:28]Write to MH i2c: E2 08 00 A4 00 80 13 00 00 00 00 00 00 20 [19:04:28]Write i2c OK [19:04:28]MH_I2C_Read... [19:04:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:04:28]Read from MH i2c: E2 [19:04:28]MH_I2C_Read... [19:04:28]Read from MH i2c: E2 62 00 [19:04:28]MH_I2C_Read... [19:04:28]Read from MH i2c: E2 62 00 A4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 61 B9 00 00 0E 04 04 00 3C 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 C2 [19:04:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 61 B9 00 00 0E 04 04 00 3C 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 [19:04:28]wFMCommunicate OK [19:04:28]SAM_PROTO_GetFieldsCounters done [19:04:28]requested_item shift.num is exist - process it [19:04:28]requested_item shift.opened is exist - process it [19:04:28]req_shift_opened [19:04:28]FM_GetShiftState [19:04:28]SAM_PROTO_GetShiftState [19:04:28]wFMCommunicate request_size=4 [19:04:28]MH_SAM_APDU [19:04:28]CAPDU: 80 13 01 00 [19:04:28]Write to MH i2c: E2 08 00 A5 00 80 13 01 00 00 00 00 00 22 [19:04:28]Write i2c OK [19:04:28]MH_I2C_Read... [19:04:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:28]Read from MH i2c: E2 [19:04:28]MH_I2C_Read... [19:04:28]Read from MH i2c: E2 0E 00 [19:04:28]MH_I2C_Read... [19:04:28]Read from MH i2c: E2 0E 00 A5 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 3F [19:04:28]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:04:28]wFMCommunicate OK [19:04:28]SAM_PROTO_GetShiftState done [19:04:28]FM_GetShiftState done [19:04:28]req_shift_opened done [19:04:28]requested_item shift.open_date is exist - process it [19:04:28]req_shift_open_date [19:04:28]req_shift_open_date done [19:04:28]produce_requested_data done [19:04:28]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47457,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:04:28]process_action_free close_receipt [19:04:28]json_value_free [19:04:28]json_value_free done [19:04:28]process_json_proto returns [19:04:28]Send response to host [19:04:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47457,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:04:28]free response buf [19:04:28]execute_script done [19:04:28]execute_script returns [19:04:28]free content buf [19:04:28]Sock 7.Close socket [19:04:28]Sock 7.Thread stoped [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15: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:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]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:29:21]ConnectInit Can't connect to host [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:12]accept exits with 9 [19:31:12]New connection [19:31:12]New thread 3067174244 created [19:31:12]Thread 3067030884 joined [19:31:12]Waiting for new connection... [19:31:12] Sock 9.Parse request [19:31:12]Sock 9.Check first char [19:31:12]Sock 9.First char is OK [19:31:12]request: POST /json_proto HTTP/1.0 [19:31:12]Method: POST [19:31:12]URL: /json_proto [19:31:12]Method is POST - this is cgi request [19:31:12]url: /json_proto [19:31:12]query_string will be loaded in cgi processing [19:31:12]execute_cgi json_proto POST (null) [19:31:12]execute_cgi path=json_proto method=POST [19:31:12]POST find Content-Length [19:31:12]Host: 172.17.32.68:8080 [19:31:12]Content-Length: 626 [19:31:12]Content-Type: application/json [19:31:12] [19:31:12]POST finish read [19:31:12]Found Content-Length = 626 [19:31:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242368", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:31:12]execute_script... [19:31: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)242368", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:31:12]POST & json_proto [19:31:12]process_json_proto [19:31:12]json parsed OK: [19:31:12]protocol is kg_v1.0 [19:31:12]action value=close_receipt [19:31:12]process_action close_receipt [19:31:12]cmd_close_receipt [19:31:12]MH_GetDate [19:31:12]Write to MH i2c: F0 00 00 A6 00 95 [19:31:12]Write i2c OK [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: F0 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: F0 09 00 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: F0 09 00 A6 00 00 00 FF F1 65 0A 64 6E 65 34 [19:31:12]GetLastDocTimeStamp 1710356664 [19:31:12]current date 1710358272 [19:31:12]FM_GetShiftState [19:31:12]SAM_PROTO_GetShiftState [19:31:12]wFMCommunicate request_size=4 [19:31:12]MH_SAM_APDU [19:31:12]CAPDU: 80 13 01 00 [19:31:12]Write to MH i2c: E2 08 00 A7 00 80 13 01 00 00 00 00 00 24 [19:31:12]Write i2c OK [19:31:12]MH_I2C_Read... [19:31:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:12]Read from MH i2c: E2 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 0E 00 [19:31:12]MH_I2C_Read... [19:31:12]Read from MH i2c: E2 0E 00 A7 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 41 [19:31:12]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:31:12]wFMCommunicate OK [19:31:12]SAM_PROTO_GetShiftState done [19:31:12]FM_GetShiftState done [19:31:12]opened in 1710338059 [19:31:12]opened+sec_in_day 1710424459 [19:31:12]quantity*price = 13000 [19:31:12]sum+1 = 13001 [19:31:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 17 13.03.2024 19:31 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47458 ФПД: 193501191385592 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193112&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47458&fm=193501191385592&tin=02508201610067®Number=0000000000092018&sum=13000 0 [19:31:13]StoreToDocumentArchive [19:31:13]shift 316 fd 47458 [19:31:13]save to /storage/0316/doc_00047458 [19:31:13]save last doc name /storage/0316/doc_00047458 to /storage/kkm_last_doc_name [19:31:13]save OK [19:31:13]Clear old archive folders... [19:31:13]ProcessDocumentItem done err = 0, tmpTLVsize=278 [19:31:13]tlvbuf is 011A5430 [19:31:13]SAM_PROTO_ClearQueue [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 09 00 00 [19:31:13]Write to MH i2c: E2 08 00 B4 00 80 09 00 00 00 00 00 00 26 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 B4 00 00 90 00 28 [19:31:13]RAPDU: 90 00 [19:31:13]wFMCommunicate OK [19:31:13]SAM_PROTO_ClearQueue done [19:31:13]KKMCreateOFDPacket [19:31:13]OFDProtocolAddRootSTLVToBuf [19:31:13]FM_MakeSignedData [19:31:13]FM_MakeSignedData [19:31:13]SAM_PROTO_SignData [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 0D 01 02 [19:31:13]Write to MH i2c: E2 08 00 B5 00 80 0D 01 02 00 00 00 00 2E [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 B5 00 00 90 00 29 [19:31:13]RAPDU: 90 00 [19:31:13]wFMCommunicate OK [19:31:13]wFMCommunicate request_size=255 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 00 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 [19:31:13]Write to MH i2c: E2 02 01 B6 00 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 00 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 00 00 84 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]OFD Sender: No OFD packet to send [19:31:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 B6 00 00 90 00 2A [19:31:13]RAPDU: 90 00 [19:31:13]wFMCommunicate OK [19:31:13]wFMCommunicate request_size=37 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 62 B9 00 00 35 04 06 00 AF FD 01 C6 B1 F8 [19:31:13]Write to MH i2c: E2 28 00 B7 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 62 B9 00 00 35 04 06 00 AF FD 01 C6 B1 F8 00 00 BE [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 03 00 B7 00 00 90 00 2B [19:31:13]RAPDU: 90 00 [19:31:13]wFMCommunicate OK [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 0D 03 02 [19:31:13]Write to MH i2c: E2 08 00 B8 00 80 0D 03 02 00 00 00 00 33 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 0B 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 0B 00 B8 00 00 81 FD F1 26 38 F3 2B 84 90 00 A3 [19:31:13]RAPDU: 81 FD F1 26 38 F3 2B 84 90 00 [19:31:13]wFMCommunicate OK [19:31:13]SAM_PROTO_SignData done [19:31:13]FM_MakeSignedData done [19:31:13]CreateOFDProtocolMessage [19:31:13]wFMCommunicate request_size=4 [19:31:13]MH_SAM_APDU [19:31:13]CAPDU: 80 11 00 00 [19:31:13]Write to MH i2c: E2 08 00 B9 00 80 11 00 00 00 00 00 00 33 [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:13]Read from MH i2c: E2 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 17 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: E2 17 00 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 85 [19:31:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:31:13]wFMCommunicate OK [19:31:13]CreateOFDProtocolMessage done [19:31:13]OFDSenderStorePacket 47458 [19:31:13]StoreOFDPacket docnum=47458 [19:31:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2A 01 00 00 18 4D 22 01 16 04 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 00 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 62 B9 00 00 35 04 06 00 AF FD 01 C6 B1 F8 81 FD F1 26 38 F3 2B 84 [19:31:13]CheckFolder [19:31:13]dirname=/storage/ofd_packets [19:31:13]CheckFolder done [19:31:13]ProducePacketName [19:31:13]name=ofd_packets/00047458 [19:31:13]NVStorageSaveData ofd_packets/00047458 [19:31:13]File name is /storage/ofd_packets/00047458 [19:31:13]Write 328 bytes [19:31:13]NVStorageSaveData done [19:31:13]OFDSenderStorePacket done [19:31:13]KKMCreateOFDPacket done [19:31:13]NVStorageSaveData kkm_last_timestamp [19:31:13]File name is /storage/kkm_last_timestamp [19:31:13]Write 4 bytes [19:31:13]NVStorageSaveData done [19:31:13]ExternCall_PrintAddStr [19:31:13]wPrintStart [19:31:13]Write to MH i2c: 01 00 00 BA 00 BA [19:31:13]Write i2c OK [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: 01 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: 01 07 00 [19:31:13]MH_I2C_Read... [19:31:13]Read from MH i2c: 01 07 00 BA 00 00 00 00 00 00 FF 0F CF [19:31:13]RasterBufferAndPrint [19:31:13]line Счет N : (3)242368 [19:31:13]line ИНН: 02508201610067 [19:31:13]line Контрольно-Кассовый Чек [19:31:13]line ПРОДАЖА [19:31:13]line Товар: 48741224 [19:31:13]line Сигареты Winston Super Slims Blue [19:31:13]line 1.000 * 130.00 [19:31:13]line = 130.00 [19:31:13]line НДС 12% НСП 1% [19:31:13]line > о реализуемом товаре [19:31:13]line ИТОГО: 130.00 [19:31:13]line НСП 1% : 1.15 [19:31:13]line НДС 12% : 13.80 [19:31:13]line Наличными: 130.00 [19:31:13]line Безнал.: 0.00 [19:31:13]line Место: АЗС № 15 "Партнер Нефть" [19:31:13]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:31:13]line СНО: Общий режим [19:31:13]line Чек 17 13.03.2024 19:31 [19:31:13]line Смена: 316 ФФД: 1.0 [19:31:13]line ЗНМ: 0300000097 [19:31:13]line РНМ: 0000000000092018 [19:31:13]line Версия ККМ: 001 [19:31:13]line ФМ: 0000000000871816 [19:31:13]line ФД: 47458 [19:31:13]line ФПД: 193501191385592 [19:31:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193112&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47458&fm=193501191385592&tin=02508201610067®Number=0000000000092018&sum=13000 [19:31:14]line 0 [19:31:14]OFD Sender: Processing packet 47458 [packets to send 8, broken 7] [19:31:14]ProducePacketName [19:31:14]name=ofd_packets/00047458 [19:31:14]OFD Sender: To server: pG, [19:31:14]CommunicateWithHost lk.salyk.kg:30040 [19:31:14]ConnectInit lk.salyk.kg [19:31:14]written 0, free lines is 4095 [19:31:14]Connected sock=10 [19:31:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2A 01 00 00 18 4D 22 01 16 04 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 00 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 62 B9 00 00 35 04 06 00 AF FD 01 C6 B1 F8 81 FD F1 26 38 F3 2B 84 [19:31:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 18 D0 47 00 85 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 62 B9 00 00 F4 03 04 00 8E A9 F1 65 B6 04 01 00 00 16 77 F7 25 E0 AA 5D 81 [19:31:14]CommunicateWithHost err = 0 [19:31:14]CheckOFDResponse [19:31:14]1017 (14) - 77093643461234 [19:31:14]1041 (16) - 0000000000871816 [19:31:14]1040 (4) - 47458 [19:31:14]1012 (4) - 13.03.2024 13:26 [19:31:14]1206 (1) - 0 [19:31:14]OFD Sender: Remove packet 47458 [19:31:14]ProducePacketName [19:31:14]name=ofd_packets/00047458 [19:31:14]NVStorageDeleteData [19:31:14]Write to MH i2c: 01 00 00 E3 00 E3 [19:31:14]Write i2c OK [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: 01 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: 01 07 00 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: 01 07 00 E3 00 00 00 00 00 00 D0 0C C6 [19:31:14]RasterBufferAndPrint [19:31:14]line [19:31:14]line [19:31:14]line [19:31:14]line [19:31:14]line [19:31:14]written 0, free lines is 3287 [19:31:14]MH_Cut [19:31:14]Write to MH i2c: D1 01 00 EA 00 01 BC [19:31:14]Write i2c OK [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: D1 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: D1 01 00 [19:31:14]MH_I2C_Read... [19:31:14]Read from MH i2c: D1 01 00 EA 00 00 BB [19:31:14]Write to MH i2c: 01 00 00 EB 00 EB [19:31:14]Write i2c OK [19:31:14]MH_I2C_Read... [19:31:15]OFD Sender: No OFD packet to send [19:31:15]*** Cut start [19:31:15]*** Purtial cut [19:31:15]*** Stage 1: CUTSNS_PIN = 1 [19:31:15]Read from MH i2c: 01 [19:31:15]MH_I2C_Read... [19:31:15]*** Stop cut motor [19:31:15]*** Cut end [19:31:15]Read from MH i2c: 01 07 00 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: 01 07 00 EB 00 00 00 00 00 00 FF 0F 00 [19:31:15]process_action close_receipt done [19:31:15]requested_data is exist [19:31:15]produce_requested_data [19:31:15]requested_item fm.sn is exist - process it [19:31:15]wFMCommunicate request_size=4 [19:31:15]MH_SAM_APDU [19:31:15]CAPDU: 80 11 00 00 [19:31:15]Write to MH i2c: E2 08 00 EC 00 80 11 00 00 00 00 00 00 66 [19:31:15]Write i2c OK [19:31:15]MH_I2C_Read... [19:31:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:15]Read from MH i2c: E2 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 17 00 [19:31:15]MH_I2C_Read... [19:31:15]Read from MH i2c: E2 17 00 EC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B8 [19:31:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:31:15]wFMCommunicate OK [19:31:15]requested_item fd.num is exist - process it [19:31:15]SAM_PROTO_GetFieldsCounters [19:31:15]wFMCommunicate request_size=4 [19:31:15]MH_SAM_APDU [19:31:15]CAPDU: 80 13 00 00 [19:31:15]Write to MH i2c: E2 08 00 ED 00 80 13 00 00 00 00 00 00 69 [19:31:15]Write i2c OK [19:31:15]MH_I2C_Read... [19:31:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:31:16]Read from MH i2c: E2 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 62 00 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 62 00 ED 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 62 B9 00 00 0E 04 04 00 3C 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 0F [19:31:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 62 B9 00 00 0E 04 04 00 3C 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 [19:31:16]wFMCommunicate OK [19:31:16]SAM_PROTO_GetFieldsCounters done [19:31:16]requested_item shift.num is exist - process it [19:31:16]requested_item shift.opened is exist - process it [19:31:16]req_shift_opened [19:31:16]FM_GetShiftState [19:31:16]SAM_PROTO_GetShiftState [19:31:16]wFMCommunicate request_size=4 [19:31:16]MH_SAM_APDU [19:31:16]CAPDU: 80 13 01 00 [19:31:16]Write to MH i2c: E2 08 00 EE 00 80 13 01 00 00 00 00 00 6B [19:31:16]Write i2c OK [19:31:16]MH_I2C_Read... [19:31:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:16]Read from MH i2c: E2 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 0E 00 [19:31:16]MH_I2C_Read... [19:31:16]Read from MH i2c: E2 0E 00 EE 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 88 [19:31:16]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:31:16]wFMCommunicate OK [19:31:16]SAM_PROTO_GetShiftState done [19:31:16]FM_GetShiftState done [19:31:16]req_shift_opened done [19:31:16]requested_item shift.open_date is exist - process it [19:31:16]req_shift_open_date [19:31:16]req_shift_open_date done [19:31:16]produce_requested_data done [19:31:16]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47458,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:31:16]process_action_free close_receipt [19:31:16]json_value_free [19:31:16]json_value_free done [19:31:16]process_json_proto returns [19:31:16]Send response to host [19:31:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47458,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:31:16]free response buf [19:31:16]execute_script done [19:31:16]execute_script returns [19:31:16]free content buf [19:31:16]Sock 9.Close socket [19:31:16]Sock 9.Thread stoped [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:41]accept exits with 7 [19:31:41]New connection [19:31:41]New thread 3067030884 created [19:31:41]Thread 3067174244 joined [19:31:41]Waiting for new connection... [19:31:41] Sock 7.Parse request [19:31:41]Sock 7.Check first char [19:31:41]Sock 7.First char is OK [19:31:41]request: POST /json_proto HTTP/1.0 [19:31:41]Method: POST [19:31:41]URL: /json_proto [19:31:41]Method is POST - this is cgi request [19:31:41]url: /json_proto [19:31:41]query_string will be loaded in cgi processing [19:31:41]execute_cgi json_proto POST (null) [19:31:41]execute_cgi path=json_proto method=POST [19:31:41]POST find Content-Length [19:31:41]Host: 172.17.32.68:8080 [19:31:41]Content-Length: 814 [19:31:41]Content-Type: application/json [19:31:41] [19:31:41]POST finish read [19:31:41]Found Content-Length = 814 [19:31:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242369", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:31:41]execute_script... [19:31:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242369", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:31:41]POST & json_proto [19:31:41]process_json_proto [19:31:41]json parsed OK: [19:31:41]protocol is kg_v1.0 [19:31:41]action value=close_receipt [19:31:41]process_action close_receipt [19:31:41]cmd_close_receipt [19:31:41]MH_GetDate [19:31:41]Write to MH i2c: F0 00 00 EF 00 DE [19:31:41]Write i2c OK [19:31:41]MH_I2C_Read... [19:31:41]Read from MH i2c: F0 [19:31:41]MH_I2C_Read... [19:31:41]Read from MH i2c: F0 09 00 [19:31:41]MH_I2C_Read... [19:31:41]Read from MH i2c: F0 09 00 EF 00 00 1D FF F1 65 0A 64 6E 65 9A [19:31:41]GetLastDocTimeStamp 1710358272 [19:31:41]current date 1710358301 [19:31:41]FM_GetShiftState [19:31:41]SAM_PROTO_GetShiftState [19:31:41]wFMCommunicate request_size=4 [19:31:41]MH_SAM_APDU [19:31:41]CAPDU: 80 13 01 00 [19:31:41]Write to MH i2c: E2 08 00 F0 00 80 13 01 00 00 00 00 00 6D [19:31:41]Write i2c OK [19:31:41]MH_I2C_Read... [19:31:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:41]Read from MH i2c: E2 [19:31:41]MH_I2C_Read... [19:31:41]Read from MH i2c: E2 0E 00 [19:31:41]MH_I2C_Read... [19:31:41]Read from MH i2c: E2 0E 00 F0 00 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 8A [19:31:41]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:31:41]wFMCommunicate OK [19:31:41]SAM_PROTO_GetShiftState done [19:31:41]FM_GetShiftState done [19:31:41]opened in 1710338059 [19:31:41]opened+sec_in_day 1710424459 [19:31:41]quantity*price = 14400 [19:31:41]sum+1 = 14401 [19:31:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 18 13.03.2024 19:31 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47459 ФПД: 174851758041260 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193141&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47459&fm=174851758041260&tin=02508201610067®Number=0000000000092018&sum=14400 0 [19:31:42]StoreToDocumentArchive [19:31:42]shift 316 fd 47459 [19:31:42]save to /storage/0316/doc_00047459 [19:31:42]save last doc name /storage/0316/doc_00047459 to /storage/kkm_last_doc_name [19:31:42]save OK [19:31:42]Clear old archive folders... [19:31:42]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:31:42]tlvbuf is 011A4D70 [19:31:42]SAM_PROTO_ClearQueue [19:31:42]wFMCommunicate request_size=4 [19:31:42]MH_SAM_APDU [19:31:42]CAPDU: 80 09 00 00 [19:31:42]Write to MH i2c: E2 08 00 FD 00 80 09 00 00 00 00 00 00 6F [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:31:42]Read from MH i2c: E2 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 FD 00 00 90 00 71 [19:31:42]RAPDU: 90 00 [19:31:42]wFMCommunicate OK [19:31:42]SAM_PROTO_ClearQueue done [19:31:42]KKMCreateOFDPacket [19:31:42]OFDProtocolAddRootSTLVToBuf [19:31:42]FM_MakeSignedData [19:31:42]FM_MakeSignedData [19:31:42]SAM_PROTO_SignData [19:31:42]wFMCommunicate request_size=4 [19:31:42]MH_SAM_APDU [19:31:42]CAPDU: 80 0D 01 02 [19:31:42]Write to MH i2c: E2 08 00 FE 00 80 0D 01 02 00 00 00 00 77 [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:31:42]Read from MH i2c: E2 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 FE 00 00 90 00 72 [19:31:42]RAPDU: 90 00 [19:31:42]wFMCommunicate OK [19:31:42]wFMCommunicate request_size=255 [19:31:42]MH_SAM_APDU [19:31:42]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1D FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [19:31:42]Write to MH i2c: E2 02 01 FF 00 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1D FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 3B [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:31:42]Read from MH i2c: E2 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 FF 00 00 90 00 73 [19:31:42]RAPDU: 90 00 [19:31:42]wFMCommunicate OK [19:31:42]wFMCommunicate request_size=35 [19:31:42]MH_SAM_APDU [19:31:42]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 63 B9 00 00 35 04 06 00 9F 06 D8 ED 28 AC [19:31:42]Write to MH i2c: E2 26 00 00 01 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 63 B9 00 00 35 04 06 00 9F 06 D8 ED 28 AC 00 00 C7 [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:31:42]Read from MH i2c: E2 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 03 00 00 01 00 90 00 75 [19:31:42]RAPDU: 90 00 [19:31:42]wFMCommunicate OK [19:31:42]wFMCommunicate request_size=4 [19:31:42]MH_SAM_APDU [19:31:42]CAPDU: 80 0D 03 02 [19:31:42]Write to MH i2c: E2 08 00 01 01 80 0D 03 02 00 00 00 00 7D [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:31:42]Read from MH i2c: E2 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 0B 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 0B 00 01 01 00 9B C7 79 3B 8A A7 A2 72 90 00 D9 [19:31:42]RAPDU: 9B C7 79 3B 8A A7 A2 72 90 00 [19:31:42]wFMCommunicate OK [19:31:42]SAM_PROTO_SignData done [19:31:42]FM_MakeSignedData done [19:31:42]CreateOFDProtocolMessage [19:31:42]wFMCommunicate request_size=4 [19:31:42]MH_SAM_APDU [19:31:42]CAPDU: 80 11 00 00 [19:31:42]Write to MH i2c: E2 08 00 02 01 80 11 00 00 00 00 00 00 7D [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:42]Read from MH i2c: E2 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 17 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: E2 17 00 02 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 CF [19:31:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:31:42]wFMCommunicate OK [19:31:42]CreateOFDProtocolMessage done [19:31:42]OFDSenderStorePacket 47459 [19:31:42]StoreOFDPacket docnum=47459 [19:31:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 A0 FB 20 01 75 82 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1D FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 63 B9 00 00 35 04 06 00 9F 06 D8 ED 28 AC 9B C7 79 3B 8A A7 A2 72 [19:31:42]CheckFolder [19:31:42]dirname=/storage/ofd_packets [19:31:42]CheckFolder done [19:31:42]ProducePacketName [19:31:42]name=ofd_packets/00047459 [19:31:42]NVStorageSaveData ofd_packets/00047459 [19:31:42]File name is /storage/ofd_packets/00047459 [19:31:42]Write 326 bytes [19:31:42]NVStorageSaveData done [19:31:42]OFDSenderStorePacket done [19:31:42]KKMCreateOFDPacket done [19:31:42]NVStorageSaveData kkm_last_timestamp [19:31:42]File name is /storage/kkm_last_timestamp [19:31:42]Write 4 bytes [19:31:42]NVStorageSaveData done [19:31:42]ExternCall_PrintAddStr [19:31:42]wPrintStart [19:31:42]Write to MH i2c: 01 00 00 03 01 04 [19:31:42]Write i2c OK [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: 01 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: 01 07 00 [19:31:42]MH_I2C_Read... [19:31:42]Read from MH i2c: 01 07 00 03 01 00 00 00 00 00 FF 0F 19 [19:31:42]RasterBufferAndPrint [19:31:42]line Счет N : (3)242369 [19:31:42]line ИНН: 02508201610067 [19:31:42]line Контрольно-Кассовый Чек [19:31:42]line ПРОДАЖА [19:31:42]line Товар: 48742245 [19:31:42]line Сигареты Parliament Silver Blue [19:31:42]line 1.000 * 144.00 [19:31:42]line = 144.00 [19:31:42]line НДС 12% НСП 1% [19:31:42]line > о реализуемом товаре [19:31:42]line ИТОГО: 144.00 [19:31:42]line НСП 1% : 1.27 [19:31:42]line НДС 12% : 15.29 [19:31:42]line Наличными: 0.00 [19:31:42]line Безнал.: 144.00 [19:31:42]line Место: АЗС № 15 "Партнер Нефть" [19:31:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:31:42]line СНО: Общий режим [19:31:42]line Чек 18 13.03.2024 19:31 [19:31:42]line Смена: 316 ФФД: 1.0 [19:31:42]line ЗНМ: 0300000097 [19:31:42]line РНМ: 0000000000092018 [19:31:42]line Версия ККМ: 001 [19:31:42]line Платежная система: Демир КИ Банк [19:31:42]line ФМ: 0000000000871816 [19:31:42]line ФД: 47459 [19:31:42]line ФПД: 174851758041260 [19:31:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193141&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47459&fm=174851758041260&tin=02508201610067®Number=0000000000092018&sum=14400 [19:31:43]line 0 [19:31:43]OFD Sender: Processing packet 47459 [packets to send 8, broken 7] [19:31:43]ProducePacketName [19:31:43]name=ofd_packets/00047459 [19:31:43]OFD Sender: To server: pG, [19:31:43]CommunicateWithHost lk.salyk.kg:30040 [19:31:43]ConnectInit lk.salyk.kg [19:31:43]written 0, free lines is 4095 [19:31:43]Write to MH i2c: 01 00 00 2E 01 2F [19:31:43]Write i2c OK [19:31:43]MH_I2C_Read... [19:31:43]Read from MH i2c: 01 [19:31:43]MH_I2C_Read... [19:31:43]Read from MH i2c: 01 07 00 [19:31:43]MH_I2C_Read... [19:31:43]Read from MH i2c: 01 07 00 2E 01 00 00 00 00 00 A7 0C E9 [19:31:43]RasterBufferAndPrint [19:31:43]line [19:31:43]line [19:31:43]line [19:31:43]line [19:31:43]line [19:31:43]written 0, free lines is 3245 [19:31:43]MH_Cut [19:31:43]Write to MH i2c: D1 01 00 35 01 01 08 [19:31:43]Write i2c OK [19:31:43]MH_I2C_Read... [19:31:43]Read from MH i2c: D1 [19:31:43]MH_I2C_Read... [19:31:43]Read from MH i2c: D1 01 00 [19:31:43]MH_I2C_Read... [19:31:43]Read from MH i2c: D1 01 00 35 01 00 07 [19:31:43]Write to MH i2c: 01 00 00 36 01 37 [19:31:43]Write i2c OK [19:31:43]MH_I2C_Read... [19:31:44]*** Cut start [19:31:44]*** Purtial cut [19:31:44]*** Stage 1: CUTSNS_PIN = 1 [19:31:44]Read from MH i2c: 01 [19:31:44]MH_I2C_Read... [19:31:44]*** Stop cut motor [19:31:44]*** Cut end [19:31:44]Read from MH i2c: 01 07 00 [19:31:44]MH_I2C_Read... [19:31:44]Read from MH i2c: 01 07 00 36 01 00 00 00 00 00 FF 0F 4C [19:31:44]process_action close_receipt done [19:31:44]requested_data is exist [19:31:44]produce_requested_data [19:31:44]requested_item fm.sn is exist - process it [19:31:44]wFMCommunicate request_size=4 [19:31:44]MH_SAM_APDU [19:31:44]CAPDU: 80 11 00 00 [19:31:44]Write to MH i2c: E2 08 00 37 01 80 11 00 00 00 00 00 00 B2 [19:31:44]Write i2c OK [19:31:44]MH_I2C_Read... [19:31:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:44]Read from MH i2c: E2 [19:31:44]MH_I2C_Read... [19:31:44]Read from MH i2c: E2 17 00 [19:31:44]MH_I2C_Read... [19:31:44]Read from MH i2c: E2 17 00 37 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 04 [19:31:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:31:44]wFMCommunicate OK [19:31:44]requested_item fd.num is exist - process it [19:31:44]SAM_PROTO_GetFieldsCounters [19:31:44]wFMCommunicate request_size=4 [19:31:44]MH_SAM_APDU [19:31:44]CAPDU: 80 13 00 00 [19:31:44]Write to MH i2c: E2 08 00 38 01 80 13 00 00 00 00 00 00 B5 [19:31:44]Write i2c OK [19:31:44]MH_I2C_Read... [19:31:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:31:45]Read from MH i2c: E2 [19:31:45]MH_I2C_Read... [19:31:45]Read from MH i2c: E2 62 00 [19:31:45]MH_I2C_Read... [19:31:45]Read from MH i2c: E2 62 00 38 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 63 B9 00 00 0E 04 04 00 3C 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 5F [19:31:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 63 B9 00 00 0E 04 04 00 3C 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 [19:31:45]wFMCommunicate OK [19:31:45]SAM_PROTO_GetFieldsCounters done [19:31:45]requested_item shift.num is exist - process it [19:31:45]requested_item shift.opened is exist - process it [19:31:45]req_shift_opened [19:31:45]FM_GetShiftState [19:31:45]SAM_PROTO_GetShiftState [19:31:45]wFMCommunicate request_size=4 [19:31:45]MH_SAM_APDU [19:31:45]CAPDU: 80 13 01 00 [19:31:45]Write to MH i2c: E2 08 00 39 01 80 13 01 00 00 00 00 00 B7 [19:31:45]Write i2c OK [19:31:45]MH_I2C_Read... [19:31:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:45]Read from MH i2c: E2 [19:31:45]MH_I2C_Read... [19:31:45]Read from MH i2c: E2 0E 00 [19:31:45]MH_I2C_Read... [19:31:45]Read from MH i2c: E2 0E 00 39 01 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 D4 [19:31:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:31:45]wFMCommunicate OK [19:31:45]SAM_PROTO_GetShiftState done [19:31:45]FM_GetShiftState done [19:31:45]req_shift_opened done [19:31:45]requested_item shift.open_date is exist - process it [19:31:45]req_shift_open_date [19:31:45]req_shift_open_date done [19:31:45]produce_requested_data done [19:31:45]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47459,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:31:45]process_action_free close_receipt [19:31:45]json_value_free [19:31:45]json_value_free done [19:31:45]process_json_proto returns [19:31:45]Send response to host [19:31:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47459,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:31:45]free response buf [19:31:45]execute_script done [19:31:45]execute_script returns [19:31:45]free content buf [19:31:45]Sock 7.Close socket [19:31:45]Sock 7.Thread stoped [19:33:16]accept exits with 9 [19:33:16]New connection [19:33:16]New thread 3067174244 created [19:33:16]Thread 3067030884 joined [19:33:16]Waiting for new connection... [19:33:16] Sock 9.Parse request [19:33:16]Sock 9.Check first char [19:33:16]Sock 9.First char is OK [19:33:16]request: POST /json_proto HTTP/1.0 [19:33:16]Method: POST [19:33:16]URL: /json_proto [19:33:16]Method is POST - this is cgi request [19:33:16]url: /json_proto [19:33:16]query_string will be loaded in cgi processing [19:33:16]execute_cgi json_proto POST (null) [19:33:16]execute_cgi path=json_proto method=POST [19:33:16]POST find Content-Length [19:33:16]Host: 172.17.32.68:8080 [19:33:16]Content-Length: 623 [19:33:16]Content-Type: application/json [19:33:16] [19:33:16]POST finish read [19:33:16]Found Content-Length = 623 [19:33:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242370", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:16]execute_script... [19:33:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242370", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:16]POST & json_proto [19:33:16]process_json_proto [19:33:16]json parsed OK: [19:33:16]protocol is kg_v1.0 [19:33:16]action value=close_receipt [19:33:16]process_action close_receipt [19:33:16]cmd_close_receipt [19:33:16]MH_GetDate [19:33:16]Write to MH i2c: F0 00 00 3A 01 2A [19:33:16]Write i2c OK [19:33:16]MH_I2C_Read... [19:33:16]Read from MH i2c: F0 [19:33:16]MH_I2C_Read... [19:33:16]Read from MH i2c: F0 09 00 [19:33:16]MH_I2C_Read... [19:33:16]Read from MH i2c: F0 09 00 3A 01 00 7C FF F1 65 0A 64 6E 65 45 [19:33:16]GetLastDocTimeStamp 1710358301 [19:33:16]current date 1710358396 [19:33:16]FM_GetShiftState [19:33:16]SAM_PROTO_GetShiftState [19:33:16]wFMCommunicate request_size=4 [19:33:16]MH_SAM_APDU [19:33:16]CAPDU: 80 13 01 00 [19:33:16]Write to MH i2c: E2 08 00 3B 01 80 13 01 00 00 00 00 00 B9 [19:33:16]Write i2c OK [19:33:16]MH_I2C_Read... [19:33:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:16]Read from MH i2c: E2 [19:33:16]MH_I2C_Read... [19:33:16]Read from MH i2c: E2 0E 00 [19:33:16]MH_I2C_Read... [19:33:16]Read from MH i2c: E2 0E 00 3B 01 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 D6 [19:33:16]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:33:16]wFMCommunicate OK [19:33:16]SAM_PROTO_GetShiftState done [19:33:16]FM_GetShiftState done [19:33:16]opened in 1710338059 [19:33:16]opened+sec_in_day 1710424459 [19:33:16]quantity*price = 13500 [19:33:16]sum+1 = 13501 [19:33:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 19 13.03.2024 19:33 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47460 ФПД: 244828428134099 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193316&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47460&fm=244828428134099&tin=02508201610067®Number=0000000000092018&sum=13500 0 [19:33:17]StoreToDocumentArchive [19:33:17]shift 316 fd 47460 [19:33:17]save to /storage/0316/doc_00047460 [19:33:17]save last doc name /storage/0316/doc_00047460 to /storage/kkm_last_doc_name [19:33:17]save OK [19:33:17]Clear old archive folders... [19:33:17]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:33:17]tlvbuf is 0118A120 [19:33:17]SAM_PROTO_ClearQueue [19:33:17]wFMCommunicate request_size=4 [19:33:17]MH_SAM_APDU [19:33:17]CAPDU: 80 09 00 00 [19:33:17]Write to MH i2c: E2 08 00 48 01 80 09 00 00 00 00 00 00 BB [19:33:17]Write i2c OK [19:33:17]MH_I2C_Read... [19:33:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:33:17]Read from MH i2c: E2 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 48 01 00 90 00 BD [19:33:17]RAPDU: 90 00 [19:33:17]wFMCommunicate OK [19:33:17]SAM_PROTO_ClearQueue done [19:33:17]KKMCreateOFDPacket [19:33:17]OFDProtocolAddRootSTLVToBuf [19:33:17]FM_MakeSignedData [19:33:17]FM_MakeSignedData [19:33:17]SAM_PROTO_SignData [19:33:17]wFMCommunicate request_size=4 [19:33:17]MH_SAM_APDU [19:33:17]CAPDU: 80 0D 01 02 [19:33:17]Write to MH i2c: E2 08 00 49 01 80 0D 01 02 00 00 00 00 C3 [19:33:17]Write i2c OK [19:33:17]MH_I2C_Read... [19:33:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:33:17]Read from MH i2c: E2 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 49 01 00 90 00 BE [19:33:17]RAPDU: 90 00 [19:33:17]wFMCommunicate OK [19:33:17]wFMCommunicate request_size=255 [19:33:17]MH_SAM_APDU [19:33:17]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 13 00 00 00 F4 03 04 00 7C FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [19:33:17]Write to MH i2c: E2 02 01 4A 01 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 13 00 00 00 F4 03 04 00 7C FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 5D [19:33:17]Write i2c OK [19:33:17]MH_I2C_Read... [19:33:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:17]Read from MH i2c: E2 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 4A 01 00 90 00 BF [19:33:17]RAPDU: 90 00 [19:33:17]wFMCommunicate OK [19:33:17]wFMCommunicate request_size=34 [19:33:17]MH_SAM_APDU [19:33:17]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 64 B9 00 00 35 04 06 00 DE AB 8F 7D 66 D3 [19:33:17]Write to MH i2c: E2 25 00 4B 01 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 64 B9 00 00 35 04 06 00 DE AB 8F 7D 66 D3 00 00 71 [19:33:17]Write i2c OK [19:33:17]MH_I2C_Read... [19:33:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:17]Read from MH i2c: E2 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 [19:33:17]MH_I2C_Read... [19:33:17]Read from MH i2c: E2 03 00 4B 01 00 90 00 C0 [19:33:17]RAPDU: 90 00 [19:33:17]wFMCommunicate OK [19:33:17]wFMCommunicate request_size=4 [19:33:17]MH_SAM_APDU [19:33:17]CAPDU: 80 0D 03 02 [19:33:17]Write to MH i2c: E2 08 00 4C 01 80 0D 03 02 00 00 00 00 C8 [19:33:17]Write i2c OK [19:33:17]MH_I2C_Read... [19:33:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:33:18]Read from MH i2c: E2 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: E2 0B 00 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: E2 0B 00 4C 01 00 DD 9B EE EC B8 95 62 80 90 00 4A [19:33:18]RAPDU: DD 9B EE EC B8 95 62 80 90 00 [19:33:18]wFMCommunicate OK [19:33:18]SAM_PROTO_SignData done [19:33:18]FM_MakeSignedData done [19:33:18]CreateOFDProtocolMessage [19:33:18]wFMCommunicate request_size=4 [19:33:18]MH_SAM_APDU [19:33:18]CAPDU: 80 11 00 00 [19:33:18]Write to MH i2c: E2 08 00 4D 01 80 11 00 00 00 00 00 00 C8 [19:33:18]Write i2c OK [19:33:18]MH_I2C_Read... [19:33:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:18]Read from MH i2c: E2 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: E2 17 00 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: E2 17 00 4D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1A [19:33:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:33:18]wFMCommunicate OK [19:33:18]CreateOFDProtocolMessage done [19:33:18]OFDSenderStorePacket 47460 [19:33:18]StoreOFDPacket docnum=47460 [19:33:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 6D 4D 1F 01 AF D0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 13 00 00 00 F4 03 04 00 7C FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 64 B9 00 00 35 04 06 00 DE AB 8F 7D 66 D3 DD 9B EE EC B8 95 62 80 [19:33:18]CheckFolder [19:33:18]dirname=/storage/ofd_packets [19:33:18]CheckFolder done [19:33:18]ProducePacketName [19:33:18]name=ofd_packets/00047460 [19:33:18]NVStorageSaveData ofd_packets/00047460 [19:33:18]File name is /storage/ofd_packets/00047460 [19:33:18]Write 325 bytes [19:33:18]NVStorageSaveData done [19:33:18]OFDSenderStorePacket done [19:33:18]KKMCreateOFDPacket done [19:33:18]NVStorageSaveData kkm_last_timestamp [19:33:18]File name is /storage/kkm_last_timestamp [19:33:18]Write 4 bytes [19:33:18]NVStorageSaveData done [19:33:18]ExternCall_PrintAddStr [19:33:18]wPrintStart [19:33:18]Write to MH i2c: 01 00 00 4E 01 4F [19:33:18]Write i2c OK [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: 01 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: 01 07 00 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: 01 07 00 4E 01 00 00 00 00 00 FF 0F 64 [19:33:18]RasterBufferAndPrint [19:33:18]line Счет N : (3)242370 [19:33:18]line ИНН: 02508201610067 [19:33:18]line Контрольно-Кассовый Чек [19:33:18]line ПРОДАЖА [19:33:18]line Товар: 48743587 [19:33:18]line Сигареты Winston XStyle Silver [19:33:18]line 1.000 * 135.00 [19:33:18]line = 135.00 [19:33:18]line НДС 12% НСП 1% [19:33:18]line > о реализуемом товаре [19:33:18]line ИТОГО: 135.00 [19:33:18]line НСП 1% : 1.19 [19:33:18]line НДС 12% : 14.34 [19:33:18]line Наличными: 135.00 [19:33:18]line Безнал.: 0.00 [19:33:18]line Место: АЗС № 15 "Партнер Нефть" [19:33:18]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:33:18]line СНО: Общий режим [19:33:18]line Чек 19 13.03.2024 19:33 [19:33:18]line Смена: 316 ФФД: 1.0 [19:33:18]line ЗНМ: 0300000097 [19:33:18]line РНМ: 0000000000092018 [19:33:18]line Версия ККМ: 001 [19:33:18]line ФМ: 0000000000871816 [19:33:18]line ФД: 47460 [19:33:18]line ФПД: 244828428134099 [19:33:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193316&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47460&fm=244828428134099&tin=02508201610067®Number=0000000000092018&sum=13500 [19:33:18]line 0 [19:33:18]written 0, free lines is 4095 [19:33:18]Write to MH i2c: 01 00 00 77 01 78 [19:33:18]Write i2c OK [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: 01 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: 01 07 00 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: 01 07 00 77 01 00 00 00 00 00 D3 0C 5E [19:33:18]RasterBufferAndPrint [19:33:18]line [19:33:18]line [19:33:18]line [19:33:18]line [19:33:18]line [19:33:18]written 0, free lines is 3288 [19:33:18]MH_Cut [19:33:18]Write to MH i2c: D1 01 00 7E 01 01 51 [19:33:18]Write i2c OK [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: D1 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: D1 01 00 [19:33:18]MH_I2C_Read... [19:33:18]Read from MH i2c: D1 01 00 7E 01 00 50 [19:33:18]Write to MH i2c: 01 00 00 7F 01 80 [19:33:18]Write i2c OK [19:33:18]MH_I2C_Read... [19:33:19]*** Cut start [19:33:19]*** Purtial cut [19:33:19]*** Stage 1: CUTSNS_PIN = 1 [19:33:19]Read from MH i2c: 01 [19:33:19]MH_I2C_Read... [19:33:19]*** Stop cut motor [19:33:19]*** Cut end [19:33:19]Read from MH i2c: 01 07 00 [19:33:19]MH_I2C_Read... [19:33:19]Read from MH i2c: 01 07 00 7F 01 00 00 00 00 00 FF 0F 95 [19:33:19]process_action close_receipt done [19:33:19]requested_data is exist [19:33:19]produce_requested_data [19:33:19]requested_item fm.sn is exist - process it [19:33:19]wFMCommunicate request_size=4 [19:33:19]MH_SAM_APDU [19:33:19]CAPDU: 80 11 00 00 [19:33:19]Write to MH i2c: E2 08 00 80 01 80 11 00 00 00 00 00 00 FB [19:33:19]Write i2c OK [19:33:19]MH_I2C_Read... [19:33:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:20]Read from MH i2c: E2 [19:33:20]MH_I2C_Read... [19:33:20]Read from MH i2c: E2 17 00 [19:33:20]MH_I2C_Read... [19:33:20]Read from MH i2c: E2 17 00 80 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4D [19:33:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:33:20]wFMCommunicate OK [19:33:20]requested_item fd.num is exist - process it [19:33:20]SAM_PROTO_GetFieldsCounters [19:33:20]wFMCommunicate request_size=4 [19:33:20]MH_SAM_APDU [19:33:20]CAPDU: 80 13 00 00 [19:33:20]Write to MH i2c: E2 08 00 81 01 80 13 00 00 00 00 00 00 FE [19:33:20]Write i2c OK [19:33:20]MH_I2C_Read... [19:33:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:33:20]Read from MH i2c: E2 [19:33:20]MH_I2C_Read... [19:33:20]Read from MH i2c: E2 62 00 [19:33:20]MH_I2C_Read... [19:33:20]Read from MH i2c: E2 62 00 81 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 64 B9 00 00 0E 04 04 00 3C 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 AC [19:33:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 64 B9 00 00 0E 04 04 00 3C 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:33:20]wFMCommunicate OK [19:33:20]SAM_PROTO_GetFieldsCounters done [19:33:20]requested_item shift.num is exist - process it [19:33:20]requested_item shift.opened is exist - process it [19:33:20]req_shift_opened [19:33:20]FM_GetShiftState [19:33:20]SAM_PROTO_GetShiftState [19:33:20]wFMCommunicate request_size=4 [19:33:20]MH_SAM_APDU [19:33:20]CAPDU: 80 13 01 00 [19:33:20]Write to MH i2c: E2 08 00 82 01 80 13 01 00 00 00 00 00 00 [19:33:20]Write i2c OK [19:33:20]MH_I2C_Read... [19:33:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:20]Read from MH i2c: E2 [19:33:20]MH_I2C_Read... [19:33:20]Read from MH i2c: E2 0E 00 [19:33:20]MH_I2C_Read... [19:33:20]Read from MH i2c: E2 0E 00 82 01 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1D [19:33:20]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:33:20]wFMCommunicate OK [19:33:20]SAM_PROTO_GetShiftState done [19:33:20]FM_GetShiftState done [19:33:20]req_shift_opened done [19:33:20]requested_item shift.open_date is exist - process it [19:33:20]req_shift_open_date [19:33:20]req_shift_open_date done [19:33:20]produce_requested_data done [19:33:20]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47460,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:33:20]process_action_free close_receipt [19:33:20]json_value_free [19:33:20]json_value_free done [19:33:20]process_json_proto returns [19:33:20]Send response to host [19:33:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47460,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:33:20]free response buf [19:33:20]execute_script done [19:33:20]execute_script returns [19:33:20]free content buf [19:33:20]Sock 9.Close socket [19:33:20]Sock 9.Thread stoped [19:33:56]ConnectInit Can't connect to host [19:33:56]CommunicateWithHost connect error [19:33:56]CommunicateWithHost err = -1 [19:33:56]OFD Sender: Server communicate error [19:33:56]OFD Sender: Processing packet 47459 [packets to send 9, broken 7] [19:33:56]ProducePacketName [19:33:56]name=ofd_packets/00047459 [19:33:56]OFD Sender: To server: pG, [19:33:56]CommunicateWithHost lk.salyk.kg:30040 [19:33:56]ConnectInit lk.salyk.kg [19:33:56]Connected sock=9 [19:33:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 A0 FB 20 01 75 82 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1D FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 63 B9 00 00 35 04 06 00 9F 06 D8 ED 28 AC 9B C7 79 3B 8A A7 A2 72 [19:33:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 69 70 47 00 E7 E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 63 B9 00 00 F4 03 04 00 30 AA F1 65 B6 04 01 00 00 F5 99 C7 31 BF 08 7D F2 [19:33:56]CommunicateWithHost err = 0 [19:33:56]CheckOFDResponse [19:33:56]1017 (14) - 77093643461234 [19:33:56]1041 (16) - 0000000000871816 [19:33:56]1040 (4) - 47459 [19:33:56]1012 (4) - 13.03.2024 13:29 [19:33:56]1206 (1) - 0 [19:33:56]OFD Sender: Remove packet 47459 [19:33:56]ProducePacketName [19:33:56]name=ofd_packets/00047459 [19:33:56]NVStorageDeleteData [19:33:57]OFD Sender: Processing packet 47460 [packets to send 8, broken 7] [19:33:57]ProducePacketName [19:33:57]name=ofd_packets/00047460 [19:33:57]OFD Sender: To server: pG, [19:33:57]CommunicateWithHost lk.salyk.kg:30040 [19:33:57]ConnectInit lk.salyk.kg [19:33:57]Connected sock=9 [19:33:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 6D 4D 1F 01 AF D0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 13 00 00 00 F4 03 04 00 7C FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 64 B9 00 00 35 04 06 00 DE AB 8F 7D 66 D3 DD 9B EE EC B8 95 62 80 [19:33:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 60 C2 47 00 52 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 64 B9 00 00 F4 03 04 00 31 AA F1 65 B6 04 01 00 00 48 20 91 D2 D4 98 E3 B6 [19:33:57]CommunicateWithHost err = 0 [19:33:57]CheckOFDResponse [19:33:57]1017 (14) - 77093643461234 [19:33:57]1041 (16) - 0000000000871816 [19:33:57]1040 (4) - 47460 [19:33:57]1012 (4) - 13.03.2024 13:29 [19:33:57]1206 (1) - 0 [19:33:57]OFD Sender: Remove packet 47460 [19:33:57]ProducePacketName [19:33:57]name=ofd_packets/00047460 [19:33:57]NVStorageDeleteData [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:26]accept exits with 7 [19:34:26]New connection [19:34:26]New thread 3067030884 created [19:34:26]Thread 3067174244 joined [19:34:26]Waiting for new connection... [19:34:26] Sock 7.Parse request [19:34:26]Sock 7.Check first char [19:34:26]Sock 7.First char is OK [19:34:26]request: POST /json_proto HTTP/1.0 [19:34:26]Method: POST [19:34:26]URL: /json_proto [19:34:26]Method is POST - this is cgi request [19:34:26]url: /json_proto [19:34:26]query_string will be loaded in cgi processing [19:34:26]execute_cgi json_proto POST (null) [19:34:26]execute_cgi path=json_proto method=POST [19:34:26]POST find Content-Length [19:34:26]Host: 172.17.32.68:8080 [19:34:26]Content-Length: 805 [19:34:26]Content-Type: application/json [19:34:26] [19:34:26]POST finish read [19:34:26]Found Content-Length = 805 [19:34:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242371", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:26]execute_script... [19:34: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)242371", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:26]POST & json_proto [19:34:26]process_json_proto [19:34:26]json parsed OK: [19:34:26]protocol is kg_v1.0 [19:34:26]action value=close_receipt [19:34:26]process_action close_receipt [19:34:26]cmd_close_receipt [19:34:26]MH_GetDate [19:34:26]Write to MH i2c: F0 00 00 83 01 73 [19:34:26]Write i2c OK [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: F0 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: F0 09 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: F0 09 00 83 01 00 C2 FF F1 65 0A 64 6E 65 D4 [19:34:26]GetLastDocTimeStamp 1710358396 [19:34:26]current date 1710358466 [19:34:26]FM_GetShiftState [19:34:26]SAM_PROTO_GetShiftState [19:34:26]wFMCommunicate request_size=4 [19:34:26]MH_SAM_APDU [19:34:26]CAPDU: 80 13 01 00 [19:34:26]Write to MH i2c: E2 08 00 84 01 80 13 01 00 00 00 00 00 02 [19:34:26]Write i2c OK [19:34:26]MH_I2C_Read... [19:34:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:26]Read from MH i2c: E2 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 0E 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 0E 00 84 01 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1F [19:34:26]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:34:26]wFMCommunicate OK [19:34:26]SAM_PROTO_GetShiftState done [19:34:26]FM_GetShiftState done [19:34:26]opened in 1710338059 [19:34:26]opened+sec_in_day 1710424459 [19:34:26]quantity*price = 4500 [19:34:26]sum+1 = 4501 [19:34:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 20 13.03.2024 19:34 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47461 ФПД: 273312924118676 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193426&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47461&fm=273312924118676&tin=02508201610067®Number=0000000000092018&sum=4500 0 [19:34:27]StoreToDocumentArchive [19:34:27]shift 316 fd 47461 [19:34:27]save to /storage/0316/doc_00047461 [19:34:27]save last doc name /storage/0316/doc_00047461 to /storage/kkm_last_doc_name [19:34:27]save OK [19:34:27]Clear old archive folders... [19:34:27]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:34:27]tlvbuf is 0119D390 [19:34:27]SAM_PROTO_ClearQueue [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 09 00 00 [19:34:27]Write to MH i2c: E2 08 00 91 01 80 09 00 00 00 00 00 00 04 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 91 01 00 90 00 06 [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]SAM_PROTO_ClearQueue done [19:34:27]KKMCreateOFDPacket [19:34:27]OFDProtocolAddRootSTLVToBuf [19:34:27]FM_MakeSignedData [19:34:27]FM_MakeSignedData [19:34:27]SAM_PROTO_SignData [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 01 02 [19:34:27]Write to MH i2c: E2 08 00 92 01 80 0D 01 02 00 00 00 00 0C [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 92 01 00 90 00 07 [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]wFMCommunicate request_size=255 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 C2 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [19:34:27]Write to MH i2c: E2 02 01 93 01 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 C2 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 BE [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 93 01 00 90 00 08 [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]wFMCommunicate request_size=34 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 65 B9 00 00 35 04 06 00 F8 93 9F C1 2E 94 [19:34:27]Write to MH i2c: E2 25 00 94 01 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 65 B9 00 00 35 04 06 00 F8 93 9F C1 2E 94 00 00 9A [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 94 01 00 90 00 09 [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 03 02 [19:34:27]Write to MH i2c: E2 08 00 95 01 80 0D 03 02 00 00 00 00 11 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 0B 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 0B 00 95 01 00 82 BD 23 5E A4 07 BF 7C 90 00 B8 [19:34:27]RAPDU: 82 BD 23 5E A4 07 BF 7C 90 00 [19:34:27]wFMCommunicate OK [19:34:27]SAM_PROTO_SignData done [19:34:27]FM_MakeSignedData done [19:34:27]CreateOFDProtocolMessage [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 11 00 00 [19:34:27]Write to MH i2c: E2 08 00 96 01 80 11 00 00 00 00 00 00 11 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 17 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 17 00 96 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 63 [19:34:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:34:27]wFMCommunicate OK [19:34:27]CreateOFDProtocolMessage done [19:34:27]OFDSenderStorePacket 47461 [19:34:27]StoreOFDPacket docnum=47461 [19:34:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 16 C5 1F 01 DA 2E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 C2 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 65 B9 00 00 35 04 06 00 F8 93 9F C1 2E 94 82 BD 23 5E A4 07 BF 7C [19:34:27]CheckFolder [19:34:27]dirname=/storage/ofd_packets [19:34:27]CheckFolder done [19:34:27]ProducePacketName [19:34:27]name=ofd_packets/00047461 [19:34:27]NVStorageSaveData ofd_packets/00047461 [19:34:27]File name is /storage/ofd_packets/00047461 [19:34:27]Write 325 bytes [19:34:27]NVStorageSaveData done [19:34:27]OFDSenderStorePacket done [19:34:27]KKMCreateOFDPacket done [19:34:27]NVStorageSaveData kkm_last_timestamp [19:34:27]File name is /storage/kkm_last_timestamp [19:34:27]Write 4 bytes [19:34:27]NVStorageSaveData done [19:34:27]ExternCall_PrintAddStr [19:34:27]wPrintStart [19:34:27]Write to MH i2c: 01 00 00 97 01 98 [19:34:28]OFD Sender: Processing packet 47461 [packets to send 8, broken 7] [19:34:28]ProducePacketName [19:34:28]name=ofd_packets/00047461 [19:34:28]OFD Sender: To server: pG, [19:34:28]CommunicateWithHost lk.salyk.kg:30040 [19:34:28]ConnectInit lk.salyk.kg [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 07 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 07 00 97 01 00 00 00 00 00 FF 0F AD [19:34:28]RasterBufferAndPrint [19:34:28]line Счет N : (3)242371 [19:34:28]line ИНН: 02508201610067 [19:34:28]line Контрольно-Кассовый Чек [19:34:28]line ПРОДАЖА [19:34:28]line Товар: 5449000005489 [19:34:28]line Вода Бонаква 1л б/г [19:34:28]line 1.000 * 45.00 [19:34:28]line = 45.00 [19:34:28]line НДС 12% НСП 1% [19:34:28]line > о реализуемом товаре [19:34:28]line ИТОГО: 45.00 [19:34:28]line НСП 1% : 0.40 [19:34:28]line НДС 12% : 4.78 [19:34:28]line Наличными: 0.00 [19:34:28]line Безнал.: 45.00 [19:34:28]line Место: АЗС № 15 "Партнер Нефть" [19:34:28]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:34:28]line СНО: Общий режим [19:34:28]line Чек 20 13.03.2024 19:34 [19:34:28]line Смена: 316 ФФД: 1.0 [19:34:28]line ЗНМ: 0300000097 [19:34:28]line РНМ: 0000000000092018 [19:34:28]line Версия ККМ: 001 [19:34:28]line Платежная система: O! деньги [19:34:28]line ФМ: 0000000000871816 [19:34:28]line ФД: 47461 [19:34:28]line ФПД: 273312924118676 [19:34:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T193426&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47461&fm=273312924118676&tin=02508201610067®Number=0000000000092018&sum=4500 [19:34:28]line 0 [19:34:28]Connected sock=10 [19:34:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 16 C5 1F 01 DA 2E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 C2 FF F1 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 65 B9 00 00 35 04 06 00 F8 93 9F C1 2E 94 82 BD 23 5E A4 07 BF 7C [19:34:28]written 0, free lines is 4095 [19:34:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 D7 23 47 00 86 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 31 38 31 36 10 04 04 00 65 B9 00 00 F4 03 04 00 50 AA F1 65 B6 04 01 00 00 9C A9 CB 8F 1F 72 84 84 [19:34:28]CommunicateWithHost err = 0 [19:34:28]CheckOFDResponse [19:34:28]1017 (14) - 77093643461234 [19:34:28]1041 (16) - 0000000000871816 [19:34:28]1040 (4) - 47461 [19:34:28]1012 (4) - 13.03.2024 13:29 [19:34:28]1206 (1) - 0 [19:34:28]OFD Sender: Remove packet 47461 [19:34:28]ProducePacketName [19:34:28]name=ofd_packets/00047461 [19:34:28]NVStorageDeleteData [19:34:28]Write to MH i2c: 01 00 00 C1 01 C2 [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 07 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 07 00 C1 01 00 00 00 00 00 DA 0C AF [19:34:28]RasterBufferAndPrint [19:34:28]line [19:34:28]line [19:34:28]line [19:34:28]line [19:34:28]line [19:34:28]written 0, free lines is 3298 [19:34:28]MH_Cut [19:34:28]Write to MH i2c: D1 01 00 C8 01 01 9B [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: D1 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: D1 01 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: D1 01 00 C8 01 00 9A [19:34:28]Write to MH i2c: 01 00 00 C9 01 CA [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:29]OFD Sender: No OFD packet to send [19:34:29]*** Cut start [19:34:29]*** Purtial cut [19:34:29]*** Stage 1: CUTSNS_PIN = 1 [19:34:29]Read from MH i2c: 01 [19:34:29]MH_I2C_Read... [19:34:29]*** Stop cut motor [19:34:29]Read from MH i2c: *** Cut end [19:34:29]01 07 00 [19:34:29]MH_I2C_Read... [19:34:29]Read from MH i2c: 01 07 00 C9 01 00 00 00 00 00 FF 0F DF [19:34:29]process_action close_receipt done [19:34:29]requested_data is exist [19:34:29]produce_requested_data [19:34:29]requested_item fm.sn is exist - process it [19:34:29]wFMCommunicate request_size=4 [19:34:29]MH_SAM_APDU [19:34:29]CAPDU: 80 11 00 00 [19:34:29]Write to MH i2c: E2 08 00 CA 01 80 11 00 00 00 00 00 00 45 [19:34:29]Write i2c OK [19:34:29]MH_I2C_Read... [19:34:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:30]Read from MH i2c: E2 [19:34:30]MH_I2C_Read... [19:34:30]Read from MH i2c: E2 17 00 [19:34:30]MH_I2C_Read... [19:34:30]Read from MH i2c: E2 17 00 CA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 97 [19:34:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:34:30]wFMCommunicate OK [19:34:30]requested_item fd.num is exist - process it [19:34:30]SAM_PROTO_GetFieldsCounters [19:34:30]wFMCommunicate request_size=4 [19:34:30]MH_SAM_APDU [19:34:30]CAPDU: 80 13 00 00 [19:34:30]Write to MH i2c: E2 08 00 CB 01 80 13 00 00 00 00 00 00 48 [19:34:30]Write i2c OK [19:34:30]MH_I2C_Read... [19:34:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:34:30]Read from MH i2c: E2 [19:34:30]MH_I2C_Read... [19:34:30]Read from MH i2c: E2 62 00 [19:34:30]MH_I2C_Read... [19:34:30]Read from MH i2c: E2 62 00 CB 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 65 B9 00 00 0E 04 04 00 3C 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 FA [19:34:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 65 B9 00 00 0E 04 04 00 3C 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 [19:34:30]wFMCommunicate OK [19:34:30]SAM_PROTO_GetFieldsCounters done [19:34:30]requested_item shift.num is exist - process it [19:34:30]requested_item shift.opened is exist - process it [19:34:30]req_shift_opened [19:34:30]FM_GetShiftState [19:34:30]SAM_PROTO_GetShiftState [19:34:30]wFMCommunicate request_size=4 [19:34:30]MH_SAM_APDU [19:34:30]CAPDU: 80 13 01 00 [19:34:30]Write to MH i2c: E2 08 00 CC 01 80 13 01 00 00 00 00 00 4A [19:34:30]Write i2c OK [19:34:30]MH_I2C_Read... [19:34:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:30]Read from MH i2c: E2 [19:34:30]MH_I2C_Read... [19:34:30]Read from MH i2c: E2 0E 00 [19:34:30]MH_I2C_Read... [19:34:30]Read from MH i2c: E2 0E 00 CC 01 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 67 [19:34:30]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:34:30]wFMCommunicate OK [19:34:30]SAM_PROTO_GetShiftState done [19:34:30]FM_GetShiftState done [19:34:30]req_shift_opened done [19:34:30]requested_item shift.open_date is exist - process it [19:34:30]req_shift_open_date [19:34:30]req_shift_open_date done [19:34:30]produce_requested_data done [19:34:30]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47461,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:34:30]process_action_free close_receipt [19:34:30]json_value_free [19:34:30]json_value_free done [19:34:30]process_json_proto returns [19:34:30]Send response to host [19:34:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47461,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:34:30]free response buf [19:34:30]execute_script done [19:34:30]execute_script returns [19:34:30]free content buf [19:34:30]Sock 7.Close socket [19:34:30]Sock 7.Thread stoped [19:34:34]OFD Sender: No OFD packet to send [19:34:39]OFD Sender: No OFD packet to send [19:34:44]OFD Sender: No OFD packet to send [19:34:49]OFD Sender: No OFD packet to send [19:34:54]OFD Sender: No OFD packet to send [19:34:59]OFD Sender: No OFD packet to send [19:35:04]OFD Sender: No OFD packet to send [19:35:09]OFD Sender: No OFD packet to send [19:35:14]OFD Sender: No OFD packet to send [19:35:19]OFD Sender: No OFD packet to send [19:35:24]OFD Sender: No OFD packet to send [19:35:29]OFD Sender: No OFD packet to send [19:35:34]OFD Sender: No OFD packet to send [19:35:39]OFD Sender: No OFD packet to send [19:35:44]OFD Sender: No OFD packet to send [19:35:49]OFD Sender: No OFD packet to send [19:35:54]OFD Sender: No OFD packet to send [19:35:59]OFD Sender: No OFD packet to send [19:36:04]OFD Sender: No OFD packet to send [19:36:09]OFD Sender: No OFD packet to send [19:36:14]OFD Sender: No OFD packet to send [19:36:19]OFD Sender: No OFD packet to send [19:36:24]OFD Sender: No OFD packet to send [19:36:29]OFD Sender: No OFD packet to send [19:36:34]OFD Sender: No OFD packet to send [19:36:39]OFD Sender: No OFD packet to send [19:36:44]OFD Sender: No OFD packet to send [19:36:49]OFD Sender: No OFD packet to send [19:36:54]OFD Sender: No OFD packet to send [19:36:59]OFD Sender: No OFD packet to send [19:37:04]OFD Sender: No OFD packet to send [19:37:09]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:19]OFD Sender: No OFD packet to send [19:37:24]OFD Sender: No OFD packet to send [19:37:29]OFD Sender: No OFD packet to send [19:37:34]OFD Sender: No OFD packet to send [19:37:39]OFD Sender: No OFD packet to send [19:37:44]OFD Sender: No OFD packet to send [19:37:49]OFD Sender: No OFD packet to send [19:37:54]OFD Sender: No OFD packet to send [19:37:59]OFD Sender: No OFD packet to send [19:38:04]OFD Sender: No OFD packet to send [19:38:09]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:35]accept exits with 9 [19:44:35]New connection [19:44:35]New thread 3067174244 created [19:44:35]Thread 3067030884 joined [19:44:35]Waiting for new connection... [19:44:35] Sock 9.Parse request [19:44:35]Sock 9.Check first char [19:44:35]Sock 9.First char is OK [19:44:35]request: POST /json_proto HTTP/1.0 [19:44:35]Method: POST [19:44:35]URL: /json_proto [19:44:35]Method is POST - this is cgi request [19:44:35]url: /json_proto [19:44:35]query_string will be loaded in cgi processing [19:44:35]execute_cgi json_proto POST (null) [19:44:35]execute_cgi path=json_proto method=POST [19:44:35]POST find Content-Length [19:44:35]Host: 172.17.32.68:8080 [19:44:35]Content-Length: 621 [19:44:35]Content-Type: application/json [19:44:35] [19:44:35]POST finish read [19:44:35]Found Content-Length = 621 [19:44:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242372", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:44:35]execute_script... [19:44: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)242372", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:44:35]POST & json_proto [19:44:35]process_json_proto [19:44:35]json parsed OK: [19:44:35]protocol is kg_v1.0 [19:44:35]action value=close_receipt [19:44:35]process_action close_receipt [19:44:35]cmd_close_receipt [19:44:35]MH_GetDate [19:44:35]Write to MH i2c: F0 00 00 CD 01 BD [19:44:35]Write i2c OK [19:44:35]MH_I2C_Read... [19:44:35]Read from MH i2c: F0 [19:44:35]MH_I2C_Read... [19:44:35]Read from MH i2c: F0 09 00 [19:44:35]MH_I2C_Read... [19:44:35]Read from MH i2c: F0 09 00 CD 01 00 23 02 F2 65 0A 64 6E 65 83 [19:44:35]GetLastDocTimeStamp 1710358466 [19:44:35]current date 1710359075 [19:44:35]FM_GetShiftState [19:44:35]SAM_PROTO_GetShiftState [19:44:35]wFMCommunicate request_size=4 [19:44:35]MH_SAM_APDU [19:44:35]CAPDU: 80 13 01 00 [19:44:35]Write to MH i2c: E2 08 00 CE 01 80 13 01 00 00 00 00 00 4C [19:44:35]Write i2c OK [19:44:35]MH_I2C_Read... [19:44:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:44:35]Read from MH i2c: E2 [19:44:35]MH_I2C_Read... [19:44:35]Read from MH i2c: E2 0E 00 [19:44:35]MH_I2C_Read... [19:44:35]Read from MH i2c: E2 0E 00 CE 01 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 69 [19:44:35]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:44:35]wFMCommunicate OK [19:44:35]SAM_PROTO_GetShiftState done [19:44:35]FM_GetShiftState done [19:44:35]opened in 1710338059 [19:44:35]opened+sec_in_day 1710424459 [19:44:35]quantity*price = 13500 [19:44:35]sum+1 = 13501 [19:44:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 21 13.03.2024 19:44 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47462 ФПД: 46968382047728 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T194435&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47462&fm=46968382047728&tin=02508201610067®Number=0000000000092018&sum=13500 0 [19:44:36]StoreToDocumentArchive [19:44:36]shift 316 fd 47462 [19:44:36]save to /storage/0316/doc_00047462 [19:44:36]save last doc name /storage/0316/doc_00047462 to /storage/kkm_last_doc_name [19:44:36]save OK [19:44:36]Clear old archive folders... [19:44:36]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:44:36]tlvbuf is 0118D7B0 [19:44:36]SAM_PROTO_ClearQueue [19:44:36]wFMCommunicate request_size=4 [19:44:36]MH_SAM_APDU [19:44:36]CAPDU: 80 09 00 00 [19:44:36]Write to MH i2c: E2 08 00 DB 01 80 09 00 00 00 00 00 00 4E [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:44:36]Read from MH i2c: E2 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 DB 01 00 90 00 50 [19:44:36]RAPDU: 90 00 [19:44:36]wFMCommunicate OK [19:44:36]SAM_PROTO_ClearQueue done [19:44:36]KKMCreateOFDPacket [19:44:36]OFDProtocolAddRootSTLVToBuf [19:44:36]FM_MakeSignedData [19:44:36]FM_MakeSignedData [19:44:36]SAM_PROTO_SignData [19:44:36]wFMCommunicate request_size=4 [19:44:36]MH_SAM_APDU [19:44:36]CAPDU: 80 0D 01 02 [19:44:36]Write to MH i2c: E2 08 00 DC 01 80 0D 01 02 00 00 00 00 56 [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:44:36]Read from MH i2c: E2 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 DC 01 00 90 00 51 [19:44:36]RAPDU: 90 00 [19:44:36]wFMCommunicate OK [19:44:36]wFMCommunicate request_size=255 [19:44:36]MH_SAM_APDU [19:44:36]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 23 02 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [19:44:36]Write to MH i2c: E2 02 01 DD 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 23 02 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 02 [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:44:36]Read from MH i2c: E2 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 DD 01 00 90 00 52 [19:44:36]RAPDU: 90 00 [19:44:36]wFMCommunicate OK [19:44:36]wFMCommunicate request_size=32 [19:44:36]MH_SAM_APDU [19:44:36]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 66 B9 00 00 35 04 06 00 2A B7 AD BA 45 F0 [19:44:36]Write to MH i2c: E2 23 00 DE 01 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 66 B9 00 00 35 04 06 00 2A B7 AD BA 45 F0 00 00 51 [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:44:36]Read from MH i2c: E2 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 03 00 DE 01 00 90 00 53 [19:44:36]RAPDU: 90 00 [19:44:36]wFMCommunicate OK [19:44:36]wFMCommunicate request_size=4 [19:44:36]MH_SAM_APDU [19:44:36]CAPDU: 80 0D 03 02 [19:44:36]Write to MH i2c: E2 08 00 DF 01 80 0D 03 02 00 00 00 00 5B [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:44:36]Read from MH i2c: E2 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 0B 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 0B 00 DF 01 00 42 6D A6 05 E4 6E 5D CB 90 00 30 [19:44:36]RAPDU: 42 6D A6 05 E4 6E 5D CB 90 00 [19:44:36]wFMCommunicate OK [19:44:36]SAM_PROTO_SignData done [19:44:36]FM_MakeSignedData done [19:44:36]CreateOFDProtocolMessage [19:44:36]wFMCommunicate request_size=4 [19:44:36]MH_SAM_APDU [19:44:36]CAPDU: 80 11 00 00 [19:44:36]Write to MH i2c: E2 08 00 E0 01 80 11 00 00 00 00 00 00 5B [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:44:36]Read from MH i2c: E2 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 17 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: E2 17 00 E0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AD [19:44:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:44:36]wFMCommunicate OK [19:44:36]CreateOFDProtocolMessage done [19:44:36]OFDSenderStorePacket 47462 [19:44:36]StoreOFDPacket docnum=47462 [19:44:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 CF B7 1D 01 17 B8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 23 02 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 66 B9 00 00 35 04 06 00 2A B7 AD BA 45 F0 42 6D A6 05 E4 6E 5D CB [19:44:36]CheckFolder [19:44:36]dirname=/storage/ofd_packets [19:44:36]CheckFolder done [19:44:36]ProducePacketName [19:44:36]name=ofd_packets/00047462 [19:44:36]NVStorageSaveData ofd_packets/00047462 [19:44:36]File name is /storage/ofd_packets/00047462 [19:44:36]Write 323 bytes [19:44:36]NVStorageSaveData done [19:44:36]OFDSenderStorePacket done [19:44:36]KKMCreateOFDPacket done [19:44:36]NVStorageSaveData kkm_last_timestamp [19:44:36]File name is /storage/kkm_last_timestamp [19:44:36]Write 4 bytes [19:44:36]NVStorageSaveData done [19:44:36]ExternCall_PrintAddStr [19:44:36]wPrintStart [19:44:36]Write to MH i2c: 01 00 00 E1 01 E2 [19:44:36]Write i2c OK [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: 01 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: 01 07 00 [19:44:36]MH_I2C_Read... [19:44:36]Read from MH i2c: 01 07 00 E1 01 00 00 00 00 00 FF 0F F7 [19:44:36]RasterBufferAndPrint [19:44:36]line Счет N : (3)242372 [19:44:36]line ИНН: 02508201610067 [19:44:36]line Контрольно-Кассовый Чек [19:44:36]line ПРОДАЖА [19:44:36]line Товар: 48743570 [19:44:36]line Сигареты Winston XStyle Blue [19:44:36]line 1.000 * 135.00 [19:44:36]line = 135.00 [19:44:36]line НДС 12% НСП 1% [19:44:36]line > о реализуемом товаре [19:44:36]line ИТОГО: 135.00 [19:44:36]line НСП 1% : 1.19 [19:44:36]line НДС 12% : 14.34 [19:44:36]line Наличными: 135.00 [19:44:36]line Безнал.: 0.00 [19:44:36]line Место: АЗС № 15 "Партнер Нефть" [19:44:36]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [19:44:36]line СНО: Общий режим [19:44:36]line Чек 21 13.03.2024 19:44 [19:44:36]line Смена: 316 ФФД: 1.0 [19:44:36]line ЗНМ: 0300000097 [19:44:36]line РНМ: 0000000000092018 [19:44:36]line Версия ККМ: 001 [19:44:36]line ФМ: 0000000000871816 [19:44:36]line ФД: 47462 [19:44:36]line ФПД: 46968382047728 [19:44:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T194435&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47462&fm=46968382047728&tin=02508201610067®Number=0000000000092018&sum=13500 [19:44:37]line 0 [19:44:37]OFD Sender: Processing packet 47462 [packets to send 8, broken 7] [19:44:37]ProducePacketName [19:44:37]name=ofd_packets/00047462 [19:44:37]OFD Sender: To server: pG, [19:44:37]CommunicateWithHost lk.salyk.kg:30040 [19:44:37]ConnectInit lk.salyk.kg [19:44:37]written 0, free lines is 4095 [19:44:37]Connected sock=10 [19:44:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 CF B7 1D 01 17 B8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 23 02 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 66 B9 00 00 35 04 06 00 2A B7 AD BA 45 F0 42 6D A6 05 E4 6E 5D CB [19:44:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 67 7B 47 00 74 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 66 B9 00 00 F4 03 04 00 B1 AC F1 65 B6 04 01 00 00 1A 97 D2 45 F7 C5 DB 2F [19:44:37]CommunicateWithHost err = 0 [19:44:37]CheckOFDResponse [19:44:37]1017 (14) - 77093643461234 [19:44:37]1041 (16) - 0000000000871816 [19:44:37]1040 (4) - 47462 [19:44:37]1012 (4) - 13.03.2024 13:40 [19:44:37]1206 (1) - 0 [19:44:37]OFD Sender: Remove packet 47462 [19:44:37]ProducePacketName [19:44:37]name=ofd_packets/00047462 [19:44:37]NVStorageDeleteData [19:44:37]Write to MH i2c: 01 00 00 09 02 0B [19:44:37]Write i2c OK [19:44:37]MH_I2C_Read... [19:44:37]Read from MH i2c: 01 [19:44:37]MH_I2C_Read... [19:44:37]Read from MH i2c: 01 07 00 [19:44:37]MH_I2C_Read... [19:44:37]Read from MH i2c: 01 07 00 09 02 00 00 00 00 00 EC 0C 0A [19:44:37]RasterBufferAndPrint [19:44:37]line [19:44:37]line [19:44:37]line [19:44:37]line [19:44:37]line [19:44:37]written 0, free lines is 3314 [19:44:37]MH_Cut [19:44:37]Write to MH i2c: D1 01 00 10 02 01 E4 [19:44:37]Write i2c OK [19:44:37]MH_I2C_Read... [19:44:37]Read from MH i2c: D1 [19:44:37]MH_I2C_Read... [19:44:37]Read from MH i2c: D1 01 00 [19:44:37]MH_I2C_Read... [19:44:37]Read from MH i2c: D1 01 00 10 02 00 E3 [19:44:37]Write to MH i2c: 01 00 00 11 02 13 [19:44:37]Write i2c OK [19:44:37]MH_I2C_Read... [19:44:38]OFD Sender: No OFD packet to send [19:44:38]*** Cut start [19:44:38]*** Purtial cut [19:44:38]*** Stage 1: CUTSNS_PIN = 1 [19:44:38]Read from MH i2c: 01 [19:44:38]MH_I2C_Read... [19:44:38]*** Stop cut motor [19:44:38]*** Cut end [19:44:38]Read from MH i2c: 01 07 00 [19:44:38]MH_I2C_Read... [19:44:38]Read from MH i2c: 01 07 00 11 02 00 00 00 00 00 FF 0F 28 [19:44:38]process_action close_receipt done [19:44:38]requested_data is exist [19:44:38]produce_requested_data [19:44:38]requested_item fm.sn is exist - process it [19:44:38]wFMCommunicate request_size=4 [19:44:38]MH_SAM_APDU [19:44:38]CAPDU: 80 11 00 00 [19:44:38]Write to MH i2c: E2 08 00 12 02 80 11 00 00 00 00 00 00 8E [19:44:38]Write i2c OK [19:44:38]MH_I2C_Read... [19:44:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:44:38]Read from MH i2c: E2 [19:44:38]MH_I2C_Read... [19:44:38]Read from MH i2c: E2 17 00 [19:44:38]MH_I2C_Read... [19:44:38]Read from MH i2c: E2 17 00 12 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E0 [19:44:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [19:44:38]wFMCommunicate OK [19:44:38]requested_item fd.num is exist - process it [19:44:38]SAM_PROTO_GetFieldsCounters [19:44:38]wFMCommunicate request_size=4 [19:44:38]MH_SAM_APDU [19:44:38]CAPDU: 80 13 00 00 [19:44:38]Write to MH i2c: E2 08 00 13 02 80 13 00 00 00 00 00 00 91 [19:44:38]Write i2c OK [19:44:38]MH_I2C_Read... [19:44:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:44:39]Read from MH i2c: E2 [19:44:39]MH_I2C_Read... [19:44:39]Read from MH i2c: E2 62 00 [19:44:39]MH_I2C_Read... [19:44:39]Read from MH i2c: E2 62 00 13 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 66 B9 00 00 0E 04 04 00 3C 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 47 [19:44:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 66 B9 00 00 0E 04 04 00 3C 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 [19:44:39]wFMCommunicate OK [19:44:39]SAM_PROTO_GetFieldsCounters done [19:44:39]requested_item shift.num is exist - process it [19:44:39]requested_item shift.opened is exist - process it [19:44:39]req_shift_opened [19:44:39]FM_GetShiftState [19:44:39]SAM_PROTO_GetShiftState [19:44:39]wFMCommunicate request_size=4 [19:44:39]MH_SAM_APDU [19:44:39]CAPDU: 80 13 01 00 [19:44:39]Write to MH i2c: E2 08 00 14 02 80 13 01 00 00 00 00 00 93 [19:44:39]Write i2c OK [19:44:39]MH_I2C_Read... [19:44:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:44:39]Read from MH i2c: E2 [19:44:39]MH_I2C_Read... [19:44:39]Read from MH i2c: E2 0E 00 [19:44:39]MH_I2C_Read... [19:44:39]Read from MH i2c: E2 0E 00 14 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 B0 [19:44:39]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [19:44:39]wFMCommunicate OK [19:44:39]SAM_PROTO_GetShiftState done [19:44:39]FM_GetShiftState done [19:44:39]req_shift_opened done [19:44:39]requested_item shift.open_date is exist - process it [19:44:39]req_shift_open_date [19:44:39]req_shift_open_date done [19:44:39]produce_requested_data done [19:44:39]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47462,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [19:44:39]process_action_free close_receipt [19:44:39]json_value_free [19:44:39]json_value_free done [19:44:39]process_json_proto returns [19:44:39]Send response to host [19:44:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47462,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [19:44:39]free response buf [19:44:39]execute_script done [19:44:39]execute_script returns [19:44:39]free content buf [19:44:39]Sock 9.Close socket [19:44:39]Sock 9.Thread stoped [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:01:08]OFD Sender: No OFD packet to send [20:01:13]OFD Sender: No OFD packet to send [20:01:18]OFD Sender: No OFD packet to send [20:01:23]OFD Sender: No OFD packet to send [20:01:28]OFD Sender: No OFD packet to send [20:01:33]OFD Sender: No OFD packet to send [20:01:38]OFD Sender: No OFD packet to send [20:01:43]OFD Sender: No OFD packet to send [20:01:48]OFD Sender: No OFD packet to send [20:01:53]OFD Sender: No OFD packet to send [20:01:58]OFD Sender: No OFD packet to send [20:02:03]OFD Sender: No OFD packet to send [20:02:08]OFD Sender: No OFD packet to send [20:02:13]OFD Sender: No OFD packet to send [20:02:18]OFD Sender: No OFD packet to send [20:02:23]OFD Sender: No OFD packet to send [20:02:28]OFD Sender: No OFD packet to send [20:02:33]OFD Sender: No OFD packet to send [20:02:38]OFD Sender: No OFD packet to send [20:02:43]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]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:42]accept exits with 7 [20:04:42]New connection [20:04:42]New thread 3067030884 created [20:04:42]Thread 3067174244 joined [20:04:42]Waiting for new connection... [20:04:42] Sock 7.Parse request [20:04:42]Sock 7.Check first char [20:04:42]Sock 7.First char is OK [20:04:42]request: POST /json_proto HTTP/1.0 [20:04:42]Method: POST [20:04:42]URL: /json_proto [20:04:42]Method is POST - this is cgi request [20:04:42]url: /json_proto [20:04:42]query_string will be loaded in cgi processing [20:04:42]execute_cgi json_proto POST (null) [20:04:42]execute_cgi path=json_proto method=POST [20:04:42]POST find Content-Length [20:04:42]Host: 172.17.32.68:8080 [20:04:42]Content-Length: 666 [20:04:42]Content-Type: application/json [20:04:42] [20:04:42]POST finish read [20:04:42]Found Content-Length = 666 [20:04:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242373", "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" : 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" ] } } [20:04:42]execute_script... [20:04: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)242373", "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" : 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" ] } } [20:04:42]POST & json_proto [20:04:42]process_json_proto [20:04:42]json parsed OK: [20:04:42]protocol is kg_v1.0 [20:04:42]action value=close_receipt [20:04:42]process_action close_receipt [20:04:42]cmd_close_receipt [20:04:42]MH_GetDate [20:04:42]Write to MH i2c: F0 00 00 15 02 06 [20:04:42]Write i2c OK [20:04:42]MH_I2C_Read... [20:04:42]Read from MH i2c: F0 [20:04:42]MH_I2C_Read... [20:04:42]Read from MH i2c: F0 09 00 [20:04:42]MH_I2C_Read... [20:04:42]Read from MH i2c: F0 09 00 15 02 00 DA 06 F2 65 0A 64 6E 65 87 [20:04:42]GetLastDocTimeStamp 1710359075 [20:04:42]current date 1710360282 [20:04:42]FM_GetShiftState [20:04:42]SAM_PROTO_GetShiftState [20:04:42]wFMCommunicate request_size=4 [20:04:42]MH_SAM_APDU [20:04:42]CAPDU: 80 13 01 00 [20:04:42]Write to MH i2c: E2 08 00 16 02 80 13 01 00 00 00 00 00 95 [20:04:42]Write i2c OK [20:04:42]MH_I2C_Read... [20:04:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:42]Read from MH i2c: E2 [20:04:42]MH_I2C_Read... [20:04:42]Read from MH i2c: E2 0E 00 [20:04:42]MH_I2C_Read... [20:04:42]Read from MH i2c: E2 0E 00 16 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 B2 [20:04:42]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:04:42]wFMCommunicate OK [20:04:42]SAM_PROTO_GetShiftState done [20:04:42]FM_GetShiftState done [20:04:42]opened in 1710338059 [20:04:42]opened+sec_in_day 1710424459 [20:04:42]quantity*price = 9300 [20:04:42]sum+1 = 9301 [20:04:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 93.00 НСП 1% : 0.82 НДС 12% : 9.88 Наличными: 93.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 22 13.03.2024 20:04 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47463 ФПД: 31441211683126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T200442&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47463&fm=31441211683126&tin=02508201610067®Number=0000000000092018&sum=9300 0 [20:04:43]StoreToDocumentArchive [20:04:43]shift 316 fd 47463 [20:04:43]save to /storage/0316/doc_00047463 [20:04:43]save last doc name /storage/0316/doc_00047463 to /storage/kkm_last_doc_name [20:04:43]save OK [20:04:43]Clear old archive folders... [20:04:43]ProcessDocumentItem done err = 0, tmpTLVsize=293 [20:04:43]tlvbuf is 01186F40 [20:04:43]SAM_PROTO_ClearQueue [20:04:43]wFMCommunicate request_size=4 [20:04:43]MH_SAM_APDU [20:04:43]CAPDU: 80 09 00 00 [20:04:43]Write to MH i2c: E2 08 00 23 02 80 09 00 00 00 00 00 00 97 [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:04:43]Read from MH i2c: E2 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 23 02 00 90 00 99 [20:04:43]RAPDU: 90 00 [20:04:43]wFMCommunicate OK [20:04:43]SAM_PROTO_ClearQueue done [20:04:43]KKMCreateOFDPacket [20:04:43]OFDProtocolAddRootSTLVToBuf [20:04:43]FM_MakeSignedData [20:04:43]FM_MakeSignedData [20:04:43]SAM_PROTO_SignData [20:04:43]wFMCommunicate request_size=4 [20:04:43]MH_SAM_APDU [20:04:43]CAPDU: 80 0D 01 02 [20:04:43]Write to MH i2c: E2 08 00 24 02 80 0D 01 02 00 00 00 00 9F [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:04:43]Read from MH i2c: E2 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 24 02 00 90 00 9A [20:04:43]RAPDU: 90 00 [20:04:43]wFMCommunicate OK [20:04:43]wFMCommunicate request_size=255 [20:04:43]MH_SAM_APDU [20:04:43]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 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 16 00 00 00 F4 03 04 00 DA 06 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [20:04:43]Write to MH i2c: E2 02 01 25 02 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 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 16 00 00 00 F4 03 04 00 DA 06 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 D7 [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:43]Read from MH i2c: E2 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 25 02 00 90 00 9B [20:04:43]RAPDU: 90 00 [20:04:43]wFMCommunicate OK [20:04:43]wFMCommunicate request_size=52 [20:04:43]MH_SAM_APDU [20:04:43]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 67 B9 00 00 35 04 06 00 1C 98 7A 40 F1 36 [20:04:43]Write to MH i2c: E2 37 00 26 02 80 0D 02 02 2F 00 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 67 B9 00 00 35 04 06 00 1C 98 7A 40 F1 36 00 00 14 [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:43]Read from MH i2c: E2 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 03 00 26 02 00 90 00 9C [20:04:43]RAPDU: 90 00 [20:04:43]wFMCommunicate OK [20:04:43]wFMCommunicate request_size=4 [20:04:43]MH_SAM_APDU [20:04:43]CAPDU: 80 0D 03 02 [20:04:43]Write to MH i2c: E2 08 00 27 02 80 0D 03 02 00 00 00 00 A4 [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:04:43]Read from MH i2c: E2 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 0B 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 0B 00 27 02 00 9C FC 63 80 35 2E 42 FC 90 00 C1 [20:04:43]RAPDU: 9C FC 63 80 35 2E 42 FC 90 00 [20:04:43]wFMCommunicate OK [20:04:43]SAM_PROTO_SignData done [20:04:43]FM_MakeSignedData done [20:04:43]CreateOFDProtocolMessage [20:04:43]wFMCommunicate request_size=4 [20:04:43]MH_SAM_APDU [20:04:43]CAPDU: 80 11 00 00 [20:04:43]Write to MH i2c: E2 08 00 28 02 80 11 00 00 00 00 00 00 A4 [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:43]Read from MH i2c: E2 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 17 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: E2 17 00 28 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F6 [20:04:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:04:43]wFMCommunicate OK [20:04:43]CreateOFDProtocolMessage done [20:04:43]OFDSenderStorePacket 47463 [20:04:43]StoreOFDPacket docnum=47463 [20:04:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 AC 8A 31 01 22 29 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 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 16 00 00 00 F4 03 04 00 DA 06 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 67 B9 00 00 35 04 06 00 1C 98 7A 40 F1 36 9C FC 63 80 35 2E 42 FC [20:04:43]CheckFolder [20:04:43]dirname=/storage/ofd_packets [20:04:43]CheckFolder done [20:04:43]ProducePacketName [20:04:43]name=ofd_packets/00047463 [20:04:43]NVStorageSaveData ofd_packets/00047463 [20:04:43]File name is /storage/ofd_packets/00047463 [20:04:43]Write 343 bytes [20:04:43]NVStorageSaveData done [20:04:43]OFDSenderStorePacket done [20:04:43]KKMCreateOFDPacket done [20:04:43]NVStorageSaveData kkm_last_timestamp [20:04:43]File name is /storage/kkm_last_timestamp [20:04:43]Write 4 bytes [20:04:43]NVStorageSaveData done [20:04:43]ExternCall_PrintAddStr [20:04:43]wPrintStart [20:04:43]Write to MH i2c: 01 00 00 29 02 2B [20:04:43]Write i2c OK [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: 01 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: 01 07 00 [20:04:43]MH_I2C_Read... [20:04:43]Read from MH i2c: 01 07 00 29 02 00 00 00 00 00 FF 0F 40 [20:04:43]RasterBufferAndPrint [20:04:43]line Счет N : (3)242373 [20:04:43]line ИНН: 02508201610067 [20:04:43]line Контрольно-Кассовый Чек [20:04:43]line ПРОДАЖА [20:04:43]line Товар: 4870022003305 [20:04:43]line Напиток Gorilla эн нат ж/б 0,5/0,45л [20:04:43]line 1.000 * 93.00 [20:04:43]line = 93.00 [20:04:43]line НДС 12% НСП 1% [20:04:43]line > о реализуемом товаре [20:04:43]line ИТОГО: 93.00 [20:04:43]line НСП 1% : 0.82 [20:04:43]line НДС 12% : 9.88 [20:04:43]line Наличными: 93.00 [20:04:43]line Безнал.: 0.00 [20:04:43]line Место: АЗС № 15 "Партнер Нефть" [20:04:43]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:04:43]line СНО: Общий режим [20:04:43]line Чек 22 13.03.2024 20:04 [20:04:43]line Смена: 316 ФФД: 1.0 [20:04:43]line ЗНМ: 0300000097 [20:04:43]line РНМ: 0000000000092018 [20:04:43]line Версия ККМ: 001 [20:04:43]line ФМ: 0000000000871816 [20:04:43]line ФД: 47463 [20:04:43]line ФПД: 31441211683126 [20:04:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T200442&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47463&fm=31441211683126&tin=02508201610067®Number=0000000000092018&sum=9300 [20:04:44]line 0 [20:04:44]OFD Sender: Processing packet 47463 [packets to send 8, broken 7] [20:04:44]ProducePacketName [20:04:44]name=ofd_packets/00047463 [20:04:44]OFD Sender: To server: pG, [20:04:44]CommunicateWithHost lk.salyk.kg:30040 [20:04:44]ConnectInit lk.salyk.kg [20:04:44]written 0, free lines is 4095 [20:04:44]Connected sock=10 [20:04:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 39 01 00 00 AC 8A 31 01 22 29 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 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 16 00 00 00 F4 03 04 00 DA 06 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 67 B9 00 00 35 04 06 00 1C 98 7A 40 F1 36 9C FC 63 80 35 2E 42 FC [20:04:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 25 60 47 00 00 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 67 B9 00 00 F4 03 04 00 68 B1 F1 65 B6 04 01 00 00 86 A6 D1 87 FD 1B 25 4A [20:04:44]CommunicateWithHost err = 0 [20:04:44]CheckOFDResponse [20:04:44]1017 (14) - 77093643461234 [20:04:44]1041 (16) - 0000000000871816 [20:04:44]1040 (4) - 47463 [20:04:44]1012 (4) - 13.03.2024 14:00 [20:04:44]1206 (1) - 0 [20:04:44]OFD Sender: Remove packet 47463 [20:04:44]ProducePacketName [20:04:44]name=ofd_packets/00047463 [20:04:44]NVStorageDeleteData [20:04:44]Write to MH i2c: 01 00 00 52 02 54 [20:04:44]Write i2c OK [20:04:44]MH_I2C_Read... [20:04:44]Read from MH i2c: 01 [20:04:44]MH_I2C_Read... [20:04:44]Read from MH i2c: 01 07 00 [20:04:44]MH_I2C_Read... [20:04:44]Read from MH i2c: 01 07 00 52 02 00 00 00 00 00 EE 0C 55 [20:04:44]RasterBufferAndPrint [20:04:44]line [20:04:44]line [20:04:44]line [20:04:44]line [20:04:44]line [20:04:44]written 0, free lines is 3319 [20:04:44]MH_Cut [20:04:44]Write to MH i2c: D1 01 00 59 02 01 2D [20:04:44]Write i2c OK [20:04:44]MH_I2C_Read... [20:04:44]Read from MH i2c: D1 [20:04:44]MH_I2C_Read... [20:04:44]Read from MH i2c: D1 01 00 [20:04:44]MH_I2C_Read... [20:04:44]Read from MH i2c: D1 01 00 59 02 00 2C [20:04:44]Write to MH i2c: 01 00 00 5A 02 5C [20:04:44]Write i2c OK [20:04:44]MH_I2C_Read... [20:04:44]OFD Sender: No OFD packet to send [20:04:45]*** Cut start [20:04:45]*** Purtial cut [20:04:45]*** Stage 1: CUTSNS_PIN = 1 [20:04:45]Read from MH i2c: 01 [20:04:45]MH_I2C_Read... [20:04:45]*** Stop cut motor [20:04:45]*** Cut end [20:04:45]Read from MH i2c: 01 07 00 [20:04:45]MH_I2C_Read... [20:04:45]Read from MH i2c: 01 07 00 5A 02 00 00 00 00 00 FF 0F 71 [20:04:45]process_action close_receipt done [20:04:45]requested_data is exist [20:04:45]produce_requested_data [20:04:45]requested_item fm.sn is exist - process it [20:04:45]wFMCommunicate request_size=4 [20:04:45]MH_SAM_APDU [20:04:45]CAPDU: 80 11 00 00 [20:04:45]Write to MH i2c: E2 08 00 5B 02 80 11 00 00 00 00 00 00 D7 [20:04:45]Write i2c OK [20:04:45]MH_I2C_Read... [20:04:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:45]Read from MH i2c: E2 [20:04:45]MH_I2C_Read... [20:04:45]Read from MH i2c: E2 17 00 [20:04:45]MH_I2C_Read... [20:04:45]Read from MH i2c: E2 17 00 5B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 29 [20:04:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:04:45]wFMCommunicate OK [20:04:45]requested_item fd.num is exist - process it [20:04:45]SAM_PROTO_GetFieldsCounters [20:04:45]wFMCommunicate request_size=4 [20:04:45]MH_SAM_APDU [20:04:45]CAPDU: 80 13 00 00 [20:04:45]Write to MH i2c: E2 08 00 5C 02 80 13 00 00 00 00 00 00 DA [20:04:45]Write i2c OK [20:04:45]MH_I2C_Read... [20:04:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:04:45]Read from MH i2c: E2 [20:04:45]MH_I2C_Read... [20:04:45]Read from MH i2c: E2 62 00 [20:04:45]MH_I2C_Read... [20:04:46]Read from MH i2c: E2 62 00 5C 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 67 B9 00 00 0E 04 04 00 3C 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 94 [20:04:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 67 B9 00 00 0E 04 04 00 3C 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 [20:04:46]wFMCommunicate OK [20:04:46]SAM_PROTO_GetFieldsCounters done [20:04:46]requested_item shift.num is exist - process it [20:04:46]requested_item shift.opened is exist - process it [20:04:46]req_shift_opened [20:04:46]FM_GetShiftState [20:04:46]SAM_PROTO_GetShiftState [20:04:46]wFMCommunicate request_size=4 [20:04:46]MH_SAM_APDU [20:04:46]CAPDU: 80 13 01 00 [20:04:46]Write to MH i2c: E2 08 00 5D 02 80 13 01 00 00 00 00 00 DC [20:04:46]Write i2c OK [20:04:46]MH_I2C_Read... [20:04:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:46]Read from MH i2c: E2 [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: E2 0E 00 [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: E2 0E 00 5D 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 F9 [20:04:46]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:04:46]wFMCommunicate OK [20:04:46]SAM_PROTO_GetShiftState done [20:04:46]FM_GetShiftState done [20:04:46]req_shift_opened done [20:04:46]requested_item shift.open_date is exist - process it [20:04:46]req_shift_open_date [20:04:46]req_shift_open_date done [20:04:46]produce_requested_data done [20:04:46]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47463,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [20:04:46]process_action_free close_receipt [20:04:46]json_value_free [20:04:46]json_value_free done [20:04:46]process_json_proto returns [20:04:46]Send response to host [20:04:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47463,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [20:04:46]free response buf [20:04:46]execute_script done [20:04:46]execute_script returns [20:04:46]free content buf [20:04:46]Sock 7.Close socket [20:04:46]Sock 7.Thread stoped [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]OFD Sender: No OFD packet to send [20:05:15]OFD Sender: No OFD packet to send [20:05:20]OFD Sender: No OFD packet to send [20:05:25]OFD Sender: No OFD packet to send [20:05:30]OFD Sender: No OFD packet to send [20:05:35]OFD Sender: No OFD packet to send [20:05:40]OFD Sender: No OFD packet to send [20:05:45]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:11]accept exits with 9 [20:08:11]New connection [20:08:11]New thread 3067174244 created [20:08:11]Thread 3067030884 joined [20:08:11]Waiting for new connection... [20:08:11] Sock 9.Parse request [20:08:11]Sock 9.Check first char [20:08:11]Sock 9.First char is OK [20:08:11]request: POST /json_proto HTTP/1.0 [20:08:11]Method: POST [20:08:11]URL: /json_proto [20:08:11]Method is POST - this is cgi request [20:08:11]url: /json_proto [20:08:11]query_string will be loaded in cgi processing [20:08:11]execute_cgi json_proto POST (null) [20:08:11]execute_cgi path=json_proto method=POST [20:08:11]POST find Content-Length [20:08:11]Host: 172.17.32.68:8080 [20:08:11]Content-Length: 613 [20:08:11]Content-Type: application/json [20:08:11] [20:08:11]POST finish read [20:08:11]Found Content-Length = 613 [20:08:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242374", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:08:11]execute_script... [20:08:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242374", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:08:11]POST & json_proto [20:08:11]process_json_proto [20:08:11]json parsed OK: [20:08:11]protocol is kg_v1.0 [20:08:11]action value=close_receipt [20:08:11]process_action close_receipt [20:08:11]cmd_close_receipt [20:08:11]MH_GetDate [20:08:11]Write to MH i2c: F0 00 00 5E 02 4F [20:08:11]Write i2c OK [20:08:11]MH_I2C_Read... [20:08:11]Read from MH i2c: F0 [20:08:11]MH_I2C_Read... [20:08:11]Read from MH i2c: F0 09 00 [20:08:11]MH_I2C_Read... [20:08:11]Read from MH i2c: F0 09 00 5E 02 00 AB 07 F2 65 0A 64 6E 65 A2 [20:08:11]GetLastDocTimeStamp 1710360282 [20:08:11]current date 1710360491 [20:08:11]FM_GetShiftState [20:08:11]SAM_PROTO_GetShiftState [20:08:11]wFMCommunicate request_size=4 [20:08:11]MH_SAM_APDU [20:08:11]CAPDU: 80 13 01 00 [20:08:11]Write to MH i2c: E2 08 00 5F 02 80 13 01 00 00 00 00 00 DE [20:08:11]Write i2c OK [20:08:11]MH_I2C_Read... [20:08:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:08:11]Read from MH i2c: E2 [20:08:11]MH_I2C_Read... [20:08:11]Read from MH i2c: E2 0E 00 [20:08:11]MH_I2C_Read... [20:08:11]Read from MH i2c: E2 0E 00 5F 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 FB [20:08:11]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:08:11]wFMCommunicate OK [20:08:11]SAM_PROTO_GetShiftState done [20:08:11]FM_GetShiftState done [20:08:11]opened in 1710338059 [20:08:11]opened+sec_in_day 1710424459 [20:08:11]quantity*price = 8000 [20:08:11]sum+1 = 8001 [20:08:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 23 13.03.2024 20:08 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47464 ФПД: 226782834026423 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T200811&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47464&fm=226782834026423&tin=02508201610067®Number=0000000000092018&sum=8000 0 [20:08:12]StoreToDocumentArchive [20:08:12]shift 316 fd 47464 [20:08:12]save to /storage/0316/doc_00047464 [20:08:12]save last doc name /storage/0316/doc_00047464 to /storage/kkm_last_doc_name [20:08:12]save OK [20:08:12]Clear old archive folders... [20:08:12]ProcessDocumentItem done err = 0, tmpTLVsize=268 [20:08:12]tlvbuf is 01195D20 [20:08:12]SAM_PROTO_ClearQueue [20:08:12]wFMCommunicate request_size=4 [20:08:12]MH_SAM_APDU [20:08:12]CAPDU: 80 09 00 00 [20:08:12]Write to MH i2c: E2 08 00 6C 02 80 09 00 00 00 00 00 00 E0 [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:08:12]Read from MH i2c: E2 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 6C 02 00 90 00 E2 [20:08:12]RAPDU: 90 00 [20:08:12]wFMCommunicate OK [20:08:12]SAM_PROTO_ClearQueue done [20:08:12]KKMCreateOFDPacket [20:08:12]OFDProtocolAddRootSTLVToBuf [20:08:12]FM_MakeSignedData [20:08:12]FM_MakeSignedData [20:08:12]SAM_PROTO_SignData [20:08:12]wFMCommunicate request_size=4 [20:08:12]MH_SAM_APDU [20:08:12]CAPDU: 80 0D 01 02 [20:08:12]Write to MH i2c: E2 08 00 6D 02 80 0D 01 02 00 00 00 00 E8 [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:08:12]Read from MH i2c: E2 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 6D 02 00 90 00 E3 [20:08:12]RAPDU: 90 00 [20:08:12]wFMCommunicate OK [20:08:12]wFMCommunicate request_size=255 [20:08:12]MH_SAM_APDU [20:08:12]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 AB 07 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [20:08:12]Write to MH i2c: E2 02 01 6E 02 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 AB 07 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 53 [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:08:12]Read from MH i2c: E2 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 6E 02 00 90 00 E4 [20:08:12]RAPDU: 90 00 [20:08:12]wFMCommunicate OK [20:08:12]wFMCommunicate request_size=27 [20:08:12]MH_SAM_APDU [20:08:12]CAPDU: 80 0D 02 02 16 31 38 31 36 10 04 04 00 68 B9 00 00 35 04 06 00 CE 41 FE 43 67 B7 [20:08:12]Write to MH i2c: E2 1E 00 6F 02 80 0D 02 02 16 00 31 38 31 36 10 04 04 00 68 B9 00 00 35 04 06 00 CE 41 FE 43 67 B7 00 00 CD [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:08:12]Read from MH i2c: E2 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 03 00 6F 02 00 90 00 E5 [20:08:12]RAPDU: 90 00 [20:08:12]wFMCommunicate OK [20:08:12]wFMCommunicate request_size=4 [20:08:12]MH_SAM_APDU [20:08:12]CAPDU: 80 0D 03 02 [20:08:12]Write to MH i2c: E2 08 00 70 02 80 0D 03 02 00 00 00 00 ED [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:08:12]Read from MH i2c: E2 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 0B 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 0B 00 70 02 00 FF E1 9C 54 40 35 E4 5E 90 00 75 [20:08:12]RAPDU: FF E1 9C 54 40 35 E4 5E 90 00 [20:08:12]wFMCommunicate OK [20:08:12]SAM_PROTO_SignData done [20:08:12]FM_MakeSignedData done [20:08:12]CreateOFDProtocolMessage [20:08:12]wFMCommunicate request_size=4 [20:08:12]MH_SAM_APDU [20:08:12]CAPDU: 80 11 00 00 [20:08:12]Write to MH i2c: E2 08 00 71 02 80 11 00 00 00 00 00 00 ED [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:08:12]Read from MH i2c: E2 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 17 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: E2 17 00 71 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3F [20:08:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:08:12]wFMCommunicate OK [20:08:12]CreateOFDProtocolMessage done [20:08:12]OFDSenderStorePacket 47464 [20:08:12]StoreOFDPacket docnum=47464 [20:08:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 20 01 00 00 72 A9 18 01 6C 6B 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 AB 07 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 68 B9 00 00 35 04 06 00 CE 41 FE 43 67 B7 FF E1 9C 54 40 35 E4 5E [20:08:12]CheckFolder [20:08:12]dirname=/storage/ofd_packets [20:08:12]CheckFolder done [20:08:12]ProducePacketName [20:08:12]name=ofd_packets/00047464 [20:08:12]NVStorageSaveData ofd_packets/00047464 [20:08:12]File name is /storage/ofd_packets/00047464 [20:08:12]Write 318 bytes [20:08:12]NVStorageSaveData done [20:08:12]OFDSenderStorePacket done [20:08:12]KKMCreateOFDPacket done [20:08:12]NVStorageSaveData kkm_last_timestamp [20:08:12]File name is /storage/kkm_last_timestamp [20:08:12]Write 4 bytes [20:08:12]NVStorageSaveData done [20:08:12]ExternCall_PrintAddStr [20:08:12]wPrintStart [20:08:12]Write to MH i2c: 01 00 00 72 02 74 [20:08:12]Write i2c OK [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: 01 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: 01 07 00 [20:08:12]MH_I2C_Read... [20:08:12]Read from MH i2c: 01 07 00 72 02 00 00 00 00 00 FF 0F 89 [20:08:12]RasterBufferAndPrint [20:08:12]line Счет N : (3)242374 [20:08:12]line ИНН: 02508201610067 [20:08:12]line Контрольно-Кассовый Чек [20:08:12]line ПРОДАЖА [20:08:12]line Товар: 4870001570057 [20:08:12]line Напиток Pepsi 0,5л [20:08:12]line 1.000 * 80.00 [20:08:12]line = 80.00 [20:08:12]line НДС 12% НСП 1% [20:08:12]line > о реализуемом товаре [20:08:12]line ИТОГО: 80.00 [20:08:12]line НСП 1% : 0.71 [20:08:12]line НДС 12% : 8.50 [20:08:12]line Наличными: 80.00 [20:08:12]line Безнал.: 0.00 [20:08:12]line Место: АЗС № 15 "Партнер Нефть" [20:08:12]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:08:12]line СНО: Общий режим [20:08:12]line Чек 23 13.03.2024 20:08 [20:08:12]line Смена: 316 ФФД: 1.0 [20:08:12]line ЗНМ: 0300000097 [20:08:12]line РНМ: 0000000000092018 [20:08:12]line Версия ККМ: 001 [20:08:12]line ФМ: 0000000000871816 [20:08:12]line ФД: 47464 [20:08:12]line ФПД: 226782834026423 [20:08:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T200811&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47464&fm=226782834026423&tin=02508201610067®Number=0000000000092018&sum=8000 [20:08:13]line 0 [20:08:13]OFD Sender: Processing packet 47464 [packets to send 8, broken 7] [20:08:13]ProducePacketName [20:08:13]name=ofd_packets/00047464 [20:08:13]OFD Sender: To server: pG, [20:08:13]CommunicateWithHost lk.salyk.kg:30040 [20:08:13]ConnectInit lk.salyk.kg [20:08:13]written 0, free lines is 4095 [20:08:13]Connected sock=10 [20:08:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 20 01 00 00 72 A9 18 01 6C 6B 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 AB 07 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 68 B9 00 00 35 04 06 00 CE 41 FE 43 67 B7 FF E1 9C 54 40 35 E4 5E [20:08:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 07 AF 47 00 31 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 68 B9 00 00 F4 03 04 00 39 B2 F1 65 B6 04 01 00 00 7A 32 D0 5D 0D 9B 3C 37 [20:08:13]CommunicateWithHost err = 0 [20:08:13]CheckOFDResponse [20:08:13]1017 (14) - 77093643461234 [20:08:13]1041 (16) - 0000000000871816 [20:08:13]1040 (4) - 47464 [20:08:13]1012 (4) - 13.03.2024 14:03 [20:08:13]1206 (1) - 0 [20:08:13]OFD Sender: Remove packet 47464 [20:08:13]ProducePacketName [20:08:13]name=ofd_packets/00047464 [20:08:13]NVStorageDeleteData [20:08:13]Write to MH i2c: 01 00 00 9A 02 9C [20:08:13]Write i2c OK [20:08:13]MH_I2C_Read... [20:08:13]Read from MH i2c: 01 [20:08:13]MH_I2C_Read... [20:08:13]Read from MH i2c: 01 07 00 [20:08:13]MH_I2C_Read... [20:08:13]Read from MH i2c: 01 07 00 9A 02 00 00 00 00 00 FE 0C AD [20:08:13]RasterBufferAndPrint [20:08:13]line [20:08:13]line [20:08:13]line [20:08:13]line [20:08:13]line [20:08:13]written 0, free lines is 3332 [20:08:13]MH_Cut [20:08:13]Write to MH i2c: D1 01 00 A1 02 01 75 [20:08:13]Write i2c OK [20:08:13]MH_I2C_Read... [20:08:13]Read from MH i2c: D1 [20:08:13]MH_I2C_Read... [20:08:13]Read from MH i2c: D1 01 00 [20:08:13]MH_I2C_Read... [20:08:13]Read from MH i2c: D1 01 00 A1 02 00 74 [20:08:13]Write to MH i2c: 01 00 00 A2 02 A4 [20:08:13]Write i2c OK [20:08:13]MH_I2C_Read... [20:08:13]OFD Sender: No OFD packet to send [20:08:14]*** Cut start [20:08:14]*** Purtial cut [20:08:14]*** Stage 1: CUTSNS_PIN = 1 [20:08:14]Read from MH i2c: 01 [20:08:14]MH_I2C_Read... [20:08:14]*** Stop cut motor [20:08:14]*** Cut end [20:08:14]Read from MH i2c: 01 07 00 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: 01 07 00 A2 02 00 00 00 00 00 FF 0F B9 [20:08:14]process_action close_receipt done [20:08:14]requested_data is exist [20:08:14]produce_requested_data [20:08:14]requested_item fm.sn is exist - process it [20:08:14]wFMCommunicate request_size=4 [20:08:14]MH_SAM_APDU [20:08:14]CAPDU: 80 11 00 00 [20:08:14]Write to MH i2c: E2 08 00 A3 02 80 11 00 00 00 00 00 00 1F [20:08:14]Write i2c OK [20:08:14]MH_I2C_Read... [20:08:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:08:14]Read from MH i2c: E2 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: E2 17 00 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: E2 17 00 A3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 71 [20:08:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:08:14]wFMCommunicate OK [20:08:14]requested_item fd.num is exist - process it [20:08:14]SAM_PROTO_GetFieldsCounters [20:08:14]wFMCommunicate request_size=4 [20:08:14]MH_SAM_APDU [20:08:14]CAPDU: 80 13 00 00 [20:08:14]Write to MH i2c: E2 08 00 A4 02 80 13 00 00 00 00 00 00 22 [20:08:14]Write i2c OK [20:08:14]MH_I2C_Read... [20:08:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:08:14]Read from MH i2c: E2 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: E2 62 00 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: E2 62 00 A4 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 68 B9 00 00 0E 04 04 00 3C 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 E0 [20:08:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 68 B9 00 00 0E 04 04 00 3C 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 [20:08:14]wFMCommunicate OK [20:08:14]SAM_PROTO_GetFieldsCounters done [20:08:14]requested_item shift.num is exist - process it [20:08:14]requested_item shift.opened is exist - process it [20:08:14]req_shift_opened [20:08:14]FM_GetShiftState [20:08:14]SAM_PROTO_GetShiftState [20:08:14]wFMCommunicate request_size=4 [20:08:14]MH_SAM_APDU [20:08:14]CAPDU: 80 13 01 00 [20:08:14]Write to MH i2c: E2 08 00 A5 02 80 13 01 00 00 00 00 00 24 [20:08:14]Write i2c OK [20:08:14]MH_I2C_Read... [20:08:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:08:14]Read from MH i2c: E2 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: E2 0E 00 [20:08:14]MH_I2C_Read... [20:08:14]Read from MH i2c: E2 0E 00 A5 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 41 [20:08:14]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:08:14]wFMCommunicate OK [20:08:14]SAM_PROTO_GetShiftState done [20:08:14]FM_GetShiftState done [20:08:14]req_shift_opened done [20:08:14]requested_item shift.open_date is exist - process it [20:08:14]req_shift_open_date [20:08:14]req_shift_open_date done [20:08:14]produce_requested_data done [20:08:14]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47464,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [20:08:14]process_action_free close_receipt [20:08:14]json_value_free [20:08:14]json_value_free done [20:08:14]process_json_proto returns [20:08:14]Send response to host [20:08:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47464,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [20:08:14]free response buf [20:08:14]execute_script done [20:08:14]execute_script returns [20:08:14]free content buf [20:08:14]Sock 9.Close socket [20:08:14]Sock 9.Thread stoped [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:49]OFD Sender: No OFD packet to send [20:19:54]OFD Sender: No OFD packet to send [20:19:59]OFD Sender: No OFD packet to send [20:20:04]OFD Sender: No OFD packet to send [20:20:09]OFD Sender: No OFD packet to send [20:20:14]OFD Sender: No OFD packet to send [20:20:19]OFD Sender: No OFD packet to send [20:20:24]OFD Sender: No OFD packet to send [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:49]OFD Sender: No OFD packet to send [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:54]OFD Sender: No OFD packet to send [20:24:59]OFD Sender: No OFD packet to send [20:25:04]OFD Sender: No OFD packet to send [20:25:09]OFD Sender: No OFD packet to send [20:25:14]OFD Sender: No OFD packet to send [20:25:19]OFD Sender: No OFD packet to send [20:25:24]OFD Sender: No OFD packet to send [20:25:29]OFD Sender: No OFD packet to send [20:25:34]OFD Sender: No OFD packet to send [20:25:39]OFD Sender: No OFD packet to send [20:25:44]OFD Sender: No OFD packet to send [20:25:49]OFD Sender: No OFD packet to send [20:25:54]OFD Sender: No OFD packet to send [20:25:59]OFD Sender: No OFD packet to send [20:26:04]OFD Sender: No OFD packet to send [20:26:09]OFD Sender: No OFD packet to send [20:26:14]OFD Sender: No OFD packet to send [20:26:19]OFD Sender: No OFD packet to send [20:26:24]OFD Sender: No OFD packet to send [20:26:29]OFD Sender: No OFD packet to send [20:26:34]OFD Sender: No OFD packet to send [20:26:39]OFD Sender: No OFD packet to send [20:26:44]OFD Sender: No OFD packet to send [20:26:49]OFD Sender: No OFD packet to send [20:26:54]OFD Sender: No OFD packet to send [20:26:59]OFD Sender: No OFD packet to send [20:27:04]OFD Sender: No OFD packet to send [20:27:09]OFD Sender: No OFD packet to send [20:27:14]OFD Sender: No OFD packet to send [20:27:19]OFD Sender: No OFD packet to send [20:27:24]OFD Sender: No OFD packet to send [20:27:29]OFD Sender: No OFD packet to send [20:27:34]OFD Sender: No OFD packet to send [20:27:39]OFD Sender: No OFD packet to send [20:27:44]OFD Sender: No OFD packet to send [20:27:49]OFD Sender: No OFD packet to send [20:27:54]OFD Sender: No OFD packet to send [20:27:59]OFD Sender: No OFD packet to send [20:28:04]OFD Sender: No OFD packet to send [20:28:09]OFD Sender: No OFD packet to send [20:28:14]OFD Sender: No OFD packet to send [20:28:19]OFD Sender: No OFD packet to send [20:28:24]OFD Sender: No OFD packet to send [20:28:29]OFD Sender: No OFD packet to send [20:28:34]OFD Sender: No OFD packet to send [20:28:39]OFD Sender: No OFD packet to send [20:28:44]OFD Sender: No OFD packet to send [20:28:49]OFD Sender: No OFD packet to send [20:28:54]OFD Sender: No OFD packet to send [20:28:59]OFD Sender: No OFD packet to send [20:29:04]OFD Sender: No OFD packet to send [20:29:09]OFD Sender: No OFD packet to send [20:29:14]OFD Sender: No OFD packet to send [20:29:19]OFD Sender: No OFD packet to send [20:29:24]OFD Sender: No OFD packet to send [20:29:29]OFD Sender: No OFD packet to send [20:29:34]OFD Sender: No OFD packet to send [20:29:39]OFD Sender: No OFD packet to send [20:29:44]OFD Sender: No OFD packet to send [20:29:49]OFD Sender: No OFD packet to send [20:29:54]OFD Sender: No OFD packet to send [20:29:59]OFD Sender: No OFD packet to send [20:30:04]OFD Sender: No OFD packet to send [20:30:09]OFD Sender: No OFD packet to send [20:30:14]OFD Sender: No OFD packet to send [20:30:19]OFD Sender: No OFD packet to send [20:30:24]OFD Sender: No OFD packet to send [20:30:29]OFD Sender: No OFD packet to send [20:30:34]OFD Sender: No OFD packet to send [20:30:39]OFD Sender: No OFD packet to send [20:30:44]OFD Sender: No OFD packet to send [20:30:49]OFD Sender: No OFD packet to send [20:30:54]OFD Sender: No OFD packet to send [20:30:59]OFD Sender: No OFD packet to send [20:31:04]OFD Sender: No OFD packet to send [20:31:09]OFD Sender: No OFD packet to send [20:31:14]OFD Sender: No OFD packet to send [20:31:19]OFD Sender: No OFD packet to send [20:31:24]OFD Sender: No OFD packet to send [20:31:29]OFD Sender: No OFD packet to send [20:31:34]OFD Sender: No OFD packet to send [20:31:39]OFD Sender: No OFD packet to send [20:31:44]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:04]accept exits with 7 [20:38:04]New connection [20:38:04]New thread 3067030884 created [20:38:04]Thread 3067174244 joined [20:38:04]Waiting for new connection... [20:38:04] Sock 7.Parse request [20:38:04]Sock 7.Check first char [20:38:04]Sock 7.First char is OK [20:38:04]request: POST /json_proto HTTP/1.0 [20:38:04]Method: POST [20:38:04]URL: /json_proto [20:38:04]Method is POST - this is cgi request [20:38:04]url: /json_proto [20:38:04]query_string will be loaded in cgi processing [20:38:04]execute_cgi json_proto POST (null) [20:38:04]execute_cgi path=json_proto method=POST [20:38:04]POST find Content-Length [20:38:04]Host: 172.17.32.68:8080 [20:38:04]Content-Length: 709 [20:38:04]Content-Type: application/json [20:38:04] [20:38:04]POST finish read [20:38:04]Found Content-Length = 709 [20:38:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242375", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:38:04]execute_script... [20:38:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242375", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:38:04]POST & json_proto [20:38:04]process_json_proto [20:38:04]json parsed OK: [20:38:04]protocol is kg_v1.0 [20:38:04]action value=close_receipt [20:38:04]process_action close_receipt [20:38:04]cmd_close_receipt [20:38:04]MH_GetDate [20:38:04]Write to MH i2c: F0 00 00 A6 02 97 [20:38:04]Write i2c OK [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: F0 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: F0 09 00 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: F0 09 00 A6 02 00 AC 0E F2 65 0A 64 6E 65 F2 [20:38:04]GetLastDocTimeStamp 1710360491 [20:38:04]current date 1710362284 [20:38:04]FM_GetShiftState [20:38:04]SAM_PROTO_GetShiftState [20:38:04]wFMCommunicate request_size=4 [20:38:04]MH_SAM_APDU [20:38:04]CAPDU: 80 13 01 00 [20:38:04]Write to MH i2c: E2 08 00 A7 02 80 13 01 00 00 00 00 00 26 [20:38:04]Write i2c OK [20:38:04]MH_I2C_Read... [20:38:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:38:04]Read from MH i2c: E2 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: E2 0E 00 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: E2 0E 00 A7 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 43 [20:38:04]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:38:04]wFMCommunicate OK [20:38:04]SAM_PROTO_GetShiftState done [20:38:04]FM_GetShiftState done [20:38:04]opened in 1710338059 [20:38:04]opened+sec_in_day 1710424459 [20:38:04]quantity*price = 9000 [20:38:04]sum+1 = 9001 [20:38:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 24 13.03.2024 20:38 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47465 ФПД: 122022948058160 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T203804&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47465&fm=122022948058160&tin=02508201610067®Number=0000000000092018&sum=9000 0 [20:38:05]StoreToDocumentArchive [20:38:05]shift 316 fd 47465 [20:38:05]save to /storage/0316/doc_00047465 [20:38:05]save last doc name /storage/0316/doc_00047465 to /storage/kkm_last_doc_name [20:38:05]save OK [20:38:05]Clear old archive folders... [20:38:05]ProcessDocumentItem done err = 0, tmpTLVsize=304 [20:38:05]tlvbuf is 011AAFE0 [20:38:05]SAM_PROTO_ClearQueue [20:38:05]wFMCommunicate request_size=4 [20:38:05]MH_SAM_APDU [20:38:05]CAPDU: 80 09 00 00 [20:38:05]Write to MH i2c: E2 08 00 B4 02 80 09 00 00 00 00 00 00 28 [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:38:05]Read from MH i2c: E2 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 B4 02 00 90 00 2A [20:38:05]RAPDU: 90 00 [20:38:05]wFMCommunicate OK [20:38:05]SAM_PROTO_ClearQueue done [20:38:05]KKMCreateOFDPacket [20:38:05]OFDProtocolAddRootSTLVToBuf [20:38:05]FM_MakeSignedData [20:38:05]FM_MakeSignedData [20:38:05]SAM_PROTO_SignData [20:38:05]wFMCommunicate request_size=4 [20:38:05]MH_SAM_APDU [20:38:05]CAPDU: 80 0D 01 02 [20:38:05]Write to MH i2c: E2 08 00 B5 02 80 0D 01 02 00 00 00 00 30 [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:38:05]Read from MH i2c: E2 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 B5 02 00 90 00 2B [20:38:05]RAPDU: 90 00 [20:38:05]wFMCommunicate OK [20:38:05]wFMCommunicate request_size=255 [20:38:05]MH_SAM_APDU [20:38:05]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 AC 0E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 [20:38:05]Write to MH i2c: E2 02 01 B6 02 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 AC 0E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 00 00 CB [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:05]Read from MH i2c: E2 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 B6 02 00 90 00 2C [20:38:05]RAPDU: 90 00 [20:38:05]wFMCommunicate OK [20:38:05]wFMCommunicate request_size=63 [20:38:05]MH_SAM_APDU [20:38:05]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 69 B9 00 00 35 04 06 00 6E FA AE 79 34 30 [20:38:05]Write to MH i2c: E2 42 00 B7 02 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 69 B9 00 00 35 04 06 00 6E FA AE 79 34 30 00 00 8C [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:05]Read from MH i2c: E2 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 03 00 B7 02 00 90 00 2D [20:38:05]RAPDU: 90 00 [20:38:05]wFMCommunicate OK [20:38:05]wFMCommunicate request_size=4 [20:38:05]MH_SAM_APDU [20:38:05]CAPDU: 80 0D 03 02 [20:38:05]Write to MH i2c: E2 08 00 B8 02 80 0D 03 02 00 00 00 00 35 [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:38:05]Read from MH i2c: E2 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 0B 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 0B 00 B8 02 00 0C E1 0D 1A C5 30 24 46 90 00 A9 [20:38:05]RAPDU: 0C E1 0D 1A C5 30 24 46 90 00 [20:38:05]wFMCommunicate OK [20:38:05]SAM_PROTO_SignData done [20:38:05]FM_MakeSignedData done [20:38:05]CreateOFDProtocolMessage [20:38:05]wFMCommunicate request_size=4 [20:38:05]MH_SAM_APDU [20:38:05]CAPDU: 80 11 00 00 [20:38:05]Write to MH i2c: E2 08 00 B9 02 80 11 00 00 00 00 00 00 35 [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:38:05]Read from MH i2c: E2 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 17 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: E2 17 00 B9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 87 [20:38:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:38:05]wFMCommunicate OK [20:38:05]CreateOFDProtocolMessage done [20:38:05]OFDSenderStorePacket 47465 [20:38:05]StoreOFDPacket docnum=47465 [20:38:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 44 01 00 00 92 33 3C 01 EB D1 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 AC 0E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 69 B9 00 00 35 04 06 00 6E FA AE 79 34 30 0C E1 0D 1A C5 30 24 46 [20:38:05]CheckFolder [20:38:05]dirname=/storage/ofd_packets [20:38:05]CheckFolder done [20:38:05]ProducePacketName [20:38:05]name=ofd_packets/00047465 [20:38:05]NVStorageSaveData ofd_packets/00047465 [20:38:05]File name is /storage/ofd_packets/00047465 [20:38:05]Write 354 bytes [20:38:05]NVStorageSaveData done [20:38:05]OFDSenderStorePacket done [20:38:05]KKMCreateOFDPacket done [20:38:05]NVStorageSaveData kkm_last_timestamp [20:38:05]File name is /storage/kkm_last_timestamp [20:38:05]Write 4 bytes [20:38:05]NVStorageSaveData done [20:38:05]ExternCall_PrintAddStr [20:38:05]wPrintStart [20:38:05]Write to MH i2c: 01 00 00 BA 02 BC [20:38:05]Write i2c OK [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: 01 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: 01 07 00 [20:38:05]MH_I2C_Read... [20:38:05]Read from MH i2c: 01 07 00 BA 02 00 00 00 00 00 FF 0F D1 [20:38:05]RasterBufferAndPrint [20:38:05]line Счет N : (3)242375 [20:38:05]line ИНН: 02508201610067 [20:38:05]line Контрольно-Кассовый Чек [20:38:05]line ПРОДАЖА [20:38:05]line Товар: 4700000480302 [20:38:05]line Напиток энерг Nitro манго-клуб 0.45 ж/б [20:38:05]line 1.000 * 90.00 [20:38:05]line = 90.00 [20:38:05]line НДС 12% НСП 1% [20:38:05]line > о реализуемом товаре [20:38:05]line ИТОГО: 90.00 [20:38:05]line НСП 1% : 0.80 [20:38:05]line НДС 12% : 9.56 [20:38:05]line Наличными: 90.00 [20:38:05]line Безнал.: 0.00 [20:38:05]line Место: АЗС № 15 "Партнер Нефть" [20:38:05]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:38:05]line СНО: Общий режим [20:38:05]line Чек 24 13.03.2024 20:38 [20:38:05]line Смена: 316 ФФД: 1.0 [20:38:05]line ЗНМ: 0300000097 [20:38:05]line РНМ: 0000000000092018 [20:38:05]line Версия ККМ: 001 [20:38:05]line ФМ: 0000000000871816 [20:38:05]line ФД: 47465 [20:38:05]line ФПД: 122022948058160 [20:38:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T203804&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47465&fm=122022948058160&tin=02508201610067®Number=0000000000092018&sum=9000 [20:38:06]line 0 [20:38:06]OFD Sender: Processing packet 47465 [packets to send 8, broken 7] [20:38:06]ProducePacketName [20:38:06]name=ofd_packets/00047465 [20:38:06]OFD Sender: To server: pG, [20:38:06]CommunicateWithHost lk.salyk.kg:30040 [20:38:06]ConnectInit lk.salyk.kg [20:38:06]written 0, free lines is 4095 [20:38:06]Connected sock=10 [20:38:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 44 01 00 00 92 33 3C 01 EB D1 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 AC 0E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 69 B9 00 00 35 04 06 00 6E FA AE 79 34 30 0C E1 0D 1A C5 30 24 46 [20:38:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 D8 DF 47 00 74 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 69 B9 00 00 F4 03 04 00 3A B9 F1 65 B6 04 01 00 00 88 48 28 7C 1A 6E C1 23 [20:38:06]CommunicateWithHost err = 0 [20:38:06]CheckOFDResponse [20:38:06]1017 (14) - 77093643461234 [20:38:06]1041 (16) - 0000000000871816 [20:38:06]1040 (4) - 47465 [20:38:06]1012 (4) - 13.03.2024 14:33 [20:38:06]1206 (1) - 0 [20:38:06]OFD Sender: Remove packet 47465 [20:38:06]ProducePacketName [20:38:06]name=ofd_packets/00047465 [20:38:06]NVStorageDeleteData [20:38:06]Write to MH i2c: 01 00 00 E3 02 E5 [20:38:06]Write i2c OK [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: 01 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: 01 07 00 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: 01 07 00 E3 02 00 00 00 00 00 DA 0C D2 [20:38:06]RasterBufferAndPrint [20:38:06]line [20:38:06]line [20:38:06]line [20:38:06]line [20:38:06]line [20:38:06]written 0, free lines is 3297 [20:38:06]MH_Cut [20:38:06]Write to MH i2c: D1 01 00 EA 02 01 BE [20:38:06]Write i2c OK [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: D1 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: D1 01 00 [20:38:06]MH_I2C_Read... [20:38:06]Read from MH i2c: D1 01 00 EA 02 00 BD [20:38:06]Write to MH i2c: 01 00 00 EB 02 ED [20:38:06]Write i2c OK [20:38:06]MH_I2C_Read... [20:38:07]OFD Sender: No OFD packet to send [20:38:07]*** Cut start [20:38:07]*** Purtial cut [20:38:07]*** Stage 1: CUTSNS_PIN = 1 [20:38:07]Read from MH i2c: 01 [20:38:07]MH_I2C_Read... [20:38:07]*** Stop cut motor [20:38:07]*** Cut end [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 EB 02 00 00 00 00 00 FF 0F 02 [20:38:07]process_action close_receipt done [20:38:07]requested_data is exist [20:38:07]produce_requested_data [20:38:07]requested_item fm.sn is exist - process it [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 EC 02 80 11 00 00 00 00 00 00 68 [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 EC 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 BA [20:38:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:38:07]wFMCommunicate OK [20:38:07]requested_item fd.num is exist - process it [20:38:07]SAM_PROTO_GetFieldsCounters [20:38:07]wFMCommunicate request_size=4 [20:38:07]MH_SAM_APDU [20:38:07]CAPDU: 80 13 00 00 [20:38:07]Write to MH i2c: E2 08 00 ED 02 80 13 00 00 00 00 00 00 6B [20:38:07]Write i2c OK [20:38:07]MH_I2C_Read... [20:38:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:38:08]Read from MH i2c: E2 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: E2 62 00 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: E2 62 00 ED 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 69 B9 00 00 0E 04 04 00 3C 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 2D [20:38:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 69 B9 00 00 0E 04 04 00 3C 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 [20:38:08]wFMCommunicate OK [20:38:08]SAM_PROTO_GetFieldsCounters done [20:38:08]requested_item shift.num is exist - process it [20:38:08]requested_item shift.opened is exist - process it [20:38:08]req_shift_opened [20:38:08]FM_GetShiftState [20:38:08]SAM_PROTO_GetShiftState [20:38:08]wFMCommunicate request_size=4 [20:38:08]MH_SAM_APDU [20:38:08]CAPDU: 80 13 01 00 [20:38:08]Write to MH i2c: E2 08 00 EE 02 80 13 01 00 00 00 00 00 6D [20:38:08]Write i2c OK [20:38:08]MH_I2C_Read... [20:38:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:38:08]Read from MH i2c: E2 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: E2 0E 00 [20:38:08]MH_I2C_Read... [20:38:08]Read from MH i2c: E2 0E 00 EE 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 8A [20:38:08]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:38:08]wFMCommunicate OK [20:38:08]SAM_PROTO_GetShiftState done [20:38:08]FM_GetShiftState done [20:38:08]req_shift_opened done [20:38:08]requested_item shift.open_date is exist - process it [20:38:08]req_shift_open_date [20:38:08]req_shift_open_date done [20:38:08]produce_requested_data done [20:38:08]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47465,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [20:38:08]process_action_free close_receipt [20:38:08]json_value_free [20:38:08]json_value_free done [20:38:08]process_json_proto returns [20:38:08]Send response to host [20:38:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47465,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [20:38:08]free response buf [20:38:08]execute_script done [20:38:08]execute_script returns [20:38:08]free content buf [20:38:08]Sock 7.Close socket [20:38:08]Sock 7.Thread stoped [20:38:12]OFD Sender: No OFD packet to send [20:38:17]OFD Sender: No OFD packet to send [20:38:22]OFD Sender: No OFD packet to send [20:38:27]OFD Sender: No OFD packet to send [20:38:32]OFD Sender: No OFD packet to send [20:38:37]OFD Sender: No OFD packet to send [20:38:42]OFD Sender: No OFD packet to send [20:38:47]OFD Sender: No OFD packet to send [20:38:52]OFD Sender: No OFD packet to send [20:38:57]OFD Sender: No OFD packet to send [20:39:02]OFD Sender: No OFD packet to send [20:39:07]OFD Sender: No OFD packet to send [20:39:12]OFD Sender: No OFD packet to send [20:39:17]OFD Sender: No OFD packet to send [20:39:22]OFD Sender: No OFD packet to send [20:39:27]OFD Sender: No OFD packet to send [20:39:32]OFD Sender: No OFD packet to send [20:39:37]OFD Sender: No OFD packet to send [20:39:42]OFD Sender: No OFD packet to send [20:39:47]OFD Sender: No OFD packet to send [20:39:52]OFD Sender: No OFD packet to send [20:39:57]OFD Sender: No OFD packet to send [20:40:02]OFD Sender: No OFD packet to send [20:40:07]OFD Sender: No OFD packet to send [20:40:12]OFD Sender: No OFD packet to send [20:40:17]OFD Sender: No OFD packet to send [20:40:22]OFD Sender: No OFD packet to send [20:40:27]OFD Sender: No OFD packet to send [20:40:32]OFD Sender: No OFD packet to send [20:40:37]OFD Sender: No OFD packet to send [20:40:42]OFD Sender: No OFD packet to send [20:40:47]OFD Sender: No OFD packet to send [20:40:52]OFD Sender: No OFD packet to send [20:40:57]OFD Sender: No OFD packet to send [20:41:02]OFD Sender: No OFD packet to send [20:41:07]OFD Sender: No OFD packet to send [20:41:12]OFD Sender: No OFD packet to send [20:41:17]OFD Sender: No OFD packet to send [20:41:22]OFD Sender: No OFD packet to send [20:41:27]OFD Sender: No OFD packet to send [20:41:32]OFD Sender: No OFD packet to send [20:41:37]OFD Sender: No OFD packet to send [20:41:42]OFD Sender: No OFD packet to send [20:41:47]OFD Sender: No OFD packet to send [20:41:52]OFD Sender: No OFD packet to send [20:41:57]OFD Sender: No OFD packet to send [20:42:02]OFD Sender: No OFD packet to send [20:42:07]OFD Sender: No OFD packet to send [20:42:12]OFD Sender: No OFD packet to send [20:42:17]OFD Sender: No OFD packet to send [20:42:22]OFD Sender: No OFD packet to send [20:42:27]OFD Sender: No OFD packet to send [20:42:32]OFD Sender: No OFD packet to send [20:42:37]OFD Sender: No OFD packet to send [20:42:42]OFD Sender: No OFD packet to send [20:42:47]OFD Sender: No OFD packet to send [20:42:52]OFD Sender: No OFD packet to send [20:42:57]OFD Sender: No OFD packet to send [20:43:02]OFD Sender: No OFD packet to send [20:43:07]OFD Sender: No OFD packet to send [20:43:12]OFD Sender: No OFD packet to send [20:43:17]OFD Sender: No OFD packet to send [20:43:22]OFD Sender: No OFD packet to send [20:43:27]OFD Sender: No OFD packet to send [20:43:32]OFD Sender: No OFD packet to send [20:43:37]OFD Sender: No OFD packet to send [20:43:42]OFD Sender: No OFD packet to send [20:43:47]OFD Sender: No OFD packet to send [20:43:52]OFD Sender: No OFD packet to send [20:43:57]OFD Sender: No OFD packet to send [20:44:02]OFD Sender: No OFD packet to send [20:44:07]OFD Sender: No OFD packet to send [20:44:12]OFD Sender: No OFD packet to send [20:44:17]OFD Sender: No OFD packet to send [20:44:22]OFD Sender: No OFD packet to send [20:44:27]OFD Sender: No OFD packet to send [20:44:32]OFD Sender: No OFD packet to send [20:44:37]OFD Sender: No OFD packet to send [20:44:42]OFD Sender: No OFD packet to send [20:44:47]OFD Sender: No OFD packet to send [20:44:52]OFD Sender: No OFD packet to send [20:44:57]OFD Sender: No OFD packet to send [20:45:02]OFD Sender: No OFD packet to send [20:45:07]OFD Sender: No OFD packet to send [20:45:12]OFD Sender: No OFD packet to send [20:45:17]OFD Sender: No OFD packet to send [20:45:22]OFD Sender: No OFD packet to send [20:45:27]OFD Sender: No OFD packet to send [20:45:32]OFD Sender: No OFD packet to send [20:45:37]OFD Sender: No OFD packet to send [20:45:42]OFD Sender: No OFD packet to send [20:45:47]OFD Sender: No OFD packet to send [20:45:52]OFD Sender: No OFD packet to send [20:45:57]OFD Sender: No OFD packet to send [20:46:02]OFD Sender: No OFD packet to send [20:46:07]OFD Sender: No OFD packet to send [20:46:12]OFD Sender: No OFD packet to send [20:46:17]OFD Sender: No OFD packet to send [20:46:22]OFD Sender: No OFD packet to send [20:46:27]OFD Sender: No OFD packet to send [20:46:32]OFD Sender: No OFD packet to send [20:46:37]OFD Sender: No OFD packet to send [20:46:42]OFD Sender: No OFD packet to send [20:46:47]OFD Sender: No OFD packet to send [20:46:52]OFD Sender: No OFD packet to send [20:46:57]OFD Sender: No OFD packet to send [20:47:02]OFD Sender: No OFD packet to send [20:47:07]OFD Sender: No OFD packet to send [20:47:12]OFD Sender: No OFD packet to send [20:47:17]OFD Sender: No OFD packet to send [20:47:22]OFD Sender: No OFD packet to send [20:47:27]OFD Sender: No OFD packet to send [20:47:32]OFD Sender: No OFD packet to send [20:47:37]OFD Sender: No OFD packet to send [20:47:42]OFD Sender: No OFD packet to send [20:47:47]OFD Sender: No OFD packet to send [20:47:52]OFD Sender: No OFD packet to send [20:47:57]OFD Sender: No OFD packet to send [20:48:02]OFD Sender: No OFD packet to send [20:48:07]OFD Sender: No OFD packet to send [20:48:12]OFD Sender: No OFD packet to send [20:48:17]OFD Sender: No OFD packet to send [20:48:22]OFD Sender: No OFD packet to send [20:48:27]OFD Sender: No OFD packet to send [20:48:32]OFD Sender: No OFD packet to send [20:48:37]OFD Sender: No OFD packet to send [20:48:42]OFD Sender: No OFD packet to send [20:48:47]OFD Sender: No OFD packet to send [20:48:52]OFD Sender: No OFD packet to send [20:48:57]OFD Sender: No OFD packet to send [20:49:02]OFD Sender: No OFD packet to send [20:49:07]OFD Sender: No OFD packet to send [20:49:12]OFD Sender: No OFD packet to send [20:49:17]OFD Sender: No OFD packet to send [20:49:22]OFD Sender: No OFD packet to send [20:49:27]OFD Sender: No OFD packet to send [20:49:32]OFD Sender: No OFD packet to send [20:49:37]OFD Sender: No OFD packet to send [20:49:42]OFD Sender: No OFD packet to send [20:49:47]OFD Sender: No OFD packet to send [20:49:52]OFD Sender: No OFD packet to send [20:49:57]OFD Sender: No OFD packet to send [20:50:02]OFD Sender: No OFD packet to send [20:50:07]OFD Sender: No OFD packet to send [20:50:12]OFD Sender: No OFD packet to send [20:50:17]OFD Sender: No OFD packet to send [20:50:22]OFD Sender: No OFD packet to send [20:50:27]OFD Sender: No OFD packet to send [20:50:32]OFD Sender: No OFD packet to send [20:50:37]OFD Sender: No OFD packet to send [20:50:42]OFD Sender: No OFD packet to send [20:50:47]OFD Sender: No OFD packet to send [20:50:52]OFD Sender: No OFD packet to send [20:50:57]OFD Sender: No OFD packet to send [20:51:02]OFD Sender: No OFD packet to send [20:51:07]OFD Sender: No OFD packet to send [20:51:12]OFD Sender: No OFD packet to send [20:51:17]OFD Sender: No OFD packet to send [20:51:22]OFD Sender: No OFD packet to send [20:51:27]OFD Sender: No OFD packet to send [20:51:32]OFD Sender: No OFD packet to send [20:51:37]OFD Sender: No OFD packet to send [20:51:42]OFD Sender: No OFD packet to send [20:51:47]OFD Sender: No OFD packet to send [20:51:52]OFD Sender: No OFD packet to send [20:51:57]OFD Sender: No OFD packet to send [20:52:02]OFD Sender: No OFD packet to send [20:52:07]OFD Sender: No OFD packet to send [20:52:12]OFD Sender: No OFD packet to send [20:52:17]OFD Sender: No OFD packet to send [20:52:22]OFD Sender: No OFD packet to send [20:52:27]OFD Sender: No OFD packet to send [20:52:32]OFD Sender: No OFD packet to send [20:52:37]OFD Sender: No OFD packet to send [20:52:42]OFD Sender: No OFD packet to send [20:52:47]OFD Sender: No OFD packet to send [20:52:52]OFD Sender: No OFD packet to send [20:52:57]OFD Sender: No OFD packet to send [20:53:02]OFD Sender: No OFD packet to send [20:53:07]OFD Sender: No OFD packet to send [20:53:12]OFD Sender: No OFD packet to send [20:53:17]OFD Sender: No OFD packet to send [20:53:22]OFD Sender: No OFD packet to send [20:53:27]OFD Sender: No OFD packet to send [20:53:32]OFD Sender: No OFD packet to send [20:53:37]OFD Sender: No OFD packet to send [20:53:42]OFD Sender: No OFD packet to send [20:53:47]OFD Sender: No OFD packet to send [20:53:52]OFD Sender: No OFD packet to send [20:53:57]OFD Sender: No OFD packet to send [20:54:00]accept exits with 9 [20:54:00]New connection [20:54:00]New thread 3067174244 created [20:54:00]Thread 3067030884 joined [20:54:00]Waiting for new connection... [20:54:00] Sock 9.Parse request [20:54:00]Sock 9.Check first char [20:54:00]Sock 9.First char is OK [20:54:00]request: POST /json_proto HTTP/1.0 [20:54:00]Method: POST [20:54:00]URL: /json_proto [20:54:00]Method is POST - this is cgi request [20:54:00]url: /json_proto [20:54:00]query_string will be loaded in cgi processing [20:54:00]execute_cgi json_proto POST (null) [20:54:00]execute_cgi path=json_proto method=POST [20:54:00]POST find Content-Length [20:54:00]Host: 172.17.32.68:8080 [20:54:00]Content-Length: 646 [20:54:00]Content-Type: application/json [20:54:00] [20:54:00]POST finish read [20:54:00]Found Content-Length = 646 [20:54:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242376", "tax_sys" : 0, "items" : [ { "code": "5906534012111", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento Fahren", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:00]execute_script... [20:54: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)242376", "tax_sys" : 0, "items" : [ { "code": "5906534012111", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento Fahren", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:00]POST & json_proto [20:54:00]process_json_proto [20:54:00]json parsed OK: [20:54:00]protocol is kg_v1.0 [20:54:00]action value=close_receipt [20:54:00]process_action close_receipt [20:54:00]cmd_close_receipt [20:54:00]MH_GetDate [20:54:00]Write to MH i2c: F0 00 00 EF 02 E0 [20:54:00]Write i2c OK [20:54:00]MH_I2C_Read... [20:54:00]Read from MH i2c: F0 [20:54:00]MH_I2C_Read... [20:54:00]Read from MH i2c: F0 09 00 [20:54:00]MH_I2C_Read... [20:54:00]Read from MH i2c: F0 09 00 EF 02 00 68 12 F2 65 0A 64 6E 65 FB [20:54:00]GetLastDocTimeStamp 1710362284 [20:54:00]current date 1710363240 [20:54:00]FM_GetShiftState [20:54:00]SAM_PROTO_GetShiftState [20:54:00]wFMCommunicate request_size=4 [20:54:00]MH_SAM_APDU [20:54:00]CAPDU: 80 13 01 00 [20:54:00]Write to MH i2c: E2 08 00 F0 02 80 13 01 00 00 00 00 00 6F [20:54:00]Write i2c OK [20:54:00]MH_I2C_Read... [20:54:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:00]Read from MH i2c: E2 [20:54:00]MH_I2C_Read... [20:54:00]Read from MH i2c: E2 0E 00 [20:54:00]MH_I2C_Read... [20:54:00]Read from MH i2c: E2 0E 00 F0 02 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 8C [20:54:00]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:54:00]wFMCommunicate OK [20:54:00]SAM_PROTO_GetShiftState done [20:54:00]FM_GetShiftState done [20:54:00]opened in 1710338059 [20:54:00]opened+sec_in_day 1710424459 [20:54:00]quantity*price = 24500 [20:54:00]sum+1 = 24501 [20:54:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 25 13.03.2024 20:54 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47466 ФПД: 155530367659203 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T205400&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47466&fm=155530367659203&tin=02508201610067®Number=0000000000092018&sum=24500 0 [20:54:01]StoreToDocumentArchive [20:54:01]shift 316 fd 47466 [20:54:01]save to /storage/0316/doc_00047466 [20:54:01]save last doc name /storage/0316/doc_00047466 to /storage/kkm_last_doc_name [20:54:01]save OK [20:54:01]Clear old archive folders... [20:54:01]ProcessDocumentItem done err = 0, tmpTLVsize=282 [20:54:01]tlvbuf is 011AAE80 [20:54:01]SAM_PROTO_ClearQueue [20:54:01]wFMCommunicate request_size=4 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 09 00 00 [20:54:01]Write to MH i2c: E2 08 00 FD 02 80 09 00 00 00 00 00 00 71 [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 FD 02 00 90 00 73 [20:54:01]RAPDU: 90 00 [20:54:01]wFMCommunicate OK [20:54:01]SAM_PROTO_ClearQueue done [20:54:01]KKMCreateOFDPacket [20:54:01]OFDProtocolAddRootSTLVToBuf [20:54:01]FM_MakeSignedData [20:54:01]FM_MakeSignedData [20:54:01]SAM_PROTO_SignData [20:54:01]wFMCommunicate request_size=4 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 0D 01 02 [20:54:01]Write to MH i2c: E2 08 00 FE 02 80 0D 01 02 00 00 00 00 79 [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 FE 02 00 90 00 74 [20:54:01]RAPDU: 90 00 [20:54:01]wFMCommunicate OK [20:54:01]wFMCommunicate request_size=255 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 68 12 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 [20:54:01]Write to MH i2c: E2 02 01 FF 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 68 12 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 00 00 84 [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 FF 02 00 90 00 75 [20:54:01]RAPDU: 90 00 [20:54:01]wFMCommunicate OK [20:54:01]wFMCommunicate request_size=41 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6A B9 00 00 35 04 06 00 8D 74 3C 50 EC C3 [20:54:01]Write to MH i2c: E2 2C 00 00 03 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6A B9 00 00 35 04 06 00 8D 74 3C 50 EC C3 00 00 AA [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 03 00 00 03 00 90 00 77 [20:54:01]RAPDU: 90 00 [20:54:01]wFMCommunicate OK [20:54:01]wFMCommunicate request_size=4 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 0D 03 02 [20:54:01]Write to MH i2c: E2 08 00 01 03 80 0D 03 02 00 00 00 00 7F [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 0B 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 0B 00 01 03 00 A0 C2 8C 22 4B 88 63 E7 90 00 AD [20:54:01]RAPDU: A0 C2 8C 22 4B 88 63 E7 90 00 [20:54:01]wFMCommunicate OK [20:54:01]SAM_PROTO_SignData done [20:54:01]FM_MakeSignedData done [20:54:01]CreateOFDProtocolMessage [20:54:01]wFMCommunicate request_size=4 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 11 00 00 [20:54:01]Write to MH i2c: E2 08 00 02 03 80 11 00 00 00 00 00 00 7F [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 17 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 17 00 02 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D1 [20:54:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:54:01]wFMCommunicate OK [20:54:01]CreateOFDProtocolMessage done [20:54:01]OFDSenderStorePacket 47466 [20:54:01]StoreOFDPacket docnum=47466 [20:54:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2E 01 00 00 32 A6 26 01 17 7C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 68 12 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6A B9 00 00 35 04 06 00 8D 74 3C 50 EC C3 A0 C2 8C 22 4B 88 63 E7 [20:54:01]CheckFolder [20:54:01]dirname=/storage/ofd_packets [20:54:01]CheckFolder done [20:54:01]ProducePacketName [20:54:01]name=ofd_packets/00047466 [20:54:01]NVStorageSaveData ofd_packets/00047466 [20:54:01]File name is /storage/ofd_packets/00047466 [20:54:01]Write 332 bytes [20:54:01]NVStorageSaveData done [20:54:01]OFDSenderStorePacket done [20:54:01]KKMCreateOFDPacket done [20:54:01]NVStorageSaveData kkm_last_timestamp [20:54:01]File name is /storage/kkm_last_timestamp [20:54:01]Write 4 bytes [20:54:01]NVStorageSaveData done [20:54:01]ExternCall_PrintAddStr [20:54:01]wPrintStart [20:54:01]Write to MH i2c: 01 00 00 03 03 06 [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: 01 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: 01 07 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: 01 07 00 03 03 00 00 00 00 00 FF 0F 1B [20:54:01]RasterBufferAndPrint [20:54:01]line Счет N : (3)242376 [20:54:01]line ИНН: 02508201610067 [20:54:01]line Контрольно-Кассовый Чек [20:54:01]line ПРОДАЖА [20:54:01]line Товар: 5906534012111 [20:54:01]line Ароматизатор K2 Vento Fahren [20:54:01]line 1.000 * 245.00 [20:54:01]line = 245.00 [20:54:01]line НДС 12% НСП 1% [20:54:01]line > о реализуемом товаре [20:54:01]line ИТОГО: 245.00 [20:54:01]line НСП 1% : 2.17 [20:54:01]line НДС 12% : 26.02 [20:54:01]line Наличными: 245.00 [20:54:01]line Безнал.: 0.00 [20:54:01]line Место: АЗС № 15 "Партнер Нефть" [20:54:01]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [20:54:01]line СНО: Общий режим [20:54:01]line Чек 25 13.03.2024 20:54 [20:54:01]line Смена: 316 ФФД: 1.0 [20:54:01]line ЗНМ: 0300000097 [20:54:01]line РНМ: 0000000000092018 [20:54:01]line Версия ККМ: 001 [20:54:01]line ФМ: 0000000000871816 [20:54:01]line ФД: 47466 [20:54:01]line ФПД: 155530367659203 [20:54:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T205400&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47466&fm=155530367659203&tin=02508201610067®Number=0000000000092018&sum=24500 [20:54:02]line 0 [20:54:02]OFD Sender: Processing packet 47466 [packets to send 8, broken 7] [20:54:02]ProducePacketName [20:54:02]name=ofd_packets/00047466 [20:54:02]OFD Sender: To server: pG, [20:54:02]CommunicateWithHost lk.salyk.kg:30040 [20:54:02]ConnectInit lk.salyk.kg [20:54:02]written 0, free lines is 4095 [20:54:02]Connected sock=10 [20:54:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 2E 01 00 00 32 A6 26 01 17 7C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 31 31 06 04 28 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 46 61 68 72 65 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 68 12 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6A B9 00 00 35 04 06 00 8D 74 3C 50 EC C3 A0 C2 8C 22 4B 88 63 E7 [20:54:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 5C E5 47 00 0B EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6A B9 00 00 F4 03 04 00 F6 BC F1 65 B6 04 01 00 00 7F 01 70 43 71 87 56 05 [20:54:02]CommunicateWithHost err = 0 [20:54:02]CheckOFDResponse [20:54:02]1017 (14) - 77093643461234 [20:54:02]1041 (16) - 0000000000871816 [20:54:02]1040 (4) - 47466 [20:54:02]1012 (4) - 13.03.2024 14:49 [20:54:02]1206 (1) - 0 [20:54:02]OFD Sender: Remove packet 47466 [20:54:02]ProducePacketName [20:54:02]name=ofd_packets/00047466 [20:54:02]NVStorageDeleteData [20:54:02]Write to MH i2c: 01 00 00 2C 03 2F [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: 01 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: 01 07 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: 01 07 00 2C 03 00 00 00 00 00 D5 0C 17 [20:54:02]RasterBufferAndPrint [20:54:02]line [20:54:02]line [20:54:02]line [20:54:02]line [20:54:02]line [20:54:02]written 0, free lines is 3292 [20:54:02]MH_Cut [20:54:02]Write to MH i2c: D1 01 00 33 03 01 08 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: D1 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: D1 01 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: D1 01 00 33 03 00 07 [20:54:02]Write to MH i2c: 01 00 00 34 03 37 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]OFD Sender: No OFD packet to send [20:54:03]*** Cut start [20:54:03]*** Purtial cut [20:54:03]*** Stage 1: CUTSNS_PIN = 1 [20:54:03]Read from MH i2c: 01 [20:54:03]MH_I2C_Read... [20:54:03]*** Stop cut motor [20:54:03]*** Cut end [20:54:03]Read from MH i2c: 01 07 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 34 03 00 00 00 00 00 FF 0F 4C [20:54:03]process_action close_receipt done [20:54:03]requested_data is exist [20:54:03]produce_requested_data [20:54:03]requested_item fm.sn is exist - process it [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 11 00 00 [20:54:03]Write to MH i2c: E2 08 00 35 03 80 11 00 00 00 00 00 00 B2 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 17 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 17 00 35 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 04 [20:54:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [20:54:03]wFMCommunicate OK [20:54:03]requested_item fd.num is exist - process it [20:54:03]SAM_PROTO_GetFieldsCounters [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 13 00 00 [20:54:03]Write to MH i2c: E2 08 00 36 03 80 13 00 00 00 00 00 00 B5 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 62 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 62 00 36 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6A B9 00 00 0E 04 04 00 3C 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 7B [20:54:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6A B9 00 00 0E 04 04 00 3C 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 [20:54:03]wFMCommunicate OK [20:54:03]SAM_PROTO_GetFieldsCounters done [20:54:03]requested_item shift.num is exist - process it [20:54:03]requested_item shift.opened is exist - process it [20:54:03]req_shift_opened [20:54:03]FM_GetShiftState [20:54:03]SAM_PROTO_GetShiftState [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 13 01 00 [20:54:03]Write to MH i2c: E2 08 00 37 03 80 13 01 00 00 00 00 00 B7 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:03]Read from MH i2c: E2 0E 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 0E 00 37 03 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 D4 [20:54:03]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [20:54:03]wFMCommunicate OK [20:54:03]SAM_PROTO_GetShiftState done [20:54:03]FM_GetShiftState done [20:54:03]req_shift_opened done [20:54:03]requested_item shift.open_date is exist - process it [20:54:03]req_shift_open_date [20:54:03]req_shift_open_date done [20:54:03]produce_requested_data done [20:54:03]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47466,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [20:54:03]process_action_free close_receipt [20:54:03]json_value_free [20:54:03]json_value_free done [20:54:03]process_json_proto returns [20:54:03]Send response to host [20:54:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47466,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [20:54:03]free response buf [20:54:03]execute_script done [20:54:03]execute_script returns [20:54:03]free content buf [20:54:03]Sock 9.Close socket [20:54:03]Sock 9.Thread stoped [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:18]OFD Sender: No OFD packet to send [21:04:23]OFD Sender: No OFD packet to send [21:04:28]OFD Sender: No OFD packet to send [21:04:33]OFD Sender: No OFD packet to send [21:04:38]OFD Sender: No OFD packet to send [21:04:43]OFD Sender: No OFD packet to send [21:04:48]OFD Sender: No OFD packet to send [21:04:53]OFD Sender: No OFD packet to send [21:04:58]OFD Sender: No OFD packet to send [21:05:03]OFD Sender: No OFD packet to send [21:05:08]OFD Sender: No OFD packet to send [21:05:13]OFD Sender: No OFD packet to send [21:05:18]OFD Sender: No OFD packet to send [21:05:23]OFD Sender: No OFD packet to send [21:05:28]OFD Sender: No OFD packet to send [21:05:33]OFD Sender: No OFD packet to send [21:05:38]OFD Sender: No OFD packet to send [21:05:43]OFD Sender: No OFD packet to send [21:05:48]OFD Sender: No OFD packet to send [21:05:53]OFD Sender: No OFD packet to send [21:05:58]OFD Sender: No OFD packet to send [21:06:03]OFD Sender: No OFD packet to send [21:06:08]OFD Sender: No OFD packet to send [21:06:13]OFD Sender: No OFD packet to send [21:06:18]OFD Sender: No OFD packet to send [21:06:23]OFD Sender: No OFD packet to send [21:06:28]OFD Sender: No OFD packet to send [21:06:33]OFD Sender: No OFD packet to send [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:25]accept exits with 7 [21:08:25]New connection [21:08:25]New thread 3067030884 created [21:08:25]Thread 3067174244 joined [21:08:25]Waiting for new connection... [21:08:25] Sock 7.Parse request [21:08:25]Sock 7.Check first char [21:08:25]Sock 7.First char is OK [21:08:25]request: POST /json_proto HTTP/1.0 [21:08:25]Method: POST [21:08:25]URL: /json_proto [21:08:25]Method is POST - this is cgi request [21:08:25]url: /json_proto [21:08:25]query_string will be loaded in cgi processing [21:08:25]execute_cgi json_proto POST (null) [21:08:25]execute_cgi path=json_proto method=POST [21:08:25]POST find Content-Length [21:08:25]Host: 172.17.32.68:8080 [21:08:25]Content-Length: 651 [21:08:25]Content-Type: application/json [21:08:25] [21:08:25]POST finish read [21:08:25]Found Content-Length = 651 [21:08:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242377", "tax_sys" : 0, "items" : [ { "code": "4870216765088", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Purple Wave", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:25]execute_script... [21:08:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242377", "tax_sys" : 0, "items" : [ { "code": "4870216765088", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Purple Wave", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:25]POST & json_proto [21:08:25]process_json_proto [21:08:25]json parsed OK: [21:08:25]protocol is kg_v1.0 [21:08:25]action value=close_receipt [21:08:25]process_action close_receipt [21:08:25]cmd_close_receipt [21:08:25]MH_GetDate [21:08:25]Write to MH i2c: F0 00 00 38 03 2A [21:08:25]Write i2c OK [21:08:25]MH_I2C_Read... [21:08:25]Read from MH i2c: F0 [21:08:25]MH_I2C_Read... [21:08:25]Read from MH i2c: F0 09 00 [21:08:25]MH_I2C_Read... [21:08:25]Read from MH i2c: F0 09 00 38 03 00 C9 15 F2 65 0A 64 6E 65 A9 [21:08:25]GetLastDocTimeStamp 1710363240 [21:08:25]current date 1710364105 [21:08:25]FM_GetShiftState [21:08:25]SAM_PROTO_GetShiftState [21:08:25]wFMCommunicate request_size=4 [21:08:25]MH_SAM_APDU [21:08:25]CAPDU: 80 13 01 00 [21:08:25]Write to MH i2c: E2 08 00 39 03 80 13 01 00 00 00 00 00 B9 [21:08:25]Write i2c OK [21:08:25]MH_I2C_Read... [21:08:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:25]Read from MH i2c: E2 [21:08:25]MH_I2C_Read... [21:08:25]Read from MH i2c: E2 0E 00 [21:08:25]MH_I2C_Read... [21:08:25]Read from MH i2c: E2 0E 00 39 03 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 D6 [21:08:25]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:08:25]wFMCommunicate OK [21:08:25]SAM_PROTO_GetShiftState done [21:08:25]FM_GetShiftState done [21:08:25]opened in 1710338059 [21:08:25]opened+sec_in_day 1710424459 [21:08:25]quantity*price = 14100 [21:08:25]sum+1 = 14101 [21:08:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 141.00 НСП 1% : 1.25 НДС 12% : 14.97 Наличными: 141.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 26 13.03.2024 21:08 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47467 ФПД: 57180237475656 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T210825&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47467&fm=57180237475656&tin=02508201610067®Number=0000000000092018&sum=14100 0 [21:08:26]StoreToDocumentArchive [21:08:26]shift 316 fd 47467 [21:08:26]save to /storage/0316/doc_00047467 [21:08:26]save last doc name /storage/0316/doc_00047467 to /storage/kkm_last_doc_name [21:08:26]save OK [21:08:26]Clear old archive folders... [21:08:26]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:08:26]tlvbuf is 011AF800 [21:08:26]SAM_PROTO_ClearQueue [21:08:26]wFMCommunicate request_size=4 [21:08:26]MH_SAM_APDU [21:08:26]CAPDU: 80 09 00 00 [21:08:26]Write to MH i2c: E2 08 00 46 03 80 09 00 00 00 00 00 00 BB [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:08:26]Read from MH i2c: E2 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 46 03 00 90 00 BD [21:08:26]RAPDU: 90 00 [21:08:26]wFMCommunicate OK [21:08:26]SAM_PROTO_ClearQueue done [21:08:26]KKMCreateOFDPacket [21:08:26]OFDProtocolAddRootSTLVToBuf [21:08:26]FM_MakeSignedData [21:08:26]FM_MakeSignedData [21:08:26]SAM_PROTO_SignData [21:08:26]wFMCommunicate request_size=4 [21:08:26]MH_SAM_APDU [21:08:26]CAPDU: 80 0D 01 02 [21:08:26]Write to MH i2c: E2 08 00 47 03 80 0D 01 02 00 00 00 00 C3 [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:08:26]Read from MH i2c: E2 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 47 03 00 90 00 BE [21:08:26]RAPDU: 90 00 [21:08:26]wFMCommunicate OK [21:08:26]wFMCommunicate request_size=255 [21:08:26]MH_SAM_APDU [21:08:26]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 C9 15 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [21:08:26]Write to MH i2c: E2 02 01 48 03 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 C9 15 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 40 [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:26]Read from MH i2c: E2 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 48 03 00 90 00 BF [21:08:26]RAPDU: 90 00 [21:08:26]wFMCommunicate OK [21:08:26]wFMCommunicate request_size=46 [21:08:26]MH_SAM_APDU [21:08:26]CAPDU: 80 0D 02 02 29 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6B B9 00 00 35 04 06 00 34 01 4F BE 2F 48 [21:08:26]Write to MH i2c: E2 31 00 49 03 80 0D 02 02 29 00 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6B B9 00 00 35 04 06 00 34 01 4F BE 2F 48 00 00 29 [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:26]Read from MH i2c: E2 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 03 00 49 03 00 90 00 C0 [21:08:26]RAPDU: 90 00 [21:08:26]wFMCommunicate OK [21:08:26]wFMCommunicate request_size=4 [21:08:26]MH_SAM_APDU [21:08:26]CAPDU: 80 0D 03 02 [21:08:26]Write to MH i2c: E2 08 00 4A 03 80 0D 03 02 00 00 00 00 C8 [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:08:26]Read from MH i2c: E2 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 0B 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 0B 00 4A 03 00 23 0E C9 24 9F 9A 07 CC 90 00 F3 [21:08:26]RAPDU: 23 0E C9 24 9F 9A 07 CC 90 00 [21:08:26]wFMCommunicate OK [21:08:26]SAM_PROTO_SignData done [21:08:26]FM_MakeSignedData done [21:08:26]CreateOFDProtocolMessage [21:08:26]wFMCommunicate request_size=4 [21:08:26]MH_SAM_APDU [21:08:26]CAPDU: 80 11 00 00 [21:08:26]Write to MH i2c: E2 08 00 4B 03 80 11 00 00 00 00 00 00 C8 [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:26]Read from MH i2c: E2 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 17 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: E2 17 00 4B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1A [21:08:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:08:26]wFMCommunicate OK [21:08:26]CreateOFDProtocolMessage done [21:08:26]OFDSenderStorePacket 47467 [21:08:26]StoreOFDPacket docnum=47467 [21:08:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 33 01 00 00 EB EC 2B 01 48 1E 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 C9 15 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6B B9 00 00 35 04 06 00 34 01 4F BE 2F 48 23 0E C9 24 9F 9A 07 CC [21:08:26]CheckFolder [21:08:26]dirname=/storage/ofd_packets [21:08:26]CheckFolder done [21:08:26]ProducePacketName [21:08:26]name=ofd_packets/00047467 [21:08:26]NVStorageSaveData ofd_packets/00047467 [21:08:26]File name is /storage/ofd_packets/00047467 [21:08:26]Write 337 bytes [21:08:26]NVStorageSaveData done [21:08:26]OFDSenderStorePacket done [21:08:26]KKMCreateOFDPacket done [21:08:26]NVStorageSaveData kkm_last_timestamp [21:08:26]File name is /storage/kkm_last_timestamp [21:08:26]Write 4 bytes [21:08:26]NVStorageSaveData done [21:08:26]ExternCall_PrintAddStr [21:08:26]wPrintStart [21:08:26]Write to MH i2c: 01 00 00 4C 03 4F [21:08:26]Write i2c OK [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: 01 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: 01 07 00 [21:08:26]MH_I2C_Read... [21:08:26]Read from MH i2c: 01 07 00 4C 03 00 00 00 00 00 FF 0F 64 [21:08:26]RasterBufferAndPrint [21:08:26]line Счет N : (3)242377 [21:08:26]line ИНН: 02508201610067 [21:08:26]line Контрольно-Кассовый Чек [21:08:26]line ПРОДАЖА [21:08:26]line Товар: 4870216765088 [21:08:26]line Нагр.Таб.Палоч. HEETS Purple Wave [21:08:26]line 1.000 * 141.00 [21:08:26]line = 141.00 [21:08:26]line НДС 12% НСП 1% [21:08:26]line > о реализуемом товаре [21:08:26]line ИТОГО: 141.00 [21:08:26]line НСП 1% : 1.25 [21:08:26]line НДС 12% : 14.97 [21:08:26]line Наличными: 141.00 [21:08:26]line Безнал.: 0.00 [21:08:26]line Место: АЗС № 15 "Партнер Нефть" [21:08:26]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:08:26]line СНО: Общий режим [21:08:26]line Чек 26 13.03.2024 21:08 [21:08:26]line Смена: 316 ФФД: 1.0 [21:08:26]line ЗНМ: 0300000097 [21:08:26]line РНМ: 0000000000092018 [21:08:26]line Версия ККМ: 001 [21:08:26]line ФМ: 0000000000871816 [21:08:26]line ФД: 47467 [21:08:26]line ФПД: 57180237475656 [21:08:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T210825&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47467&fm=57180237475656&tin=02508201610067®Number=0000000000092018&sum=14100 [21:08:27]line 0 [21:08:27]OFD Sender: Processing packet 47467 [packets to send 8, broken 7] [21:08:27]ProducePacketName [21:08:27]name=ofd_packets/00047467 [21:08:27]OFD Sender: To server: pG, [21:08:27]CommunicateWithHost lk.salyk.kg:30040 [21:08:27]ConnectInit lk.salyk.kg [21:08:27]written 0, free lines is 4095 [21:08:27]Connected sock=10 [21:08:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 33 01 00 00 EB EC 2B 01 48 1E 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 C9 15 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6B B9 00 00 35 04 06 00 34 01 4F BE 2F 48 23 0E C9 24 9F 9A 07 CC [21:08:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 91 78 47 00 CE 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 31 38 31 36 10 04 04 00 6B B9 00 00 F4 03 04 00 57 C0 F1 65 B6 04 01 00 00 A7 96 34 FE 4D 45 F6 03 [21:08:27]CommunicateWithHost err = 0 [21:08:27]CheckOFDResponse [21:08:27]1017 (14) - 77093643461234 [21:08:27]1041 (16) - 0000000000871816 [21:08:27]1040 (4) - 47467 [21:08:27]1012 (4) - 13.03.2024 15:03 [21:08:27]1206 (1) - 0 [21:08:27]OFD Sender: Remove packet 47467 [21:08:27]ProducePacketName [21:08:27]name=ofd_packets/00047467 [21:08:27]NVStorageDeleteData [21:08:27]Write to MH i2c: 01 00 00 75 03 78 [21:08:27]Write i2c OK [21:08:27]MH_I2C_Read... [21:08:27]Read from MH i2c: 01 [21:08:27]MH_I2C_Read... [21:08:27]Read from MH i2c: 01 07 00 [21:08:27]MH_I2C_Read... [21:08:27]Read from MH i2c: 01 07 00 75 03 00 00 00 00 00 E0 0C 6B [21:08:27]RasterBufferAndPrint [21:08:27]line [21:08:27]line [21:08:27]line [21:08:27]line [21:08:27]line [21:08:27]written 0, free lines is 3302 [21:08:27]MH_Cut [21:08:27]Write to MH i2c: D1 01 00 7C 03 01 51 [21:08:27]Write i2c OK [21:08:27]MH_I2C_Read... [21:08:27]Read from MH i2c: D1 [21:08:27]MH_I2C_Read... [21:08:27]Read from MH i2c: D1 01 00 [21:08:27]MH_I2C_Read... [21:08:27]Read from MH i2c: D1 01 00 7C 03 00 50 [21:08:27]Write to MH i2c: 01 00 00 7D 03 80 [21:08:27]Write i2c OK [21:08:27]MH_I2C_Read... [21:08:27]OFD Sender: No OFD packet to send [21:08:28]*** Cut start [21:08:28]*** Purtial cut [21:08:28]*** Stage 1: CUTSNS_PIN = 1 [21:08:28]Read from MH i2c: 01 [21:08:28]MH_I2C_Read... [21:08:28]*** Stop cut motor [21:08:28]*** Cut end [21:08:28]Read from MH i2c: 01 07 00 [21:08:28]MH_I2C_Read... [21:08:28]Read from MH i2c: 01 07 00 7D 03 00 00 00 00 00 FF 0F 95 [21:08:28]process_action close_receipt done [21:08:28]requested_data is exist [21:08:28]produce_requested_data [21:08:28]requested_item fm.sn is exist - process it [21:08:28]wFMCommunicate request_size=4 [21:08:28]MH_SAM_APDU [21:08:28]CAPDU: 80 11 00 00 [21:08:28]Write to MH i2c: E2 08 00 7E 03 80 11 00 00 00 00 00 00 FB [21:08:28]Write i2c OK [21:08:28]MH_I2C_Read... [21:08:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:28]Read from MH i2c: E2 [21:08:28]MH_I2C_Read... [21:08:28]Read from MH i2c: E2 17 00 [21:08:28]MH_I2C_Read... [21:08:28]Read from MH i2c: E2 17 00 7E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4D [21:08:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:08:28]wFMCommunicate OK [21:08:28]requested_item fd.num is exist - process it [21:08:28]SAM_PROTO_GetFieldsCounters [21:08:28]wFMCommunicate request_size=4 [21:08:28]MH_SAM_APDU [21:08:28]CAPDU: 80 13 00 00 [21:08:28]Write to MH i2c: E2 08 00 7F 03 80 13 00 00 00 00 00 00 FE [21:08:28]Write i2c OK [21:08:28]MH_I2C_Read... [21:08:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:08:28]Read from MH i2c: E2 [21:08:28]MH_I2C_Read... [21:08:28]Read from MH i2c: E2 62 00 [21:08:28]MH_I2C_Read... [21:08:28]Read from MH i2c: E2 62 00 7F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6B B9 00 00 0E 04 04 00 3C 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 C8 [21:08:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6B B9 00 00 0E 04 04 00 3C 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 [21:08:28]wFMCommunicate OK [21:08:28]SAM_PROTO_GetFieldsCounters done [21:08:28]requested_item shift.num is exist - process it [21:08:28]requested_item shift.opened is exist - process it [21:08:28]req_shift_opened [21:08:28]FM_GetShiftState [21:08:28]SAM_PROTO_GetShiftState [21:08:28]wFMCommunicate request_size=4 [21:08:28]MH_SAM_APDU [21:08:28]CAPDU: 80 13 01 00 [21:08:28]Write to MH i2c: E2 08 00 80 03 80 13 01 00 00 00 00 00 00 [21:08:28]Write i2c OK [21:08:28]MH_I2C_Read... [21:08:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:29]Read from MH i2c: E2 [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: E2 0E 00 [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: E2 0E 00 80 03 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1D [21:08:29]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:08:29]wFMCommunicate OK [21:08:29]SAM_PROTO_GetShiftState done [21:08:29]FM_GetShiftState done [21:08:29]req_shift_opened done [21:08:29]requested_item shift.open_date is exist - process it [21:08:29]req_shift_open_date [21:08:29]req_shift_open_date done [21:08:29]produce_requested_data done [21:08:29]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47467,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [21:08:29]process_action_free close_receipt [21:08:29]json_value_free [21:08:29]json_value_free done [21:08:29]process_json_proto returns [21:08:29]Send response to host [21:08:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47467,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [21:08:29]free response buf [21:08:29]execute_script done [21:08:29]execute_script returns [21:08:29]free content buf [21:08:29]Sock 7.Close socket [21:08:29]Sock 7.Thread stoped [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]OFD Sender: No OFD packet to send [21:12:38]OFD Sender: No OFD packet to send [21:12:43]OFD Sender: No OFD packet to send [21:12:48]OFD Sender: No OFD packet to send [21:12:53]OFD Sender: No OFD packet to send [21:12:58]OFD Sender: No OFD packet to send [21:13:03]OFD Sender: No OFD packet to send [21:13:08]OFD Sender: No OFD packet to send [21:13:13]OFD Sender: No OFD packet to send [21:13:18]OFD Sender: No OFD packet to send [21:13:23]OFD Sender: No OFD packet to send [21:13:28]OFD Sender: No OFD packet to send [21:13:33]OFD Sender: No OFD packet to send [21:13:38]OFD Sender: No OFD packet to send [21:13:43]OFD Sender: No OFD packet to send [21:13:48]OFD Sender: No OFD packet to send [21:13:53]OFD Sender: No OFD packet to send [21:13:58]OFD Sender: No OFD packet to send [21:14:03]OFD Sender: No OFD packet to send [21:14:08]OFD Sender: No OFD packet to send [21:14:13]OFD Sender: No OFD packet to send [21:14:18]OFD Sender: No OFD packet to send [21:14:23]OFD Sender: No OFD packet to send [21:14:28]OFD Sender: No OFD packet to send [21:14:33]OFD Sender: No OFD packet to send [21:14:38]OFD Sender: No OFD packet to send [21:14:43]OFD Sender: No OFD packet to send [21:14:48]OFD Sender: No OFD packet to send [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:08]OFD Sender: No OFD packet to send [21:15:13]OFD Sender: No OFD packet to send [21:15:18]OFD Sender: No OFD packet to send [21:15:23]OFD Sender: No OFD packet to send [21:15:28]OFD Sender: No OFD packet to send [21:15:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:43]accept exits with 9 [21:33:43]New connection [21:33:43]New thread 3067174244 created [21:33:43]Thread 3067030884 joined [21:33:43]Waiting for new connection... [21:33:43] Sock 9.Parse request [21:33:43]Sock 9.Check first char [21:33:43]Sock 9.First char is OK [21:33:43]request: POST /json_proto HTTP/1.0 [21:33:43]Method: POST [21:33:43]URL: /json_proto [21:33:43]Method is POST - this is cgi request [21:33:43]url: /json_proto [21:33:43]query_string will be loaded in cgi processing [21:33:43]execute_cgi json_proto POST (null) [21:33:43]execute_cgi path=json_proto method=POST [21:33:43]POST find Content-Length [21:33:43]Host: 172.17.32.68:8080 [21:33:43]Content-Length: 695 [21:33:43]Content-Type: application/json [21:33:43] [21:33:43]POST finish read [21:33:43]Found Content-Length = 695 [21:33:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242378", "tax_sys" : 0, "items" : [ { "code": "4870209743574", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 BIG BOB \u0412\u044F\u043B\u0435\u043D\u0430\u044F \u043A\u043E\u043D\u0438\u043D\u0430 50 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:33:43]execute_script... [21:33: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)242378", "tax_sys" : 0, "items" : [ { "code": "4870209743574", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 BIG BOB \u0412\u044F\u043B\u0435\u043D\u0430\u044F \u043A\u043E\u043D\u0438\u043D\u0430 50 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:33:43]POST & json_proto [21:33:43]process_json_proto [21:33:43]json parsed OK: [21:33:43]protocol is kg_v1.0 [21:33:43]action value=close_receipt [21:33:43]process_action close_receipt [21:33:43]cmd_close_receipt [21:33:43]MH_GetDate [21:33:43]Write to MH i2c: F0 00 00 81 03 73 [21:33:44]Write i2c OK [21:33:44]MH_I2C_Read... [21:33:44]Read from MH i2c: F0 [21:33:44]MH_I2C_Read... [21:33:44]Read from MH i2c: F0 09 00 [21:33:44]MH_I2C_Read... [21:33:44]Read from MH i2c: F0 09 00 81 03 00 B8 1B F2 65 0A 64 6E 65 E7 [21:33:44]GetLastDocTimeStamp 1710364105 [21:33:44]current date 1710365624 [21:33:44]FM_GetShiftState [21:33:44]SAM_PROTO_GetShiftState [21:33:44]wFMCommunicate request_size=4 [21:33:44]MH_SAM_APDU [21:33:44]CAPDU: 80 13 01 00 [21:33:44]Write to MH i2c: E2 08 00 82 03 80 13 01 00 00 00 00 00 02 [21:33:44]Write i2c OK [21:33:44]MH_I2C_Read... [21:33:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:44]Read from MH i2c: E2 [21:33:44]MH_I2C_Read... [21:33:44]Read from MH i2c: E2 0E 00 [21:33:44]MH_I2C_Read... [21:33:44]Read from MH i2c: E2 0E 00 82 03 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1F [21:33:44]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:33:44]wFMCommunicate OK [21:33:44]SAM_PROTO_GetShiftState done [21:33:44]FM_GetShiftState done [21:33:44]opened in 1710338059 [21:33:44]opened+sec_in_day 1710424459 [21:33:44]quantity*price = 6000 [21:33:44]sum+1 = 6001 [21:33:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 27 13.03.2024 21:33 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47468 ФПД: 70734401071483 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T213344&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47468&fm=70734401071483&tin=02508201610067®Number=0000000000092018&sum=6000 0 [21:33:45]StoreToDocumentArchive [21:33:45]shift 316 fd 47468 [21:33:45]save to /storage/0316/doc_00047468 [21:33:45]save last doc name /storage/0316/doc_00047468 to /storage/kkm_last_doc_name [21:33:45]save OK [21:33:45]Clear old archive folders... [21:33:45]ProcessDocumentItem done err = 0, tmpTLVsize=298 [21:33:45]tlvbuf is 011954C0 [21:33:45]SAM_PROTO_ClearQueue [21:33:45]wFMCommunicate request_size=4 [21:33:45]MH_SAM_APDU [21:33:45]CAPDU: 80 09 00 00 [21:33:45]Write to MH i2c: E2 08 00 8F 03 80 09 00 00 00 00 00 00 04 [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:33:45]Read from MH i2c: E2 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 8F 03 00 90 00 06 [21:33:45]RAPDU: 90 00 [21:33:45]wFMCommunicate OK [21:33:45]SAM_PROTO_ClearQueue done [21:33:45]KKMCreateOFDPacket [21:33:45]OFDProtocolAddRootSTLVToBuf [21:33:45]FM_MakeSignedData [21:33:45]FM_MakeSignedData [21:33:45]SAM_PROTO_SignData [21:33:45]wFMCommunicate request_size=4 [21:33:45]MH_SAM_APDU [21:33:45]CAPDU: 80 0D 01 02 [21:33:45]Write to MH i2c: E2 08 00 90 03 80 0D 01 02 00 00 00 00 0C [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:33:45]Read from MH i2c: E2 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 90 03 00 90 00 07 [21:33:45]RAPDU: 90 00 [21:33:45]wFMCommunicate OK [21:33:45]wFMCommunicate request_size=255 [21:33:45]MH_SAM_APDU [21:33:45]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 37 34 06 04 38 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 92 D1 8F D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 BE D0 BD D0 B8 D0 BD D0 B0 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 B8 1B F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [21:33:45]Write to MH i2c: E2 02 01 91 03 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 37 34 06 04 38 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 92 D1 8F D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 BE D0 BD D0 B8 D0 BD D0 B0 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 B8 1B F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 42 [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:45]Read from MH i2c: E2 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 91 03 00 90 00 08 [21:33:45]RAPDU: 90 00 [21:33:45]wFMCommunicate OK [21:33:45]wFMCommunicate request_size=57 [21:33:45]MH_SAM_APDU [21:33:45]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6C B9 00 00 35 04 06 00 40 55 22 D9 69 7B [21:33:45]Write to MH i2c: E2 3C 00 92 03 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6C B9 00 00 35 04 06 00 40 55 22 D9 69 7B 00 00 5F [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:45]Read from MH i2c: E2 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 03 00 92 03 00 90 00 09 [21:33:45]RAPDU: 90 00 [21:33:45]wFMCommunicate OK [21:33:45]wFMCommunicate request_size=4 [21:33:45]MH_SAM_APDU [21:33:45]CAPDU: 80 0D 03 02 [21:33:45]Write to MH i2c: E2 08 00 93 03 80 0D 03 02 00 00 00 00 11 [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:33:45]Read from MH i2c: E2 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 0B 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 0B 00 93 03 00 F6 BD 77 D9 6A C5 C7 5B 90 00 66 [21:33:45]RAPDU: F6 BD 77 D9 6A C5 C7 5B 90 00 [21:33:45]wFMCommunicate OK [21:33:45]SAM_PROTO_SignData done [21:33:45]FM_MakeSignedData done [21:33:45]CreateOFDProtocolMessage [21:33:45]wFMCommunicate request_size=4 [21:33:45]MH_SAM_APDU [21:33:45]CAPDU: 80 11 00 00 [21:33:45]Write to MH i2c: E2 08 00 94 03 80 11 00 00 00 00 00 00 11 [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:45]Read from MH i2c: E2 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 17 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: E2 17 00 94 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 63 [21:33:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:33:45]wFMCommunicate OK [21:33:45]CreateOFDProtocolMessage done [21:33:45]OFDSenderStorePacket 47468 [21:33:45]StoreOFDPacket docnum=47468 [21:33:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3E 01 00 00 B0 49 36 01 6C 9F 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 37 34 06 04 38 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 92 D1 8F D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 BE D0 BD D0 B8 D0 BD D0 B0 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 B8 1B F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6C B9 00 00 35 04 06 00 40 55 22 D9 69 7B F6 BD 77 D9 6A C5 C7 5B [21:33:45]CheckFolder [21:33:45]dirname=/storage/ofd_packets [21:33:45]CheckFolder done [21:33:45]ProducePacketName [21:33:45]name=ofd_packets/00047468 [21:33:45]NVStorageSaveData ofd_packets/00047468 [21:33:45]File name is /storage/ofd_packets/00047468 [21:33:45]Write 348 bytes [21:33:45]NVStorageSaveData done [21:33:45]OFDSenderStorePacket done [21:33:45]KKMCreateOFDPacket done [21:33:45]NVStorageSaveData kkm_last_timestamp [21:33:45]File name is /storage/kkm_last_timestamp [21:33:45]Write 4 bytes [21:33:45]NVStorageSaveData done [21:33:45]ExternCall_PrintAddStr [21:33:45]wPrintStart [21:33:45]Write to MH i2c: 01 00 00 95 03 98 [21:33:45]Write i2c OK [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: 01 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: 01 07 00 [21:33:45]MH_I2C_Read... [21:33:45]Read from MH i2c: 01 07 00 95 03 00 00 00 00 00 FF 0F AD [21:33:45]RasterBufferAndPrint [21:33:45]line Счет N : (3)242378 [21:33:45]line ИНН: 02508201610067 [21:33:45]line Контрольно-Кассовый Чек [21:33:45]line ПРОДАЖА [21:33:45]line Товар: 4870209743574 [21:33:45]line Арахис BIG BOB Вяленая конина 50 гр [21:33:45]line 1.000 * 60.00 [21:33:45]line = 60.00 [21:33:45]line НДС 12% НСП 1% [21:33:45]line > о реализуемом товаре [21:33:45]line ИТОГО: 60.00 [21:33:45]line НСП 1% : 0.53 [21:33:45]line НДС 12% : 6.37 [21:33:45]line Наличными: 60.00 [21:33:45]line Безнал.: 0.00 [21:33:45]line Место: АЗС № 15 "Партнер Нефть" [21:33:45]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:33:45]line СНО: Общий режим [21:33:45]line Чек 27 13.03.2024 21:33 [21:33:45]line Смена: 316 ФФД: 1.0 [21:33:45]line ЗНМ: 0300000097 [21:33:45]line РНМ: 0000000000092018 [21:33:45]line Версия ККМ: 001 [21:33:45]line ФМ: 0000000000871816 [21:33:45]line ФД: 47468 [21:33:45]line ФПД: 70734401071483 [21:33:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T213344&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47468&fm=70734401071483&tin=02508201610067®Number=0000000000092018&sum=6000 [21:33:46]line 0 [21:33:46]OFD Sender: Processing packet 47468 [packets to send 8, broken 7] [21:33:46]ProducePacketName [21:33:46]name=ofd_packets/00047468 [21:33:46]OFD Sender: To server: pG, [21:33:46]CommunicateWithHost lk.salyk.kg:30040 [21:33:46]ConnectInit lk.salyk.kg [21:33:46]written 0, free lines is 4095 [21:33:46]Connected sock=10 [21:33:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3E 01 00 00 B0 49 36 01 6C 9F 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 33 35 37 34 06 04 38 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 92 D1 8F D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 BA D0 BE D0 BD D0 B8 D0 BD D0 B0 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 B8 1B F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6C B9 00 00 35 04 06 00 40 55 22 D9 69 7B F6 BD 77 D9 6A C5 C7 5B [21:33:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 7D C7 47 00 2E F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6C B9 00 00 F4 03 04 00 46 C6 F1 65 B6 04 01 00 00 2C 51 E9 30 80 CD D6 76 [21:33:46]CommunicateWithHost err = 0 [21:33:46]CheckOFDResponse [21:33:46]1017 (14) - 77093643461234 [21:33:46]1041 (16) - 0000000000871816 [21:33:46]1040 (4) - 47468 [21:33:46]1012 (4) - 13.03.2024 15:29 [21:33:46]1206 (1) - 0 [21:33:46]OFD Sender: Remove packet 47468 [21:33:46]ProducePacketName [21:33:46]name=ofd_packets/00047468 [21:33:46]NVStorageDeleteData [21:33:46]Write to MH i2c: 01 00 00 BE 03 C1 [21:33:46]Write i2c OK [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: 01 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: 01 07 00 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: 01 07 00 BE 03 00 00 00 00 00 DC 0C B0 [21:33:46]RasterBufferAndPrint [21:33:46]line [21:33:46]line [21:33:46]line [21:33:46]line [21:33:46]line [21:33:46]written 0, free lines is 3298 [21:33:46]MH_Cut [21:33:46]Write to MH i2c: D1 01 00 C5 03 01 9A [21:33:46]Write i2c OK [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: D1 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: D1 01 00 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: D1 01 00 C5 03 00 99 [21:33:46]Write to MH i2c: 01 00 00 C6 03 C9 [21:33:46]Write i2c OK [21:33:46]MH_I2C_Read... [21:33:46]OFD Sender: No OFD packet to send [21:33:47]*** Cut start [21:33:47]*** Purtial cut [21:33:47]*** Stage 1: CUTSNS_PIN = 1 [21:33:47]Read from MH i2c: 01 [21:33:47]MH_I2C_Read... [21:33:47]*** Stop cut motor [21:33:47]*** Cut end [21:33:47]Read from MH i2c: 01 07 00 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: 01 07 00 C6 03 00 00 00 00 00 FF 0F DE [21:33:47]process_action close_receipt done [21:33:47]requested_data is exist [21:33:47]produce_requested_data [21:33:47]requested_item fm.sn is exist - process it [21:33:47]wFMCommunicate request_size=4 [21:33:47]MH_SAM_APDU [21:33:47]CAPDU: 80 11 00 00 [21:33:47]Write to MH i2c: E2 08 00 C7 03 80 11 00 00 00 00 00 00 44 [21:33:47]Write i2c OK [21:33:47]MH_I2C_Read... [21:33:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:47]Read from MH i2c: E2 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 17 00 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 17 00 C7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 96 [21:33:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:33:47]wFMCommunicate OK [21:33:47]requested_item fd.num is exist - process it [21:33:47]SAM_PROTO_GetFieldsCounters [21:33:47]wFMCommunicate request_size=4 [21:33:47]MH_SAM_APDU [21:33:47]CAPDU: 80 13 00 00 [21:33:47]Write to MH i2c: E2 08 00 C8 03 80 13 00 00 00 00 00 00 47 [21:33:47]Write i2c OK [21:33:47]MH_I2C_Read... [21:33:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:33:47]Read from MH i2c: E2 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 62 00 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 62 00 C8 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6C B9 00 00 0E 04 04 00 3C 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 15 [21:33:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6C B9 00 00 0E 04 04 00 3C 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 [21:33:47]wFMCommunicate OK [21:33:47]SAM_PROTO_GetFieldsCounters done [21:33:47]requested_item shift.num is exist - process it [21:33:47]requested_item shift.opened is exist - process it [21:33:47]req_shift_opened [21:33:47]FM_GetShiftState [21:33:47]SAM_PROTO_GetShiftState [21:33:47]wFMCommunicate request_size=4 [21:33:47]MH_SAM_APDU [21:33:47]CAPDU: 80 13 01 00 [21:33:47]Write to MH i2c: E2 08 00 C9 03 80 13 01 00 00 00 00 00 49 [21:33:47]Write i2c OK [21:33:47]MH_I2C_Read... [21:33:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:47]Read from MH i2c: E2 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 0E 00 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 0E 00 C9 03 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 66 [21:33:47]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:33:47]wFMCommunicate OK [21:33:47]SAM_PROTO_GetShiftState done [21:33:47]FM_GetShiftState done [21:33:47]req_shift_opened done [21:33:47]requested_item shift.open_date is exist - process it [21:33:47]req_shift_open_date [21:33:47]req_shift_open_date done [21:33:47]produce_requested_data done [21:33:47]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47468,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [21:33:47]process_action_free close_receipt [21:33:47]json_value_free [21:33:47]json_value_free done [21:33:47]process_json_proto returns [21:33:47]Send response to host [21:33:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47468,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [21:33:47]free response buf [21:33:47]execute_script done [21:33:47]execute_script returns [21:33:47]free content buf [21:33:47]Sock 9.Close socket [21:33:47]Sock 9.Thread stoped [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:52]OFD Sender: No OFD packet to send [21:36:57]OFD Sender: No OFD packet to send [21:37:02]OFD Sender: No OFD packet to send [21:37:07]OFD Sender: No OFD packet to send [21:37:12]OFD Sender: No OFD packet to send [21:37:17]OFD Sender: No OFD packet to send [21:37:22]OFD Sender: No OFD packet to send [21:37:27]OFD Sender: No OFD packet to send [21:37:32]OFD Sender: No OFD packet to send [21:37:37]OFD Sender: No OFD packet to send [21:37:42]OFD Sender: No OFD packet to send [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [21:38:47]OFD Sender: No OFD packet to send [21:38:52]OFD Sender: No OFD packet to send [21:38:57]OFD Sender: No OFD packet to send [21:39:02]OFD Sender: No OFD packet to send [21:39:07]OFD Sender: No OFD packet to send [21:39:12]OFD Sender: No OFD packet to send [21:39:17]OFD Sender: No OFD packet to send [21:39:22]OFD Sender: No OFD packet to send [21:39:27]OFD Sender: No OFD packet to send [21:39:32]OFD Sender: No OFD packet to send [21:39:37]OFD Sender: No OFD packet to send [21:39:42]OFD Sender: No OFD packet to send [21:39:47]OFD Sender: No OFD packet to send [21:39:52]OFD Sender: No OFD packet to send [21:39:57]OFD Sender: No OFD packet to send [21:40:02]OFD Sender: No OFD packet to send [21:40:07]OFD Sender: No OFD packet to send [21:40:12]OFD Sender: No OFD packet to send [21:40:17]OFD Sender: No OFD packet to send [21:40:22]OFD Sender: No OFD packet to send [21:40:27]OFD Sender: No OFD packet to send [21:40:32]OFD Sender: No OFD packet to send [21:40:37]OFD Sender: No OFD packet to send [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:02]OFD Sender: No OFD packet to send [21:42:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:12]OFD Sender: No OFD packet to send [21:43:17]OFD Sender: No OFD packet to send [21:43:22]OFD Sender: No OFD packet to send [21:43:27]OFD Sender: No OFD packet to send [21:43:32]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]accept exits with 7 [21:44:22]New connection [21:44:22]New thread 3067030884 created [21:44:22]Thread 3067174244 joined [21:44:22]Waiting for new connection... [21:44:22] Sock 7.Parse request [21:44:22]Sock 7.Check first char [21:44:22]Sock 7.First char is OK [21:44:22]request: POST /json_proto HTTP/1.0 [21:44:22]Method: POST [21:44:22]URL: /json_proto [21:44:22]Method is POST - this is cgi request [21:44:22]url: /json_proto [21:44:22]query_string will be loaded in cgi processing [21:44:22]execute_cgi json_proto POST (null) [21:44:22]execute_cgi path=json_proto method=POST [21:44:22]POST find Content-Length [21:44:22]Host: 172.17.32.68:8080 [21:44:22]Content-Length: 632 [21:44:22]Content-Type: application/json [21:44:22] [21:44:22]POST finish read [21:44:22]Found Content-Length = 632 [21:44:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242379", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:22]execute_script... [21:44: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)242379", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:22]POST & json_proto [21:44:22]process_json_proto [21:44:22]json parsed OK: [21:44:22]protocol is kg_v1.0 [21:44:22]action value=close_receipt [21:44:22]process_action close_receipt [21:44:22]cmd_close_receipt [21:44:22]MH_GetDate [21:44:22]Write to MH i2c: F0 00 00 CA 03 BC [21:44:22]Write i2c OK [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: F0 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: F0 09 00 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: F0 09 00 CA 03 00 36 1E F2 65 0A 64 6E 65 B1 [21:44:22]GetLastDocTimeStamp 1710365624 [21:44:22]current date 1710366262 [21:44:22]FM_GetShiftState [21:44:22]SAM_PROTO_GetShiftState [21:44:22]wFMCommunicate request_size=4 [21:44:22]MH_SAM_APDU [21:44:22]CAPDU: 80 13 01 00 [21:44:22]Write to MH i2c: E2 08 00 CB 03 80 13 01 00 00 00 00 00 4B [21:44:22]Write i2c OK [21:44:22]MH_I2C_Read... [21:44:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:22]Read from MH i2c: E2 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: E2 0E 00 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: E2 0E 00 CB 03 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 68 [21:44:22]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:44:22]wFMCommunicate OK [21:44:22]SAM_PROTO_GetShiftState done [21:44:22]FM_GetShiftState done [21:44:22]opened in 1710338059 [21:44:22]opened+sec_in_day 1710424459 [21:44:22]quantity*price = 6000 [21:44:22]sum+1 = 6001 [21:44:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 28 13.03.2024 21:44 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47469 ФПД: 219068792071906 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T214422&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47469&fm=219068792071906&tin=02508201610067®Number=0000000000092018&sum=6000 0 [21:44:23]StoreToDocumentArchive [21:44:23]shift 316 fd 47469 [21:44:23]save to /storage/0316/doc_00047469 [21:44:23]save last doc name /storage/0316/doc_00047469 to /storage/kkm_last_doc_name [21:44:23]save OK [21:44:23]Clear old archive folders... [21:44:23]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:44:23]tlvbuf is 01195390 [21:44:23]SAM_PROTO_ClearQueue [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 09 00 00 [21:44:23]Write to MH i2c: E2 08 00 D8 03 80 09 00 00 00 00 00 00 4D [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 D8 03 00 90 00 4F [21:44:23]RAPDU: 90 00 [21:44:23]wFMCommunicate OK [21:44:23]SAM_PROTO_ClearQueue done [21:44:23]KKMCreateOFDPacket [21:44:23]OFDProtocolAddRootSTLVToBuf [21:44:23]FM_MakeSignedData [21:44:23]FM_MakeSignedData [21:44:23]SAM_PROTO_SignData [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 0D 01 02 [21:44:23]Write to MH i2c: E2 08 00 D9 03 80 0D 01 02 00 00 00 00 55 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 D9 03 00 90 00 50 [21:44:23]RAPDU: 90 00 [21:44:23]wFMCommunicate OK [21:44:23]wFMCommunicate request_size=255 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 36 1E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:44:23]Write to MH i2c: E2 02 01 DA 03 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 36 1E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 83 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 DA 03 00 90 00 51 [21:44:23]RAPDU: 90 00 [21:44:23]wFMCommunicate OK [21:44:23]wFMCommunicate request_size=30 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 6D B9 00 00 35 04 06 00 C7 3D ED 88 66 E2 [21:44:23]Write to MH i2c: E2 21 00 DB 03 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 6D B9 00 00 35 04 06 00 C7 3D ED 88 66 E2 00 00 37 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 DB 03 00 90 00 52 [21:44:23]RAPDU: 90 00 [21:44:23]wFMCommunicate OK [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 0D 03 02 [21:44:23]Write to MH i2c: E2 08 00 DC 03 80 0D 03 02 00 00 00 00 5A [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 0B 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 0B 00 DC 03 00 AC FC E1 DC CD F2 20 0E 90 00 AD [21:44:23]RAPDU: AC FC E1 DC CD F2 20 0E 90 00 [21:44:23]wFMCommunicate OK [21:44:23]SAM_PROTO_SignData done [21:44:23]FM_MakeSignedData done [21:44:23]CreateOFDProtocolMessage [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 11 00 00 [21:44:23]Write to MH i2c: E2 08 00 DD 03 80 11 00 00 00 00 00 00 5A [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 17 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 17 00 DD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AC [21:44:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:44:23]wFMCommunicate OK [21:44:23]CreateOFDProtocolMessage done [21:44:23]OFDSenderStorePacket 47469 [21:44:23]StoreOFDPacket docnum=47469 [21:44:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 B3 80 1B 01 96 70 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 36 1E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6D B9 00 00 35 04 06 00 C7 3D ED 88 66 E2 AC FC E1 DC CD F2 20 0E [21:44:23]CheckFolder [21:44:23]dirname=/storage/ofd_packets [21:44:23]CheckFolder done [21:44:23]ProducePacketName [21:44:23]name=ofd_packets/00047469 [21:44:23]NVStorageSaveData ofd_packets/00047469 [21:44:23]File name is /storage/ofd_packets/00047469 [21:44:23]Write 321 bytes [21:44:23]NVStorageSaveData done [21:44:23]OFDSenderStorePacket done [21:44:23]KKMCreateOFDPacket done [21:44:23]NVStorageSaveData kkm_last_timestamp [21:44:23]File name is /storage/kkm_last_timestamp [21:44:23]Write 4 bytes [21:44:23]NVStorageSaveData done [21:44:23]ExternCall_PrintAddStr [21:44:23]wPrintStart [21:44:23]Write to MH i2c: 01 00 00 DE 03 E1 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 07 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 07 00 DE 03 00 00 00 00 00 FF 0F F6 [21:44:23]RasterBufferAndPrint [21:44:23]line Счет N : (3)242379 [21:44:23]line ИНН: 02508201610067 [21:44:23]line Контрольно-Кассовый Чек [21:44:23]line ПРОДАЖА [21:44:23]line Товар: 4700000160204 [21:44:23]line Вода Легенда 1,5л [21:44:23]line 1.000 * 60.00 [21:44:23]line = 60.00 [21:44:23]line НДС 12% НСП 1% [21:44:23]line > о реализуемом товаре [21:44:23]line ИТОГО: 60.00 [21:44:23]line НСП 1% : 0.53 [21:44:23]line НДС 12% : 6.37 [21:44:23]line Наличными: 60.00 [21:44:23]line Безнал.: 0.00 [21:44:23]line Место: АЗС № 15 "Партнер Нефть" [21:44:23]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:44:23]line СНО: Общий режим [21:44:23]line Чек 28 13.03.2024 21:44 [21:44:23]OFD Sender: Processing packet 47469 [packets to send 8, broken 7] [21:44:23]line Смена: 316 ФФД: 1.0 [21:44:23]ProducePacketName [21:44:23]line ЗНМ: 0300000097 [21:44:23]name=ofd_packets/00047469 [21:44:23]line РНМ: 0000000000092018 [21:44:23]line Версия ККМ: 001 [21:44:23]OFD Sender: To server: pG, [21:44:23]line ФМ: 0000000000871816 [21:44:23]CommunicateWithHost lk.salyk.kg:30040 [21:44:23]line ФД: 47469 [21:44:23]ConnectInit lk.salyk.kg [21:44:23]line ФПД: 219068792071906 [21:44:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T214422&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47469&fm=219068792071906&tin=02508201610067®Number=0000000000092018&sum=6000 [21:44:23]line 0 [21:44:23]written 0, free lines is 4095 [21:44:23]Connected sock=11 [21:44:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 B3 80 1B 01 96 70 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 36 1E F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6D B9 00 00 35 04 06 00 C7 3D ED 88 66 E2 AC FC E1 DC CD F2 20 0E [21:44:24]Write to MH i2c: 01 00 00 06 04 0A [21:44:24]Write i2c OK [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: 01 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: 01 07 00 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: 01 07 00 06 04 00 00 00 00 00 F1 0C 0E [21:44:24]RasterBufferAndPrint [21:44:24]line [21:44:24]line [21:44:24]line [21:44:24]line [21:44:24]line [21:44:24]written 0, free lines is 3319 [21:44:24]MH_Cut [21:44:24]Write to MH i2c: D1 01 00 0D 04 01 E3 [21:44:24]Write i2c OK [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: D1 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: D1 01 00 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: D1 01 00 0D 04 00 E2 [21:44:24]Write to MH i2c: 01 00 00 0E 04 12 [21:44:24]Write i2c OK [21:44:24]MH_I2C_Read... [21:44:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 8D 13 47 00 F3 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6D B9 00 00 F4 03 04 00 C4 C8 F1 65 B6 04 01 00 00 26 F1 64 F7 D4 D0 C0 F4 [21:44:24]CommunicateWithHost err = 0 [21:44:24]CheckOFDResponse [21:44:24]1017 (14) - 77093643461234 [21:44:24]1041 (16) - 0000000000871816 [21:44:24]1040 (4) - 47469 [21:44:24]1012 (4) - 13.03.2024 15:39 [21:44:24]1206 (1) - 0 [21:44:24]OFD Sender: Remove packet 47469 [21:44:24]ProducePacketName [21:44:24]name=ofd_packets/00047469 [21:44:24]NVStorageDeleteData [21:44:24]OFD Sender: No OFD packet to send [21:44:25]*** Cut start [21:44:25]*** Purtial cut [21:44:25]*** Stage 1: CUTSNS_PIN = 1 [21:44:25]Read from MH i2c: 01 [21:44:25]MH_I2C_Read... [21:44:25]*** Stop cut motor [21:44:25]*** Cut end [21:44:25]Read from MH i2c: 01 07 00 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: 01 07 00 0E 04 00 00 00 00 00 FF 0F 27 [21:44:25]process_action close_receipt done [21:44:25]requested_data is exist [21:44:25]produce_requested_data [21:44:25]requested_item fm.sn is exist - process it [21:44:25]wFMCommunicate request_size=4 [21:44:25]MH_SAM_APDU [21:44:25]CAPDU: 80 11 00 00 [21:44:25]Write to MH i2c: E2 08 00 0F 04 80 11 00 00 00 00 00 00 8D [21:44:25]Write i2c OK [21:44:25]MH_I2C_Read... [21:44:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:25]Read from MH i2c: E2 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: E2 17 00 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: E2 17 00 0F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DF [21:44:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:44:25]wFMCommunicate OK [21:44:25]requested_item fd.num is exist - process it [21:44:25]SAM_PROTO_GetFieldsCounters [21:44:25]wFMCommunicate request_size=4 [21:44:25]MH_SAM_APDU [21:44:25]CAPDU: 80 13 00 00 [21:44:25]Write to MH i2c: E2 08 00 10 04 80 13 00 00 00 00 00 00 90 [21:44:25]Write i2c OK [21:44:25]MH_I2C_Read... [21:44:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:44:25]Read from MH i2c: E2 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: E2 62 00 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: E2 62 00 10 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6D B9 00 00 0E 04 04 00 3C 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 62 [21:44:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6D B9 00 00 0E 04 04 00 3C 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 [21:44:25]wFMCommunicate OK [21:44:25]SAM_PROTO_GetFieldsCounters done [21:44:25]requested_item shift.num is exist - process it [21:44:25]requested_item shift.opened is exist - process it [21:44:25]req_shift_opened [21:44:25]FM_GetShiftState [21:44:25]SAM_PROTO_GetShiftState [21:44:25]wFMCommunicate request_size=4 [21:44:25]MH_SAM_APDU [21:44:25]CAPDU: 80 13 01 00 [21:44:25]Write to MH i2c: E2 08 00 11 04 80 13 01 00 00 00 00 00 92 [21:44:25]Write i2c OK [21:44:25]MH_I2C_Read... [21:44:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:25]Read from MH i2c: E2 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: E2 0E 00 [21:44:25]MH_I2C_Read... [21:44:25]Read from MH i2c: E2 0E 00 11 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 AF [21:44:25]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:44:25]wFMCommunicate OK [21:44:25]SAM_PROTO_GetShiftState done [21:44:25]FM_GetShiftState done [21:44:25]req_shift_opened done [21:44:25]requested_item shift.open_date is exist - process it [21:44:25]req_shift_open_date [21:44:25]req_shift_open_date done [21:44:25]produce_requested_data done [21:44:25]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47469,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [21:44:25]process_action_free close_receipt [21:44:25]json_value_free [21:44:25]json_value_free done [21:44:25]process_json_proto returns [21:44:25]Send response to host [21:44:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47469,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [21:44:25]free response buf [21:44:25]execute_script done [21:44:25]execute_script returns [21:44:25]free content buf [21:44:25]Sock 7.Close socket [21:44:25]Sock 7.Thread stoped [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:41]accept exits with 9 [21:55:41]New connection [21:55:41]New thread 3067174244 created [21:55:41]Thread 3067030884 joined [21:55:41]Waiting for new connection... [21:55:41] Sock 9.Parse request [21:55:41]Sock 9.Check first char [21:55:41]Sock 9.First char is OK [21:55:41]request: POST /json_proto HTTP/1.0 [21:55:41]Method: POST [21:55:41]URL: /json_proto [21:55:41]Method is POST - this is cgi request [21:55:41]url: /json_proto [21:55:41]query_string will be loaded in cgi processing [21:55:41]execute_cgi json_proto POST (null) [21:55:41]execute_cgi path=json_proto method=POST [21:55:41]POST find Content-Length [21:55:41]Host: 172.17.32.68:8080 [21:55:41]Content-Length: 822 [21:55:41]Content-Type: application/json [21:55:41] [21:55:41]POST finish read [21:55:41]Found Content-Length = 822 [21:55:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242380", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:41]execute_script... [21:55:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242380", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:41]POST & json_proto [21:55:41]process_json_proto [21:55:41]json parsed OK: [21:55:41]protocol is kg_v1.0 [21:55:41]action value=close_receipt [21:55:41]process_action close_receipt [21:55:41]cmd_close_receipt [21:55:41]MH_GetDate [21:55:41]Write to MH i2c: F0 00 00 12 04 05 [21:55:41]Write i2c OK [21:55:41]MH_I2C_Read... [21:55:41]Read from MH i2c: F0 [21:55:41]MH_I2C_Read... [21:55:41]Read from MH i2c: F0 09 00 [21:55:41]MH_I2C_Read... [21:55:41]Read from MH i2c: F0 09 00 12 04 00 DD 20 F2 65 0A 64 6E 65 A3 [21:55:41]GetLastDocTimeStamp 1710366262 [21:55:41]current date 1710366941 [21:55:41]FM_GetShiftState [21:55:41]SAM_PROTO_GetShiftState [21:55:41]wFMCommunicate request_size=4 [21:55:41]MH_SAM_APDU [21:55:41]CAPDU: 80 13 01 00 [21:55:41]Write to MH i2c: E2 08 00 13 04 80 13 01 00 00 00 00 00 94 [21:55:41]Write i2c OK [21:55:41]MH_I2C_Read... [21:55:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:41]Read from MH i2c: E2 [21:55:41]MH_I2C_Read... [21:55:41]Read from MH i2c: E2 0E 00 [21:55:41]MH_I2C_Read... [21:55:41]Read from MH i2c: E2 0E 00 13 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 B1 [21:55:41]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:55:41]wFMCommunicate OK [21:55:41]SAM_PROTO_GetShiftState done [21:55:41]FM_GetShiftState done [21:55:41]opened in 1710338059 [21:55:41]opened+sec_in_day 1710424459 [21:55:41]quantity*price = 6000 [21:55:41]sum+1 = 6001 [21:55:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 29 13.03.2024 21:55 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47470 ФПД: 221236735655914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T215541&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47470&fm=221236735655914&tin=02508201610067®Number=0000000000092018&sum=6000 0 [21:55:42]StoreToDocumentArchive [21:55:42]shift 316 fd 47470 [21:55:42]save to /storage/0316/doc_00047470 [21:55:42]save last doc name /storage/0316/doc_00047470 to /storage/kkm_last_doc_name [21:55:42]save OK [21:55:42]Clear old archive folders... [21:55:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:55:42]tlvbuf is 011A9EA0 [21:55:42]SAM_PROTO_ClearQueue [21:55:42]wFMCommunicate request_size=4 [21:55:42]MH_SAM_APDU [21:55:42]CAPDU: 80 09 00 00 [21:55:42]Write to MH i2c: E2 08 00 20 04 80 09 00 00 00 00 00 00 96 [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:55:42]Read from MH i2c: E2 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 20 04 00 90 00 98 [21:55:42]RAPDU: 90 00 [21:55:42]wFMCommunicate OK [21:55:42]SAM_PROTO_ClearQueue done [21:55:42]KKMCreateOFDPacket [21:55:42]OFDProtocolAddRootSTLVToBuf [21:55:42]FM_MakeSignedData [21:55:42]FM_MakeSignedData [21:55:42]SAM_PROTO_SignData [21:55:42]wFMCommunicate request_size=4 [21:55:42]MH_SAM_APDU [21:55:42]CAPDU: 80 0D 01 02 [21:55:42]Write to MH i2c: E2 08 00 21 04 80 0D 01 02 00 00 00 00 9E [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:55:42]Read from MH i2c: E2 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 21 04 00 90 00 99 [21:55:42]RAPDU: 90 00 [21:55:42]wFMCommunicate OK [21:55:42]wFMCommunicate request_size=255 [21:55:42]MH_SAM_APDU [21:55:42]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 DD 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:55:42]Write to MH i2c: E2 02 01 22 04 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 DD 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 76 [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:42]Read from MH i2c: E2 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 22 04 00 90 00 9A [21:55:42]RAPDU: 90 00 [21:55:42]wFMCommunicate OK [21:55:42]wFMCommunicate request_size=30 [21:55:42]MH_SAM_APDU [21:55:42]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 6E B9 00 00 35 04 06 00 C9 36 B1 0A 3F EA [21:55:42]Write to MH i2c: E2 21 00 23 04 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 6E B9 00 00 35 04 06 00 C9 36 B1 0A 3F EA 00 00 A3 [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:42]Read from MH i2c: E2 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 03 00 23 04 00 90 00 9B [21:55:42]RAPDU: 90 00 [21:55:42]wFMCommunicate OK [21:55:42]wFMCommunicate request_size=4 [21:55:42]MH_SAM_APDU [21:55:42]CAPDU: 80 0D 03 02 [21:55:42]Write to MH i2c: E2 08 00 24 04 80 0D 03 02 00 00 00 00 A3 [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:55:42]Read from MH i2c: E2 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 0B 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 0B 00 24 04 00 7E 37 E1 C2 73 30 78 CA 90 00 E1 [21:55:42]RAPDU: 7E 37 E1 C2 73 30 78 CA 90 00 [21:55:42]wFMCommunicate OK [21:55:42]SAM_PROTO_SignData done [21:55:42]FM_MakeSignedData done [21:55:42]CreateOFDProtocolMessage [21:55:42]wFMCommunicate request_size=4 [21:55:42]MH_SAM_APDU [21:55:42]CAPDU: 80 11 00 00 [21:55:42]Write to MH i2c: E2 08 00 25 04 80 11 00 00 00 00 00 00 A3 [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:42]Read from MH i2c: E2 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 17 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: E2 17 00 25 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F5 [21:55:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:55:42]wFMCommunicate OK [21:55:42]CreateOFDProtocolMessage done [21:55:42]OFDSenderStorePacket 47470 [21:55:42]StoreOFDPacket docnum=47470 [21:55:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 DD F6 1B 01 12 33 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 DD 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6E B9 00 00 35 04 06 00 C9 36 B1 0A 3F EA 7E 37 E1 C2 73 30 78 CA [21:55:42]CheckFolder [21:55:42]dirname=/storage/ofd_packets [21:55:42]CheckFolder done [21:55:42]ProducePacketName [21:55:42]name=ofd_packets/00047470 [21:55:42]NVStorageSaveData ofd_packets/00047470 [21:55:42]File name is /storage/ofd_packets/00047470 [21:55:42]Write 321 bytes [21:55:42]NVStorageSaveData done [21:55:42]OFDSenderStorePacket done [21:55:42]KKMCreateOFDPacket done [21:55:42]NVStorageSaveData kkm_last_timestamp [21:55:42]File name is /storage/kkm_last_timestamp [21:55:42]Write 4 bytes [21:55:42]NVStorageSaveData done [21:55:42]ExternCall_PrintAddStr [21:55:42]wPrintStart [21:55:42]Write to MH i2c: 01 00 00 26 04 2A [21:55:42]Write i2c OK [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: 01 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: 01 07 00 [21:55:42]MH_I2C_Read... [21:55:42]Read from MH i2c: 01 07 00 26 04 00 00 00 00 00 FF 0F 3F [21:55:42]RasterBufferAndPrint [21:55:42]line Счет N : (3)242380 [21:55:42]line ИНН: 02508201610067 [21:55:42]line Контрольно-Кассовый Чек [21:55:42]line ПРОДАЖА [21:55:42]line Товар: 4700000160204 [21:55:42]line Вода Легенда 1,5л [21:55:42]line 1.000 * 60.00 [21:55:42]line = 60.00 [21:55:42]line НДС 12% НСП 1% [21:55:42]line > о реализуемом товаре [21:55:42]line ИТОГО: 60.00 [21:55:42]line НСП 1% : 0.53 [21:55:42]line НДС 12% : 6.37 [21:55:42]line Наличными: 0.00 [21:55:42]line Безнал.: 60.00 [21:55:42]line Место: АЗС № 15 "Партнер Нефть" [21:55:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:55:42]line СНО: Общий режим [21:55:42]line Чек 29 13.03.2024 21:55 [21:55:42]line Смена: 316 ФФД: 1.0 [21:55:42]line ЗНМ: 0300000097 [21:55:42]line РНМ: 0000000000092018 [21:55:42]line Версия ККМ: 001 [21:55:42]line Платежная система: Демир КИ Банк [21:55:42]line ФМ: 0000000000871816 [21:55:42]line ФД: 47470 [21:55:42]line ФПД: 221236735655914 [21:55:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T215541&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47470&fm=221236735655914&tin=02508201610067®Number=0000000000092018&sum=6000 [21:55:43]line 0 [21:55:43]OFD Sender: Processing packet 47470 [packets to send 8, broken 7] [21:55:43]ProducePacketName [21:55:43]name=ofd_packets/00047470 [21:55:43]OFD Sender: To server: pG, [21:55:43]CommunicateWithHost lk.salyk.kg:30040 [21:55:43]ConnectInit lk.salyk.kg [21:55:43]written 0, free lines is 4095 [21:55:43]Connected sock=10 [21:55:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 DD F6 1B 01 12 33 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 DD 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6E B9 00 00 35 04 06 00 C9 36 B1 0A 3F EA 7E 37 E1 C2 73 30 78 CA [21:55:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 56 2F 47 00 B2 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6E B9 00 00 F4 03 04 00 6B CB F1 65 B6 04 01 00 00 60 F0 3C BB 01 3B 71 E4 [21:55:43]CommunicateWithHost err = 0 [21:55:43]CheckOFDResponse [21:55:43]1017 (14) - 77093643461234 [21:55:43]1041 (16) - 0000000000871816 [21:55:43]1040 (4) - 47470 [21:55:43]1012 (4) - 13.03.2024 15:51 [21:55:43]1206 (1) - 0 [21:55:43]OFD Sender: Remove packet 47470 [21:55:43]ProducePacketName [21:55:43]name=ofd_packets/00047470 [21:55:43]NVStorageDeleteData [21:55:43]Write to MH i2c: 01 00 00 50 04 54 [21:55:43]Write i2c OK [21:55:43]MH_I2C_Read... [21:55:43]Read from MH i2c: 01 [21:55:43]MH_I2C_Read... [21:55:43]Read from MH i2c: 01 07 00 [21:55:43]MH_I2C_Read... [21:55:43]Read from MH i2c: 01 07 00 50 04 00 00 00 00 00 E0 0C 47 [21:55:43]RasterBufferAndPrint [21:55:43]line [21:55:43]line [21:55:43]line [21:55:43]line [21:55:43]line [21:55:43]written 0, free lines is 3302 [21:55:43]MH_Cut [21:55:43]Write to MH i2c: D1 01 00 57 04 01 2D [21:55:43]Write i2c OK [21:55:43]MH_I2C_Read... [21:55:43]Read from MH i2c: D1 [21:55:43]MH_I2C_Read... [21:55:43]Read from MH i2c: D1 01 00 [21:55:43]MH_I2C_Read... [21:55:43]Read from MH i2c: D1 01 00 57 04 00 2C [21:55:43]Write to MH i2c: 01 00 00 58 04 5C [21:55:43]Write i2c OK [21:55:43]MH_I2C_Read... [21:55:43]OFD Sender: No OFD packet to send [21:55:44]*** Cut start [21:55:44]*** Purtial cut [21:55:44]*** Stage 1: CUTSNS_PIN = 1 [21:55:44]Read from MH i2c: 01 [21:55:44]MH_I2C_Read... [21:55:44]*** Stop cut motor [21:55:44]*** Cut end [21:55:44]Read from MH i2c: 01 07 00 [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: 01 07 00 58 04 00 00 00 00 00 FF 0F 71 [21:55:44]process_action close_receipt done [21:55:44]requested_data is exist [21:55:44]produce_requested_data [21:55:44]requested_item fm.sn is exist - process it [21:55:44]wFMCommunicate request_size=4 [21:55:44]MH_SAM_APDU [21:55:44]CAPDU: 80 11 00 00 [21:55:44]Write to MH i2c: E2 08 00 59 04 80 11 00 00 00 00 00 00 D7 [21:55:44]Write i2c OK [21:55:44]MH_I2C_Read... [21:55:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:44]Read from MH i2c: E2 [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: E2 17 00 [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: E2 17 00 59 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 29 [21:55:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:55:44]wFMCommunicate OK [21:55:44]requested_item fd.num is exist - process it [21:55:44]SAM_PROTO_GetFieldsCounters [21:55:44]wFMCommunicate request_size=4 [21:55:44]MH_SAM_APDU [21:55:44]CAPDU: 80 13 00 00 [21:55:44]Write to MH i2c: E2 08 00 5A 04 80 13 00 00 00 00 00 00 DA [21:55:44]Write i2c OK [21:55:44]MH_I2C_Read... [21:55:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:55:44]Read from MH i2c: E2 [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: E2 62 00 [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: E2 62 00 5A 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6E B9 00 00 0E 04 04 00 3C 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 B0 [21:55:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6E B9 00 00 0E 04 04 00 3C 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 [21:55:44]wFMCommunicate OK [21:55:44]SAM_PROTO_GetFieldsCounters done [21:55:44]requested_item shift.num is exist - process it [21:55:44]requested_item shift.opened is exist - process it [21:55:44]req_shift_opened [21:55:44]FM_GetShiftState [21:55:44]SAM_PROTO_GetShiftState [21:55:44]wFMCommunicate request_size=4 [21:55:44]MH_SAM_APDU [21:55:44]CAPDU: 80 13 01 00 [21:55:44]Write to MH i2c: E2 08 00 5B 04 80 13 01 00 00 00 00 00 DC [21:55:44]Write i2c OK [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: E2 [21:55:44]MH_I2C_Read... [21:55:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:44]Read from MH i2c: E2 0E 00 [21:55:44]MH_I2C_Read... [21:55:44]Read from MH i2c: E2 0E 00 5B 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 F9 [21:55:44]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:55:44]wFMCommunicate OK [21:55:44]SAM_PROTO_GetShiftState done [21:55:44]FM_GetShiftState done [21:55:44]req_shift_opened done [21:55:44]requested_item shift.open_date is exist - process it [21:55:44]req_shift_open_date [21:55:44]req_shift_open_date done [21:55:44]produce_requested_data done [21:55:44]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47470,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [21:55:44]process_action_free close_receipt [21:55:44]json_value_free [21:55:44]json_value_free done [21:55:44]process_json_proto returns [21:55:44]Send response to host [21:55:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47470,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [21:55:44]free response buf [21:55:44]execute_script done [21:55:44]execute_script returns [21:55:44]free content buf [21:55:44]Sock 9.Close socket [21:55:44]Sock 9.Thread stoped [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:55:59]accept exits with 7 [21:55:59]New connection [21:55:59]New thread 3067030884 created [21:55:59]Thread 3067174244 joined [21:55:59]Waiting for new connection... [21:55:59] Sock 7.Parse request [21:55:59]Sock 7.Check first char [21:55:59]Sock 7.First char is OK [21:55:59]request: POST /json_proto HTTP/1.0 [21:55:59]Method: POST [21:55:59]URL: /json_proto [21:55:59]Method is POST - this is cgi request [21:55:59]url: /json_proto [21:55:59]query_string will be loaded in cgi processing [21:55:59]execute_cgi json_proto POST (null) [21:55:59]execute_cgi path=json_proto method=POST [21:55:59]POST find Content-Length [21:55:59]Host: 172.17.32.68:8080 [21:55:59]Content-Length: 694 [21:55:59]Content-Type: application/json [21:55:59] [21:55:59]POST finish read [21:55:59]Found Content-Length = 694 [21:55:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242381", "tax_sys" : 0, "items" : [ { "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:59]execute_script... [21:55:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242381", "tax_sys" : 0, "items" : [ { "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:59]POST & json_proto [21:55:59]process_json_proto [21:55:59]json parsed OK: [21:55:59]protocol is kg_v1.0 [21:55:59]action value=close_receipt [21:55:59]process_action close_receipt [21:55:59]cmd_close_receipt [21:55:59]MH_GetDate [21:55:59]Write to MH i2c: F0 00 00 5C 04 4F [21:55:59]Write i2c OK [21:55:59]MH_I2C_Read... [21:55:59]Read from MH i2c: F0 [21:55:59]MH_I2C_Read... [21:55:59]Read from MH i2c: F0 09 00 [21:55:59]MH_I2C_Read... [21:55:59]Read from MH i2c: F0 09 00 5C 04 00 F0 20 F2 65 0A 64 6E 65 00 [21:55:59]GetLastDocTimeStamp 1710366941 [21:55:59]current date 1710366960 [21:55:59]FM_GetShiftState [21:55:59]SAM_PROTO_GetShiftState [21:55:59]wFMCommunicate request_size=4 [21:55:59]MH_SAM_APDU [21:55:59]CAPDU: 80 13 01 00 [21:55:59]Write to MH i2c: E2 08 00 5D 04 80 13 01 00 00 00 00 00 DE [21:55:59]Write i2c OK [21:55:59]MH_I2C_Read... [21:56:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:00]Read from MH i2c: E2 [21:56:00]MH_I2C_Read... [21:56:00]Read from MH i2c: E2 0E 00 [21:56:00]MH_I2C_Read... [21:56:00]Read from MH i2c: E2 0E 00 5D 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 FB [21:56:00]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:56:00]wFMCommunicate OK [21:56:00]SAM_PROTO_GetShiftState done [21:56:00]FM_GetShiftState done [21:56:00]opened in 1710338059 [21:56:00]opened+sec_in_day 1710424459 [21:56:00]quantity*price = 6500 [21:56:00]sum+1 = 6501 [21:56:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 30 13.03.2024 21:56 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47471 ФПД: 109990188843528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T215600&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47471&fm=109990188843528&tin=02508201610067®Number=0000000000092018&sum=6500 0 [21:56:01]StoreToDocumentArchive [21:56:01]shift 316 fd 47471 [21:56:01]save to /storage/0316/doc_00047471 [21:56:01]save last doc name /storage/0316/doc_00047471 to /storage/kkm_last_doc_name [21:56:01]save OK [21:56:01]Clear old archive folders... [21:56:01]ProcessDocumentItem done err = 0, tmpTLVsize=297 [21:56:01]tlvbuf is 011AB4B0 [21:56:01]SAM_PROTO_ClearQueue [21:56:01]wFMCommunicate request_size=4 [21:56:01]MH_SAM_APDU [21:56:01]CAPDU: 80 09 00 00 [21:56:01]Write to MH i2c: E2 08 00 6A 04 80 09 00 00 00 00 00 00 E0 [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:56:01]Read from MH i2c: E2 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 6A 04 00 90 00 E2 [21:56:01]RAPDU: 90 00 [21:56:01]wFMCommunicate OK [21:56:01]SAM_PROTO_ClearQueue done [21:56:01]KKMCreateOFDPacket [21:56:01]OFDProtocolAddRootSTLVToBuf [21:56:01]FM_MakeSignedData [21:56:01]FM_MakeSignedData [21:56:01]SAM_PROTO_SignData [21:56:01]wFMCommunicate request_size=4 [21:56:01]MH_SAM_APDU [21:56:01]CAPDU: 80 0D 01 02 [21:56:01]Write to MH i2c: E2 08 00 6B 04 80 0D 01 02 00 00 00 00 E8 [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:56:01]Read from MH i2c: E2 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 6B 04 00 90 00 E3 [21:56:01]RAPDU: 90 00 [21:56:01]wFMCommunicate OK [21:56:01]wFMCommunicate request_size=255 [21:56:01]MH_SAM_APDU [21:56:01]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 1E 00 00 00 F4 03 04 00 F0 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [21:56:01]Write to MH i2c: E2 02 01 6C 04 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 1E 00 00 00 F4 03 04 00 F0 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 A5 [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:01]Read from MH i2c: E2 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 6C 04 00 90 00 E4 [21:56:01]RAPDU: 90 00 [21:56:01]wFMCommunicate OK [21:56:01]wFMCommunicate request_size=56 [21:56:01]MH_SAM_APDU [21:56:01]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6F B9 00 00 35 04 06 00 64 09 16 22 82 08 [21:56:01]Write to MH i2c: E2 3B 00 6D 04 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6F B9 00 00 35 04 06 00 64 09 16 22 82 08 00 00 C7 [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:01]Read from MH i2c: E2 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 03 00 6D 04 00 90 00 E5 [21:56:01]RAPDU: 90 00 [21:56:01]wFMCommunicate OK [21:56:01]wFMCommunicate request_size=4 [21:56:01]MH_SAM_APDU [21:56:01]CAPDU: 80 0D 03 02 [21:56:01]Write to MH i2c: E2 08 00 6E 04 80 0D 03 02 00 00 00 00 ED [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:56:01]Read from MH i2c: E2 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 0B 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 0B 00 6E 04 00 8A 5E 96 6A F2 CD F5 95 90 00 1F [21:56:01]RAPDU: 8A 5E 96 6A F2 CD F5 95 90 00 [21:56:01]wFMCommunicate OK [21:56:01]SAM_PROTO_SignData done [21:56:01]FM_MakeSignedData done [21:56:01]CreateOFDProtocolMessage [21:56:01]wFMCommunicate request_size=4 [21:56:01]MH_SAM_APDU [21:56:01]CAPDU: 80 11 00 00 [21:56:01]Write to MH i2c: E2 08 00 6F 04 80 11 00 00 00 00 00 00 ED [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:01]Read from MH i2c: E2 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 17 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: E2 17 00 6F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 3F [21:56:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:56:01]wFMCommunicate OK [21:56:01]CreateOFDProtocolMessage done [21:56:01]OFDSenderStorePacket 47471 [21:56:01]StoreOFDPacket docnum=47471 [21:56:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3D 01 00 00 F8 CD 35 01 26 A0 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 1E 00 00 00 F4 03 04 00 F0 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6F B9 00 00 35 04 06 00 64 09 16 22 82 08 8A 5E 96 6A F2 CD F5 95 [21:56:01]CheckFolder [21:56:01]dirname=/storage/ofd_packets [21:56:01]CheckFolder done [21:56:01]ProducePacketName [21:56:01]name=ofd_packets/00047471 [21:56:01]NVStorageSaveData ofd_packets/00047471 [21:56:01]File name is /storage/ofd_packets/00047471 [21:56:01]Write 347 bytes [21:56:01]NVStorageSaveData done [21:56:01]OFDSenderStorePacket done [21:56:01]KKMCreateOFDPacket done [21:56:01]NVStorageSaveData kkm_last_timestamp [21:56:01]File name is /storage/kkm_last_timestamp [21:56:01]Write 4 bytes [21:56:01]NVStorageSaveData done [21:56:01]ExternCall_PrintAddStr [21:56:01]wPrintStart [21:56:01]Write to MH i2c: 01 00 00 70 04 74 [21:56:01]Write i2c OK [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: 01 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: 01 07 00 [21:56:01]MH_I2C_Read... [21:56:01]Read from MH i2c: 01 07 00 70 04 00 00 00 00 00 FF 0F 89 [21:56:01]RasterBufferAndPrint [21:56:01]line Счет N : (3)242381 [21:56:01]line ИНН: 02508201610067 [21:56:01]line Контрольно-Кассовый Чек [21:56:01]line ПРОДАЖА [21:56:01]line Товар: 4870001571535 [21:56:01]line Вода ASU пит н.газ персик ПЭТ 0,5л [21:56:01]line 1.000 * 65.00 [21:56:01]line = 65.00 [21:56:01]line НДС 12% НСП 1% [21:56:01]line > о реализуемом товаре [21:56:01]line ИТОГО: 65.00 [21:56:01]line НСП 1% : 0.57 [21:56:01]line НДС 12% : 6.90 [21:56:01]line Наличными: 65.00 [21:56:01]line Безнал.: 0.00 [21:56:01]line Место: АЗС № 15 "Партнер Нефть" [21:56:01]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [21:56:01]line СНО: Общий режим [21:56:01]line Чек 30 13.03.2024 21:56 [21:56:01]line Смена: 316 ФФД: 1.0 [21:56:01]line ЗНМ: 0300000097 [21:56:01]line РНМ: 0000000000092018 [21:56:01]line Версия ККМ: 001 [21:56:01]line ФМ: 0000000000871816 [21:56:01]line ФД: 47471 [21:56:01]line ФПД: 109990188843528 [21:56:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T215600&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47471&fm=109990188843528&tin=02508201610067®Number=0000000000092018&sum=6500 [21:56:02]line 0 [21:56:02]OFD Sender: Processing packet 47471 [packets to send 8, broken 7] [21:56:02]ProducePacketName [21:56:02]name=ofd_packets/00047471 [21:56:02]OFD Sender: To server: pG, [21:56:02]CommunicateWithHost lk.salyk.kg:30040 [21:56:02]ConnectInit lk.salyk.kg [21:56:02]written 0, free lines is 4095 [21:56:02]Connected sock=10 [21:56:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3D 01 00 00 F8 CD 35 01 26 A0 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 1E 00 00 00 F4 03 04 00 F0 20 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6F B9 00 00 35 04 06 00 64 09 16 22 82 08 8A 5E 96 6A F2 CD F5 95 [21:56:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 A3 D9 47 00 6C BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 6F B9 00 00 F4 03 04 00 7E CB F1 65 B6 04 01 00 00 C7 C6 D0 2F 3D 3C E6 DF [21:56:02]CommunicateWithHost err = 0 [21:56:02]CheckOFDResponse [21:56:02]1017 (14) - 77093643461234 [21:56:02]1041 (16) - 0000000000871816 [21:56:02]1040 (4) - 47471 [21:56:02]1012 (4) - 13.03.2024 15:51 [21:56:02]1206 (1) - 0 [21:56:02]OFD Sender: Remove packet 47471 [21:56:02]ProducePacketName [21:56:02]name=ofd_packets/00047471 [21:56:02]NVStorageDeleteData [21:56:02]Write to MH i2c: 01 00 00 99 04 9D [21:56:02]Write i2c OK [21:56:02]MH_I2C_Read... [21:56:02]Read from MH i2c: 01 [21:56:02]MH_I2C_Read... [21:56:02]Read from MH i2c: 01 07 00 [21:56:02]MH_I2C_Read... [21:56:02]Read from MH i2c: 01 07 00 99 04 00 00 00 00 00 DC 0C 8C [21:56:02]RasterBufferAndPrint [21:56:02]line [21:56:02]line [21:56:02]line [21:56:02]line [21:56:02]line [21:56:02]written 0, free lines is 3298 [21:56:02]MH_Cut [21:56:02]Write to MH i2c: D1 01 00 A0 04 01 76 [21:56:02]Write i2c OK [21:56:02]MH_I2C_Read... [21:56:02]Read from MH i2c: D1 [21:56:02]MH_I2C_Read... [21:56:02]Read from MH i2c: D1 01 00 [21:56:02]MH_I2C_Read... [21:56:02]Read from MH i2c: D1 01 00 A0 04 00 75 [21:56:02]Write to MH i2c: 01 00 00 A1 04 A5 [21:56:02]Write i2c OK [21:56:02]MH_I2C_Read... [21:56:02]OFD Sender: No OFD packet to send [21:56:03]*** Cut start [21:56:03]*** Purtial cut [21:56:03]*** Stage 1: CUTSNS_PIN = 1 [21:56:03]Read from MH i2c: 01 [21:56:03]MH_I2C_Read... [21:56:03]*** Stop cut motor [21:56:03]*** Cut end [21:56:03]Read from MH i2c: 01 07 00 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: 01 07 00 A1 04 00 00 00 00 00 FF 0F BA [21:56:03]process_action close_receipt done [21:56:03]requested_data is exist [21:56:03]produce_requested_data [21:56:03]requested_item fm.sn is exist - process it [21:56:03]wFMCommunicate request_size=4 [21:56:03]MH_SAM_APDU [21:56:03]CAPDU: 80 11 00 00 [21:56:03]Write to MH i2c: E2 08 00 A2 04 80 11 00 00 00 00 00 00 20 [21:56:03]Write i2c OK [21:56:03]MH_I2C_Read... [21:56:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:03]Read from MH i2c: E2 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: E2 17 00 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: E2 17 00 A2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 72 [21:56:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [21:56:03]wFMCommunicate OK [21:56:03]requested_item fd.num is exist - process it [21:56:03]SAM_PROTO_GetFieldsCounters [21:56:03]wFMCommunicate request_size=4 [21:56:03]MH_SAM_APDU [21:56:03]CAPDU: 80 13 00 00 [21:56:03]Write to MH i2c: E2 08 00 A3 04 80 13 00 00 00 00 00 00 23 [21:56:03]Write i2c OK [21:56:03]MH_I2C_Read... [21:56:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:56:03]Read from MH i2c: E2 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: E2 62 00 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: E2 62 00 A3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6F B9 00 00 0E 04 04 00 3C 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 FD [21:56:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 6F B9 00 00 0E 04 04 00 3C 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 [21:56:03]wFMCommunicate OK [21:56:03]SAM_PROTO_GetFieldsCounters done [21:56:03]requested_item shift.num is exist - process it [21:56:03]requested_item shift.opened is exist - process it [21:56:03]req_shift_opened [21:56:03]FM_GetShiftState [21:56:03]SAM_PROTO_GetShiftState [21:56:03]wFMCommunicate request_size=4 [21:56:03]MH_SAM_APDU [21:56:03]CAPDU: 80 13 01 00 [21:56:03]Write to MH i2c: E2 08 00 A4 04 80 13 01 00 00 00 00 00 25 [21:56:03]Write i2c OK [21:56:03]MH_I2C_Read... [21:56:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:03]Read from MH i2c: E2 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: E2 0E 00 [21:56:03]MH_I2C_Read... [21:56:03]Read from MH i2c: E2 0E 00 A4 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 42 [21:56:03]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [21:56:03]wFMCommunicate OK [21:56:03]SAM_PROTO_GetShiftState done [21:56:03]FM_GetShiftState done [21:56:03]req_shift_opened done [21:56:03]requested_item shift.open_date is exist - process it [21:56:03]req_shift_open_date [21:56:03]req_shift_open_date done [21:56:03]produce_requested_data done [21:56:03]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47471,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [21:56:03]process_action_free close_receipt [21:56:03]json_value_free [21:56:03]json_value_free done [21:56:03]process_json_proto returns [21:56:03]Send response to host [21:56:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47471,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [21:56:03]free response buf [21:56:03]execute_script done [21:56:03]execute_script returns [21:56:03]free content buf [21:56:03]Sock 7.Close socket [21:56:03]Sock 7.Thread stoped [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:19]accept exits with 9 [22:00:19]New connection [22:00:19]New thread 3067174244 created [22:00:19]Thread 3067030884 joined [22:00:19]Waiting for new connection... [22:00:19] Sock 9.Parse request [22:00:19]Sock 9.Check first char [22:00:19]Sock 9.First char is OK [22:00:19]request: POST /json_proto HTTP/1.0 [22:00:19]Method: POST [22:00:19]URL: /json_proto [22:00:19]Method is POST - this is cgi request [22:00:19]url: /json_proto [22:00:19]query_string will be loaded in cgi processing [22:00:19]execute_cgi json_proto POST (null) [22:00:19]execute_cgi path=json_proto method=POST [22:00:19]POST find Content-Length [22:00:19]Host: 172.17.32.68:8080 [22:00:19]Content-Length: 1287 [22:00:19]Content-Type: application/json [22:00:19] [22:00:19]POST finish read [22:00:19]Found Content-Length = 1287 [22:00:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242382", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:19]execute_script... [22:00:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242382", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:19]POST & json_proto [22:00:19]process_json_proto [22:00:19]json parsed OK: [22:00:19]protocol is kg_v1.0 [22:00:19]action value=close_receipt [22:00:19]process_action close_receipt [22:00:19]cmd_close_receipt [22:00:19]MH_GetDate [22:00:19]Write to MH i2c: F0 00 00 A5 04 98 [22:00:19]Write i2c OK [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: F0 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: F0 09 00 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: F0 09 00 A5 04 00 F4 21 F2 65 0A 64 6E 65 4E [22:00:19]GetLastDocTimeStamp 1710366960 [22:00:19]current date 1710367220 [22:00:19]FM_GetShiftState [22:00:19]SAM_PROTO_GetShiftState [22:00:19]wFMCommunicate request_size=4 [22:00:19]MH_SAM_APDU [22:00:19]CAPDU: 80 13 01 00 [22:00:19]Write to MH i2c: E2 08 00 A6 04 80 13 01 00 00 00 00 00 27 [22:00:19]Write i2c OK [22:00:19]MH_I2C_Read... [22:00:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:19]Read from MH i2c: E2 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: E2 0E 00 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: E2 0E 00 A6 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 44 [22:00:19]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:00:19]wFMCommunicate OK [22:00:19]SAM_PROTO_GetShiftState done [22:00:19]FM_GetShiftState done [22:00:19]opened in 1710338059 [22:00:19]opened+sec_in_day 1710424459 [22:00:19]quantity*price = 8500 [22:00:19]sum+1 = 8501 [22:00:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.87 Наличными: 0.00 Безнал.: 300.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 31 13.03.2024 22:00 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47472 ФПД: 245065568175118 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220020&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47472&fm=245065568175118&tin=02508201610067®Number=0000000000092018&sum=30000 0 [22:00:20]StoreToDocumentArchive [22:00:20]shift 316 fd 47472 [22:00:20]save to /storage/0316/doc_00047472 [22:00:20]save last doc name /storage/0316/doc_00047472 to /storage/kkm_last_doc_name [22:00:20]save OK [22:00:20]Clear old archive folders... [22:00:20]ProcessDocumentItem done err = 0, tmpTLVsize=482 [22:00:20]tlvbuf is 011AADC0 [22:00:20]SAM_PROTO_ClearQueue [22:00:20]wFMCommunicate request_size=4 [22:00:20]MH_SAM_APDU [22:00:20]CAPDU: 80 09 00 00 [22:00:20]Write to MH i2c: E2 08 00 B3 04 80 09 00 00 00 00 00 00 29 [22:00:20]Write i2c OK [22:00:20]MH_I2C_Read... [22:00:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:00:20]Read from MH i2c: E2 [22:00:20]MH_I2C_Read... [22:00:20]Read from MH i2c: E2 03 00 [22:00:20]MH_I2C_Read... [22:00:20]Read from MH i2c: E2 03 00 B3 04 00 90 00 2B [22:00:20]RAPDU: 90 00 [22:00:20]wFMCommunicate OK [22:00:20]SAM_PROTO_ClearQueue done [22:00:20]KKMCreateOFDPacket [22:00:20]OFDProtocolAddRootSTLVToBuf [22:00:20]FM_MakeSignedData [22:00:20]FM_MakeSignedData [22:00:20]SAM_PROTO_SignData [22:00:20]wFMCommunicate request_size=4 [22:00:20]MH_SAM_APDU [22:00:20]CAPDU: 80 0D 01 02 [22:00:20]Write to MH i2c: E2 08 00 B4 04 80 0D 01 02 00 00 00 00 31 [22:00:20]Write i2c OK [22:00:20]MH_I2C_Read... [22:00:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:00:20]Read from MH i2c: E2 [22:00:20]MH_I2C_Read... [22:00:20]Read from MH i2c: E2 03 00 [22:00:20]MH_I2C_Read... [22:00:20]Read from MH i2c: E2 03 00 B4 04 00 90 00 2C [22:00:20]RAPDU: 90 00 [22:00:20]wFMCommunicate OK [22:00:20]wFMCommunicate request_size=255 [22:00:20]MH_SAM_APDU [22:00:20]CAPDU: 80 0D 02 02 FA 03 00 E2 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [22:00:21]Write to MH i2c: E2 02 01 B5 04 80 0D 02 02 FA 00 03 00 E2 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 50 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 B5 04 00 90 00 2D [22:00:21]RAPDU: 90 00 [22:00:21]wFMCommunicate OK [22:00:21]wFMCommunicate request_size=241 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 0D 02 02 EC D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 73 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 1F 00 00 00 F4 03 04 00 F4 21 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 70 B9 00 00 35 04 06 00 DE E2 C6 23 44 0E [22:00:21]Write to MH i2c: E2 F4 00 B6 04 80 0D 02 02 EC 00 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 73 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 1F 00 00 00 F4 03 04 00 F4 21 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 70 B9 00 00 35 04 06 00 DE E2 C6 23 44 0E 00 00 C9 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 B6 04 00 90 00 2E [22:00:21]RAPDU: 90 00 [22:00:21]wFMCommunicate OK [22:00:21]wFMCommunicate request_size=4 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 0D 03 02 [22:00:21]Write to MH i2c: E2 08 00 B7 04 80 0D 03 02 00 00 00 00 36 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 0B 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 0B 00 B7 04 00 4C EA ED 72 6E 62 6D 45 90 00 4E [22:00:21]RAPDU: 4C EA ED 72 6E 62 6D 45 90 00 [22:00:21]wFMCommunicate OK [22:00:21]SAM_PROTO_SignData done [22:00:21]FM_MakeSignedData done [22:00:21]CreateOFDProtocolMessage [22:00:21]wFMCommunicate request_size=4 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 11 00 00 [22:00:21]Write to MH i2c: E2 08 00 B8 04 80 11 00 00 00 00 00 00 36 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 17 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 17 00 B8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 88 [22:00:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:00:21]wFMCommunicate OK [22:00:21]CreateOFDProtocolMessage done [22:00:21]OFDSenderStorePacket 47472 [22:00:21]StoreOFDPacket docnum=47472 [22:00:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 F6 01 00 00 2C 3A EE 01 C4 68 5A 03 01 00 03 00 E2 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 73 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 1F 00 00 00 F4 03 04 00 F4 21 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 70 B9 00 00 35 04 06 00 DE E2 C6 23 44 0E 4C EA ED 72 6E 62 6D 45 [22:00:21]CheckFolder [22:00:21]dirname=/storage/ofd_packets [22:00:21]CheckFolder done [22:00:21]ProducePacketName [22:00:21]name=ofd_packets/00047472 [22:00:21]NVStorageSaveData ofd_packets/00047472 [22:00:21]File name is /storage/ofd_packets/00047472 [22:00:21]Write 532 bytes [22:00:21]NVStorageSaveData done [22:00:21]OFDSenderStorePacket done [22:00:21]KKMCreateOFDPacket done [22:00:21]NVStorageSaveData kkm_last_timestamp [22:00:21]File name is /storage/kkm_last_timestamp [22:00:21]Write 4 bytes [22:00:21]NVStorageSaveData done [22:00:21]ExternCall_PrintAddStr [22:00:21]wPrintStart [22:00:21]Write to MH i2c: 01 00 00 B9 04 BD [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: 01 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: 01 07 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: 01 07 00 B9 04 00 00 00 00 00 FF 0F D2 [22:00:21]RasterBufferAndPrint [22:00:21]line Счет N : (3)242382 [22:00:21]line ИНН: 02508201610067 [22:00:21]line Контрольно-Кассовый Чек [22:00:21]line ПРОДАЖА [22:00:21]line Товар: 5449000000996 [22:00:21]line Напиток Кока-Кола 0,33л [22:00:21]line 1.000 * 85.00 [22:00:21]line = 85.00 [22:00:21]line НДС 12% НСП 1% [22:00:21]line > о реализуемом товаре [22:00:21]line Товар: 4870001570057 [22:00:21]line Напиток Pepsi 0,5л [22:00:21]line 1.000 * 80.00 [22:00:21]line = 80.00 [22:00:21]line НДС 12% НСП 1% [22:00:21]line > о реализуемом товаре [22:00:21]line Товар: 48747059 [22:00:21]line Сигареты Winston Legend Blue [22:00:21]line 1.000 * 135.00 [22:00:21]line = 135.00 [22:00:21]line НДС 12% НСП 1% [22:00:21]line > о реализуемом товаре [22:00:21]line ИТОГО: 300.00 [22:00:21]line НСП 1% : 2.65 [22:00:21]line НДС 12% : 31.87 [22:00:21]line Наличными: 0.00 [22:00:21]line Безнал.: 300.00 [22:00:21]line Место: АЗС № 15 "Партнер Нефть" [22:00:21]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:00:21]line СНО: Общий режим [22:00:21]line Чек 31 13.03.2024 22:00 [22:00:21]line Смена: 316 ФФД: 1.0 [22:00:21]line ЗНМ: 0300000097 [22:00:21]line РНМ: 0000000000092018 [22:00:21]line Версия ККМ: 001 [22:00:21]line Платежная система: O! деньги [22:00:21]line ФМ: 0000000000871816 [22:00:21]line ФД: 47472 [22:00:21]line ФПД: 245065568175118 [22:00:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220020&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47472&fm=245065568175118&tin=02508201610067®Number=0000000000092018&sum=30000 [22:00:21]line 0 [22:00:21]written 0, free lines is 4095 [22:00:21]OFD Sender: Processing packet 47472 [packets to send 8, broken 7] [22:00:21]ProducePacketName [22:00:21]name=ofd_packets/00047472 [22:00:21]OFD Sender: To server: pG, [22:00:21]CommunicateWithHost lk.salyk.kg:30040 [22:00:21]ConnectInit lk.salyk.kg [22:00:21]Connected sock=10 [22:00:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 F6 01 00 00 2C 3A EE 01 C4 68 5A 03 01 00 03 00 E2 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 73 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 1F 00 00 00 F4 03 04 00 F4 21 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 70 B9 00 00 35 04 06 00 DE E2 C6 23 44 0E 4C EA ED 72 6E 62 6D 45 [22:00:22]Write to MH i2c: 01 00 00 F0 04 F4 [22:00:22]Write i2c OK [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: 01 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: 01 07 00 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: 01 07 00 F0 04 00 00 00 00 00 F2 0B F8 [22:00:22]RasterBufferAndPrint [22:00:22]line [22:00:22]line [22:00:22]line [22:00:22]line [22:00:22]line [22:00:22]written 0, free lines is 3064 [22:00:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 D9 A5 47 00 7D E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 70 B9 00 00 F4 03 04 00 82 CC F1 65 B6 04 01 00 00 44 B5 22 4E 57 E8 F5 83 [22:00:22]CommunicateWithHost err = 0 [22:00:22]CheckOFDResponse [22:00:22]1017 (14) - 77093643461234 [22:00:22]1041 (16) - 0000000000871816 [22:00:22]1040 (4) - 47472 [22:00:22]1012 (4) - 13.03.2024 15:55 [22:00:22]1206 (1) - 0 [22:00:22]OFD Sender: Remove packet 47472 [22:00:22]ProducePacketName [22:00:22]name=ofd_packets/00047472 [22:00:22]NVStorageDeleteData [22:00:22]MH_Cut [22:00:22]Write to MH i2c: D1 01 00 F7 04 01 CD [22:00:22]Write i2c OK [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: D1 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: D1 01 00 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: D1 01 00 F7 04 00 CC [22:00:22]Write to MH i2c: 01 00 00 F8 04 FC [22:00:22]Write i2c OK [22:00:22]MH_I2C_Read... [22:00:22]OFD Sender: No OFD packet to send [22:00:23]*** Cut start [22:00:23]*** Purtial cut [22:00:23]*** Stage 1: CUTSNS_PIN = 1 [22:00:23]Read from MH i2c: 01 [22:00:23]MH_I2C_Read... [22:00:23]*** Stop cut motor [22:00:23]*** Cut end [22:00:23]Read from MH i2c: 01 07 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: 01 07 00 F8 04 00 00 00 00 00 FF 0F 11 [22:00:23]process_action close_receipt done [22:00:23]requested_data is exist [22:00:23]produce_requested_data [22:00:23]requested_item fm.sn is exist - process it [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 11 00 00 [22:00:23]Write to MH i2c: E2 08 00 F9 04 80 11 00 00 00 00 00 00 77 [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:23]Read from MH i2c: E2 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 17 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 17 00 F9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C9 [22:00:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:00:23]wFMCommunicate OK [22:00:23]requested_item fd.num is exist - process it [22:00:23]SAM_PROTO_GetFieldsCounters [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 13 00 00 [22:00:23]Write to MH i2c: E2 08 00 FA 04 80 13 00 00 00 00 00 00 7A [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:00:23]Read from MH i2c: E2 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 62 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 62 00 FA 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 70 B9 00 00 0E 04 04 00 3C 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 58 [22:00:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 70 B9 00 00 0E 04 04 00 3C 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 [22:00:23]wFMCommunicate OK [22:00:23]SAM_PROTO_GetFieldsCounters done [22:00:23]requested_item shift.num is exist - process it [22:00:23]requested_item shift.opened is exist - process it [22:00:23]req_shift_opened [22:00:23]FM_GetShiftState [22:00:23]SAM_PROTO_GetShiftState [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 13 01 00 [22:00:23]Write to MH i2c: E2 08 00 FB 04 80 13 01 00 00 00 00 00 7C [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:23]Read from MH i2c: E2 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 0E 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 0E 00 FB 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 99 [22:00:23]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:00:23]wFMCommunicate OK [22:00:23]SAM_PROTO_GetShiftState done [22:00:23]FM_GetShiftState done [22:00:23]req_shift_opened done [22:00:23]requested_item shift.open_date is exist - process it [22:00:23]req_shift_open_date [22:00:23]req_shift_open_date done [22:00:23]produce_requested_data done [22:00:23]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47472,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:00:23]process_action_free close_receipt [22:00:23]json_value_free [22:00:23]json_value_free done [22:00:23]process_json_proto returns [22:00:23]Send response to host [22:00:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47472,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:00:23]free response buf [22:00:23]execute_script done [22:00:23]execute_script returns [22:00:23]free content buf [22:00:23]Sock 9.Close socket [22:00:23]Sock 9.Thread stoped [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:33]OFD Sender: No OFD packet to send [22:04:38]OFD Sender: No OFD packet to send [22:04:43]OFD Sender: No OFD packet to send [22:04:48]OFD Sender: No OFD packet to send [22:04:53]OFD Sender: No OFD packet to send [22:04:58]OFD Sender: No OFD packet to send [22:05:03]OFD Sender: No OFD packet to send [22:05:08]OFD Sender: No OFD packet to send [22:05:13]OFD Sender: No OFD packet to send [22:05:18]OFD Sender: No OFD packet to send [22:05:23]OFD Sender: No OFD packet to send [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:21]accept exits with 7 [22:06:21]New connection [22:06:21]New thread 3067030884 created [22:06:21]Thread 3067174244 joined [22:06:21]Waiting for new connection... [22:06:21] Sock 7.Parse request [22:06:21]Sock 7.Check first char [22:06:21]Sock 7.First char is OK [22:06:21]request: POST /json_proto HTTP/1.0 [22:06:21]Method: POST [22:06:21]URL: /json_proto [22:06:21]Method is POST - this is cgi request [22:06:21]url: /json_proto [22:06:21]query_string will be loaded in cgi processing [22:06:21]execute_cgi json_proto POST (null) [22:06:21]execute_cgi path=json_proto method=POST [22:06:21]POST find Content-Length [22:06:21]Host: 172.17.32.68:8080 [22:06:21]Content-Length: 652 [22:06:21]Content-Type: application/json [22:06:21] [22:06:21]POST finish read [22:06:21]Found Content-Length = 652 [22:06:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242383", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:06:21]execute_script... [22:06: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)242383", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:06:21]POST & json_proto [22:06:21]process_json_proto [22:06:21]json parsed OK: [22:06:21]protocol is kg_v1.0 [22:06:21]action value=close_receipt [22:06:21]process_action close_receipt [22:06:21]cmd_close_receipt [22:06:21]MH_GetDate [22:06:21]Write to MH i2c: F0 00 00 FC 04 EF [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: F0 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: F0 09 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: F0 09 00 FC 04 00 5E 23 F2 65 0A 64 6E 65 11 [22:06:21]GetLastDocTimeStamp 1710367220 [22:06:21]current date 1710367582 [22:06:21]FM_GetShiftState [22:06:21]SAM_PROTO_GetShiftState [22:06:21]wFMCommunicate request_size=4 [22:06:21]MH_SAM_APDU [22:06:21]CAPDU: 80 13 01 00 [22:06:21]Write to MH i2c: E2 08 00 FD 04 80 13 01 00 00 00 00 00 7E [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:06:21]Read from MH i2c: E2 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 0E 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 0E 00 FD 04 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 9B [22:06:21]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:06:21]wFMCommunicate OK [22:06:21]SAM_PROTO_GetShiftState done [22:06:21]FM_GetShiftState done [22:06:21]opened in 1710338059 [22:06:21]opened+sec_in_day 1710424459 [22:06:21]quantity*price = 6300 [22:06:21]sum+1 = 6301 [22:06:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 63.00 НСП 1% : 0.56 НДС 12% : 6.69 Наличными: 63.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 32 13.03.2024 22:06 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47473 ФПД: 143801014937931 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220622&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47473&fm=143801014937931&tin=02508201610067®Number=0000000000092018&sum=6300 0 [22:06:23]StoreToDocumentArchive [22:06:23]shift 316 fd 47473 [22:06:23]save to /storage/0316/doc_00047473 [22:06:23]save last doc name /storage/0316/doc_00047473 to /storage/kkm_last_doc_name [22:06:23]save OK [22:06:23]Clear old archive folders... [22:06:23]OFD Sender: No OFD packet to send [22:06:23]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:06:23]tlvbuf is 011B0000 [22:06:23]SAM_PROTO_ClearQueue [22:06:23]wFMCommunicate request_size=4 [22:06:23]MH_SAM_APDU [22:06:23]CAPDU: 80 09 00 00 [22:06:23]Write to MH i2c: E2 08 00 0A 05 80 09 00 00 00 00 00 00 81 [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:06:23]Read from MH i2c: E2 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 0A 05 00 90 00 83 [22:06:23]RAPDU: 90 00 [22:06:23]wFMCommunicate OK [22:06:23]SAM_PROTO_ClearQueue done [22:06:23]KKMCreateOFDPacket [22:06:23]OFDProtocolAddRootSTLVToBuf [22:06:23]FM_MakeSignedData [22:06:23]FM_MakeSignedData [22:06:23]SAM_PROTO_SignData [22:06:23]wFMCommunicate request_size=4 [22:06:23]MH_SAM_APDU [22:06:23]CAPDU: 80 0D 01 02 [22:06:23]Write to MH i2c: E2 08 00 0B 05 80 0D 01 02 00 00 00 00 89 [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:06:23]Read from MH i2c: E2 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 0B 05 00 90 00 84 [22:06:23]RAPDU: 90 00 [22:06:23]wFMCommunicate OK [22:06:23]wFMCommunicate request_size=255 [22:06:23]MH_SAM_APDU [22:06:23]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 5E 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [22:06:23]Write to MH i2c: E2 02 01 0C 05 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 5E 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 4A [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:06:23]Read from MH i2c: E2 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 0C 05 00 90 00 85 [22:06:23]RAPDU: 90 00 [22:06:23]wFMCommunicate OK [22:06:23]wFMCommunicate request_size=34 [22:06:23]MH_SAM_APDU [22:06:23]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 71 B9 00 00 35 04 06 00 82 C9 48 69 E9 4B [22:06:23]Write to MH i2c: E2 25 00 0D 05 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 71 B9 00 00 35 04 06 00 82 C9 48 69 E9 4B 00 00 A6 [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:06:23]Read from MH i2c: E2 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 03 00 0D 05 00 90 00 86 [22:06:23]RAPDU: 90 00 [22:06:23]wFMCommunicate OK [22:06:23]wFMCommunicate request_size=4 [22:06:23]MH_SAM_APDU [22:06:23]CAPDU: 80 0D 03 02 [22:06:23]Write to MH i2c: E2 08 00 0E 05 80 0D 03 02 00 00 00 00 8E [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:06:23]Read from MH i2c: E2 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 0B 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 0B 00 0E 05 00 3A 4D 83 B3 26 CD 2A 50 90 00 B9 [22:06:23]RAPDU: 3A 4D 83 B3 26 CD 2A 50 90 00 [22:06:23]wFMCommunicate OK [22:06:23]SAM_PROTO_SignData done [22:06:23]FM_MakeSignedData done [22:06:23]CreateOFDProtocolMessage [22:06:23]wFMCommunicate request_size=4 [22:06:23]MH_SAM_APDU [22:06:23]CAPDU: 80 11 00 00 [22:06:23]Write to MH i2c: E2 08 00 0F 05 80 11 00 00 00 00 00 00 8E [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:06:23]Read from MH i2c: E2 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 17 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: E2 17 00 0F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E0 [22:06:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:06:23]wFMCommunicate OK [22:06:23]CreateOFDProtocolMessage done [22:06:23]OFDSenderStorePacket 47473 [22:06:23]StoreOFDPacket docnum=47473 [22:06:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 0E AC 1F 01 FA D1 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 5E 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 71 B9 00 00 35 04 06 00 82 C9 48 69 E9 4B 3A 4D 83 B3 26 CD 2A 50 [22:06:23]CheckFolder [22:06:23]dirname=/storage/ofd_packets [22:06:23]CheckFolder done [22:06:23]ProducePacketName [22:06:23]name=ofd_packets/00047473 [22:06:23]NVStorageSaveData ofd_packets/00047473 [22:06:23]File name is /storage/ofd_packets/00047473 [22:06:23]Write 325 bytes [22:06:23]NVStorageSaveData done [22:06:23]OFDSenderStorePacket done [22:06:23]KKMCreateOFDPacket done [22:06:23]NVStorageSaveData kkm_last_timestamp [22:06:23]File name is /storage/kkm_last_timestamp [22:06:23]Write 4 bytes [22:06:23]NVStorageSaveData done [22:06:23]ExternCall_PrintAddStr [22:06:23]wPrintStart [22:06:23]Write to MH i2c: 01 00 00 10 05 15 [22:06:23]Write i2c OK [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: 01 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: 01 07 00 [22:06:23]MH_I2C_Read... [22:06:23]Read from MH i2c: 01 07 00 10 05 00 00 00 00 00 FF 0F 2A [22:06:23]RasterBufferAndPrint [22:06:23]line Счет N : (3)242383 [22:06:23]line ИНН: 02508201610067 [22:06:23]line Контрольно-Кассовый Чек [22:06:23]line ПРОДАЖА [22:06:23]line Товар: 54491472 [22:06:23]line Напиток Кока-Кола 0,5л [22:06:23]line 1.000 * 63.00 [22:06:23]line = 63.00 [22:06:23]line НДС 12% НСП 1% [22:06:23]line > о реализуемом товаре [22:06:23]line ИТОГО: 63.00 [22:06:23]line НСП 1% : 0.56 [22:06:23]line НДС 12% : 6.69 [22:06:23]line Наличными: 63.00 [22:06:23]line Безнал.: 0.00 [22:06:23]line Место: АЗС № 15 "Партнер Нефть" [22:06:23]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:06:23]line СНО: Общий режим [22:06:23]line Чек 32 13.03.2024 22:06 [22:06:23]line Смена: 316 ФФД: 1.0 [22:06:23]line ЗНМ: 0300000097 [22:06:23]line РНМ: 0000000000092018 [22:06:23]line Версия ККМ: 001 [22:06:23]line ФМ: 0000000000871816 [22:06:23]line ФД: 47473 [22:06:23]line ФПД: 143801014937931 [22:06:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220622&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47473&fm=143801014937931&tin=02508201610067®Number=0000000000092018&sum=6300 [22:06:23]line 0 [22:06:24]written 0, free lines is 4095 [22:06:24]OFD Sender: Processing packet 47473 [packets to send 8, broken 7] [22:06:24]ProducePacketName [22:06:24]name=ofd_packets/00047473 [22:06:24]OFD Sender: To server: pG, [22:06:24]CommunicateWithHost lk.salyk.kg:30040 [22:06:24]ConnectInit lk.salyk.kg [22:06:24]Connected sock=10 [22:06:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 0E AC 1F 01 FA D1 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 5E 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 71 B9 00 00 35 04 06 00 82 C9 48 69 E9 4B 3A 4D 83 B3 26 CD 2A 50 [22:06:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 18 9B 47 00 F3 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 31 38 31 36 10 04 04 00 71 B9 00 00 F4 03 04 00 EC CD F1 65 B6 04 01 00 00 37 FB 1F 78 D6 61 89 C9 [22:06:24]CommunicateWithHost err = 0 [22:06:24]CheckOFDResponse [22:06:24]1017 (14) - 77093643461234 [22:06:24]1041 (16) - 0000000000871816 [22:06:24]1040 (4) - 47473 [22:06:24]1012 (4) - 13.03.2024 16:01 [22:06:24]1206 (1) - 0 [22:06:24]OFD Sender: Remove packet 47473 [22:06:24]ProducePacketName [22:06:24]name=ofd_packets/00047473 [22:06:24]NVStorageDeleteData [22:06:24]Write to MH i2c: 01 00 00 38 05 3D [22:06:24]Write i2c OK [22:06:24]MH_I2C_Read... [22:06:24]Read from MH i2c: 01 [22:06:24]MH_I2C_Read... [22:06:24]Read from MH i2c: 01 07 00 [22:06:24]MH_I2C_Read... [22:06:24]Read from MH i2c: 01 07 00 38 05 00 00 00 00 00 EB 0C 3B [22:06:24]RasterBufferAndPrint [22:06:24]line [22:06:24]line [22:06:24]line [22:06:24]line [22:06:24]line [22:06:24]written 0, free lines is 3313 [22:06:24]MH_Cut [22:06:24]Write to MH i2c: D1 01 00 3F 05 01 16 [22:06:24]Write i2c OK [22:06:24]MH_I2C_Read... [22:06:24]Read from MH i2c: D1 [22:06:24]MH_I2C_Read... [22:06:24]Read from MH i2c: D1 01 00 [22:06:24]MH_I2C_Read... [22:06:24]Read from MH i2c: D1 01 00 3F 05 00 15 [22:06:24]Write to MH i2c: 01 00 00 40 05 45 [22:06:24]Write i2c OK [22:06:24]MH_I2C_Read... [22:06:24]OFD Sender: No OFD packet to send [22:06:25]*** Cut start [22:06:25]*** Purtial cut [22:06:25]*** Stage 1: CUTSNS_PIN = 1 [22:06:25]Read from MH i2c: 01 [22:06:25]MH_I2C_Read... [22:06:25]*** Stop cut motor [22:06:25]*** Cut end [22:06:25]Read from MH i2c: 01 07 00 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: 01 07 00 40 05 00 00 00 00 00 FF 0F 5A [22:06:25]process_action close_receipt done [22:06:25]requested_data is exist [22:06:25]produce_requested_data [22:06:25]requested_item fm.sn is exist - process it [22:06:25]wFMCommunicate request_size=4 [22:06:25]MH_SAM_APDU [22:06:25]CAPDU: 80 11 00 00 [22:06:25]Write to MH i2c: E2 08 00 41 05 80 11 00 00 00 00 00 00 C0 [22:06:25]Write i2c OK [22:06:25]MH_I2C_Read... [22:06:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:06:25]Read from MH i2c: E2 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: E2 17 00 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: E2 17 00 41 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 12 [22:06:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:06:25]wFMCommunicate OK [22:06:25]requested_item fd.num is exist - process it [22:06:25]SAM_PROTO_GetFieldsCounters [22:06:25]wFMCommunicate request_size=4 [22:06:25]MH_SAM_APDU [22:06:25]CAPDU: 80 13 00 00 [22:06:25]Write to MH i2c: E2 08 00 42 05 80 13 00 00 00 00 00 00 C3 [22:06:25]Write i2c OK [22:06:25]MH_I2C_Read... [22:06:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:06:25]Read from MH i2c: E2 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: E2 62 00 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: E2 62 00 42 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 71 B9 00 00 0E 04 04 00 3C 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 [22:06:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 71 B9 00 00 0E 04 04 00 3C 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 [22:06:25]wFMCommunicate OK [22:06:25]SAM_PROTO_GetFieldsCounters done [22:06:25]requested_item shift.num is exist - process it [22:06:25]requested_item shift.opened is exist - process it [22:06:25]req_shift_opened [22:06:25]FM_GetShiftState [22:06:25]SAM_PROTO_GetShiftState [22:06:25]wFMCommunicate request_size=4 [22:06:25]MH_SAM_APDU [22:06:25]CAPDU: 80 13 01 00 [22:06:25]Write to MH i2c: E2 08 00 43 05 80 13 01 00 00 00 00 00 C5 [22:06:25]Write i2c OK [22:06:25]MH_I2C_Read... [22:06:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:06:25]Read from MH i2c: E2 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: E2 0E 00 [22:06:25]MH_I2C_Read... [22:06:25]Read from MH i2c: E2 0E 00 43 05 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 E2 [22:06:25]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:06:25]wFMCommunicate OK [22:06:25]SAM_PROTO_GetShiftState done [22:06:25]FM_GetShiftState done [22:06:25]req_shift_opened done [22:06:25]requested_item shift.open_date is exist - process it [22:06:25]req_shift_open_date [22:06:25]req_shift_open_date done [22:06:25]produce_requested_data done [22:06:25]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47473,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:06:25]process_action_free close_receipt [22:06:25]json_value_free [22:06:25]json_value_free done [22:06:25]process_json_proto returns [22:06:25]Send response to host [22:06:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47473,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:06:25]free response buf [22:06:25]execute_script done [22:06:25]execute_script returns [22:06:25]free content buf [22:06:25]Sock 7.Close socket [22:06:25]Sock 7.Thread stoped [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:28]accept exits with 9 [22:08:28]New connection [22:08:28]New thread 3067174244 created [22:08:28]Thread 3067030884 joined [22:08:28]Waiting for new connection... [22:08:28] Sock 9.Parse request [22:08:28]Sock 9.Check first char [22:08:28]Sock 9.First char is OK [22:08:28]request: POST /json_proto HTTP/1.0 [22:08:28]Method: POST [22:08:28]URL: /json_proto [22:08:28]Method is POST - this is cgi request [22:08:28]url: /json_proto [22:08:28]query_string will be loaded in cgi processing [22:08:28]execute_cgi json_proto POST (null) [22:08:28]execute_cgi path=json_proto method=POST [22:08:28]POST find Content-Length [22:08:28]Host: 172.17.32.68:8080 [22:08:28]Content-Length: 1020 [22:08:28]Content-Type: application/json [22:08:28] [22:08:28]POST finish read [22:08:28]Found Content-Length = 1020 [22:08:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242384", "tax_sys" : 0, "items" : [ { "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000151200112", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043B\u043E\u0439\u043A\u0430 \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:08:28]execute_script... [22:08: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)242384", "tax_sys" : 0, "items" : [ { "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000151200112", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043B\u043E\u0439\u043A\u0430 \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:08:28]POST & json_proto [22:08:28]process_json_proto [22:08:28]json parsed OK: [22:08:28]protocol is kg_v1.0 [22:08:28]action value=close_receipt [22:08:28]process_action close_receipt [22:08:28]cmd_close_receipt [22:08:28]MH_GetDate [22:08:28]Write to MH i2c: F0 00 00 44 05 38 [22:08:28]Write i2c OK [22:08:28]MH_I2C_Read... [22:08:28]Read from MH i2c: F0 [22:08:28]MH_I2C_Read... [22:08:28]Read from MH i2c: F0 09 00 [22:08:28]MH_I2C_Read... [22:08:28]Read from MH i2c: F0 09 00 44 05 00 DD 23 F2 65 0A 64 6E 65 D9 [22:08:28]GetLastDocTimeStamp 1710367582 [22:08:28]current date 1710367709 [22:08:28]FM_GetShiftState [22:08:28]SAM_PROTO_GetShiftState [22:08:28]wFMCommunicate request_size=4 [22:08:28]MH_SAM_APDU [22:08:28]CAPDU: 80 13 01 00 [22:08:28]Write to MH i2c: E2 08 00 45 05 80 13 01 00 00 00 00 00 C7 [22:08:28]Write i2c OK [22:08:28]MH_I2C_Read... [22:08:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:08:28]Read from MH i2c: E2 [22:08:28]MH_I2C_Read... [22:08:28]Read from MH i2c: E2 0E 00 [22:08:28]MH_I2C_Read... [22:08:28]Read from MH i2c: E2 0E 00 45 05 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 E4 [22:08:28]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:08:28]wFMCommunicate OK [22:08:28]SAM_PROTO_GetShiftState done [22:08:28]FM_GetShiftState done [22:08:28]opened in 1710338059 [22:08:28]opened+sec_in_day 1710424459 [22:08:28]quantity*price = 7900 [22:08:28]sum+1 = 7901 [22:08:28]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000151200112 АКЦИЯ Слойка треугольная курица 110г 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 33 13.03.2024 22:08 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47474 ФПД: 175743039538830 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220829&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47474&fm=175743039538830&tin=02508201610067®Number=0000000000092018&sum=13400 0 [22:08:29]StoreToDocumentArchive [22:08:29]shift 316 fd 47474 [22:08:29]save to /storage/0316/doc_00047474 [22:08:29]save last doc name /storage/0316/doc_00047474 to /storage/kkm_last_doc_name [22:08:29]save OK [22:08:29]Clear old archive folders... [22:08:29]ProcessDocumentItem done err = 0, tmpTLVsize=422 [22:08:29]tlvbuf is 011894B0 [22:08:29]SAM_PROTO_ClearQueue [22:08:29]wFMCommunicate request_size=4 [22:08:29]MH_SAM_APDU [22:08:29]CAPDU: 80 09 00 00 [22:08:29]Write to MH i2c: E2 08 00 52 05 80 09 00 00 00 00 00 00 C9 [22:08:29]Write i2c OK [22:08:29]MH_I2C_Read... [22:08:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:08:29]Read from MH i2c: E2 [22:08:29]MH_I2C_Read... [22:08:29]Read from MH i2c: E2 03 00 [22:08:29]MH_I2C_Read... [22:08:29]Read from MH i2c: E2 03 00 52 05 00 90 00 CB [22:08:29]RAPDU: 90 00 [22:08:29]wFMCommunicate OK [22:08:29]SAM_PROTO_ClearQueue done [22:08:29]KKMCreateOFDPacket [22:08:29]OFDProtocolAddRootSTLVToBuf [22:08:29]FM_MakeSignedData [22:08:29]FM_MakeSignedData [22:08:29]SAM_PROTO_SignData [22:08:29]wFMCommunicate request_size=4 [22:08:29]MH_SAM_APDU [22:08:29]CAPDU: 80 0D 01 02 [22:08:29]Write to MH i2c: E2 08 00 53 05 80 0D 01 02 00 00 00 00 D1 [22:08:29]Write i2c OK [22:08:29]MH_I2C_Read... [22:08:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:08:29]Read from MH i2c: E2 [22:08:29]MH_I2C_Read... [22:08:29]Read from MH i2c: E2 03 00 [22:08:29]MH_I2C_Read... [22:08:29]Read from MH i2c: E2 03 00 53 05 00 90 00 CC [22:08:29]RAPDU: 90 00 [22:08:29]wFMCommunicate OK [22:08:29]wFMCommunicate request_size=255 [22:08:29]MH_SAM_APDU [22:08:29]CAPDU: 80 0D 02 02 FA 03 00 A6 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 [22:08:29]Write to MH i2c: E2 02 01 54 05 80 0D 02 02 FA 00 03 00 A6 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 00 00 DA [22:08:29]Write i2c OK [22:08:29]MH_I2C_Read... [22:08:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:08:29]Read from MH i2c: E2 [22:08:29]MH_I2C_Read... [22:08:29]Read from MH i2c: E2 03 00 [22:08:29]MH_I2C_Read... [22:08:29]Read from MH i2c: E2 03 00 54 05 00 90 00 CD [22:08:29]RAPDU: 90 00 [22:08:29]wFMCommunicate OK [22:08:29]wFMCommunicate request_size=181 [22:08:29]MH_SAM_APDU [22:08:29]CAPDU: 80 0D 02 02 B0 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DD 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 72 B9 00 00 35 04 06 00 9F D6 5D 71 86 8E [22:08:29]Write to MH i2c: E2 B8 00 55 05 80 0D 02 02 B0 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DD 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 72 B9 00 00 35 04 06 00 9F D6 5D 71 86 8E 00 00 88 [22:08:29]Write i2c OK [22:08:29]MH_I2C_Read... [22:08:29]OFD Sender: No OFD packet to send [22:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:08:30]Read from MH i2c: E2 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: E2 03 00 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: E2 03 00 55 05 00 90 00 CE [22:08:30]RAPDU: 90 00 [22:08:30]wFMCommunicate OK [22:08:30]wFMCommunicate request_size=4 [22:08:30]MH_SAM_APDU [22:08:30]CAPDU: 80 0D 03 02 [22:08:30]Write to MH i2c: E2 08 00 56 05 80 0D 03 02 00 00 00 00 D6 [22:08:30]Write i2c OK [22:08:30]MH_I2C_Read... [22:08:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:08:30]Read from MH i2c: E2 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: E2 0B 00 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: E2 0B 00 56 05 00 4C 29 E9 1C FA 5B 4A 20 90 00 10 [22:08:30]RAPDU: 4C 29 E9 1C FA 5B 4A 20 90 00 [22:08:30]wFMCommunicate OK [22:08:30]SAM_PROTO_SignData done [22:08:30]FM_MakeSignedData done [22:08:30]CreateOFDProtocolMessage [22:08:30]wFMCommunicate request_size=4 [22:08:30]MH_SAM_APDU [22:08:30]CAPDU: 80 11 00 00 [22:08:30]Write to MH i2c: E2 08 00 57 05 80 11 00 00 00 00 00 00 D6 [22:08:30]Write i2c OK [22:08:30]MH_I2C_Read... [22:08:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:08:30]Read from MH i2c: E2 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: E2 17 00 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: E2 17 00 57 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 28 [22:08:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:08:30]wFMCommunicate OK [22:08:30]CreateOFDProtocolMessage done [22:08:30]OFDSenderStorePacket 47474 [22:08:30]StoreOFDPacket docnum=47474 [22:08:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 BA 01 00 00 57 92 B2 01 5F C3 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DD 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 72 B9 00 00 35 04 06 00 9F D6 5D 71 86 8E 4C 29 E9 1C FA 5B 4A 20 [22:08:30]CheckFolder [22:08:30]dirname=/storage/ofd_packets [22:08:30]CheckFolder done [22:08:30]ProducePacketName [22:08:30]name=ofd_packets/00047474 [22:08:30]NVStorageSaveData ofd_packets/00047474 [22:08:30]File name is /storage/ofd_packets/00047474 [22:08:30]Write 472 bytes [22:08:30]NVStorageSaveData done [22:08:30]OFDSenderStorePacket done [22:08:30]KKMCreateOFDPacket done [22:08:30]NVStorageSaveData kkm_last_timestamp [22:08:30]File name is /storage/kkm_last_timestamp [22:08:30]Write 4 bytes [22:08:30]NVStorageSaveData done [22:08:30]ExternCall_PrintAddStr [22:08:30]wPrintStart [22:08:30]Write to MH i2c: 01 00 00 58 05 5D [22:08:30]OFD Sender: Processing packet 47474 [packets to send 8, broken 7] [22:08:30]ProducePacketName [22:08:30]name=ofd_packets/00047474 [22:08:30]OFD Sender: To server: pG, [22:08:30]CommunicateWithHost lk.salyk.kg:30040 [22:08:30]ConnectInit lk.salyk.kg [22:08:30]Write i2c OK [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: 01 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: 01 07 00 [22:08:30]MH_I2C_Read... [22:08:30]Read from MH i2c: 01 07 00 58 05 00 00 00 00 00 FF 0F 72 [22:08:30]RasterBufferAndPrint [22:08:30]line Счет N : (3)242384 [22:08:30]line ИНН: 02508201610067 [22:08:30]line Контрольно-Кассовый Чек [22:08:30]line ПРОДАЖА [22:08:30]line Товар: 4607015235777 [22:08:30]line Печ. сд. Яшкино вишня 137г [22:08:30]line 1.000 * 79.00 [22:08:30]line = 79.00 [22:08:30]line НДС 12% НСП 1% [22:08:30]line > о реализуемом товаре [22:08:30]line Товар: 2000151200112 [22:08:30]line АКЦИЯ Слойка треугольная курица 110г [22:08:30]line 1.000 * 55.00 [22:08:30]line = 55.00 [22:08:30]line НДС 12% НСП 1% [22:08:30]line > о реализуемом товаре [22:08:30]line ИТОГО: 134.00 [22:08:30]line НСП 1% : 1.19 [22:08:30]line НДС 12% : 14.23 [22:08:30]line Наличными: 134.00 [22:08:30]line Безнал.: 0.00 [22:08:30]line Место: АЗС № 15 "Партнер Нефть" [22:08:30]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:08:30]line СНО: Общий режим [22:08:30]line Чек 33 13.03.2024 22:08 [22:08:30]line Смена: 316 ФФД: 1.0 [22:08:30]line ЗНМ: 0300000097 [22:08:30]line РНМ: 0000000000092018 [22:08:30]line Версия ККМ: 001 [22:08:30]line ФМ: 0000000000871816 [22:08:30]line ФД: 47474 [22:08:30]line ФПД: 175743039538830 [22:08:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220829&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47474&fm=175743039538830&tin=02508201610067®Number=0000000000092018&sum=13400 [22:08:30]line 0 [22:08:30]written 0, free lines is 4095 [22:08:30]Connected sock=10 [22:08:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 BA 01 00 00 57 92 B2 01 5F C3 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DD 23 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 72 B9 00 00 35 04 06 00 9F D6 5D 71 86 8E 4C 29 E9 1C FA 5B 4A 20 [22:08:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 14 9D 47 00 EF 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 72 B9 00 00 F4 03 04 00 6A CE F1 65 B6 04 01 00 00 DF B2 81 09 81 F6 55 0A [22:08:30]CommunicateWithHost err = 0 [22:08:30]CheckOFDResponse [22:08:30]1017 (14) - 77093643461234 [22:08:30]1041 (16) - 0000000000871816 [22:08:30]1040 (4) - 47474 [22:08:30]1012 (4) - 13.03.2024 16:03 [22:08:30]1206 (1) - 0 [22:08:30]OFD Sender: Remove packet 47474 [22:08:30]ProducePacketName [22:08:30]name=ofd_packets/00047474 [22:08:30]NVStorageDeleteData [22:08:31]Write to MH i2c: 01 00 00 87 05 8C [22:08:31]Write i2c OK [22:08:31]MH_I2C_Read... [22:08:31]Read from MH i2c: 01 [22:08:31]MH_I2C_Read... [22:08:31]Read from MH i2c: 01 07 00 [22:08:31]MH_I2C_Read... [22:08:31]Read from MH i2c: 01 07 00 87 05 00 00 00 00 00 77 0C 16 [22:08:31]RasterBufferAndPrint [22:08:31]line [22:08:31]line [22:08:31]line [22:08:31]line [22:08:31]line [22:08:31]written 0, free lines is 3200 [22:08:31]MH_Cut [22:08:31]Write to MH i2c: D1 01 00 8E 05 01 65 [22:08:31]Write i2c OK [22:08:31]MH_I2C_Read... [22:08:31]Read from MH i2c: D1 [22:08:31]MH_I2C_Read... [22:08:31]Read from MH i2c: D1 01 00 [22:08:31]MH_I2C_Read... [22:08:31]Read from MH i2c: D1 01 00 8E 05 00 64 [22:08:31]Write to MH i2c: 01 00 00 8F 05 94 [22:08:31]Write i2c OK [22:08:31]MH_I2C_Read... [22:08:31]OFD Sender: No OFD packet to send [22:08:31]*** Cut start [22:08:31]*** Purtial cut [22:08:31]*** Stage 1: CUTSNS_PIN = 1 [22:08:32]Read from MH i2c: 01 [22:08:32]MH_I2C_Read... [22:08:32]*** Stop cut motor [22:08:32]*** Cut end [22:08:32]Read from MH i2c: 01 07 00 [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: 01 07 00 8F 05 00 00 00 00 00 FF 0F A9 [22:08:32]process_action close_receipt done [22:08:32]requested_data is exist [22:08:32]produce_requested_data [22:08:32]requested_item fm.sn is exist - process it [22:08:32]wFMCommunicate request_size=4 [22:08:32]MH_SAM_APDU [22:08:32]CAPDU: 80 11 00 00 [22:08:32]Write to MH i2c: E2 08 00 90 05 80 11 00 00 00 00 00 00 0F [22:08:32]Write i2c OK [22:08:32]MH_I2C_Read... [22:08:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:08:32]Read from MH i2c: E2 [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: E2 17 00 [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: E2 17 00 90 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 61 [22:08:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:08:32]wFMCommunicate OK [22:08:32]requested_item fd.num is exist - process it [22:08:32]SAM_PROTO_GetFieldsCounters [22:08:32]wFMCommunicate request_size=4 [22:08:32]MH_SAM_APDU [22:08:32]CAPDU: 80 13 00 00 [22:08:32]Write to MH i2c: E2 08 00 91 05 80 13 00 00 00 00 00 00 12 [22:08:32]Write i2c OK [22:08:32]MH_I2C_Read... [22:08:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:08:32]Read from MH i2c: E2 [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: E2 62 00 [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: E2 62 00 91 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 72 B9 00 00 0E 04 04 00 3C 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 F8 [22:08:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 72 B9 00 00 0E 04 04 00 3C 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 [22:08:32]wFMCommunicate OK [22:08:32]SAM_PROTO_GetFieldsCounters done [22:08:32]requested_item shift.num is exist - process it [22:08:32]requested_item shift.opened is exist - process it [22:08:32]req_shift_opened [22:08:32]FM_GetShiftState [22:08:32]SAM_PROTO_GetShiftState [22:08:32]wFMCommunicate request_size=4 [22:08:32]MH_SAM_APDU [22:08:32]CAPDU: 80 13 01 00 [22:08:32]Write to MH i2c: E2 08 00 92 05 80 13 01 00 00 00 00 00 14 [22:08:32]Write i2c OK [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: E2 [22:08:32]MH_I2C_Read... [22:08:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:08:32]Read from MH i2c: E2 0E 00 [22:08:32]MH_I2C_Read... [22:08:32]Read from MH i2c: E2 0E 00 92 05 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 31 [22:08:32]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:08:32]wFMCommunicate OK [22:08:32]SAM_PROTO_GetShiftState done [22:08:32]FM_GetShiftState done [22:08:32]req_shift_opened done [22:08:32]requested_item shift.open_date is exist - process it [22:08:32]req_shift_open_date [22:08:32]req_shift_open_date done [22:08:32]produce_requested_data done [22:08:32]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47474,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:08:32]process_action_free close_receipt [22:08:32]json_value_free [22:08:32]json_value_free done [22:08:32]process_json_proto returns [22:08:32]Send response to host [22:08:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47474,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:08:32]free response buf [22:08:32]execute_script done [22:08:32]execute_script returns [22:08:32]free content buf [22:08:32]Sock 9.Close socket [22:08:32]Sock 9.Thread stoped [22:08:36]OFD Sender: No OFD packet to send [22:08:36]int [22:08:36]Write to MH i2c: 01 00 00 93 05 98 [22:08:36]*** FLAG_PRN_PAP1 set [22:08:36]Write i2c OK [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 93 05 00 01 00 00 00 FF 0F AE [22:08:36]state=0 [22:08:36]No paper [22:08:36]int [22:08:36]Write to MH i2c: 01 00 00 94 05 99 [22:08:36]*** FLAG_PRN_PAP2 set [22:08:36]Write i2c OK [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 94 05 00 03 00 00 00 FF 0F B1 [22:08:36]state=0 [22:08:36]No paper [22:08:36]Cover opened [22:08:36]int [22:08:36]Write to MH i2c: 01 00 00 95 05 9A [22:08:36]*** FLAG_PRN_PAP2 reset [22:08:36]Write i2c OK [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 95 05 00 01 00 00 00 FF 0F B0 [22:08:36]state=3 [22:08:36]No paper [22:08:36]Cover closed [22:08:36]int [22:08:36]Write to MH i2c: 01 00 00 96 05 9B [22:08:36]*** FLAG_PRN_PAP2 set [22:08:36]Write i2c OK [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 [22:08:36]MH_I2C_Read... [22:08:36]Read from MH i2c: 01 07 00 96 05 00 03 00 00 00 FF 0F B3 [22:08:36]state=0 [22:08:36]No paper [22:08:36]Cover opened [22:08:41]OFD Sender: No OFD packet to send [22:08:41]Write to MH i2c: 01 00 00 97 05 9C [22:08:41]Write i2c OK [22:08:41]MH_I2C_Read... [22:08:41]Read from MH i2c: 01 [22:08:41]MH_I2C_Read... [22:08:41]Read from MH i2c: 01 07 00 [22:08:41]MH_I2C_Read... [22:08:41]Read from MH i2c: 01 07 00 97 05 00 03 00 00 00 FF 0F B4 [22:08:41]state=3 [22:08:41]No paper [22:08:41]Cover opened [22:08:45]int [22:08:45]Write to MH i2c: 01 00 00 98 05 9D [22:08:45]*** FLAG_PRN_PAP2 reset [22:08:45]Write i2c OK [22:08:45]MH_I2C_Read... [22:08:45]Read from MH i2c: 01 [22:08:45]MH_I2C_Read... [22:08:45]Read from MH i2c: 01 07 00 [22:08:45]MH_I2C_Read... [22:08:45]Read from MH i2c: 01 07 00 98 05 00 01 00 00 00 FF 0F B3 [22:08:45]state=3 [22:08:45]No paper [22:08:45]Cover closed [22:08:45]int [22:08:45]Write to MH i2c: 01 00 00 99 05 9E [22:08:45]*** FLAG_PRN_PAP1 reset [22:08:45]Write i2c OK [22:08:45]MH_I2C_Read... [22:08:45]Read from MH i2c: 01 [22:08:45]MH_I2C_Read... [22:08:45]Read from MH i2c: 01 07 00 [22:08:45]MH_I2C_Read... [22:08:45]Read from MH i2c: 01 07 00 99 05 00 00 00 00 00 FF 0F B3 [22:08:45]state=0 [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:47]accept exits with 7 [22:09:47]New connection [22:09:47]New thread 3067030884 created [22:09:47]Thread 3067174244 joined [22:09:47]Waiting for new connection... [22:09:47] Sock 7.Parse request [22:09:47]Sock 7.Check first char [22:09:47]Sock 7.First char is OK [22:09:47]request: POST /json_proto HTTP/1.0 [22:09:47]Method: POST [22:09:47]URL: /json_proto [22:09:47]Method is POST - this is cgi request [22:09:47]url: /json_proto [22:09:47]query_string will be loaded in cgi processing [22:09:47]execute_cgi json_proto POST (null) [22:09:47]execute_cgi path=json_proto method=POST [22:09:47]POST find Content-Length [22:09:47]Host: 172.17.32.68:8080 [22:09:47]Content-Length: 623 [22:09:47]Content-Type: application/json [22:09:47] [22:09:47]POST finish read [22:09:47]Found Content-Length = 623 [22:09:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242385", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:47]execute_script... [22:09: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)242385", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:47]POST & json_proto [22:09:47]process_json_proto [22:09:47]json parsed OK: [22:09:47]protocol is kg_v1.0 [22:09:47]action value=close_receipt [22:09:47]process_action close_receipt [22:09:47]cmd_close_receipt [22:09:47]MH_GetDate [22:09:47]Write to MH i2c: F0 00 00 9A 05 8E [22:09:47]Write i2c OK [22:09:47]MH_I2C_Read... [22:09:47]Read from MH i2c: F0 [22:09:47]MH_I2C_Read... [22:09:47]Read from MH i2c: F0 09 00 [22:09:47]MH_I2C_Read... [22:09:47]Read from MH i2c: F0 09 00 9A 05 00 2B 24 F2 65 0A 64 6E 65 7E [22:09:47]GetLastDocTimeStamp 1710367709 [22:09:47]current date 1710367787 [22:09:47]FM_GetShiftState [22:09:47]SAM_PROTO_GetShiftState [22:09:47]wFMCommunicate request_size=4 [22:09:47]MH_SAM_APDU [22:09:47]CAPDU: 80 13 01 00 [22:09:47]Write to MH i2c: E2 08 00 9B 05 80 13 01 00 00 00 00 00 1D [22:09:47]Write i2c OK [22:09:47]MH_I2C_Read... [22:09:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:47]Read from MH i2c: E2 [22:09:47]MH_I2C_Read... [22:09:47]Read from MH i2c: E2 0E 00 [22:09:47]MH_I2C_Read... [22:09:47]Read from MH i2c: E2 0E 00 9B 05 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 3A [22:09:47]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:09:47]wFMCommunicate OK [22:09:47]SAM_PROTO_GetShiftState done [22:09:47]FM_GetShiftState done [22:09:47]opened in 1710338059 [22:09:47]opened+sec_in_day 1710424459 [22:09:47]quantity*price = 13500 [22:09:47]sum+1 = 13501 [22:09:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 34 13.03.2024 22:09 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47475 ФПД: 134067362459661 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220947&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47475&fm=134067362459661&tin=02508201610067®Number=0000000000092018&sum=13500 0 [22:09:48]StoreToDocumentArchive [22:09:48]shift 316 fd 47475 [22:09:48]save to /storage/0316/doc_00047475 [22:09:48]save last doc name /storage/0316/doc_00047475 to /storage/kkm_last_doc_name [22:09:48]save OK [22:09:48]Clear old archive folders... [22:09:48]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:09:48]tlvbuf is 011C1FC0 [22:09:48]SAM_PROTO_ClearQueue [22:09:48]wFMCommunicate request_size=4 [22:09:48]MH_SAM_APDU [22:09:48]CAPDU: 80 09 00 00 [22:09:48]Write to MH i2c: E2 08 00 A8 05 80 09 00 00 00 00 00 00 1F [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:48]Read from MH i2c: E2 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 A8 05 00 90 00 21 [22:09:48]RAPDU: 90 00 [22:09:48]wFMCommunicate OK [22:09:48]SAM_PROTO_ClearQueue done [22:09:48]KKMCreateOFDPacket [22:09:48]OFDProtocolAddRootSTLVToBuf [22:09:48]FM_MakeSignedData [22:09:48]FM_MakeSignedData [22:09:48]SAM_PROTO_SignData [22:09:48]wFMCommunicate request_size=4 [22:09:48]MH_SAM_APDU [22:09:48]CAPDU: 80 0D 01 02 [22:09:48]Write to MH i2c: E2 08 00 A9 05 80 0D 01 02 00 00 00 00 27 [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:48]Read from MH i2c: E2 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 A9 05 00 90 00 22 [22:09:48]RAPDU: 90 00 [22:09:48]wFMCommunicate OK [22:09:48]wFMCommunicate request_size=255 [22:09:48]MH_SAM_APDU [22:09:48]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 22 00 00 00 F4 03 04 00 2B 24 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [22:09:48]Write to MH i2c: E2 02 01 AA 05 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 22 00 00 00 F4 03 04 00 2B 24 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 A5 [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:48]Read from MH i2c: E2 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 AA 05 00 90 00 23 [22:09:48]RAPDU: 90 00 [22:09:48]wFMCommunicate OK [22:09:48]wFMCommunicate request_size=34 [22:09:48]MH_SAM_APDU [22:09:48]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 73 B9 00 00 35 04 06 00 79 EE FD 83 F0 0D [22:09:48]Write to MH i2c: E2 25 00 AB 05 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 73 B9 00 00 35 04 06 00 79 EE FD 83 F0 0D 00 00 FA [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:48]Read from MH i2c: E2 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 03 00 AB 05 00 90 00 24 [22:09:48]RAPDU: 90 00 [22:09:48]wFMCommunicate OK [22:09:48]wFMCommunicate request_size=4 [22:09:48]MH_SAM_APDU [22:09:48]CAPDU: 80 0D 03 02 [22:09:48]Write to MH i2c: E2 08 00 AC 05 80 0D 03 02 00 00 00 00 2C [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:48]Read from MH i2c: E2 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 0B 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 0B 00 AC 05 00 8F FC B4 4B C1 E4 40 33 90 00 CF [22:09:48]RAPDU: 8F FC B4 4B C1 E4 40 33 90 00 [22:09:48]wFMCommunicate OK [22:09:48]SAM_PROTO_SignData done [22:09:48]FM_MakeSignedData done [22:09:48]CreateOFDProtocolMessage [22:09:48]wFMCommunicate request_size=4 [22:09:48]MH_SAM_APDU [22:09:48]CAPDU: 80 11 00 00 [22:09:48]Write to MH i2c: E2 08 00 AD 05 80 11 00 00 00 00 00 00 2C [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:48]Read from MH i2c: E2 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 17 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: E2 17 00 AD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7E [22:09:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:09:48]wFMCommunicate OK [22:09:48]CreateOFDProtocolMessage done [22:09:48]OFDSenderStorePacket 47475 [22:09:48]StoreOFDPacket docnum=47475 [22:09:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 48 E0 1F 01 CE E7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 22 00 00 00 F4 03 04 00 2B 24 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 73 B9 00 00 35 04 06 00 79 EE FD 83 F0 0D 8F FC B4 4B C1 E4 40 33 [22:09:48]CheckFolder [22:09:48]dirname=/storage/ofd_packets [22:09:48]CheckFolder done [22:09:48]ProducePacketName [22:09:48]name=ofd_packets/00047475 [22:09:48]NVStorageSaveData ofd_packets/00047475 [22:09:48]File name is /storage/ofd_packets/00047475 [22:09:48]Write 325 bytes [22:09:48]NVStorageSaveData done [22:09:48]OFDSenderStorePacket done [22:09:48]KKMCreateOFDPacket done [22:09:48]NVStorageSaveData kkm_last_timestamp [22:09:48]File name is /storage/kkm_last_timestamp [22:09:48]Write 4 bytes [22:09:48]NVStorageSaveData done [22:09:48]ExternCall_PrintAddStr [22:09:48]wPrintStart [22:09:48]Write to MH i2c: 01 00 00 AE 05 B3 [22:09:48]Write i2c OK [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: 01 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: 01 07 00 [22:09:48]MH_I2C_Read... [22:09:48]Read from MH i2c: 01 07 00 AE 05 00 00 00 00 00 FF 0F C8 [22:09:48]RasterBufferAndPrint [22:09:48]line Счет N : (3)242385 [22:09:48]line ИНН: 02508201610067 [22:09:48]line Контрольно-Кассовый Чек [22:09:48]line ПРОДАЖА [22:09:48]line Товар: 48743587 [22:09:48]line Сигареты Winston XStyle Silver [22:09:48]line 1.000 * 135.00 [22:09:48]line = 135.00 [22:09:48]line НДС 12% НСП 1% [22:09:48]line > о реализуемом товаре [22:09:48]line ИТОГО: 135.00 [22:09:48]line НСП 1% : 1.19 [22:09:48]line НДС 12% : 14.34 [22:09:48]line Наличными: 135.00 [22:09:48]line Безнал.: 0.00 [22:09:48]line Место: АЗС № 15 "Партнер Нефть" [22:09:48]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:09:48]line СНО: Общий режим [22:09:48]line Чек 34 13.03.2024 22:09 [22:09:48]line Смена: 316 ФФД: 1.0 [22:09:48]line ЗНМ: 0300000097 [22:09:48]line РНМ: 0000000000092018 [22:09:48]line Версия ККМ: 001 [22:09:48]line ФМ: 0000000000871816 [22:09:48]line ФД: 47475 [22:09:48]line ФПД: 134067362459661 [22:09:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T220947&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47475&fm=134067362459661&tin=02508201610067®Number=0000000000092018&sum=13500 [22:09:49]line 0 [22:09:49]OFD Sender: Processing packet 47475 [packets to send 8, broken 7] [22:09:49]ProducePacketName [22:09:49]name=ofd_packets/00047475 [22:09:49]OFD Sender: To server: pG, [22:09:49]CommunicateWithHost lk.salyk.kg:30040 [22:09:49]ConnectInit lk.salyk.kg [22:09:49]written 0, free lines is 4095 [22:09:49]Connected sock=10 [22:09:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 48 E0 1F 01 CE E7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 22 00 00 00 F4 03 04 00 2B 24 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 73 B9 00 00 35 04 06 00 79 EE FD 83 F0 0D 8F FC B4 4B C1 E4 40 33 [22:09:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 EE EF 47 00 48 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 73 B9 00 00 F4 03 04 00 B9 CE F1 65 B6 04 01 00 00 8B 07 8A 2D 54 C6 B3 A5 [22:09:49]CommunicateWithHost err = 0 [22:09:49]CheckOFDResponse [22:09:49]1017 (14) - 77093643461234 [22:09:49]1041 (16) - 0000000000871816 [22:09:49]1040 (4) - 47475 [22:09:49]1012 (4) - 13.03.2024 16:05 [22:09:49]1206 (1) - 0 [22:09:49]OFD Sender: Remove packet 47475 [22:09:49]ProducePacketName [22:09:49]name=ofd_packets/00047475 [22:09:49]NVStorageDeleteData [22:09:49]Write to MH i2c: 01 00 00 D7 05 DC [22:09:49]Write i2c OK [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: 01 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: 01 07 00 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: 01 07 00 D7 05 00 00 00 00 00 D5 0C C4 [22:09:49]RasterBufferAndPrint [22:09:49]line [22:09:49]line [22:09:49]line [22:09:49]line [22:09:49]line [22:09:49]written 0, free lines is 3291 [22:09:49]MH_Cut [22:09:49]Write to MH i2c: D1 01 00 DE 05 01 B5 [22:09:49]Write i2c OK [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: D1 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: D1 01 00 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: D1 01 00 DE 05 00 B4 [22:09:49]Write to MH i2c: 01 00 00 DF 05 E4 [22:09:49]Write i2c OK [22:09:49]MH_I2C_Read... [22:09:49]OFD Sender: No OFD packet to send [22:09:50]*** Cut start [22:09:50]*** Purtial cut [22:09:50]*** Stage 1: CUTSNS_PIN = 1 [22:09:50]Read from MH i2c: 01 [22:09:50]MH_I2C_Read... [22:09:50]*** Stop cut motor [22:09:50]*** Cut end [22:09:50]Read from MH i2c: 01 07 00 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: 01 07 00 DF 05 00 00 00 00 00 FF 0F F9 [22:09:50]process_action close_receipt done [22:09:50]requested_data is exist [22:09:50]produce_requested_data [22:09:50]requested_item fm.sn is exist - process it [22:09:50]wFMCommunicate request_size=4 [22:09:50]MH_SAM_APDU [22:09:50]CAPDU: 80 11 00 00 [22:09:50]Write to MH i2c: E2 08 00 E0 05 80 11 00 00 00 00 00 00 5F [22:09:50]Write i2c OK [22:09:50]MH_I2C_Read... [22:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:50]Read from MH i2c: E2 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 17 00 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 17 00 E0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B1 [22:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:09:50]wFMCommunicate OK [22:09:50]requested_item fd.num is exist - process it [22:09:50]SAM_PROTO_GetFieldsCounters [22:09:50]wFMCommunicate request_size=4 [22:09:50]MH_SAM_APDU [22:09:50]CAPDU: 80 13 00 00 [22:09:50]Write to MH i2c: E2 08 00 E1 05 80 13 00 00 00 00 00 00 62 [22:09:50]Write i2c OK [22:09:50]MH_I2C_Read... [22:09:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:50]Read from MH i2c: E2 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 62 00 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 62 00 E1 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 73 B9 00 00 0E 04 04 00 3C 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 4C [22:09:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 73 B9 00 00 0E 04 04 00 3C 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 [22:09:50]wFMCommunicate OK [22:09:50]SAM_PROTO_GetFieldsCounters done [22:09:50]requested_item shift.num is exist - process it [22:09:50]requested_item shift.opened is exist - process it [22:09:50]req_shift_opened [22:09:50]FM_GetShiftState [22:09:50]SAM_PROTO_GetShiftState [22:09:50]wFMCommunicate request_size=4 [22:09:50]MH_SAM_APDU [22:09:50]CAPDU: 80 13 01 00 [22:09:50]Write to MH i2c: E2 08 00 E2 05 80 13 01 00 00 00 00 00 64 [22:09:50]Write i2c OK [22:09:50]MH_I2C_Read... [22:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:50]Read from MH i2c: E2 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 0E 00 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 0E 00 E2 05 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 81 [22:09:50]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:09:50]wFMCommunicate OK [22:09:50]SAM_PROTO_GetShiftState done [22:09:50]FM_GetShiftState done [22:09:50]req_shift_opened done [22:09:50]requested_item shift.open_date is exist - process it [22:09:50]req_shift_open_date [22:09:50]req_shift_open_date done [22:09:50]produce_requested_data done [22:09:50]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47475,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:09:50]process_action_free close_receipt [22:09:50]json_value_free [22:09:50]json_value_free done [22:09:50]process_json_proto returns [22:09:50]Send response to host [22:09:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47475,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:09:50]free response buf [22:09:50]execute_script done [22:09:50]execute_script returns [22:09:50]free content buf [22:09:50]Sock 7.Close socket [22:09:50]Sock 7.Thread stoped [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:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:15]OFD Sender: No OFD packet to send [22:14:20]OFD Sender: No OFD packet to send [22:14:21]accept exits with 9 [22:14:21]New connection [22:14:21]New thread 3067174244 created [22:14:21]Thread 3067030884 joined [22:14:21]Waiting for new connection... [22:14:21] Sock 9.Parse request [22:14:21]Sock 9.Check first char [22:14:21]Sock 9.First char is OK [22:14:21]request: POST /json_proto HTTP/1.0 [22:14:21]Method: POST [22:14:21]URL: /json_proto [22:14:21]Method is POST - this is cgi request [22:14:21]url: /json_proto [22:14:21]query_string will be loaded in cgi processing [22:14:21]execute_cgi json_proto POST (null) [22:14:21]execute_cgi path=json_proto method=POST [22:14:21]POST find Content-Length [22:14:21]Host: 172.17.32.68:8080 [22:14:21]Content-Length: 822 [22:14:21]Content-Type: application/json [22:14:21] [22:14:21]POST finish read [22:14:21]Found Content-Length = 822 [22:14:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242386", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:21]execute_script... [22:14: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)242386", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:21]POST & json_proto [22:14:21]process_json_proto [22:14:21]json parsed OK: [22:14:21]protocol is kg_v1.0 [22:14:21]action value=close_receipt [22:14:21]process_action close_receipt [22:14:21]cmd_close_receipt [22:14:21]MH_GetDate [22:14:21]Write to MH i2c: F0 00 00 E3 05 D7 [22:14:21]Write i2c OK [22:14:21]MH_I2C_Read... [22:14:21]Read from MH i2c: F0 [22:14:21]MH_I2C_Read... [22:14:21]Read from MH i2c: F0 09 00 [22:14:21]MH_I2C_Read... [22:14:21]Read from MH i2c: F0 09 00 E3 05 00 3E 25 F2 65 0A 64 6E 65 DB [22:14:21]GetLastDocTimeStamp 1710367787 [22:14:21]current date 1710368062 [22:14:21]FM_GetShiftState [22:14:21]SAM_PROTO_GetShiftState [22:14:21]wFMCommunicate request_size=4 [22:14:21]MH_SAM_APDU [22:14:21]CAPDU: 80 13 01 00 [22:14:21]Write to MH i2c: E2 08 00 E4 05 80 13 01 00 00 00 00 00 66 [22:14:21]Write i2c OK [22:14:21]MH_I2C_Read... [22:14:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:22]Read from MH i2c: E2 [22:14:22]MH_I2C_Read... [22:14:22]Read from MH i2c: E2 0E 00 [22:14:22]MH_I2C_Read... [22:14:22]Read from MH i2c: E2 0E 00 E4 05 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 83 [22:14:22]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:14:22]wFMCommunicate OK [22:14:22]SAM_PROTO_GetShiftState done [22:14:22]FM_GetShiftState done [22:14:22]opened in 1710338059 [22:14:22]opened+sec_in_day 1710424459 [22:14:22]quantity*price = 6000 [22:14:22]sum+1 = 6001 [22:14:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 35 13.03.2024 22:14 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47476 ФПД: 196076786483000 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T221422&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47476&fm=196076786483000&tin=02508201610067®Number=0000000000092018&sum=6000 0 [22:14:23]StoreToDocumentArchive [22:14:23]shift 316 fd 47476 [22:14:23]save to /storage/0316/doc_00047476 [22:14:23]save last doc name /storage/0316/doc_00047476 to /storage/kkm_last_doc_name [22:14:23]save OK [22:14:23]Clear old archive folders... [22:14:23]ProcessDocumentItem done err = 0, tmpTLVsize=271 [22:14:23]tlvbuf is 011C8040 [22:14:23]SAM_PROTO_ClearQueue [22:14:23]wFMCommunicate request_size=4 [22:14:23]MH_SAM_APDU [22:14:23]CAPDU: 80 09 00 00 [22:14:23]Write to MH i2c: E2 08 00 F1 05 80 09 00 00 00 00 00 00 68 [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:14:23]Read from MH i2c: E2 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 F1 05 00 90 00 6A [22:14:23]RAPDU: 90 00 [22:14:23]wFMCommunicate OK [22:14:23]SAM_PROTO_ClearQueue done [22:14:23]KKMCreateOFDPacket [22:14:23]OFDProtocolAddRootSTLVToBuf [22:14:23]FM_MakeSignedData [22:14:23]FM_MakeSignedData [22:14:23]SAM_PROTO_SignData [22:14:23]wFMCommunicate request_size=4 [22:14:23]MH_SAM_APDU [22:14:23]CAPDU: 80 0D 01 02 [22:14:23]Write to MH i2c: E2 08 00 F2 05 80 0D 01 02 00 00 00 00 70 [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:14:23]Read from MH i2c: E2 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 F2 05 00 90 00 6B [22:14:23]RAPDU: 90 00 [22:14:23]wFMCommunicate OK [22:14:23]wFMCommunicate request_size=255 [22:14:23]MH_SAM_APDU [22:14:23]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3E 25 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [22:14:23]Write to MH i2c: E2 02 01 F3 05 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3E 25 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 B4 [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:23]Read from MH i2c: E2 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 F3 05 00 90 00 6C [22:14:23]RAPDU: 90 00 [22:14:23]wFMCommunicate OK [22:14:23]wFMCommunicate request_size=30 [22:14:23]MH_SAM_APDU [22:14:23]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 74 B9 00 00 35 04 06 00 B2 54 AF 34 FF 38 [22:14:23]Write to MH i2c: E2 21 00 F4 05 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 74 B9 00 00 35 04 06 00 B2 54 AF 34 FF 38 00 00 B8 [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:23]Read from MH i2c: E2 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 03 00 F4 05 00 90 00 6D [22:14:23]RAPDU: 90 00 [22:14:23]wFMCommunicate OK [22:14:23]wFMCommunicate request_size=4 [22:14:23]MH_SAM_APDU [22:14:23]CAPDU: 80 0D 03 02 [22:14:23]Write to MH i2c: E2 08 00 F5 05 80 0D 03 02 00 00 00 00 75 [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:14:23]Read from MH i2c: E2 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 0B 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 0B 00 F5 05 00 C1 D8 D8 91 E3 3C 65 17 90 00 13 [22:14:23]RAPDU: C1 D8 D8 91 E3 3C 65 17 90 00 [22:14:23]wFMCommunicate OK [22:14:23]SAM_PROTO_SignData done [22:14:23]FM_MakeSignedData done [22:14:23]CreateOFDProtocolMessage [22:14:23]wFMCommunicate request_size=4 [22:14:23]MH_SAM_APDU [22:14:23]CAPDU: 80 11 00 00 [22:14:23]Write to MH i2c: E2 08 00 F6 05 80 11 00 00 00 00 00 00 75 [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:23]Read from MH i2c: E2 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 17 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: E2 17 00 F6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C7 [22:14:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:14:23]wFMCommunicate OK [22:14:23]CreateOFDProtocolMessage done [22:14:23]OFDSenderStorePacket 47476 [22:14:23]StoreOFDPacket docnum=47476 [22:14:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 D6 6E 1B 01 73 6F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3E 25 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 74 B9 00 00 35 04 06 00 B2 54 AF 34 FF 38 C1 D8 D8 91 E3 3C 65 17 [22:14:23]CheckFolder [22:14:23]dirname=/storage/ofd_packets [22:14:23]CheckFolder done [22:14:23]ProducePacketName [22:14:23]name=ofd_packets/00047476 [22:14:23]NVStorageSaveData ofd_packets/00047476 [22:14:23]File name is /storage/ofd_packets/00047476 [22:14:23]Write 321 bytes [22:14:23]NVStorageSaveData done [22:14:23]OFDSenderStorePacket done [22:14:23]KKMCreateOFDPacket done [22:14:23]NVStorageSaveData kkm_last_timestamp [22:14:23]File name is /storage/kkm_last_timestamp [22:14:23]Write 4 bytes [22:14:23]NVStorageSaveData done [22:14:23]ExternCall_PrintAddStr [22:14:23]wPrintStart [22:14:23]Write to MH i2c: 01 00 00 F7 05 FC [22:14:23]Write i2c OK [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: 01 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: 01 07 00 [22:14:23]MH_I2C_Read... [22:14:23]Read from MH i2c: 01 07 00 F7 05 00 00 00 00 00 FF 0F 11 [22:14:23]RasterBufferAndPrint [22:14:23]line Счет N : (3)242386 [22:14:23]line ИНН: 02508201610067 [22:14:23]line Контрольно-Кассовый Чек [22:14:23]line ПРОДАЖА [22:14:23]line Товар: 4700000160204 [22:14:23]line Вода Легенда 1,5л [22:14:23]line 1.000 * 60.00 [22:14:23]line = 60.00 [22:14:23]line НДС 12% НСП 1% [22:14:23]line > о реализуемом товаре [22:14:23]line ИТОГО: 60.00 [22:14:23]line НСП 1% : 0.53 [22:14:23]line НДС 12% : 6.37 [22:14:23]line Наличными: 0.00 [22:14:23]line Безнал.: 60.00 [22:14:23]line Место: АЗС № 15 "Партнер Нефть" [22:14:23]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:14:23]line СНО: Общий режим [22:14:23]line Чек 35 13.03.2024 22:14 [22:14:23]line Смена: 316 ФФД: 1.0 [22:14:23]line ЗНМ: 0300000097 [22:14:23]line РНМ: 0000000000092018 [22:14:23]line Версия ККМ: 001 [22:14:23]line Платежная система: Демир КИ Банк [22:14:23]line ФМ: 0000000000871816 [22:14:23]line ФД: 47476 [22:14:23]line ФПД: 196076786483000 [22:14:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T221422&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47476&fm=196076786483000&tin=02508201610067®Number=0000000000092018&sum=6000 [22:14:24]line 0 [22:14:24]OFD Sender: Processing packet 47476 [packets to send 8, broken 7] [22:14:24]ProducePacketName [22:14:24]name=ofd_packets/00047476 [22:14:24]OFD Sender: To server: pG, [22:14:24]CommunicateWithHost lk.salyk.kg:30040 [22:14:24]ConnectInit lk.salyk.kg [22:14:24]written 0, free lines is 4095 [22:14:24]Connected sock=10 [22:14:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 D6 6E 1B 01 73 6F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3E 25 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 74 B9 00 00 35 04 06 00 B2 54 AF 34 FF 38 C1 D8 D8 91 E3 3C 65 17 [22:14:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 2B 9D 47 00 E1 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 31 38 31 36 10 04 04 00 74 B9 00 00 F4 03 04 00 CC CF F1 65 B6 04 01 00 00 7E B9 41 27 B6 5B 26 27 [22:14:24]CommunicateWithHost err = 0 [22:14:24]CheckOFDResponse [22:14:24]1017 (14) - 77093643461234 [22:14:24]1041 (16) - 0000000000871816 [22:14:24]1040 (4) - 47476 [22:14:24]1012 (4) - 13.03.2024 16:09 [22:14:24]1206 (1) - 0 [22:14:24]OFD Sender: Remove packet 47476 [22:14:24]ProducePacketName [22:14:24]name=ofd_packets/00047476 [22:14:24]NVStorageDeleteData [22:14:24]Write to MH i2c: 01 00 00 21 06 27 [22:14:24]Write i2c OK [22:14:24]MH_I2C_Read... [22:14:24]Read from MH i2c: 01 [22:14:24]MH_I2C_Read... [22:14:24]Read from MH i2c: 01 07 00 [22:14:24]MH_I2C_Read... [22:14:24]Read from MH i2c: 01 07 00 21 06 00 00 00 00 00 E3 0C 1D [22:14:24]RasterBufferAndPrint [22:14:24]line [22:14:24]line [22:14:24]line [22:14:24]line [22:14:24]line [22:14:24]written 0, free lines is 3305 [22:14:24]MH_Cut [22:14:24]Write to MH i2c: D1 01 00 28 06 01 00 [22:14:24]Write i2c OK [22:14:24]MH_I2C_Read... [22:14:24]Read from MH i2c: D1 [22:14:24]MH_I2C_Read... [22:14:24]Read from MH i2c: D1 01 00 [22:14:24]MH_I2C_Read... [22:14:24]Read from MH i2c: D1 01 00 28 06 00 FF [22:14:24]Write to MH i2c: 01 00 00 29 06 2F [22:14:24]Write i2c OK [22:14:24]MH_I2C_Read... [22:14:24]OFD Sender: No OFD packet to send [22:14:25]*** Cut start [22:14:25]*** Purtial cut [22:14:25]*** Stage 1: CUTSNS_PIN = 1 [22:14:25]Read from MH i2c: 01 [22:14:25]MH_I2C_Read... [22:14:25]*** Stop cut motor [22:14:25]*** Cut end [22:14:25]Read from MH i2c: 01 07 00 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: 01 07 00 29 06 00 00 00 00 00 FF 0F 44 [22:14:25]process_action close_receipt done [22:14:25]requested_data is exist [22:14:25]produce_requested_data [22:14:25]requested_item fm.sn is exist - process it [22:14:25]wFMCommunicate request_size=4 [22:14:25]MH_SAM_APDU [22:14:25]CAPDU: 80 11 00 00 [22:14:25]Write to MH i2c: E2 08 00 2A 06 80 11 00 00 00 00 00 00 AA [22:14:25]Write i2c OK [22:14:25]MH_I2C_Read... [22:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:25]Read from MH i2c: E2 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: E2 17 00 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: E2 17 00 2A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FC [22:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:14:25]wFMCommunicate OK [22:14:25]requested_item fd.num is exist - process it [22:14:25]SAM_PROTO_GetFieldsCounters [22:14:25]wFMCommunicate request_size=4 [22:14:25]MH_SAM_APDU [22:14:25]CAPDU: 80 13 00 00 [22:14:25]Write to MH i2c: E2 08 00 2B 06 80 13 00 00 00 00 00 00 AD [22:14:25]Write i2c OK [22:14:25]MH_I2C_Read... [22:14:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:14:25]Read from MH i2c: E2 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: E2 62 00 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: E2 62 00 2B 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 74 B9 00 00 0E 04 04 00 3C 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 9B [22:14:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 74 B9 00 00 0E 04 04 00 3C 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 [22:14:25]wFMCommunicate OK [22:14:25]SAM_PROTO_GetFieldsCounters done [22:14:25]requested_item shift.num is exist - process it [22:14:25]requested_item shift.opened is exist - process it [22:14:25]req_shift_opened [22:14:25]FM_GetShiftState [22:14:25]SAM_PROTO_GetShiftState [22:14:25]wFMCommunicate request_size=4 [22:14:25]MH_SAM_APDU [22:14:25]CAPDU: 80 13 01 00 [22:14:25]Write to MH i2c: E2 08 00 2C 06 80 13 01 00 00 00 00 00 AF [22:14:25]Write i2c OK [22:14:25]MH_I2C_Read... [22:14:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:25]Read from MH i2c: E2 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: E2 0E 00 [22:14:25]MH_I2C_Read... [22:14:25]Read from MH i2c: E2 0E 00 2C 06 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 CC [22:14:25]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:14:25]wFMCommunicate OK [22:14:25]SAM_PROTO_GetShiftState done [22:14:25]FM_GetShiftState done [22:14:25]req_shift_opened done [22:14:25]requested_item shift.open_date is exist - process it [22:14:25]req_shift_open_date [22:14:25]req_shift_open_date done [22:14:25]produce_requested_data done [22:14:25]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47476,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:14:25]process_action_free close_receipt [22:14:25]json_value_free [22:14:25]json_value_free done [22:14:25]process_json_proto returns [22:14:25]Send response to host [22:14:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47476,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:14:25]free response buf [22:14:25]execute_script done [22:14:25]execute_script returns [22:14:25]free content buf [22:14:25]Sock 9.Close socket [22:14:25]Sock 9.Thread stoped [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:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]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:51]accept exits with 7 [22:22:51]New connection [22:22:51]New thread 3067030884 created [22:22:51]Thread 3067174244 joined [22:22:51]Waiting for new connection... [22:22:51] Sock 7.Parse request [22:22:51]Sock 7.Check first char [22:22:51]Sock 7.First char is OK [22:22:51]request: POST /json_proto HTTP/1.0 [22:22:51]Method: POST [22:22:51]URL: /json_proto [22:22:51]Method is POST - this is cgi request [22:22:51]url: /json_proto [22:22:51]query_string will be loaded in cgi processing [22:22:51]execute_cgi json_proto POST (null) [22:22:51]execute_cgi path=json_proto method=POST [22:22:51]POST find Content-Length [22:22:51]Host: 172.17.32.68:8080 [22:22:51]Content-Length: 1079 [22:22:51]Content-Type: application/json [22:22:51] [22:22:51]POST finish read [22:22:51]Found Content-Length = 1079 [22:22:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242387", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:51]execute_script... [22:22: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)242387", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:51]POST & json_proto [22:22:51]process_json_proto [22:22:51]json parsed OK: [22:22:51]protocol is kg_v1.0 [22:22:51]action value=close_receipt [22:22:51]process_action close_receipt [22:22:51]cmd_close_receipt [22:22:51]MH_GetDate [22:22:51]Write to MH i2c: F0 00 00 2D 06 22 [22:22:51]Write i2c OK [22:22:51]MH_I2C_Read... [22:22:51]Read from MH i2c: F0 [22:22:51]MH_I2C_Read... [22:22:51]Read from MH i2c: F0 09 00 [22:22:51]MH_I2C_Read... [22:22:51]Read from MH i2c: F0 09 00 2D 06 00 3C 27 F2 65 0A 64 6E 65 26 [22:22:51]GetLastDocTimeStamp 1710368062 [22:22:51]current date 1710368572 [22:22:51]FM_GetShiftState [22:22:51]SAM_PROTO_GetShiftState [22:22:51]wFMCommunicate request_size=4 [22:22:51]MH_SAM_APDU [22:22:51]CAPDU: 80 13 01 00 [22:22:51]Write to MH i2c: E2 08 00 2E 06 80 13 01 00 00 00 00 00 B1 [22:22:51]Write i2c OK [22:22:51]MH_I2C_Read... [22:22:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:51]Read from MH i2c: E2 [22:22:51]MH_I2C_Read... [22:22:51]Read from MH i2c: E2 0E 00 [22:22:51]MH_I2C_Read... [22:22:51]Read from MH i2c: E2 0E 00 2E 06 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 CE [22:22:51]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:22:51]wFMCommunicate OK [22:22:51]SAM_PROTO_GetShiftState done [22:22:51]FM_GetShiftState done [22:22:51]opened in 1710338059 [22:22:51]opened+sec_in_day 1710424459 [22:22:51]quantity*price = 12500 [22:22:51]sum+1 = 12501 [22:22:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42113270 Жев Orbit арбуз 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 0.00 Безнал.: 165.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 36 13.03.2024 22:22 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871816 ФД: 47477 ФПД: 109119651073000 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222252&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47477&fm=109119651073000&tin=02508201610067®Number=0000000000092018&sum=16500 0 [22:22:52]StoreToDocumentArchive [22:22:52]shift 316 fd 47477 [22:22:52]save to /storage/0316/doc_00047477 [22:22:52]save last doc name /storage/0316/doc_00047477 to /storage/kkm_last_doc_name [22:22:52]save OK [22:22:52]Clear old archive folders... [22:22:52]ProcessDocumentItem done err = 0, tmpTLVsize=386 [22:22:52]tlvbuf is 01195B10 [22:22:52]SAM_PROTO_ClearQueue [22:22:52]wFMCommunicate request_size=4 [22:22:52]MH_SAM_APDU [22:22:52]CAPDU: 80 09 00 00 [22:22:52]Write to MH i2c: E2 08 00 3B 06 80 09 00 00 00 00 00 00 B3 [22:22:52]Write i2c OK [22:22:52]MH_I2C_Read... [22:22:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:22:52]Read from MH i2c: E2 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 3B 06 00 90 00 B5 [22:22:52]RAPDU: 90 00 [22:22:52]wFMCommunicate OK [22:22:52]SAM_PROTO_ClearQueue done [22:22:52]KKMCreateOFDPacket [22:22:52]OFDProtocolAddRootSTLVToBuf [22:22:52]FM_MakeSignedData [22:22:52]FM_MakeSignedData [22:22:52]SAM_PROTO_SignData [22:22:52]wFMCommunicate request_size=4 [22:22:52]MH_SAM_APDU [22:22:52]CAPDU: 80 0D 01 02 [22:22:52]Write to MH i2c: E2 08 00 3C 06 80 0D 01 02 00 00 00 00 BB [22:22:52]Write i2c OK [22:22:52]MH_I2C_Read... [22:22:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:22:52]Read from MH i2c: E2 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 3C 06 00 90 00 B6 [22:22:52]RAPDU: 90 00 [22:22:52]wFMCommunicate OK [22:22:52]wFMCommunicate request_size=255 [22:22:52]MH_SAM_APDU [22:22:52]CAPDU: 80 0D 02 02 FA 03 00 82 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B 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 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [22:22:52]Write to MH i2c: E2 02 01 3D 06 80 0D 02 02 FA 00 03 00 82 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B 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 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 9E [22:22:52]Write i2c OK [22:22:52]MH_I2C_Read... [22:22:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:52]Read from MH i2c: E2 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 3D 06 00 90 00 B7 [22:22:52]RAPDU: 90 00 [22:22:52]wFMCommunicate OK [22:22:52]wFMCommunicate request_size=145 [22:22:52]MH_SAM_APDU [22:22:52]CAPDU: 80 0D 02 02 8C 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 3C 27 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 75 B9 00 00 35 04 06 00 63 3E 66 0A 4B E8 [22:22:52]Write to MH i2c: E2 94 00 3E 06 80 0D 02 02 8C 00 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 3C 27 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 75 B9 00 00 35 04 06 00 63 3E 66 0A 4B E8 00 00 B4 [22:22:52]Write i2c OK [22:22:52]MH_I2C_Read... [22:22:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:52]Read from MH i2c: E2 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 03 00 3E 06 00 90 00 B8 [22:22:52]RAPDU: 90 00 [22:22:52]wFMCommunicate OK [22:22:52]wFMCommunicate request_size=4 [22:22:52]MH_SAM_APDU [22:22:52]CAPDU: 80 0D 03 02 [22:22:52]Write to MH i2c: E2 08 00 3F 06 80 0D 03 02 00 00 00 00 C0 [22:22:52]Write i2c OK [22:22:52]MH_I2C_Read... [22:22:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:22:52]Read from MH i2c: E2 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 0B 00 [22:22:52]MH_I2C_Read... [22:22:52]Read from MH i2c: E2 0B 00 3F 06 00 34 65 30 EE 24 58 E5 0A 90 00 E3 [22:22:52]RAPDU: 34 65 30 EE 24 58 E5 0A 90 00 [22:22:52]wFMCommunicate OK [22:22:52]SAM_PROTO_SignData done [22:22:52]FM_MakeSignedData done [22:22:52]CreateOFDProtocolMessage [22:22:52]wFMCommunicate request_size=4 [22:22:52]MH_SAM_APDU [22:22:52]CAPDU: 80 11 00 00 [22:22:52]Write to MH i2c: E2 08 00 40 06 80 11 00 00 00 00 00 00 C0 [22:22:52]Write i2c OK [22:22:52]MH_I2C_Read... [22:22:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:53]Read from MH i2c: E2 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: E2 17 00 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: E2 17 00 40 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 12 [22:22:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:22:53]wFMCommunicate OK [22:22:53]CreateOFDProtocolMessage done [22:22:53]OFDSenderStorePacket 47477 [22:22:53]StoreOFDPacket docnum=47477 [22:22:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 96 01 00 00 C1 A9 8E 01 E0 F5 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B 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 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 3C 27 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 75 B9 00 00 35 04 06 00 63 3E 66 0A 4B E8 34 65 30 EE 24 58 E5 0A [22:22:53]CheckFolder [22:22:53]dirname=/storage/ofd_packets [22:22:53]CheckFolder done [22:22:53]ProducePacketName [22:22:53]name=ofd_packets/00047477 [22:22:53]NVStorageSaveData ofd_packets/00047477 [22:22:53]File name is /storage/ofd_packets/00047477 [22:22:53]Write 436 bytes [22:22:53]NVStorageSaveData done [22:22:53]OFDSenderStorePacket done [22:22:53]KKMCreateOFDPacket done [22:22:53]NVStorageSaveData kkm_last_timestamp [22:22:53]File name is /storage/kkm_last_timestamp [22:22:53]Write 4 bytes [22:22:53]NVStorageSaveData done [22:22:53]ExternCall_PrintAddStr [22:22:53]wPrintStart [22:22:53]Write to MH i2c: 01 00 00 41 06 47 [22:22:53]OFD Sender: Processing packet 47477 [packets to send 8, broken 7] [22:22:53]ProducePacketName [22:22:53]name=ofd_packets/00047477 [22:22:53]OFD Sender: To server: pG, [22:22:53]CommunicateWithHost lk.salyk.kg:30040 [22:22:53]ConnectInit lk.salyk.kg [22:22:53]Write i2c OK [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: 01 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: 01 07 00 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: 01 07 00 41 06 00 00 00 00 00 FF 0F 5C [22:22:53]RasterBufferAndPrint [22:22:53]line Счет N : (3)242387 [22:22:53]line ИНН: 02508201610067 [22:22:53]line Контрольно-Кассовый Чек [22:22:53]line ПРОДАЖА [22:22:53]line Товар: 4870202521261 [22:22:53]line Напиток MAXI чай 1,2 лесные ягоды [22:22:53]line 1.000 * 125.00 [22:22:53]line = 125.00 [22:22:53]line НДС 12% НСП 1% [22:22:53]line > о реализуемом товаре [22:22:53]line Товар: 42113270 [22:22:53]line Жев Orbit арбуз [22:22:53]line 1.000 * 40.00 [22:22:53]line = 40.00 [22:22:53]line НДС 12% НСП 1% [22:22:53]line > о реализуемом товаре [22:22:53]line ИТОГО: 165.00 [22:22:53]line НСП 1% : 1.46 [22:22:53]line НДС 12% : 17.52 [22:22:53]line Наличными: 0.00 [22:22:53]line Безнал.: 165.00 [22:22:53]line Место: АЗС № 15 "Партнер Нефть" [22:22:53]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:22:53]line СНО: Общий режим [22:22:53]line Чек 36 13.03.2024 22:22 [22:22:53]line Смена: 316 ФФД: 1.0 [22:22:53]line ЗНМ: 0300000097 [22:22:53]line РНМ: 0000000000092018 [22:22:53]line Версия ККМ: 001 [22:22:53]line Платежная система: O! деньги [22:22:53]line ФМ: 0000000000871816 [22:22:53]line ФД: 47477 [22:22:53]line ФПД: 109119651073000 [22:22:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222252&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47477&fm=109119651073000&tin=02508201610067®Number=0000000000092018&sum=16500 [22:22:53]line 0 [22:22:53]written 0, free lines is 4095 [22:22:53]Connected sock=9 [22:22:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 96 01 00 00 C1 A9 8E 01 E0 F5 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 BB D0 B5 D1 81 D0 BD D1 8B 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 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 3C 27 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 75 B9 00 00 35 04 06 00 63 3E 66 0A 4B E8 34 65 30 EE 24 58 E5 0A [22:22:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 79 71 47 00 60 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 75 B9 00 00 F4 03 04 00 C9 D1 F1 65 B6 04 01 00 00 50 45 85 F6 8F 8F 42 20 [22:22:53]CommunicateWithHost err = 0 [22:22:53]CheckOFDResponse [22:22:53]1017 (14) - 77093643461234 [22:22:53]1041 (16) - 0000000000871816 [22:22:53]1040 (4) - 47477 [22:22:53]1012 (4) - 13.03.2024 16:18 [22:22:53]1206 (1) - 0 [22:22:53]OFD Sender: Remove packet 47477 [22:22:53]ProducePacketName [22:22:53]name=ofd_packets/00047477 [22:22:53]NVStorageDeleteData [22:22:53]Write to MH i2c: 01 00 00 72 06 78 [22:22:53]Write i2c OK [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: 01 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: 01 07 00 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: 01 07 00 72 06 00 00 00 00 00 5D 0C E8 [22:22:53]RasterBufferAndPrint [22:22:53]line [22:22:53]line [22:22:53]line [22:22:53]line [22:22:53]line [22:22:53]written 0, free lines is 3172 [22:22:53]MH_Cut [22:22:53]Write to MH i2c: D1 01 00 79 06 01 51 [22:22:53]Write i2c OK [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: D1 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: D1 01 00 [22:22:53]MH_I2C_Read... [22:22:53]Read from MH i2c: D1 01 00 79 06 00 50 [22:22:53]Write to MH i2c: 01 00 00 7A 06 80 [22:22:53]Write i2c OK [22:22:53]MH_I2C_Read... [22:22:54]OFD Sender: No OFD packet to send [22:22:54]*** Cut start [22:22:54]*** Purtial cut [22:22:54]*** Stage 1: CUTSNS_PIN = 1 [22:22:55]Read from MH i2c: 01 [22:22:55]MH_I2C_Read... [22:22:55]*** Stop cut motor [22:22:55]*** Cut end [22:22:55]Read from MH i2c: 01 07 00 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: 01 07 00 7A 06 00 00 00 00 00 FF 0F 95 [22:22:55]process_action close_receipt done [22:22:55]requested_data is exist [22:22:55]produce_requested_data [22:22:55]requested_item fm.sn is exist - process it [22:22:55]wFMCommunicate request_size=4 [22:22:55]MH_SAM_APDU [22:22:55]CAPDU: 80 11 00 00 [22:22:55]Write to MH i2c: E2 08 00 7B 06 80 11 00 00 00 00 00 00 FB [22:22:55]Write i2c OK [22:22:55]MH_I2C_Read... [22:22:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:55]Read from MH i2c: E2 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: E2 17 00 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: E2 17 00 7B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4D [22:22:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:22:55]wFMCommunicate OK [22:22:55]requested_item fd.num is exist - process it [22:22:55]SAM_PROTO_GetFieldsCounters [22:22:55]wFMCommunicate request_size=4 [22:22:55]MH_SAM_APDU [22:22:55]CAPDU: 80 13 00 00 [22:22:55]Write to MH i2c: E2 08 00 7C 06 80 13 00 00 00 00 00 00 FE [22:22:55]Write i2c OK [22:22:55]MH_I2C_Read... [22:22:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:22:55]Read from MH i2c: E2 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: E2 62 00 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: E2 62 00 7C 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 75 B9 00 00 0E 04 04 00 3C 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 F0 [22:22:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 75 B9 00 00 0E 04 04 00 3C 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 [22:22:55]wFMCommunicate OK [22:22:55]SAM_PROTO_GetFieldsCounters done [22:22:55]requested_item shift.num is exist - process it [22:22:55]requested_item shift.opened is exist - process it [22:22:55]req_shift_opened [22:22:55]FM_GetShiftState [22:22:55]SAM_PROTO_GetShiftState [22:22:55]wFMCommunicate request_size=4 [22:22:55]MH_SAM_APDU [22:22:55]CAPDU: 80 13 01 00 [22:22:55]Write to MH i2c: E2 08 00 7D 06 80 13 01 00 00 00 00 00 00 [22:22:55]Write i2c OK [22:22:55]MH_I2C_Read... [22:22:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:55]Read from MH i2c: E2 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: E2 0E 00 [22:22:55]MH_I2C_Read... [22:22:55]Read from MH i2c: E2 0E 00 7D 06 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1D [22:22:55]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:22:55]wFMCommunicate OK [22:22:55]SAM_PROTO_GetShiftState done [22:22:55]FM_GetShiftState done [22:22:55]req_shift_opened done [22:22:55]requested_item shift.open_date is exist - process it [22:22:55]req_shift_open_date [22:22:55]req_shift_open_date done [22:22:55]produce_requested_data done [22:22:55]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47477,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:22:55]process_action_free close_receipt [22:22:55]json_value_free [22:22:55]json_value_free done [22:22:55]process_json_proto returns [22:22:55]Send response to host [22:22:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47477,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:22:55]free response buf [22:22:55]execute_script done [22:22:55]execute_script returns [22:22:55]free content buf [22:22:55]Sock 7.Close socket [22:22:55]Sock 7.Thread stoped [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:21]accept exits with 10 [22:28:21]New connection [22:28:21]New thread 3067174244 created [22:28:21]Thread 3067030884 joined [22:28:21]Waiting for new connection... [22:28:21] Sock 10.Parse request [22:28:21]Sock 10.Check first char [22:28:21]Sock 10.First char is OK [22:28:21]request: POST /json_proto HTTP/1.0 [22:28:21]Method: POST [22:28:21]URL: /json_proto [22:28:21]Method is POST - this is cgi request [22:28:21]url: /json_proto [22:28:21]query_string will be loaded in cgi processing [22:28:21]execute_cgi json_proto POST (null) [22:28:21]execute_cgi path=json_proto method=POST [22:28:21]POST find Content-Length [22:28:21]Host: 172.17.32.68:8080 [22:28:21]Content-Length: 809 [22:28:21]Content-Type: application/json [22:28:21] [22:28:21]POST finish read [22:28:21]Found Content-Length = 809 [22:28:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242388", "tax_sys" : 0, "items" : [ { "code": "48745505", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD SS Yellow Jazz", "price" : 116.00, "quantity" : 1.000, "sum" : 116.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 116.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:28:21]execute_script... [22:28: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)242388", "tax_sys" : 0, "items" : [ { "code": "48745505", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD SS Yellow Jazz", "price" : 116.00, "quantity" : 1.000, "sum" : 116.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 116.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:28:21]POST & json_proto [22:28:21]process_json_proto [22:28:21]json parsed OK: [22:28:21]protocol is kg_v1.0 [22:28:21]action value=close_receipt [22:28:21]process_action close_receipt [22:28:21]cmd_close_receipt [22:28:21]MH_GetDate [22:28:21]Write to MH i2c: F0 00 00 7E 06 73 [22:28:21]Write i2c OK [22:28:21]MH_I2C_Read... [22:28:21]Read from MH i2c: F0 [22:28:21]MH_I2C_Read... [22:28:21]Read from MH i2c: F0 09 00 [22:28:21]MH_I2C_Read... [22:28:21]Read from MH i2c: F0 09 00 7E 06 00 86 28 F2 65 0A 64 6E 65 C2 [22:28:21]GetLastDocTimeStamp 1710368572 [22:28:21]current date 1710368902 [22:28:21]FM_GetShiftState [22:28:21]SAM_PROTO_GetShiftState [22:28:21]wFMCommunicate request_size=4 [22:28:21]MH_SAM_APDU [22:28:21]CAPDU: 80 13 01 00 [22:28:21]Write to MH i2c: E2 08 00 7F 06 80 13 01 00 00 00 00 00 02 [22:28:21]Write i2c OK [22:28:21]MH_I2C_Read... [22:28:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:28:21]Read from MH i2c: E2 [22:28:21]MH_I2C_Read... [22:28:21]Read from MH i2c: E2 0E 00 [22:28:21]MH_I2C_Read... [22:28:21]Read from MH i2c: E2 0E 00 7F 06 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1F [22:28:21]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:28:21]wFMCommunicate OK [22:28:21]SAM_PROTO_GetShiftState done [22:28:21]FM_GetShiftState done [22:28:21]opened in 1710338059 [22:28:21]opened+sec_in_day 1710424459 [22:28:21]quantity*price = 11600 [22:28:21]sum+1 = 11601 [22:28:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 116.00 НСП 1% : 1.03 НДС 12% : 12.32 Наличными: 0.00 Безнал.: 116.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 37 13.03.2024 22:28 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47478 ФПД: 211897053918632 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222822&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47478&fm=211897053918632&tin=02508201610067®Number=0000000000092018&sum=11600 0 [22:28:22]StoreToDocumentArchive [22:28:22]shift 316 fd 47478 [22:28:22]save to /storage/0316/doc_00047478 [22:28:22]save last doc name /storage/0316/doc_00047478 to /storage/kkm_last_doc_name [22:28:22]save OK [22:28:22]Clear old archive folders... [22:28:22]ProcessDocumentItem done err = 0, tmpTLVsize=271 [22:28:22]tlvbuf is 01189040 [22:28:22]SAM_PROTO_ClearQueue [22:28:22]wFMCommunicate request_size=4 [22:28:22]MH_SAM_APDU [22:28:22]CAPDU: 80 09 00 00 [22:28:22]Write to MH i2c: E2 08 00 8C 06 80 09 00 00 00 00 00 00 04 [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:28:22]Read from MH i2c: E2 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 8C 06 00 90 00 06 [22:28:22]RAPDU: 90 00 [22:28:22]wFMCommunicate OK [22:28:22]SAM_PROTO_ClearQueue done [22:28:22]KKMCreateOFDPacket [22:28:22]OFDProtocolAddRootSTLVToBuf [22:28:22]FM_MakeSignedData [22:28:22]FM_MakeSignedData [22:28:22]SAM_PROTO_SignData [22:28:22]wFMCommunicate request_size=4 [22:28:22]MH_SAM_APDU [22:28:22]CAPDU: 80 0D 01 02 [22:28:22]Write to MH i2c: E2 08 00 8D 06 80 0D 01 02 00 00 00 00 0C [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:28:22]Read from MH i2c: E2 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 8D 06 00 90 00 07 [22:28:22]RAPDU: 90 00 [22:28:22]wFMCommunicate OK [22:28:22]wFMCommunicate request_size=255 [22:28:22]MH_SAM_APDU [22:28:22]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 38 37 34 35 35 30 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 53 20 59 65 6C 6C 6F 77 20 4A 61 7A 7A FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 2D 00 00 00 00 13 04 06 00 50 2D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 86 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [22:28:22]Write to MH i2c: E2 02 01 8E 06 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 38 37 34 35 35 30 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 53 20 59 65 6C 6C 6F 77 20 4A 61 7A 7A FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 2D 00 00 00 00 13 04 06 00 50 2D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 86 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 92 [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:28:22]Read from MH i2c: E2 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 8E 06 00 90 00 08 [22:28:22]RAPDU: 90 00 [22:28:22]wFMCommunicate OK [22:28:22]wFMCommunicate request_size=30 [22:28:22]MH_SAM_APDU [22:28:22]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 76 B9 00 00 35 04 06 00 C0 B8 20 A0 B5 A8 [22:28:22]Write to MH i2c: E2 21 00 8F 06 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 76 B9 00 00 35 04 06 00 C0 B8 20 A0 B5 A8 00 00 CB [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:28:22]Read from MH i2c: E2 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 03 00 8F 06 00 90 00 09 [22:28:22]RAPDU: 90 00 [22:28:22]wFMCommunicate OK [22:28:22]wFMCommunicate request_size=4 [22:28:22]MH_SAM_APDU [22:28:22]CAPDU: 80 0D 03 02 [22:28:22]Write to MH i2c: E2 08 00 90 06 80 0D 03 02 00 00 00 00 11 [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:28:22]Read from MH i2c: E2 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 0B 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 0B 00 90 06 00 25 C3 ED D2 3D F5 07 32 90 00 24 [22:28:22]RAPDU: 25 C3 ED D2 3D F5 07 32 90 00 [22:28:22]wFMCommunicate OK [22:28:22]SAM_PROTO_SignData done [22:28:22]FM_MakeSignedData done [22:28:22]CreateOFDProtocolMessage [22:28:22]wFMCommunicate request_size=4 [22:28:22]MH_SAM_APDU [22:28:22]CAPDU: 80 11 00 00 [22:28:22]Write to MH i2c: E2 08 00 91 06 80 11 00 00 00 00 00 00 11 [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:28:22]Read from MH i2c: E2 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 17 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: E2 17 00 91 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 63 [22:28:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:28:22]wFMCommunicate OK [22:28:22]CreateOFDProtocolMessage done [22:28:22]OFDSenderStorePacket 47478 [22:28:22]StoreOFDPacket docnum=47478 [22:28:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 00 90 1B 01 96 3D 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 38 37 34 35 35 30 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 53 20 59 65 6C 6C 6F 77 20 4A 61 7A 7A FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 2D 00 00 00 00 13 04 06 00 50 2D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 86 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 76 B9 00 00 35 04 06 00 C0 B8 20 A0 B5 A8 25 C3 ED D2 3D F5 07 32 [22:28:22]CheckFolder [22:28:22]dirname=/storage/ofd_packets [22:28:22]CheckFolder done [22:28:22]ProducePacketName [22:28:22]name=ofd_packets/00047478 [22:28:22]NVStorageSaveData ofd_packets/00047478 [22:28:22]File name is /storage/ofd_packets/00047478 [22:28:22]Write 321 bytes [22:28:22]NVStorageSaveData done [22:28:22]OFDSenderStorePacket done [22:28:22]KKMCreateOFDPacket done [22:28:22]NVStorageSaveData kkm_last_timestamp [22:28:22]File name is /storage/kkm_last_timestamp [22:28:22]Write 4 bytes [22:28:22]NVStorageSaveData done [22:28:22]ExternCall_PrintAddStr [22:28:22]wPrintStart [22:28:22]Write to MH i2c: 01 00 00 92 06 98 [22:28:22]Write i2c OK [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: 01 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: 01 07 00 [22:28:22]MH_I2C_Read... [22:28:22]Read from MH i2c: 01 07 00 92 06 00 00 00 00 00 FF 0F AD [22:28:22]RasterBufferAndPrint [22:28:22]line Счет N : (3)242388 [22:28:22]line ИНН: 02508201610067 [22:28:22]line Контрольно-Кассовый Чек [22:28:22]line ПРОДАЖА [22:28:22]line Товар: 48745505 [22:28:22]line Сигареты LD SS Yellow Jazz [22:28:22]line 1.000 * 116.00 [22:28:22]line = 116.00 [22:28:22]line НДС 12% НСП 1% [22:28:22]line > о реализуемом товаре [22:28:22]line ИТОГО: 116.00 [22:28:22]line НСП 1% : 1.03 [22:28:22]line НДС 12% : 12.32 [22:28:22]line Наличными: 0.00 [22:28:22]line Безнал.: 116.00 [22:28:22]line Место: АЗС № 15 "Партнер Нефть" [22:28:22]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:28:22]line СНО: Общий режим [22:28:22]line Чек 37 13.03.2024 22:28 [22:28:22]line Смена: 316 ФФД: 1.0 [22:28:22]line ЗНМ: 0300000097 [22:28:22]line РНМ: 0000000000092018 [22:28:22]line Версия ККМ: 001 [22:28:22]line Платежная система: Демир КИ Банк [22:28:22]line ФМ: 0000000000871816 [22:28:22]line ФД: 47478 [22:28:22]line ФПД: 211897053918632 [22:28:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222822&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47478&fm=211897053918632&tin=02508201610067®Number=0000000000092018&sum=11600 [22:28:23]line 0 [22:28:23]OFD Sender: Processing packet 47478 [packets to send 8, broken 7] [22:28:23]ProducePacketName [22:28:23]name=ofd_packets/00047478 [22:28:23]OFD Sender: To server: pG, [22:28:23]CommunicateWithHost lk.salyk.kg:30040 [22:28:23]ConnectInit lk.salyk.kg [22:28:23]written 0, free lines is 4095 [22:28:23]Connected sock=9 [22:28:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 00 90 1B 01 96 3D 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 38 37 34 35 35 30 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 53 20 59 65 6C 6C 6F 77 20 4A 61 7A 7A FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 2D 00 00 00 00 13 04 06 00 50 2D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 86 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 76 B9 00 00 35 04 06 00 C0 B8 20 A0 B5 A8 25 C3 ED D2 3D F5 07 32 [22:28:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 0B BD 47 00 46 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 76 B9 00 00 F4 03 04 00 13 D3 F1 65 B6 04 01 00 00 0B 59 2A 8D DD 98 94 88 [22:28:23]CommunicateWithHost err = 0 [22:28:23]CheckOFDResponse [22:28:23]1017 (14) - 77093643461234 [22:28:23]1041 (16) - 0000000000871816 [22:28:23]1040 (4) - 47478 [22:28:23]1012 (4) - 13.03.2024 16:23 [22:28:23]1206 (1) - 0 [22:28:23]OFD Sender: Remove packet 47478 [22:28:23]ProducePacketName [22:28:23]name=ofd_packets/00047478 [22:28:23]NVStorageDeleteData [22:28:23]Write to MH i2c: 01 00 00 BC 06 C2 [22:28:23]Write i2c OK [22:28:23]MH_I2C_Read... [22:28:23]Read from MH i2c: 01 [22:28:23]MH_I2C_Read... [22:28:23]Read from MH i2c: 01 07 00 [22:28:23]MH_I2C_Read... [22:28:23]Read from MH i2c: 01 07 00 BC 06 00 00 00 00 00 E6 0C BB [22:28:23]RasterBufferAndPrint [22:28:23]line [22:28:23]line [22:28:23]line [22:28:23]line [22:28:23]line [22:28:23]written 0, free lines is 3307 [22:28:23]MH_Cut [22:28:23]Write to MH i2c: D1 01 00 C3 06 01 9B [22:28:23]Write i2c OK [22:28:23]MH_I2C_Read... [22:28:23]Read from MH i2c: D1 [22:28:23]MH_I2C_Read... [22:28:23]Read from MH i2c: D1 01 00 [22:28:23]MH_I2C_Read... [22:28:23]Read from MH i2c: D1 01 00 C3 06 00 9A [22:28:23]Write to MH i2c: 01 00 00 C4 06 CA [22:28:23]Write i2c OK [22:28:23]MH_I2C_Read... [22:28:23]OFD Sender: No OFD packet to send [22:28:24]*** Cut start [22:28:24]*** Purtial cut [22:28:24]*** Stage 1: CUTSNS_PIN = 1 [22:28:24]Read from MH i2c: 01 [22:28:24]MH_I2C_Read... [22:28:24]*** Stop cut motor [22:28:24]*** Cut end [22:28:24]Read from MH i2c: 01 07 00 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: 01 07 00 C4 06 00 00 00 00 00 FF 0F DF [22:28:24]process_action close_receipt done [22:28:24]requested_data is exist [22:28:24]produce_requested_data [22:28:24]requested_item fm.sn is exist - process it [22:28:24]wFMCommunicate request_size=4 [22:28:24]MH_SAM_APDU [22:28:24]CAPDU: 80 11 00 00 [22:28:24]Write to MH i2c: E2 08 00 C5 06 80 11 00 00 00 00 00 00 45 [22:28:24]Write i2c OK [22:28:24]MH_I2C_Read... [22:28:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:28:24]Read from MH i2c: E2 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: E2 17 00 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: E2 17 00 C5 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 97 [22:28:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:28:24]wFMCommunicate OK [22:28:24]requested_item fd.num is exist - process it [22:28:24]SAM_PROTO_GetFieldsCounters [22:28:24]wFMCommunicate request_size=4 [22:28:24]MH_SAM_APDU [22:28:24]CAPDU: 80 13 00 00 [22:28:24]Write to MH i2c: E2 08 00 C6 06 80 13 00 00 00 00 00 00 48 [22:28:24]Write i2c OK [22:28:24]MH_I2C_Read... [22:28:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:28:24]Read from MH i2c: E2 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: E2 62 00 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: E2 62 00 C6 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 76 B9 00 00 0E 04 04 00 3C 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 3E [22:28:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 76 B9 00 00 0E 04 04 00 3C 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 [22:28:24]wFMCommunicate OK [22:28:24]SAM_PROTO_GetFieldsCounters done [22:28:24]requested_item shift.num is exist - process it [22:28:24]requested_item shift.opened is exist - process it [22:28:24]req_shift_opened [22:28:24]FM_GetShiftState [22:28:24]SAM_PROTO_GetShiftState [22:28:24]wFMCommunicate request_size=4 [22:28:24]MH_SAM_APDU [22:28:24]CAPDU: 80 13 01 00 [22:28:24]Write to MH i2c: E2 08 00 C7 06 80 13 01 00 00 00 00 00 4A [22:28:24]Write i2c OK [22:28:24]MH_I2C_Read... [22:28:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:28:24]Read from MH i2c: E2 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: E2 0E 00 [22:28:24]MH_I2C_Read... [22:28:24]Read from MH i2c: E2 0E 00 C7 06 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 67 [22:28:24]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:28:24]wFMCommunicate OK [22:28:24]SAM_PROTO_GetShiftState done [22:28:24]FM_GetShiftState done [22:28:25]req_shift_opened done [22:28:25]requested_item shift.open_date is exist - process it [22:28:25]req_shift_open_date [22:28:25]req_shift_open_date done [22:28:25]produce_requested_data done [22:28:25]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47478,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:28:25]process_action_free close_receipt [22:28:25]json_value_free [22:28:25]json_value_free done [22:28:25]process_json_proto returns [22:28:25]Send response to host [22:28:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47478,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:28:25]free response buf [22:28:25]execute_script done [22:28:25]execute_script returns [22:28:25]free content buf [22:28:25]Sock 10.Close socket [22:28:25]Sock 10.Thread stoped [22:28:28]OFD Sender: No OFD packet to send [22:28:33]OFD Sender: No OFD packet to send [22:28:38]OFD Sender: No OFD packet to send [22:28:43]OFD Sender: No OFD packet to send [22:28:45]accept exits with 7 [22:28:45]New connection [22:28:45]New thread 3067030884 created [22:28:45]Thread 3067174244 joined [22:28:45]Waiting for new connection... [22:28:45] Sock 7.Parse request [22:28:45]Sock 7.Check first char [22:28:45]Sock 7.First char is OK [22:28:45]request: POST /json_proto HTTP/1.0 [22:28:45]Method: POST [22:28:45]URL: /json_proto [22:28:45]Method is POST - this is cgi request [22:28:45]url: /json_proto [22:28:45]query_string will be loaded in cgi processing [22:28:45]execute_cgi json_proto POST (null) [22:28:45]execute_cgi path=json_proto method=POST [22:28:45]POST find Content-Length [22:28:45]Host: 172.17.32.68:8080 [22:28:45]Content-Length: 625 [22:28:45]Content-Type: application/json [22:28:45] [22:28:45]POST finish read [22:28:45]Found Content-Length = 625 [22:28:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242389", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:28:45]execute_script... [22:28:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242389", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:28:45]POST & json_proto [22:28:45]process_json_proto [22:28:45]json parsed OK: [22:28:45]protocol is kg_v1.0 [22:28:45]action value=close_receipt [22:28:45]process_action close_receipt [22:28:45]cmd_close_receipt [22:28:45]MH_GetDate [22:28:45]Write to MH i2c: F0 00 00 C8 06 BD [22:28:45]Write i2c OK [22:28:45]MH_I2C_Read... [22:28:45]Read from MH i2c: F0 [22:28:45]MH_I2C_Read... [22:28:45]Read from MH i2c: F0 09 00 [22:28:45]MH_I2C_Read... [22:28:45]Read from MH i2c: F0 09 00 C8 06 00 9D 28 F2 65 0A 64 6E 65 23 [22:28:45]GetLastDocTimeStamp 1710368902 [22:28:45]current date 1710368925 [22:28:45]FM_GetShiftState [22:28:45]SAM_PROTO_GetShiftState [22:28:45]wFMCommunicate request_size=4 [22:28:45]MH_SAM_APDU [22:28:45]CAPDU: 80 13 01 00 [22:28:45]Write to MH i2c: E2 08 00 C9 06 80 13 01 00 00 00 00 00 4C [22:28:45]Write i2c OK [22:28:45]MH_I2C_Read... [22:28:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:28:45]Read from MH i2c: E2 [22:28:45]MH_I2C_Read... [22:28:45]Read from MH i2c: E2 0E 00 [22:28:45]MH_I2C_Read... [22:28:45]Read from MH i2c: E2 0E 00 C9 06 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 69 [22:28:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:28:45]wFMCommunicate OK [22:28:45]SAM_PROTO_GetShiftState done [22:28:45]FM_GetShiftState done [22:28:45]opened in 1710338059 [22:28:45]opened+sec_in_day 1710424459 [22:28:45]quantity*price = 14500 [22:28:45]sum+1 = 14501 [22:28:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 38 13.03.2024 22:28 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47479 ФПД: 144649493041655 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222845&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47479&fm=144649493041655&tin=02508201610067®Number=0000000000092018&sum=14500 0 [22:28:46]StoreToDocumentArchive [22:28:46]shift 316 fd 47479 [22:28:46]save to /storage/0316/doc_00047479 [22:28:46]save last doc name /storage/0316/doc_00047479 to /storage/kkm_last_doc_name [22:28:46]save OK [22:28:46]Clear old archive folders... [22:28:46]ProcessDocumentItem done err = 0, tmpTLVsize=277 [22:28:46]tlvbuf is 011A7770 [22:28:46]SAM_PROTO_ClearQueue [22:28:46]wFMCommunicate request_size=4 [22:28:46]MH_SAM_APDU [22:28:46]CAPDU: 80 09 00 00 [22:28:46]Write to MH i2c: E2 08 00 D6 06 80 09 00 00 00 00 00 00 4E [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:28:46]Read from MH i2c: E2 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 D6 06 00 90 00 50 [22:28:46]RAPDU: 90 00 [22:28:46]wFMCommunicate OK [22:28:46]SAM_PROTO_ClearQueue done [22:28:46]KKMCreateOFDPacket [22:28:46]OFDProtocolAddRootSTLVToBuf [22:28:46]FM_MakeSignedData [22:28:46]FM_MakeSignedData [22:28:46]SAM_PROTO_SignData [22:28:46]wFMCommunicate request_size=4 [22:28:46]MH_SAM_APDU [22:28:46]CAPDU: 80 0D 01 02 [22:28:46]Write to MH i2c: E2 08 00 D7 06 80 0D 01 02 00 00 00 00 56 [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:28:46]Read from MH i2c: E2 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 D7 06 00 90 00 51 [22:28:46]RAPDU: 90 00 [22:28:46]wFMCommunicate OK [22:28:46]wFMCommunicate request_size=255 [22:28:46]MH_SAM_APDU [22:28:46]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 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 [22:28:46]Write to MH i2c: E2 02 01 D8 06 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 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 00 00 A6 [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:28:46]Read from MH i2c: E2 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 D8 06 00 90 00 52 [22:28:46]RAPDU: 90 00 [22:28:46]wFMCommunicate OK [22:28:46]wFMCommunicate request_size=36 [22:28:46]MH_SAM_APDU [22:28:46]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 77 B9 00 00 35 04 06 00 83 8E D5 A6 51 F7 [22:28:46]Write to MH i2c: E2 27 00 D9 06 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 77 B9 00 00 35 04 06 00 83 8E D5 A6 51 F7 00 00 81 [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:28:46]Read from MH i2c: E2 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 03 00 D9 06 00 90 00 53 [22:28:46]RAPDU: 90 00 [22:28:46]wFMCommunicate OK [22:28:46]wFMCommunicate request_size=4 [22:28:46]MH_SAM_APDU [22:28:46]CAPDU: 80 0D 03 02 [22:28:46]Write to MH i2c: E2 08 00 DA 06 80 0D 03 02 00 00 00 00 5B [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:28:46]Read from MH i2c: E2 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 0B 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 0B 00 DA 06 00 B4 ED 97 5B F0 EB 91 CA 90 00 25 [22:28:46]RAPDU: B4 ED 97 5B F0 EB 91 CA 90 00 [22:28:46]wFMCommunicate OK [22:28:46]SAM_PROTO_SignData done [22:28:46]FM_MakeSignedData done [22:28:46]CreateOFDProtocolMessage [22:28:46]wFMCommunicate request_size=4 [22:28:46]MH_SAM_APDU [22:28:46]CAPDU: 80 11 00 00 [22:28:46]Write to MH i2c: E2 08 00 DB 06 80 11 00 00 00 00 00 00 5B [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:28:46]Read from MH i2c: E2 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 17 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: E2 17 00 DB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AD [22:28:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:28:46]wFMCommunicate OK [22:28:46]CreateOFDProtocolMessage done [22:28:46]OFDSenderStorePacket 47479 [22:28:46]StoreOFDPacket docnum=47479 [22:28:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 29 01 00 00 00 FF 21 01 28 75 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 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 77 B9 00 00 35 04 06 00 83 8E D5 A6 51 F7 B4 ED 97 5B F0 EB 91 CA [22:28:46]CheckFolder [22:28:46]dirname=/storage/ofd_packets [22:28:46]CheckFolder done [22:28:46]ProducePacketName [22:28:46]name=ofd_packets/00047479 [22:28:46]NVStorageSaveData ofd_packets/00047479 [22:28:46]File name is /storage/ofd_packets/00047479 [22:28:46]Write 327 bytes [22:28:46]NVStorageSaveData done [22:28:46]OFDSenderStorePacket done [22:28:46]KKMCreateOFDPacket done [22:28:46]NVStorageSaveData kkm_last_timestamp [22:28:46]File name is /storage/kkm_last_timestamp [22:28:46]Write 4 bytes [22:28:46]NVStorageSaveData done [22:28:46]ExternCall_PrintAddStr [22:28:46]wPrintStart [22:28:46]Write to MH i2c: 01 00 00 DC 06 E2 [22:28:46]Write i2c OK [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: 01 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: 01 07 00 [22:28:46]MH_I2C_Read... [22:28:46]Read from MH i2c: 01 07 00 DC 06 00 00 00 00 00 FF 0F F7 [22:28:46]RasterBufferAndPrint [22:28:46]line Счет N : (3)242389 [22:28:46]line ИНН: 02508201610067 [22:28:46]line Контрольно-Кассовый Чек [22:28:46]line ПРОДАЖА [22:28:46]line Товар: 46230607 [22:28:46]line Сигареты Richmond Bronze Edition [22:28:46]line 1.000 * 145.00 [22:28:46]line = 145.00 [22:28:46]line НДС 12% НСП 1% [22:28:46]line > о реализуемом товаре [22:28:46]line ИТОГО: 145.00 [22:28:46]line НСП 1% : 1.28 [22:28:46]line НДС 12% : 15.40 [22:28:46]line Наличными: 145.00 [22:28:46]line Безнал.: 0.00 [22:28:46]line Место: АЗС № 15 "Партнер Нефть" [22:28:46]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:28:46]line СНО: Общий режим [22:28:46]line Чек 38 13.03.2024 22:28 [22:28:46]line Смена: 316 ФФД: 1.0 [22:28:46]line ЗНМ: 0300000097 [22:28:46]line РНМ: 0000000000092018 [22:28:46]line Версия ККМ: 001 [22:28:46]line ФМ: 0000000000871816 [22:28:46]line ФД: 47479 [22:28:46]line ФПД: 144649493041655 [22:28:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222845&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47479&fm=144649493041655&tin=02508201610067®Number=0000000000092018&sum=14500 [22:28:47]line 0 [22:28:47]OFD Sender: Processing packet 47479 [packets to send 8, broken 7] [22:28:47]ProducePacketName [22:28:47]name=ofd_packets/00047479 [22:28:47]OFD Sender: To server: pG, [22:28:47]CommunicateWithHost lk.salyk.kg:30040 [22:28:47]ConnectInit lk.salyk.kg [22:28:47]written 0, free lines is 4095 [22:28:47]Connected sock=10 [22:28:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 29 01 00 00 00 FF 21 01 28 75 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 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 77 B9 00 00 35 04 06 00 83 8E D5 A6 51 F7 B4 ED 97 5B F0 EB 91 CA [22:28:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 C8 8D 47 00 B3 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 77 B9 00 00 F4 03 04 00 2B D3 F1 65 B6 04 01 00 00 DD E7 CC E6 8F 92 6F 30 [22:28:47]CommunicateWithHost err = 0 [22:28:47]CheckOFDResponse [22:28:47]1017 (14) - 77093643461234 [22:28:47]1041 (16) - 0000000000871816 [22:28:47]1040 (4) - 47479 [22:28:47]1012 (4) - 13.03.2024 16:24 [22:28:47]1206 (1) - 0 [22:28:47]OFD Sender: Remove packet 47479 [22:28:47]ProducePacketName [22:28:47]name=ofd_packets/00047479 [22:28:47]NVStorageDeleteData [22:28:47]Write to MH i2c: 01 00 00 05 07 0C [22:28:47]Write i2c OK [22:28:47]MH_I2C_Read... [22:28:47]Read from MH i2c: 01 [22:28:47]MH_I2C_Read... [22:28:47]Read from MH i2c: 01 07 00 [22:28:47]MH_I2C_Read... [22:28:47]Read from MH i2c: 01 07 00 05 07 00 00 00 00 00 C4 0C E3 [22:28:47]RasterBufferAndPrint [22:28:47]line [22:28:47]line [22:28:47]line [22:28:47]line [22:28:47]line [22:28:47]written 0, free lines is 3272 [22:28:47]MH_Cut [22:28:47]Write to MH i2c: D1 01 00 0C 07 01 E5 [22:28:47]Write i2c OK [22:28:47]MH_I2C_Read... [22:28:47]Read from MH i2c: D1 [22:28:47]MH_I2C_Read... [22:28:47]Read from MH i2c: D1 01 00 [22:28:47]MH_I2C_Read... [22:28:47]Read from MH i2c: D1 01 00 0C 07 00 E4 [22:28:47]Write to MH i2c: 01 00 00 0D 07 14 [22:28:47]Write i2c OK [22:28:47]MH_I2C_Read... [22:28:47]OFD Sender: No OFD packet to send [22:28:48]*** Cut start [22:28:48]*** Purtial cut [22:28:48]*** Stage 1: CUTSNS_PIN = 1 [22:28:48]Read from MH i2c: 01 [22:28:48]MH_I2C_Read... [22:28:48]*** Stop cut motor [22:28:48]*** Cut end [22:28:48]Read from MH i2c: 01 07 00 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: 01 07 00 0D 07 00 00 00 00 00 FF 0F 29 [22:28:48]process_action close_receipt done [22:28:48]requested_data is exist [22:28:48]produce_requested_data [22:28:48]requested_item fm.sn is exist - process it [22:28:48]wFMCommunicate request_size=4 [22:28:48]MH_SAM_APDU [22:28:48]CAPDU: 80 11 00 00 [22:28:48]Write to MH i2c: E2 08 00 0E 07 80 11 00 00 00 00 00 00 8F [22:28:48]Write i2c OK [22:28:48]MH_I2C_Read... [22:28:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:28:48]Read from MH i2c: E2 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: E2 17 00 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: E2 17 00 0E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E1 [22:28:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:28:48]wFMCommunicate OK [22:28:48]requested_item fd.num is exist - process it [22:28:48]SAM_PROTO_GetFieldsCounters [22:28:48]wFMCommunicate request_size=4 [22:28:48]MH_SAM_APDU [22:28:48]CAPDU: 80 13 00 00 [22:28:48]Write to MH i2c: E2 08 00 0F 07 80 13 00 00 00 00 00 00 92 [22:28:48]Write i2c OK [22:28:48]MH_I2C_Read... [22:28:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:28:48]Read from MH i2c: E2 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: E2 62 00 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: E2 62 00 0F 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 77 B9 00 00 0E 04 04 00 3C 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 8C [22:28:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 77 B9 00 00 0E 04 04 00 3C 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 [22:28:48]wFMCommunicate OK [22:28:48]SAM_PROTO_GetFieldsCounters done [22:28:48]requested_item shift.num is exist - process it [22:28:48]requested_item shift.opened is exist - process it [22:28:48]req_shift_opened [22:28:48]FM_GetShiftState [22:28:48]SAM_PROTO_GetShiftState [22:28:48]wFMCommunicate request_size=4 [22:28:48]MH_SAM_APDU [22:28:48]CAPDU: 80 13 01 00 [22:28:48]Write to MH i2c: E2 08 00 10 07 80 13 01 00 00 00 00 00 94 [22:28:48]Write i2c OK [22:28:48]MH_I2C_Read... [22:28:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:28:48]Read from MH i2c: E2 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: E2 0E 00 [22:28:48]MH_I2C_Read... [22:28:48]Read from MH i2c: E2 0E 00 10 07 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 B1 [22:28:48]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:28:48]wFMCommunicate OK [22:28:48]SAM_PROTO_GetShiftState done [22:28:48]FM_GetShiftState done [22:28:48]req_shift_opened done [22:28:48]requested_item shift.open_date is exist - process it [22:28:48]req_shift_open_date [22:28:48]req_shift_open_date done [22:28:48]produce_requested_data done [22:28:48]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47479,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:28:48]process_action_free close_receipt [22:28:48]json_value_free [22:28:48]json_value_free done [22:28:48]process_json_proto returns [22:28:48]Send response to host [22:28:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47479,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:28:48]free response buf [22:28:48]execute_script done [22:28:48]execute_script returns [22:28:48]free content buf [22:28:48]Sock 7.Close socket [22:28:48]Sock 7.Thread stoped [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:09]accept exits with 9 [22:29:09]New connection [22:29:09]New thread 3067174244 created [22:29:09]Thread 3067030884 joined [22:29:09]Waiting for new connection... [22:29:09] Sock 9.Parse request [22:29:09]Sock 9.Check first char [22:29:09]Sock 9.First char is OK [22:29:09]request: POST /json_proto HTTP/1.0 [22:29:09]Method: POST [22:29:09]URL: /json_proto [22:29:09]Method is POST - this is cgi request [22:29:09]url: /json_proto [22:29:09]query_string will be loaded in cgi processing [22:29:09]execute_cgi json_proto POST (null) [22:29:09]execute_cgi path=json_proto method=POST [22:29:09]POST find Content-Length [22:29:09]Host: 172.17.32.68:8080 [22:29:09]Content-Length: 673 [22:29:09]Content-Type: application/json [22:29:09] [22:29:09]POST finish read [22:29:09]Found Content-Length = 673 [22:29:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242390", "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 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:29:09]execute_script... [22:29:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242390", "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 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:29:09]POST & json_proto [22:29:09]process_json_proto [22:29:09]json parsed OK: [22:29:09]protocol is kg_v1.0 [22:29:09]action value=close_receipt [22:29:09]process_action close_receipt [22:29:09]cmd_close_receipt [22:29:09]MH_GetDate [22:29:09]Write to MH i2c: F0 00 00 11 07 07 [22:29:09]Write i2c OK [22:29:09]MH_I2C_Read... [22:29:09]Read from MH i2c: F0 [22:29:09]MH_I2C_Read... [22:29:09]Read from MH i2c: F0 09 00 [22:29:09]MH_I2C_Read... [22:29:09]Read from MH i2c: F0 09 00 11 07 00 B5 28 F2 65 0A 64 6E 65 85 [22:29:09]GetLastDocTimeStamp 1710368925 [22:29:09]current date 1710368949 [22:29:09]FM_GetShiftState [22:29:09]SAM_PROTO_GetShiftState [22:29:09]wFMCommunicate request_size=4 [22:29:09]MH_SAM_APDU [22:29:09]CAPDU: 80 13 01 00 [22:29:09]Write to MH i2c: E2 08 00 12 07 80 13 01 00 00 00 00 00 96 [22:29:09]Write i2c OK [22:29:09]MH_I2C_Read... [22:29:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:29:09]Read from MH i2c: E2 [22:29:09]MH_I2C_Read... [22:29:09]Read from MH i2c: E2 0E 00 [22:29:09]MH_I2C_Read... [22:29:09]Read from MH i2c: E2 0E 00 12 07 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 B3 [22:29:09]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:29:09]wFMCommunicate OK [22:29:09]SAM_PROTO_GetShiftState done [22:29:09]FM_GetShiftState done [22:29:09]opened in 1710338059 [22:29:09]opened+sec_in_day 1710424459 [22:29:09]quantity*price = 22500 [22:29:09]sum+1 = 22501 [22:29:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 39 13.03.2024 22:29 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47480 ФПД: 12866154882281 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222909&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47480&fm=12866154882281&tin=02508201610067®Number=0000000000092018&sum=22500 0 [22:29:10]StoreToDocumentArchive [22:29:10]shift 316 fd 47480 [22:29:10]save to /storage/0316/doc_00047480 [22:29:10]save last doc name /storage/0316/doc_00047480 to /storage/kkm_last_doc_name [22:29:10]save OK [22:29:10]Clear old archive folders... [22:29:10]ProcessDocumentItem done err = 0, tmpTLVsize=297 [22:29:10]tlvbuf is 01194A00 [22:29:10]SAM_PROTO_ClearQueue [22:29:10]wFMCommunicate request_size=4 [22:29:10]MH_SAM_APDU [22:29:10]CAPDU: 80 09 00 00 [22:29:10]Write to MH i2c: E2 08 00 1F 07 80 09 00 00 00 00 00 00 98 [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:29:10]Read from MH i2c: E2 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 1F 07 00 90 00 9A [22:29:10]RAPDU: 90 00 [22:29:10]wFMCommunicate OK [22:29:10]SAM_PROTO_ClearQueue done [22:29:10]KKMCreateOFDPacket [22:29:10]OFDProtocolAddRootSTLVToBuf [22:29:10]FM_MakeSignedData [22:29:10]FM_MakeSignedData [22:29:10]SAM_PROTO_SignData [22:29:10]wFMCommunicate request_size=4 [22:29:10]MH_SAM_APDU [22:29:10]CAPDU: 80 0D 01 02 [22:29:10]Write to MH i2c: E2 08 00 20 07 80 0D 01 02 00 00 00 00 A0 [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:29:10]Read from MH i2c: E2 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 20 07 00 90 00 9B [22:29:10]RAPDU: 90 00 [22:29:10]wFMCommunicate OK [22:29:10]wFMCommunicate request_size=255 [22:29:10]MH_SAM_APDU [22:29:10]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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B5 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [22:29:10]Write to MH i2c: E2 02 01 21 07 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B5 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 78 [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:29:10]Read from MH i2c: E2 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 21 07 00 90 00 9C [22:29:10]RAPDU: 90 00 [22:29:10]wFMCommunicate OK [22:29:10]wFMCommunicate request_size=56 [22:29:10]MH_SAM_APDU [22:29:10]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 78 B9 00 00 35 04 06 00 0B B3 A2 97 64 E9 [22:29:10]Write to MH i2c: E2 3B 00 22 07 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 78 B9 00 00 35 04 06 00 0B B3 A2 97 64 E9 00 00 9D [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:29:10]Read from MH i2c: E2 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 03 00 22 07 00 90 00 9D [22:29:10]RAPDU: 90 00 [22:29:10]wFMCommunicate OK [22:29:10]wFMCommunicate request_size=4 [22:29:10]MH_SAM_APDU [22:29:10]CAPDU: 80 0D 03 02 [22:29:10]Write to MH i2c: E2 08 00 23 07 80 0D 03 02 00 00 00 00 A5 [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:29:10]Read from MH i2c: E2 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 0B 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 0B 00 23 07 00 3D 3D F1 8B 63 55 B9 C2 90 00 CF [22:29:10]RAPDU: 3D 3D F1 8B 63 55 B9 C2 90 00 [22:29:10]wFMCommunicate OK [22:29:10]SAM_PROTO_SignData done [22:29:10]FM_MakeSignedData done [22:29:10]CreateOFDProtocolMessage [22:29:10]wFMCommunicate request_size=4 [22:29:10]MH_SAM_APDU [22:29:10]CAPDU: 80 11 00 00 [22:29:10]Write to MH i2c: E2 08 00 24 07 80 11 00 00 00 00 00 00 A5 [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:29:10]Read from MH i2c: E2 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 17 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: E2 17 00 24 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 F7 [22:29:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:29:10]wFMCommunicate OK [22:29:10]CreateOFDProtocolMessage done [22:29:10]OFDSenderStorePacket 47480 [22:29:10]StoreOFDPacket docnum=47480 [22:29:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3D 01 00 00 A7 6E 35 01 98 98 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B5 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 78 B9 00 00 35 04 06 00 0B B3 A2 97 64 E9 3D 3D F1 8B 63 55 B9 C2 [22:29:10]CheckFolder [22:29:10]dirname=/storage/ofd_packets [22:29:10]CheckFolder done [22:29:10]ProducePacketName [22:29:10]name=ofd_packets/00047480 [22:29:10]NVStorageSaveData ofd_packets/00047480 [22:29:10]File name is /storage/ofd_packets/00047480 [22:29:10]Write 347 bytes [22:29:10]NVStorageSaveData done [22:29:10]OFDSenderStorePacket done [22:29:10]KKMCreateOFDPacket done [22:29:10]NVStorageSaveData kkm_last_timestamp [22:29:10]File name is /storage/kkm_last_timestamp [22:29:10]Write 4 bytes [22:29:10]NVStorageSaveData done [22:29:10]ExternCall_PrintAddStr [22:29:10]wPrintStart [22:29:10]Write to MH i2c: 01 00 00 25 07 2C [22:29:10]Write i2c OK [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: 01 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: 01 07 00 [22:29:10]MH_I2C_Read... [22:29:10]Read from MH i2c: 01 07 00 25 07 00 00 00 00 00 FF 0F 41 [22:29:10]RasterBufferAndPrint [22:29:10]line Счет N : (3)242390 [22:29:10]line ИНН: 02508201610067 [22:29:10]line Контрольно-Кассовый Чек [22:29:10]line ПРОДАЖА [22:29:10]line Товар: 4670003190051 [22:29:10]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [22:29:10]line 1.000 * 225.00 [22:29:10]line = 225.00 [22:29:10]line НДС 12% НСП 1% [22:29:10]line > о реализуемом товаре [22:29:10]line ИТОГО: 225.00 [22:29:10]line НСП 1% : 1.99 [22:29:10]line НДС 12% : 23.89 [22:29:10]line Наличными: 225.00 [22:29:10]line Безнал.: 0.00 [22:29:10]line Место: АЗС № 15 "Партнер Нефть" [22:29:10]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:29:10]line СНО: Общий режим [22:29:10]line Чек 39 13.03.2024 22:29 [22:29:10]line Смена: 316 ФФД: 1.0 [22:29:10]line ЗНМ: 0300000097 [22:29:10]line РНМ: 0000000000092018 [22:29:10]line Версия ККМ: 001 [22:29:10]line ФМ: 0000000000871816 [22:29:10]line ФД: 47480 [22:29:10]line ФПД: 12866154882281 [22:29:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T222909&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47480&fm=12866154882281&tin=02508201610067®Number=0000000000092018&sum=22500 [22:29:11]line 0 [22:29:11]OFD Sender: Processing packet 47480 [packets to send 8, broken 7] [22:29:11]ProducePacketName [22:29:11]name=ofd_packets/00047480 [22:29:11]OFD Sender: To server: pG, [22:29:11]CommunicateWithHost lk.salyk.kg:30040 [22:29:11]ConnectInit lk.salyk.kg [22:29:11]written 0, free lines is 4095 [22:29:11]Connected sock=10 [22:29:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 3D 01 00 00 A7 6E 35 01 98 98 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 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B5 28 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 78 B9 00 00 35 04 06 00 0B B3 A2 97 64 E9 3D 3D F1 8B 63 55 B9 C2 [22:29:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 4A DD 47 00 8C E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 78 B9 00 00 F4 03 04 00 43 D3 F1 65 B6 04 01 00 00 15 EF 51 E4 E0 58 09 54 [22:29:11]CommunicateWithHost err = 0 [22:29:11]CheckOFDResponse [22:29:11]1017 (14) - 77093643461234 [22:29:11]1041 (16) - 0000000000871816 [22:29:11]1040 (4) - 47480 [22:29:11]1012 (4) - 13.03.2024 16:24 [22:29:11]1206 (1) - 0 [22:29:11]OFD Sender: Remove packet 47480 [22:29:11]ProducePacketName [22:29:11]name=ofd_packets/00047480 [22:29:11]NVStorageDeleteData [22:29:11]Write to MH i2c: 01 00 00 4E 07 55 [22:29:11]Write i2c OK [22:29:11]MH_I2C_Read... [22:29:11]Read from MH i2c: 01 [22:29:11]MH_I2C_Read... [22:29:11]Read from MH i2c: 01 07 00 [22:29:11]MH_I2C_Read... [22:29:11]Read from MH i2c: 01 07 00 4E 07 00 00 00 00 00 EE 0C 56 [22:29:11]RasterBufferAndPrint [22:29:11]line [22:29:11]line [22:29:11]line [22:29:11]line [22:29:11]line [22:29:11]written 0, free lines is 3319 [22:29:11]MH_Cut [22:29:11]Write to MH i2c: D1 01 00 55 07 01 2E [22:29:11]Write i2c OK [22:29:11]MH_I2C_Read... [22:29:11]Read from MH i2c: D1 [22:29:11]MH_I2C_Read... [22:29:11]Read from MH i2c: D1 01 00 [22:29:11]MH_I2C_Read... [22:29:11]Read from MH i2c: D1 01 00 55 07 00 2D [22:29:11]Write to MH i2c: 01 00 00 56 07 5D [22:29:11]Write i2c OK [22:29:11]MH_I2C_Read... [22:29:11]OFD Sender: No OFD packet to send [22:29:12]*** Cut start [22:29:12]*** Purtial cut [22:29:12]*** Stage 1: CUTSNS_PIN = 1 [22:29:12]Read from MH i2c: 01 [22:29:12]MH_I2C_Read... [22:29:12]*** Stop cut motor [22:29:12]*** Cut end [22:29:12]Read from MH i2c: 01 07 00 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: 01 07 00 56 07 00 00 00 00 00 FF 0F 72 [22:29:12]process_action close_receipt done [22:29:12]requested_data is exist [22:29:12]produce_requested_data [22:29:12]requested_item fm.sn is exist - process it [22:29:12]wFMCommunicate request_size=4 [22:29:12]MH_SAM_APDU [22:29:12]CAPDU: 80 11 00 00 [22:29:12]Write to MH i2c: E2 08 00 57 07 80 11 00 00 00 00 00 00 D8 [22:29:12]Write i2c OK [22:29:12]MH_I2C_Read... [22:29:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:29:12]Read from MH i2c: E2 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: E2 17 00 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: E2 17 00 57 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2A [22:29:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:29:12]wFMCommunicate OK [22:29:12]requested_item fd.num is exist - process it [22:29:12]SAM_PROTO_GetFieldsCounters [22:29:12]wFMCommunicate request_size=4 [22:29:12]MH_SAM_APDU [22:29:12]CAPDU: 80 13 00 00 [22:29:12]Write to MH i2c: E2 08 00 58 07 80 13 00 00 00 00 00 00 DB [22:29:12]Write i2c OK [22:29:12]MH_I2C_Read... [22:29:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:29:12]Read from MH i2c: E2 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: E2 62 00 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: E2 62 00 58 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 78 B9 00 00 0E 04 04 00 3C 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 D9 [22:29:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 78 B9 00 00 0E 04 04 00 3C 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 [22:29:12]wFMCommunicate OK [22:29:12]SAM_PROTO_GetFieldsCounters done [22:29:12]requested_item shift.num is exist - process it [22:29:12]requested_item shift.opened is exist - process it [22:29:12]req_shift_opened [22:29:12]FM_GetShiftState [22:29:12]SAM_PROTO_GetShiftState [22:29:12]wFMCommunicate request_size=4 [22:29:12]MH_SAM_APDU [22:29:12]CAPDU: 80 13 01 00 [22:29:12]Write to MH i2c: E2 08 00 59 07 80 13 01 00 00 00 00 00 DD [22:29:12]Write i2c OK [22:29:12]MH_I2C_Read... [22:29:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:29:12]Read from MH i2c: E2 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: E2 0E 00 [22:29:12]MH_I2C_Read... [22:29:12]Read from MH i2c: E2 0E 00 59 07 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 FA [22:29:12]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:29:12]wFMCommunicate OK [22:29:12]SAM_PROTO_GetShiftState done [22:29:12]FM_GetShiftState done [22:29:12]req_shift_opened done [22:29:12]requested_item shift.open_date is exist - process it [22:29:12]req_shift_open_date [22:29:12]req_shift_open_date done [22:29:12]produce_requested_data done [22:29:12]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47480,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:29:12]process_action_free close_receipt [22:29:12]json_value_free [22:29:12]json_value_free done [22:29:12]process_json_proto returns [22:29:12]Send response to host [22:29:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47480,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:29:12]free response buf [22:29:12]execute_script done [22:29:12]execute_script returns [22:29:12]free content buf [22:29:12]Sock 9.Close socket [22:29:12]Sock 9.Thread stoped [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:55]accept exits with 7 [22:32:55]New connection [22:32:55]New thread 3067030884 created [22:32:55]Thread 3067174244 joined [22:32:55]Waiting for new connection... [22:32:55] Sock 7.Parse request [22:32:55]Sock 7.Check first char [22:32:55]Sock 7.First char is OK [22:32:55]request: POST /json_proto HTTP/1.0 [22:32:55]Method: POST [22:32:55]URL: /json_proto [22:32:55]Method is POST - this is cgi request [22:32:55]url: /json_proto [22:32:55]query_string will be loaded in cgi processing [22:32:55]execute_cgi json_proto POST (null) [22:32:55]execute_cgi path=json_proto method=POST [22:32:55]POST find Content-Length [22:32:55]Host: 172.17.32.68:8080 [22:32:55]Content-Length: 1739 [22:32:55]Content-Type: application/json [22:32:55] [22:32:55]POST finish read [22:32:55]Found Content-Length = 1739 [22:32:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242391", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 2.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 585.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:32:55]execute_script... [22:32:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242391", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 2.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 585.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:32:56]POST & json_proto [22:32:56]process_json_proto [22:32:56]json parsed OK: [22:32:56]protocol is kg_v1.0 [22:32:56]action value=close_receipt [22:32:56]process_action close_receipt [22:32:56]cmd_close_receipt [22:32:56]MH_GetDate [22:32:56]Write to MH i2c: F0 00 00 5A 07 50 [22:32:56]Write i2c OK [22:32:56]MH_I2C_Read... [22:32:56]Read from MH i2c: F0 [22:32:56]MH_I2C_Read... [22:32:56]Read from MH i2c: F0 09 00 [22:32:56]MH_I2C_Read... [22:32:56]Read from MH i2c: F0 09 00 5A 07 00 99 29 F2 65 0A 64 6E 65 B3 [22:32:56]GetLastDocTimeStamp 1710368949 [22:32:56]current date 1710369177 [22:32:56]FM_GetShiftState [22:32:56]SAM_PROTO_GetShiftState [22:32:56]wFMCommunicate request_size=4 [22:32:56]MH_SAM_APDU [22:32:56]CAPDU: 80 13 01 00 [22:32:56]Write to MH i2c: E2 08 00 5B 07 80 13 01 00 00 00 00 00 DF [22:32:56]Write i2c OK [22:32:56]MH_I2C_Read... [22:32:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:32:56]Read from MH i2c: E2 [22:32:56]MH_I2C_Read... [22:32:56]Read from MH i2c: E2 0E 00 [22:32:56]MH_I2C_Read... [22:32:56]Read from MH i2c: E2 0E 00 5B 07 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 FC [22:32:56]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:32:56]wFMCommunicate OK [22:32:56]SAM_PROTO_GetShiftState done [22:32:56]FM_GetShiftState done [22:32:56]opened in 1710338059 [22:32:56]opened+sec_in_day 1710424459 [22:32:56]quantity*price = 12000 [22:32:56]sum+1 = 12001 [22:32:56]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 2.000 * 170.00 = 340.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 585.00 НСП 1% : 5.17 НДС 12% : 62.12 Наличными: 585.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 40 13.03.2024 22:32 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47481 ФПД: 136509895070049 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T223257&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47481&fm=136509895070049&tin=02508201610067®Number=0000000000092018&sum=58500 0 [22:32:57]StoreToDocumentArchive [22:32:57]shift 316 fd 47481 [22:32:57]save to /storage/0316/doc_00047481 [22:32:57]save last doc name /storage/0316/doc_00047481 to /storage/kkm_last_doc_name [22:32:57]save OK [22:32:57]Clear old archive folders... [22:32:57]ProcessDocumentItem done err = 0, tmpTLVsize=709 [22:32:57]tlvbuf is 011AB540 [22:32:57]SAM_PROTO_ClearQueue [22:32:57]wFMCommunicate request_size=4 [22:32:57]MH_SAM_APDU [22:32:57]CAPDU: 80 09 00 00 [22:32:57]Write to MH i2c: E2 08 00 68 07 80 09 00 00 00 00 00 00 E1 [22:32:57]Write i2c OK [22:32:57]MH_I2C_Read... [22:32:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:32:57]Read from MH i2c: E2 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 68 07 00 90 00 E3 [22:32:57]RAPDU: 90 00 [22:32:57]wFMCommunicate OK [22:32:57]SAM_PROTO_ClearQueue done [22:32:57]KKMCreateOFDPacket [22:32:57]OFDProtocolAddRootSTLVToBuf [22:32:57]FM_MakeSignedData [22:32:57]FM_MakeSignedData [22:32:57]SAM_PROTO_SignData [22:32:57]wFMCommunicate request_size=4 [22:32:57]MH_SAM_APDU [22:32:57]CAPDU: 80 0D 01 02 [22:32:57]Write to MH i2c: E2 08 00 69 07 80 0D 01 02 00 00 00 00 E9 [22:32:57]Write i2c OK [22:32:57]MH_I2C_Read... [22:32:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:32:57]Read from MH i2c: E2 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 69 07 00 90 00 E4 [22:32:57]RAPDU: 90 00 [22:32:57]wFMCommunicate OK [22:32:57]wFMCommunicate request_size=255 [22:32:57]MH_SAM_APDU [22:32:57]CAPDU: 80 0D 02 02 FA 03 00 C5 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 [22:32:57]Write to MH i2c: E2 02 01 6A 07 80 0D 02 02 FA 00 03 00 C5 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 00 00 C1 [22:32:57]Write i2c OK [22:32:57]MH_I2C_Read... [22:32:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:57]Read from MH i2c: E2 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 6A 07 00 90 00 E5 [22:32:57]RAPDU: 90 00 [22:32:57]wFMCommunicate OK [22:32:57]wFMCommunicate request_size=255 [22:32:57]MH_SAM_APDU [22:32:57]CAPDU: 80 0D 02 02 FA D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 [22:32:57]Write to MH i2c: E2 02 01 6B 07 80 0D 02 02 FA 00 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 00 00 F3 [22:32:57]Write i2c OK [22:32:57]MH_I2C_Read... [22:32:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:57]Read from MH i2c: E2 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 [22:32:57]MH_I2C_Read... [22:32:57]Read from MH i2c: E2 03 00 6B 07 00 90 00 E6 [22:32:57]RAPDU: 90 00 [22:32:57]wFMCommunicate OK [22:32:57]wFMCommunicate request_size=218 [22:32:57]MH_SAM_APDU [22:32:57]CAPDU: 80 0D 02 02 D5 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 E4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 44 18 00 00 00 00 07 04 06 00 84 E4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 99 29 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 79 B9 00 00 35 04 06 00 7C 27 AF CD D1 61 [22:32:57]Write to MH i2c: E2 DD 00 6C 07 80 0D 02 02 D5 00 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 E4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 44 18 00 00 00 00 07 04 06 00 84 E4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 99 29 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 79 B9 00 00 35 04 06 00 7C 27 AF CD D1 61 00 00 5B [22:32:57]Write i2c OK [22:32:57]MH_I2C_Read... [22:32:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:58]Read from MH i2c: E2 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: E2 03 00 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: E2 03 00 6C 07 00 90 00 E7 [22:32:58]RAPDU: 90 00 [22:32:58]wFMCommunicate OK [22:32:58]wFMCommunicate request_size=4 [22:32:58]MH_SAM_APDU [22:32:58]CAPDU: 80 0D 03 02 [22:32:58]Write to MH i2c: E2 08 00 6D 07 80 0D 03 02 00 00 00 00 EF [22:32:58]Write i2c OK [22:32:58]MH_I2C_Read... [22:32:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:32:58]Read from MH i2c: E2 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: E2 0B 00 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: E2 0B 00 6D 07 00 1C 04 84 4C DC D8 2C 88 90 00 48 [22:32:58]RAPDU: 1C 04 84 4C DC D8 2C 88 90 00 [22:32:58]wFMCommunicate OK [22:32:58]SAM_PROTO_SignData done [22:32:58]FM_MakeSignedData done [22:32:58]CreateOFDProtocolMessage [22:32:58]wFMCommunicate request_size=4 [22:32:58]MH_SAM_APDU [22:32:58]CAPDU: 80 11 00 00 [22:32:58]Write to MH i2c: E2 08 00 6E 07 80 11 00 00 00 00 00 00 EF [22:32:58]Write i2c OK [22:32:58]MH_I2C_Read... [22:32:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:32:58]Read from MH i2c: E2 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: E2 17 00 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: E2 17 00 6E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 41 [22:32:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:32:58]wFMCommunicate OK [22:32:58]CreateOFDProtocolMessage done [22:32:58]OFDSenderStorePacket 47481 [22:32:58]StoreOFDPacket docnum=47481 [22:32:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 D9 02 00 00 8A 5D D1 02 7F C6 5A 03 01 00 03 00 C5 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 E4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 44 18 00 00 00 00 07 04 06 00 84 E4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 99 29 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 79 B9 00 00 35 04 06 00 7C 27 AF CD D1 61 1C 04 84 4C DC D8 2C 88 [22:32:58]CheckFolder [22:32:58]dirname=/storage/ofd_packets [22:32:58]CheckFolder done [22:32:58]ProducePacketName [22:32:58]name=ofd_packets/00047481 [22:32:58]NVStorageSaveData ofd_packets/00047481 [22:32:58]File name is /storage/ofd_packets/00047481 [22:32:58]Write 759 bytes [22:32:58]NVStorageSaveData done [22:32:58]OFDSenderStorePacket done [22:32:58]KKMCreateOFDPacket done [22:32:58]NVStorageSaveData kkm_last_timestamp [22:32:58]File name is /storage/kkm_last_timestamp [22:32:58]Write 4 bytes [22:32:58]NVStorageSaveData done [22:32:58]ExternCall_PrintAddStr [22:32:58]wPrintStart [22:32:58]Write to MH i2c: 01 00 00 6F 07 76 [22:32:58]Write i2c OK [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: 01 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: 01 07 00 [22:32:58]MH_I2C_Read... [22:32:58]Read from MH i2c: 01 07 00 6F 07 00 00 00 00 00 FF 0F 8B [22:32:58]RasterBufferAndPrint [22:32:58]line Счет N : (3)242391 [22:32:58]line ИНН: 02508201610067 [22:32:58]line Контрольно-Кассовый Чек [22:32:58]line ПРОДАЖА [22:32:58]line Товар: 5449000189318 [22:32:58]line Холодный чай Fuse лимон 1л [22:32:58]line 1.000 * 120.00 [22:32:58]line = 120.00 [22:32:58]line НДС 12% НСП 1% [22:32:58]line > о реализуемом товаре [22:32:58]line Товар: 4700000160358 [22:32:58]line Вода Легенда 1л [22:32:58]line 1.000 * 50.00 [22:32:58]line = 50.00 [22:32:58]line НДС 12% НСП 1% [22:32:58]line > о реализуемом товаре [22:32:58]line Товар: 4700000160051 [22:32:58]line Вода Ыссык Ата 1л [22:32:58]line 1.000 * 50.00 [22:32:58]line = 50.00 [22:32:58]line НДС 12% НСП 1% [22:32:58]line > о реализуемом товаре [22:32:58]line Товар: 4700000480517 [22:32:58]line Пиво Живое 1л ПЭТ [22:32:58]line 2.000 * 170.00 [22:32:58]line = 340.00 [22:32:58]line НДС 12% НСП 1% [22:32:58]line > о реализуемом товаре [22:32:58]line Товар: 2000027340020 [22:32:58]line Пакет бумажный витая ручка [22:32:58]line 1.000 * 25.00 [22:32:58]line = 25.00 [22:32:58]line НДС 12% НСП 1% [22:32:58]line > о реализуемом товаре [22:32:58]line ИТОГО: 585.00 [22:32:58]line НСП 1% : 5.17 [22:32:58]line НДС 12% : 62.12 [22:32:58]line Наличными: 585.00 [22:32:58]line Безнал.: 0.00 [22:32:58]line Место: АЗС № 15 "Партнер Нефть" [22:32:58]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:32:58]line СНО: Общий режим [22:32:58]line Чек 40 13.03.2024 22:32 [22:32:58]line Смена: 316 ФФД: 1.0 [22:32:58]line ЗНМ: 0300000097 [22:32:58]line РНМ: 0000000000092018 [22:32:58]line Версия ККМ: 001 [22:32:58]line ФМ: 0000000000871816 [22:32:58]line ФД: 47481 [22:32:58]line ФПД: 136509895070049 [22:32:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T223257&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47481&fm=136509895070049&tin=02508201610067®Number=0000000000092018&sum=58500 [22:32:58]line 0 [22:32:58]written 0, free lines is 4095 [22:32:58]OFD Sender: Processing packet 47481 [packets to send 8, broken 7] [22:32:58]ProducePacketName [22:32:58]name=ofd_packets/00047481 [22:32:58]OFD Sender: To server: pG, [22:32:58]CommunicateWithHost lk.salyk.kg:30040 [22:32:58]ConnectInit lk.salyk.kg [22:32:58]Connected sock=10 [22:32:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 D9 02 00 00 8A 5D D1 02 7F C6 5A 03 01 00 03 00 C5 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 E4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 44 18 00 00 00 00 07 04 06 00 84 E4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 99 29 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 79 B9 00 00 35 04 06 00 7C 27 AF CD D1 61 1C 04 84 4C DC D8 2C 88 [22:32:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 CF A1 47 00 AE CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 79 B9 00 00 F4 03 04 00 27 D4 F1 65 B6 04 01 00 00 F7 A2 C5 0E D4 23 00 76 [22:32:58]CommunicateWithHost err = 0 [22:32:58]CheckOFDResponse [22:32:58]1017 (14) - 77093643461234 [22:32:58]1041 (16) - 0000000000871816 [22:32:58]1040 (4) - 47481 [22:32:58]1012 (4) - 13.03.2024 16:28 [22:32:58]1206 (1) - 0 [22:32:58]OFD Sender: Remove packet 47481 [22:32:58]ProducePacketName [22:32:58]name=ofd_packets/00047481 [22:32:58]NVStorageDeleteData [22:32:59]Write to MH i2c: 01 00 00 AF 07 B6 [22:32:59]Write i2c OK [22:32:59]MH_I2C_Read... [22:32:59]Read from MH i2c: 01 [22:32:59]MH_I2C_Read... [22:32:59]Read from MH i2c: 01 07 00 [22:32:59]MH_I2C_Read... [22:32:59]Read from MH i2c: 01 07 00 AF 07 00 00 00 00 00 8B 0B 53 [22:32:59]RasterBufferAndPrint [22:32:59]line [22:32:59]line [22:32:59]line [22:32:59]line [22:32:59]line [22:32:59]written 0, free lines is 2965 [22:32:59]MH_Cut [22:32:59]Write to MH i2c: D1 01 00 B6 07 01 8F [22:32:59]Write i2c OK [22:32:59]MH_I2C_Read... [22:32:59]Read from MH i2c: D1 [22:32:59]MH_I2C_Read... [22:32:59]Read from MH i2c: D1 01 00 [22:32:59]MH_I2C_Read... [22:32:59]Read from MH i2c: D1 01 00 B6 07 00 8E [22:32:59]Write to MH i2c: 01 00 00 B7 07 BE [22:32:59]Write i2c OK [22:32:59]MH_I2C_Read... [22:32:59]OFD Sender: No OFD packet to send [22:33:00]*** Cut start [22:33:00]*** Purtial cut [22:33:00]*** Stage 1: CUTSNS_PIN = 1 [22:33:00]Read from MH i2c: 01 [22:33:00]MH_I2C_Read... [22:33:00]*** Stop cut motor [22:33:00]*** Cut end [22:33:00]Read from MH i2c: 01 07 00 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: 01 07 00 B7 07 00 00 00 00 00 FF 0F D3 [22:33:00]process_action close_receipt done [22:33:00]requested_data is exist [22:33:00]produce_requested_data [22:33:00]requested_item fm.sn is exist - process it [22:33:00]wFMCommunicate request_size=4 [22:33:00]MH_SAM_APDU [22:33:00]CAPDU: 80 11 00 00 [22:33:00]Write to MH i2c: E2 08 00 B8 07 80 11 00 00 00 00 00 00 39 [22:33:00]Write i2c OK [22:33:00]MH_I2C_Read... [22:33:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:33:00]Read from MH i2c: E2 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: E2 17 00 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: E2 17 00 B8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8B [22:33:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:33:00]wFMCommunicate OK [22:33:00]requested_item fd.num is exist - process it [22:33:00]SAM_PROTO_GetFieldsCounters [22:33:00]wFMCommunicate request_size=4 [22:33:00]MH_SAM_APDU [22:33:00]CAPDU: 80 13 00 00 [22:33:00]Write to MH i2c: E2 08 00 B9 07 80 13 00 00 00 00 00 00 3C [22:33:00]Write i2c OK [22:33:00]MH_I2C_Read... [22:33:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:33:00]Read from MH i2c: E2 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: E2 62 00 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: E2 62 00 B9 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 79 B9 00 00 0E 04 04 00 3C 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 3E [22:33:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 79 B9 00 00 0E 04 04 00 3C 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 [22:33:00]wFMCommunicate OK [22:33:00]SAM_PROTO_GetFieldsCounters done [22:33:00]requested_item shift.num is exist - process it [22:33:00]requested_item shift.opened is exist - process it [22:33:00]req_shift_opened [22:33:00]FM_GetShiftState [22:33:00]SAM_PROTO_GetShiftState [22:33:00]wFMCommunicate request_size=4 [22:33:00]MH_SAM_APDU [22:33:00]CAPDU: 80 13 01 00 [22:33:00]Write to MH i2c: E2 08 00 BA 07 80 13 01 00 00 00 00 00 3E [22:33:00]Write i2c OK [22:33:00]MH_I2C_Read... [22:33:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:33:00]Read from MH i2c: E2 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: E2 0E 00 [22:33:00]MH_I2C_Read... [22:33:00]Read from MH i2c: E2 0E 00 BA 07 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 5B [22:33:00]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:33:00]wFMCommunicate OK [22:33:00]SAM_PROTO_GetShiftState done [22:33:00]FM_GetShiftState done [22:33:00]req_shift_opened done [22:33:00]requested_item shift.open_date is exist - process it [22:33:00]req_shift_open_date [22:33:00]req_shift_open_date done [22:33:00]produce_requested_data done [22:33:00]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47481,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:33:00]process_action_free close_receipt [22:33:00]json_value_free [22:33:00]json_value_free done [22:33:00]process_json_proto returns [22:33:00]Send response to host [22:33:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47481,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:33:00]free response buf [22:33:00]execute_script done [22:33:00]execute_script returns [22:33:00]free content buf [22:33:00]Sock 7.Close socket [22:33:00]Sock 7.Thread stoped [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:45]accept exits with 9 [22:38:45]New connection [22:38:45]New thread 3067174244 created [22:38:45]Thread 3067030884 joined [22:38:45]Waiting for new connection... [22:38:45] Sock 9.Parse request [22:38:45]Sock 9.Check first char [22:38:45]Sock 9.First char is OK [22:38:45]request: POST /json_proto HTTP/1.0 [22:38:45]Method: POST [22:38:45]URL: /json_proto [22:38:45]Method is POST - this is cgi request [22:38:45]url: /json_proto [22:38:45]query_string will be loaded in cgi processing [22:38:45]execute_cgi json_proto POST (null) [22:38:45]execute_cgi path=json_proto method=POST [22:38:45]POST find Content-Length [22:38:45]Host: 172.17.32.68:8080 [22:38:45]Content-Length: 664 [22:38:45]Content-Type: application/json [22:38:45] [22:38:45]POST finish read [22:38:45]Found Content-Length = 664 [22:38:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242392", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:45]execute_script... [22:38:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242392", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:45]POST & json_proto [22:38:45]process_json_proto [22:38:45]json parsed OK: [22:38:45]protocol is kg_v1.0 [22:38:45]action value=close_receipt [22:38:45]process_action close_receipt [22:38:45]cmd_close_receipt [22:38:45]MH_GetDate [22:38:45]Write to MH i2c: F0 00 00 BB 07 B1 [22:38:45]Write i2c OK [22:38:45]MH_I2C_Read... [22:38:45]Read from MH i2c: F0 [22:38:45]MH_I2C_Read... [22:38:45]Read from MH i2c: F0 09 00 [22:38:45]MH_I2C_Read... [22:38:45]Read from MH i2c: F0 09 00 BB 07 00 F5 2A F2 65 0A 64 6E 65 71 [22:38:45]GetLastDocTimeStamp 1710369177 [22:38:45]current date 1710369525 [22:38:45]FM_GetShiftState [22:38:45]SAM_PROTO_GetShiftState [22:38:45]wFMCommunicate request_size=4 [22:38:45]MH_SAM_APDU [22:38:45]CAPDU: 80 13 01 00 [22:38:45]Write to MH i2c: E2 08 00 BC 07 80 13 01 00 00 00 00 00 40 [22:38:45]Write i2c OK [22:38:45]MH_I2C_Read... [22:38:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:45]Read from MH i2c: E2 [22:38:45]MH_I2C_Read... [22:38:45]Read from MH i2c: E2 0E 00 [22:38:45]MH_I2C_Read... [22:38:45]Read from MH i2c: E2 0E 00 BC 07 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 5D [22:38:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:38:45]wFMCommunicate OK [22:38:45]SAM_PROTO_GetShiftState done [22:38:45]FM_GetShiftState done [22:38:45]opened in 1710338059 [22:38:45]opened+sec_in_day 1710424459 [22:38:45]quantity*price = 19000 [22:38:45]sum+1 = 19001 [22:38:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 41 13.03.2024 22:38 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47482 ФПД: 163337923613678 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T223845&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47482&fm=163337923613678&tin=02508201610067®Number=0000000000092018&sum=19000 0 [22:38:46]StoreToDocumentArchive [22:38:46]shift 316 fd 47482 [22:38:46]save to /storage/0316/doc_00047482 [22:38:46]save last doc name /storage/0316/doc_00047482 to /storage/kkm_last_doc_name [22:38:46]save OK [22:38:46]Clear old archive folders... [22:38:46]ProcessDocumentItem done err = 0, tmpTLVsize=289 [22:38:46]tlvbuf is 01195360 [22:38:46]SAM_PROTO_ClearQueue [22:38:46]wFMCommunicate request_size=4 [22:38:46]MH_SAM_APDU [22:38:46]CAPDU: 80 09 00 00 [22:38:46]Write to MH i2c: E2 08 00 C9 07 80 09 00 00 00 00 00 00 42 [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:38:46]Read from MH i2c: E2 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 C9 07 00 90 00 44 [22:38:46]RAPDU: 90 00 [22:38:46]wFMCommunicate OK [22:38:46]SAM_PROTO_ClearQueue done [22:38:46]KKMCreateOFDPacket [22:38:46]OFDProtocolAddRootSTLVToBuf [22:38:46]FM_MakeSignedData [22:38:46]FM_MakeSignedData [22:38:46]SAM_PROTO_SignData [22:38:46]wFMCommunicate request_size=4 [22:38:46]MH_SAM_APDU [22:38:46]CAPDU: 80 0D 01 02 [22:38:46]Write to MH i2c: E2 08 00 CA 07 80 0D 01 02 00 00 00 00 4A [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:38:46]Read from MH i2c: E2 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 CA 07 00 90 00 45 [22:38:46]RAPDU: 90 00 [22:38:46]wFMCommunicate OK [22:38:46]wFMCommunicate request_size=255 [22:38:46]MH_SAM_APDU [22:38:46]CAPDU: 80 0D 02 02 FA 03 00 21 01 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 F5 2A F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [22:38:46]Write to MH i2c: E2 02 01 CB 07 80 0D 02 02 FA 00 03 00 21 01 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 F5 2A F2 65 0E 04 04 00 3C 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 8E [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:46]Read from MH i2c: E2 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 CB 07 00 90 00 46 [22:38:46]RAPDU: 90 00 [22:38:46]wFMCommunicate OK [22:38:46]wFMCommunicate request_size=48 [22:38:46]MH_SAM_APDU [22:38:46]CAPDU: 80 0D 02 02 2B 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7A B9 00 00 35 04 06 00 94 8E 12 EA 53 EE [22:38:46]Write to MH i2c: E2 33 00 CC 07 80 0D 02 02 2B 00 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7A B9 00 00 35 04 06 00 94 8E 12 EA 53 EE 00 00 D4 [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:46]Read from MH i2c: E2 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 03 00 CC 07 00 90 00 47 [22:38:46]RAPDU: 90 00 [22:38:46]wFMCommunicate OK [22:38:46]wFMCommunicate request_size=4 [22:38:46]MH_SAM_APDU [22:38:46]CAPDU: 80 0D 03 02 [22:38:46]Write to MH i2c: E2 08 00 CD 07 80 0D 03 02 00 00 00 00 4F [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:38:46]Read from MH i2c: E2 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 0B 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 0B 00 CD 07 00 0B 80 B0 0C 4B EC C6 C3 90 00 57 [22:38:46]RAPDU: 0B 80 B0 0C 4B EC C6 C3 90 00 [22:38:46]wFMCommunicate OK [22:38:46]SAM_PROTO_SignData done [22:38:46]FM_MakeSignedData done [22:38:46]CreateOFDProtocolMessage [22:38:46]wFMCommunicate request_size=4 [22:38:46]MH_SAM_APDU [22:38:46]CAPDU: 80 11 00 00 [22:38:46]Write to MH i2c: E2 08 00 CE 07 80 11 00 00 00 00 00 00 4F [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:46]Read from MH i2c: E2 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 17 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: E2 17 00 CE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 A1 [22:38:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:38:46]wFMCommunicate OK [22:38:46]CreateOFDProtocolMessage done [22:38:46]OFDSenderStorePacket 47482 [22:38:46]StoreOFDPacket docnum=47482 [22:38:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 01 00 00 CA 83 2D 01 C8 DF 5A 03 01 00 03 00 21 01 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 F5 2A F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7A B9 00 00 35 04 06 00 94 8E 12 EA 53 EE 0B 80 B0 0C 4B EC C6 C3 [22:38:46]CheckFolder [22:38:46]dirname=/storage/ofd_packets [22:38:46]CheckFolder done [22:38:46]ProducePacketName [22:38:46]name=ofd_packets/00047482 [22:38:46]NVStorageSaveData ofd_packets/00047482 [22:38:46]File name is /storage/ofd_packets/00047482 [22:38:46]Write 339 bytes [22:38:46]NVStorageSaveData done [22:38:46]OFDSenderStorePacket done [22:38:46]KKMCreateOFDPacket done [22:38:46]NVStorageSaveData kkm_last_timestamp [22:38:46]File name is /storage/kkm_last_timestamp [22:38:46]Write 4 bytes [22:38:46]NVStorageSaveData done [22:38:46]ExternCall_PrintAddStr [22:38:46]wPrintStart [22:38:46]Write to MH i2c: 01 00 00 CF 07 D6 [22:38:46]Write i2c OK [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: 01 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: 01 07 00 [22:38:46]MH_I2C_Read... [22:38:46]Read from MH i2c: 01 07 00 CF 07 00 00 00 00 00 FF 0F EB [22:38:46]RasterBufferAndPrint [22:38:46]line Счет N : (3)242392 [22:38:46]line ИНН: 02508201610067 [22:38:46]line Контрольно-Кассовый Чек [22:38:46]line ПРОДАЖА [22:38:46]line Товар: 5449000176431 [22:38:46]line Сок Piko Pulpy апельсин ПЭТ 0,5л [22:38:46]line 2.000 * 95.00 [22:38:46]line = 190.00 [22:38:46]line НДС 12% НСП 1% [22:38:46]line > о реализуемом товаре [22:38:46]line ИТОГО: 190.00 [22:38:46]line НСП 1% : 1.68 [22:38:46]line НДС 12% : 20.18 [22:38:46]line Наличными: 190.00 [22:38:46]line Безнал.: 0.00 [22:38:46]line Место: АЗС № 15 "Партнер Нефть" [22:38:46]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [22:38:46]line СНО: Общий режим [22:38:46]line Чек 41 13.03.2024 22:38 [22:38:46]line Смена: 316 ФФД: 1.0 [22:38:46]line ЗНМ: 0300000097 [22:38:47]line РНМ: 0000000000092018 [22:38:47]line Версия ККМ: 001 [22:38:47]line ФМ: 0000000000871816 [22:38:47]line ФД: 47482 [22:38:47]line ФПД: 163337923613678 [22:38:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T223845&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47482&fm=163337923613678&tin=02508201610067®Number=0000000000092018&sum=19000 [22:38:47]line 0 [22:38:47]OFD Sender: Processing packet 47482 [packets to send 8, broken 7] [22:38:47]ProducePacketName [22:38:47]name=ofd_packets/00047482 [22:38:47]OFD Sender: To server: pG, [22:38:47]CommunicateWithHost lk.salyk.kg:30040 [22:38:47]ConnectInit lk.salyk.kg [22:38:47]written 0, free lines is 4095 [22:38:47]Connected sock=10 [22:38:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 01 00 00 CA 83 2D 01 C8 DF 5A 03 01 00 03 00 21 01 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 F5 2A F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7A B9 00 00 35 04 06 00 94 8E 12 EA 53 EE 0B 80 B0 0C 4B EC C6 C3 [22:38:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 5E 69 47 00 B1 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7A B9 00 00 F4 03 04 00 83 D5 F1 65 B6 04 01 00 00 21 85 01 63 D3 BE 1E 60 [22:38:47]CommunicateWithHost err = 0 [22:38:47]CheckOFDResponse [22:38:47]1017 (14) - 77093643461234 [22:38:47]1041 (16) - 0000000000871816 [22:38:47]1040 (4) - 47482 [22:38:47]1012 (4) - 13.03.2024 16:34 [22:38:47]1206 (1) - 0 [22:38:47]OFD Sender: Remove packet 47482 [22:38:47]ProducePacketName [22:38:47]name=ofd_packets/00047482 [22:38:47]NVStorageDeleteData [22:38:47]Write to MH i2c: 01 00 00 F8 07 FF [22:38:47]Write i2c OK [22:38:47]MH_I2C_Read... [22:38:47]Read from MH i2c: 01 [22:38:47]MH_I2C_Read... [22:38:47]Read from MH i2c: 01 07 00 [22:38:47]MH_I2C_Read... [22:38:47]Read from MH i2c: 01 07 00 F8 07 00 00 00 00 00 D5 0C E7 [22:38:47]RasterBufferAndPrint [22:38:47]line [22:38:47]line [22:38:47]line [22:38:47]line [22:38:47]line [22:38:47]written 0, free lines is 3290 [22:38:47]MH_Cut [22:38:47]Write to MH i2c: D1 01 00 FF 07 01 D8 [22:38:47]Write i2c OK [22:38:47]MH_I2C_Read... [22:38:47]Read from MH i2c: D1 [22:38:47]MH_I2C_Read... [22:38:47]Read from MH i2c: D1 01 00 [22:38:47]MH_I2C_Read... [22:38:47]Read from MH i2c: D1 01 00 FF 07 00 D7 [22:38:47]Write to MH i2c: 01 00 00 00 08 08 [22:38:47]Write i2c OK [22:38:47]MH_I2C_Read... [22:38:47]OFD Sender: No OFD packet to send [22:38:48]*** Cut start [22:38:48]*** Purtial cut [22:38:48]*** Stage 1: CUTSNS_PIN = 1 [22:38:48]Read from MH i2c: 01 [22:38:48]MH_I2C_Read... [22:38:48]*** Stop cut motor [22:38:48]*** Cut end [22:38:48]Read from MH i2c: 01 07 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: 01 07 00 00 08 00 00 00 00 00 FF 0F 1D [22:38:48]process_action close_receipt done [22:38:48]requested_data is exist [22:38:48]produce_requested_data [22:38:48]requested_item fm.sn is exist - process it [22:38:48]wFMCommunicate request_size=4 [22:38:48]MH_SAM_APDU [22:38:48]CAPDU: 80 11 00 00 [22:38:48]Write to MH i2c: E2 08 00 01 08 80 11 00 00 00 00 00 00 83 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 [22:38:48]MH_I2C_Read... [22:38:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:48]Read from MH i2c: E2 17 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 17 00 01 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 D5 [22:38:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [22:38:48]wFMCommunicate OK [22:38:48]requested_item fd.num is exist - process it [22:38:48]SAM_PROTO_GetFieldsCounters [22:38:48]wFMCommunicate request_size=4 [22:38:48]MH_SAM_APDU [22:38:48]CAPDU: 80 13 00 00 [22:38:48]Write to MH i2c: E2 08 00 02 08 80 13 00 00 00 00 00 00 86 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:38:48]Read from MH i2c: E2 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 62 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 62 00 02 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7A B9 00 00 0E 04 04 00 3C 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 8C [22:38:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7A B9 00 00 0E 04 04 00 3C 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 [22:38:48]wFMCommunicate OK [22:38:48]SAM_PROTO_GetFieldsCounters done [22:38:48]requested_item shift.num is exist - process it [22:38:48]requested_item shift.opened is exist - process it [22:38:48]req_shift_opened [22:38:48]FM_GetShiftState [22:38:48]SAM_PROTO_GetShiftState [22:38:48]wFMCommunicate request_size=4 [22:38:48]MH_SAM_APDU [22:38:48]CAPDU: 80 13 01 00 [22:38:48]Write to MH i2c: E2 08 00 03 08 80 13 01 00 00 00 00 00 88 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:48]Read from MH i2c: E2 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 0E 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 0E 00 03 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 A5 [22:38:48]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [22:38:48]wFMCommunicate OK [22:38:48]SAM_PROTO_GetShiftState done [22:38:48]FM_GetShiftState done [22:38:48]req_shift_opened done [22:38:48]requested_item shift.open_date is exist - process it [22:38:48]req_shift_open_date [22:38:48]req_shift_open_date done [22:38:48]produce_requested_data done [22:38:48]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47482,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [22:38:48]process_action_free close_receipt [22:38:48]json_value_free [22:38:48]json_value_free done [22:38:48]process_json_proto returns [22:38:48]Send response to host [22:38:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47482,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [22:38:48]free response buf [22:38:48]execute_script done [22:38:48]execute_script returns [22:38:48]free content buf [22:38:48]Sock 9.Close socket [22:38:48]Sock 9.Thread stoped [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:36]accept exits with 7 [23:02:36]New connection [23:02:36]New thread 3067030884 created [23:02:36]Thread 3067174244 joined [23:02:36]Waiting for new connection... [23:02:36] Sock 7.Parse request [23:02:36]Sock 7.Check first char [23:02:36]Sock 7.First char is OK [23:02:36]request: POST /json_proto HTTP/1.0 [23:02:36]Method: POST [23:02:36]URL: /json_proto [23:02:36]Method is POST - this is cgi request [23:02:36]url: /json_proto [23:02:36]query_string will be loaded in cgi processing [23:02:36]execute_cgi json_proto POST (null) [23:02:36]execute_cgi path=json_proto method=POST [23:02:36]POST find Content-Length [23:02:36]Host: 172.17.32.68:8080 [23:02:36]Content-Length: 781 [23:02:36]Content-Type: application/json [23:02:36] [23:02:36]POST finish read [23:02:36]Found Content-Length = 781 [23:02:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242393", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:02:36]execute_script... [23:02: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)242393", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0414\u0435\u043C\u0438\u0440 \u041A\u0418 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:02:36]POST & json_proto [23:02:36]process_json_proto [23:02:36]json parsed OK: [23:02:36]protocol is kg_v1.0 [23:02:36]action value=close_receipt [23:02:36]process_action close_receipt [23:02:36]cmd_close_receipt [23:02:36]MH_GetDate [23:02:36]Write to MH i2c: F0 00 00 04 08 FB [23:02:36]Write i2c OK [23:02:36]MH_I2C_Read... [23:02:36]Read from MH i2c: F0 [23:02:36]MH_I2C_Read... [23:02:36]Read from MH i2c: F0 09 00 [23:02:36]MH_I2C_Read... [23:02:36]Read from MH i2c: F0 09 00 04 08 00 8D 30 F2 65 0A 64 6E 65 59 [23:02:36]GetLastDocTimeStamp 1710369525 [23:02:36]current date 1710370957 [23:02:36]FM_GetShiftState [23:02:36]SAM_PROTO_GetShiftState [23:02:36]wFMCommunicate request_size=4 [23:02:36]MH_SAM_APDU [23:02:36]CAPDU: 80 13 01 00 [23:02:36]Write to MH i2c: E2 08 00 05 08 80 13 01 00 00 00 00 00 8A [23:02:36]Write i2c OK [23:02:36]MH_I2C_Read... [23:02:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:02:36]Read from MH i2c: E2 [23:02:36]MH_I2C_Read... [23:02:36]Read from MH i2c: E2 0E 00 [23:02:36]MH_I2C_Read... [23:02:36]Read from MH i2c: E2 0E 00 05 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 A7 [23:02:36]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:02:36]wFMCommunicate OK [23:02:36]SAM_PROTO_GetShiftState done [23:02:36]FM_GetShiftState done [23:02:36]opened in 1710338059 [23:02:36]opened+sec_in_day 1710424459 [23:02:36]quantity*price = 3600 [23:02:36]sum+1 = 3601 [23:02:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 36.00 НСП 1% : 0.32 НДС 12% : 3.82 Наличными: 0.00 Безнал.: 36.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 42 13.03.2024 23:02 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 Платежная система: Демир КИ Банк ФМ: 0000000000871816 ФД: 47483 ФПД: 204972477751513 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230237&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47483&fm=204972477751513&tin=02508201610067®Number=0000000000092018&sum=3600 0 [23:02:38]StoreToDocumentArchive [23:02:38]shift 316 fd 47483 [23:02:38]save to /storage/0316/doc_00047483 [23:02:38]save last doc name /storage/0316/doc_00047483 to /storage/kkm_last_doc_name [23:02:38]save OK [23:02:38]Clear old archive folders... [23:02:38]ProcessDocumentItem done err = 0, tmpTLVsize=266 [23:02:38]tlvbuf is 01188A80 [23:02:38]SAM_PROTO_ClearQueue [23:02:38]wFMCommunicate request_size=4 [23:02:38]MH_SAM_APDU [23:02:38]CAPDU: 80 09 00 00 [23:02:38]Write to MH i2c: E2 08 00 12 08 80 09 00 00 00 00 00 00 8C [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:02:38]Read from MH i2c: E2 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 12 08 00 90 00 8E [23:02:38]RAPDU: 90 00 [23:02:38]wFMCommunicate OK [23:02:38]SAM_PROTO_ClearQueue done [23:02:38]KKMCreateOFDPacket [23:02:38]OFDProtocolAddRootSTLVToBuf [23:02:38]FM_MakeSignedData [23:02:38]FM_MakeSignedData [23:02:38]SAM_PROTO_SignData [23:02:38]wFMCommunicate request_size=4 [23:02:38]MH_SAM_APDU [23:02:38]CAPDU: 80 0D 01 02 [23:02:38]Write to MH i2c: E2 08 00 13 08 80 0D 01 02 00 00 00 00 94 [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:02:38]Read from MH i2c: E2 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 13 08 00 90 00 8F [23:02:38]RAPDU: 90 00 [23:02:38]wFMCommunicate OK [23:02:38]wFMCommunicate request_size=255 [23:02:38]MH_SAM_APDU [23:02:38]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 0E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8D 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 [23:02:38]Write to MH i2c: E2 02 01 14 08 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 0E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8D 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 00 00 39 [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:02:38]Read from MH i2c: E2 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 14 08 00 90 00 90 [23:02:38]RAPDU: 90 00 [23:02:38]wFMCommunicate OK [23:02:38]wFMCommunicate request_size=25 [23:02:38]MH_SAM_APDU [23:02:38]CAPDU: 80 0D 02 02 14 31 36 10 04 04 00 7B B9 00 00 35 04 06 00 BA 6B DF B9 A0 D9 [23:02:38]Write to MH i2c: E2 1C 00 15 08 80 0D 02 02 14 00 31 36 10 04 04 00 7B B9 00 00 35 04 06 00 BA 6B DF B9 A0 D9 00 00 E7 [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:02:38]Read from MH i2c: E2 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 03 00 15 08 00 90 00 91 [23:02:38]RAPDU: 90 00 [23:02:38]wFMCommunicate OK [23:02:38]wFMCommunicate request_size=4 [23:02:38]MH_SAM_APDU [23:02:38]CAPDU: 80 0D 03 02 [23:02:38]Write to MH i2c: E2 08 00 16 08 80 0D 03 02 00 00 00 00 99 [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:02:38]Read from MH i2c: E2 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 0B 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 0B 00 16 08 00 63 97 F3 34 5A B4 4C 0B 90 00 20 [23:02:38]RAPDU: 63 97 F3 34 5A B4 4C 0B 90 00 [23:02:38]wFMCommunicate OK [23:02:38]SAM_PROTO_SignData done [23:02:38]FM_MakeSignedData done [23:02:38]CreateOFDProtocolMessage [23:02:38]wFMCommunicate request_size=4 [23:02:38]MH_SAM_APDU [23:02:38]CAPDU: 80 11 00 00 [23:02:38]Write to MH i2c: E2 08 00 17 08 80 11 00 00 00 00 00 00 99 [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:02:38]Read from MH i2c: E2 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 17 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: E2 17 00 17 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 EB [23:02:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:02:38]wFMCommunicate OK [23:02:38]CreateOFDProtocolMessage done [23:02:38]OFDSenderStorePacket 47483 [23:02:38]StoreOFDPacket docnum=47483 [23:02:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 1E 01 00 00 80 0A 16 01 AA 7A 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 0E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8D 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7B B9 00 00 35 04 06 00 BA 6B DF B9 A0 D9 63 97 F3 34 5A B4 4C 0B [23:02:38]CheckFolder [23:02:38]dirname=/storage/ofd_packets [23:02:38]CheckFolder done [23:02:38]ProducePacketName [23:02:38]name=ofd_packets/00047483 [23:02:38]NVStorageSaveData ofd_packets/00047483 [23:02:38]File name is /storage/ofd_packets/00047483 [23:02:38]Write 316 bytes [23:02:38]NVStorageSaveData done [23:02:38]OFDSenderStorePacket done [23:02:38]KKMCreateOFDPacket done [23:02:38]NVStorageSaveData kkm_last_timestamp [23:02:38]File name is /storage/kkm_last_timestamp [23:02:38]Write 4 bytes [23:02:38]NVStorageSaveData done [23:02:38]ExternCall_PrintAddStr [23:02:38]wPrintStart [23:02:38]Write to MH i2c: 01 00 00 18 08 20 [23:02:38]Write i2c OK [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: 01 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: 01 07 00 [23:02:38]MH_I2C_Read... [23:02:38]Read from MH i2c: 01 07 00 18 08 00 00 00 00 00 FF 0F 35 [23:02:38]RasterBufferAndPrint [23:02:38]line Счет N : (3)242393 [23:02:38]line ИНН: 02508201610067 [23:02:38]line Контрольно-Кассовый Чек [23:02:38]line ПРОДАЖА [23:02:38]line Товар: 42069942 [23:02:38]line Жев Orbit White Fresh Mint [23:02:38]line 1.000 * 36.00 [23:02:38]line = 36.00 [23:02:38]line НДС 12% НСП 1% [23:02:38]line > о реализуемом товаре [23:02:38]line ИТОГО: 36.00 [23:02:38]line НСП 1% : 0.32 [23:02:38]line НДС 12% : 3.82 [23:02:38]line Наличными: 0.00 [23:02:38]line Безнал.: 36.00 [23:02:38]line Место: АЗС № 15 "Партнер Нефть" [23:02:38]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:02:38]line СНО: Общий режим [23:02:38]line Чек 42 13.03.2024 23:02 [23:02:38]line Смена: 316 ФФД: 1.0 [23:02:38]line ЗНМ: 0300000097 [23:02:38]line РНМ: 0000000000092018 [23:02:38]line Версия ККМ: 001 [23:02:38]line Платежная система: Демир КИ Банк [23:02:38]line ФМ: 0000000000871816 [23:02:38]line ФД: 47483 [23:02:38]line ФПД: 204972477751513 [23:02:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230237&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47483&fm=204972477751513&tin=02508201610067®Number=0000000000092018&sum=3600 [23:02:38]line 0 [23:02:38]OFD Sender: Processing packet 47483 [packets to send 8, broken 7] [23:02:38]ProducePacketName [23:02:38]name=ofd_packets/00047483 [23:02:38]OFD Sender: To server: pG, [23:02:38]CommunicateWithHost lk.salyk.kg:30040 [23:02:38]ConnectInit lk.salyk.kg [23:02:38]written 0, free lines is 4095 [23:02:39]Connected sock=10 [23:02:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 1E 01 00 00 80 0A 16 01 AA 7A 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 0E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8D 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7B B9 00 00 35 04 06 00 BA 6B DF B9 A0 D9 63 97 F3 34 5A B4 4C 0B [23:02:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 70 72 47 00 E9 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 31 38 31 36 10 04 04 00 7B B9 00 00 F4 03 04 00 1B DB F1 65 B6 04 01 00 00 59 79 A2 FE 5F 6A 1B B0 [23:02:39]CommunicateWithHost err = 0 [23:02:39]CheckOFDResponse [23:02:39]1017 (14) - 77093643461234 [23:02:39]1041 (16) - 0000000000871816 [23:02:39]1040 (4) - 47483 [23:02:39]1012 (4) - 13.03.2024 16:58 [23:02:39]1206 (1) - 0 [23:02:39]OFD Sender: Remove packet 47483 [23:02:39]ProducePacketName [23:02:39]name=ofd_packets/00047483 [23:02:39]NVStorageDeleteData [23:02:39]Write to MH i2c: 01 00 00 42 08 4A [23:02:39]Write i2c OK [23:02:39]MH_I2C_Read... [23:02:39]Read from MH i2c: 01 [23:02:39]MH_I2C_Read... [23:02:39]Read from MH i2c: 01 07 00 [23:02:39]MH_I2C_Read... [23:02:39]Read from MH i2c: 01 07 00 42 08 00 00 00 00 00 E0 0C 3D [23:02:39]RasterBufferAndPrint [23:02:39]line [23:02:39]line [23:02:39]line [23:02:39]line [23:02:39]line [23:02:39]written 0, free lines is 3302 [23:02:39]MH_Cut [23:02:39]Write to MH i2c: D1 01 00 49 08 01 23 [23:02:39]Write i2c OK [23:02:39]MH_I2C_Read... [23:02:39]Read from MH i2c: D1 [23:02:39]MH_I2C_Read... [23:02:39]Read from MH i2c: D1 01 00 [23:02:39]MH_I2C_Read... [23:02:39]Read from MH i2c: D1 01 00 49 08 00 22 [23:02:39]Write to MH i2c: 01 00 00 4A 08 52 [23:02:39]Write i2c OK [23:02:39]MH_I2C_Read... [23:02:39]OFD Sender: No OFD packet to send [23:02:40]*** Cut start [23:02:40]*** Purtial cut [23:02:40]*** Stage 1: CUTSNS_PIN = 1 [23:02:40]Read from MH i2c: 01 [23:02:40]MH_I2C_Read... [23:02:40]*** Stop cut motor [23:02:40]*** Cut end [23:02:40]Read from MH i2c: 01 07 00 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: 01 07 00 4A 08 00 00 00 00 00 FF 0F 67 [23:02:40]process_action close_receipt done [23:02:40]requested_data is exist [23:02:40]produce_requested_data [23:02:40]requested_item fm.sn is exist - process it [23:02:40]wFMCommunicate request_size=4 [23:02:40]MH_SAM_APDU [23:02:40]CAPDU: 80 11 00 00 [23:02:40]Write to MH i2c: E2 08 00 4B 08 80 11 00 00 00 00 00 00 CD [23:02:40]Write i2c OK [23:02:40]MH_I2C_Read... [23:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:02:40]Read from MH i2c: E2 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: E2 17 00 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: E2 17 00 4B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 1F [23:02:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:02:40]wFMCommunicate OK [23:02:40]requested_item fd.num is exist - process it [23:02:40]SAM_PROTO_GetFieldsCounters [23:02:40]wFMCommunicate request_size=4 [23:02:40]MH_SAM_APDU [23:02:40]CAPDU: 80 13 00 00 [23:02:40]Write to MH i2c: E2 08 00 4C 08 80 13 00 00 00 00 00 00 D0 [23:02:40]Write i2c OK [23:02:40]MH_I2C_Read... [23:02:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:02:40]Read from MH i2c: E2 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: E2 62 00 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: E2 62 00 4C 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7B B9 00 00 0E 04 04 00 3C 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 DA [23:02:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7B B9 00 00 0E 04 04 00 3C 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 [23:02:40]wFMCommunicate OK [23:02:40]SAM_PROTO_GetFieldsCounters done [23:02:40]requested_item shift.num is exist - process it [23:02:40]requested_item shift.opened is exist - process it [23:02:40]req_shift_opened [23:02:40]FM_GetShiftState [23:02:40]SAM_PROTO_GetShiftState [23:02:40]wFMCommunicate request_size=4 [23:02:40]MH_SAM_APDU [23:02:40]CAPDU: 80 13 01 00 [23:02:40]Write to MH i2c: E2 08 00 4D 08 80 13 01 00 00 00 00 00 D2 [23:02:40]Write i2c OK [23:02:40]MH_I2C_Read... [23:02:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:02:40]Read from MH i2c: E2 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: E2 0E 00 [23:02:40]MH_I2C_Read... [23:02:40]Read from MH i2c: E2 0E 00 4D 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 EF [23:02:40]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:02:40]wFMCommunicate OK [23:02:40]SAM_PROTO_GetShiftState done [23:02:40]FM_GetShiftState done [23:02:40]req_shift_opened done [23:02:40]requested_item shift.open_date is exist - process it [23:02:40]req_shift_open_date [23:02:40]req_shift_open_date done [23:02:40]produce_requested_data done [23:02:40]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47483,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:02:40]process_action_free close_receipt [23:02:40]json_value_free [23:02:40]json_value_free done [23:02:40]process_json_proto returns [23:02:40]Send response to host [23:02:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47483,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:02:40]free response buf [23:02:40]execute_script done [23:02:40]execute_script returns [23:02:40]free content buf [23:02:40]Sock 7.Close socket [23:02:40]Sock 7.Thread stoped [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:42]accept exits with 9 [23:03:42]New connection [23:03:42]New thread 3067174244 created [23:03:42]Thread 3067030884 joined [23:03:42]Waiting for new connection... [23:03:42] Sock 9.Parse request [23:03:42]Sock 9.Check first char [23:03:42]Sock 9.First char is OK [23:03:42]request: POST /json_proto HTTP/1.0 [23:03:42]Method: POST [23:03:42]URL: /json_proto [23:03:42]Method is POST - this is cgi request [23:03:42]url: /json_proto [23:03:42]query_string will be loaded in cgi processing [23:03:42]execute_cgi json_proto POST (null) [23:03:42]execute_cgi path=json_proto method=POST [23:03:42]POST find Content-Length [23:03:42]Host: 172.17.32.68:8080 [23:03:42]Content-Length: 621 [23:03:42]Content-Type: application/json [23:03:42] [23:03:42]POST finish read [23:03:42]Found Content-Length = 621 [23:03:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242394", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "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" ] } } [23:03:42]execute_script... [23:03: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)242394", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "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" ] } } [23:03:42]POST & json_proto [23:03:42]process_json_proto [23:03:42]json parsed OK: [23:03:42]protocol is kg_v1.0 [23:03:42]action value=close_receipt [23:03:42]process_action close_receipt [23:03:42]cmd_close_receipt [23:03:42]MH_GetDate [23:03:42]Write to MH i2c: F0 00 00 4E 08 45 [23:03:42]Write i2c OK [23:03:42]MH_I2C_Read... [23:03:42]Read from MH i2c: F0 [23:03:42]MH_I2C_Read... [23:03:42]Read from MH i2c: F0 09 00 [23:03:42]MH_I2C_Read... [23:03:42]Read from MH i2c: F0 09 00 4E 08 00 CF 30 F2 65 0A 64 6E 65 E5 [23:03:42]GetLastDocTimeStamp 1710370957 [23:03:42]current date 1710371023 [23:03:42]FM_GetShiftState [23:03:42]SAM_PROTO_GetShiftState [23:03:42]wFMCommunicate request_size=4 [23:03:42]MH_SAM_APDU [23:03:42]CAPDU: 80 13 01 00 [23:03:42]Write to MH i2c: E2 08 00 4F 08 80 13 01 00 00 00 00 00 D4 [23:03:42]Write i2c OK [23:03:42]MH_I2C_Read... [23:03:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:03:42]Read from MH i2c: E2 [23:03:42]MH_I2C_Read... [23:03:42]Read from MH i2c: E2 0E 00 [23:03:42]MH_I2C_Read... [23:03:42]Read from MH i2c: E2 0E 00 4F 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 F1 [23:03:42]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:03:42]wFMCommunicate OK [23:03:42]SAM_PROTO_GetShiftState done [23:03:42]FM_GetShiftState done [23:03:42]opened in 1710338059 [23:03:42]opened+sec_in_day 1710424459 [23:03:42]quantity*price = 12500 [23:03:42]sum+1 = 12501 [23:03:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 43 13.03.2024 23:03 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47484 ФПД: 249341095949977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230343&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47484&fm=249341095949977&tin=02508201610067®Number=0000000000092018&sum=12500 0 [23:03:43]StoreToDocumentArchive [23:03:43]shift 316 fd 47484 [23:03:43]save to /storage/0316/doc_00047484 [23:03:43]save last doc name /storage/0316/doc_00047484 to /storage/kkm_last_doc_name [23:03:43]save OK [23:03:43]Clear old archive folders... [23:03:43]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:03:43]tlvbuf is 011B02C0 [23:03:43]SAM_PROTO_ClearQueue [23:03:43]wFMCommunicate request_size=4 [23:03:43]MH_SAM_APDU [23:03:43]CAPDU: 80 09 00 00 [23:03:43]Write to MH i2c: E2 08 00 5C 08 80 09 00 00 00 00 00 00 D6 [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:03:43]Read from MH i2c: E2 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 5C 08 00 90 00 D8 [23:03:43]RAPDU: 90 00 [23:03:43]wFMCommunicate OK [23:03:43]SAM_PROTO_ClearQueue done [23:03:43]KKMCreateOFDPacket [23:03:43]OFDProtocolAddRootSTLVToBuf [23:03:43]FM_MakeSignedData [23:03:43]FM_MakeSignedData [23:03:43]SAM_PROTO_SignData [23:03:43]wFMCommunicate request_size=4 [23:03:43]MH_SAM_APDU [23:03:43]CAPDU: 80 0D 01 02 [23:03:43]Write to MH i2c: E2 08 00 5D 08 80 0D 01 02 00 00 00 00 DE [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:03:43]Read from MH i2c: E2 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 5D 08 00 90 00 D9 [23:03:43]RAPDU: 90 00 [23:03:43]wFMCommunicate OK [23:03:43]wFMCommunicate request_size=255 [23:03:43]MH_SAM_APDU [23:03:43]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 2B 00 00 00 F4 03 04 00 CF 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [23:03:43]Write to MH i2c: E2 02 01 5E 08 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 2B 00 00 00 F4 03 04 00 CF 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 80 [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:03:43]Read from MH i2c: E2 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 5E 08 00 90 00 DA [23:03:43]RAPDU: 90 00 [23:03:43]wFMCommunicate OK [23:03:43]wFMCommunicate request_size=32 [23:03:43]MH_SAM_APDU [23:03:43]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 7C B9 00 00 35 04 06 00 E2 C6 3F 73 B6 99 [23:03:43]Write to MH i2c: E2 23 00 5F 08 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 7C B9 00 00 35 04 06 00 E2 C6 3F 73 B6 99 00 00 1B [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:03:43]Read from MH i2c: E2 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 03 00 5F 08 00 90 00 DB [23:03:43]RAPDU: 90 00 [23:03:43]wFMCommunicate OK [23:03:43]wFMCommunicate request_size=4 [23:03:43]MH_SAM_APDU [23:03:43]CAPDU: 80 0D 03 02 [23:03:43]Write to MH i2c: E2 08 00 60 08 80 0D 03 02 00 00 00 00 E3 [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:03:43]Read from MH i2c: E2 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 0B 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 0B 00 60 08 00 18 F4 CB 74 A0 58 DB BB 90 00 BD [23:03:43]RAPDU: 18 F4 CB 74 A0 58 DB BB 90 00 [23:03:43]wFMCommunicate OK [23:03:43]SAM_PROTO_SignData done [23:03:43]FM_MakeSignedData done [23:03:43]CreateOFDProtocolMessage [23:03:43]wFMCommunicate request_size=4 [23:03:43]MH_SAM_APDU [23:03:43]CAPDU: 80 11 00 00 [23:03:43]Write to MH i2c: E2 08 00 61 08 80 11 00 00 00 00 00 00 E3 [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:03:43]Read from MH i2c: E2 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 17 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: E2 17 00 61 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 35 [23:03:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:03:43]wFMCommunicate OK [23:03:43]CreateOFDProtocolMessage done [23:03:43]OFDSenderStorePacket 47484 [23:03:43]StoreOFDPacket docnum=47484 [23:03:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 A0 05 1D 01 2C 08 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 2B 00 00 00 F4 03 04 00 CF 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7C B9 00 00 35 04 06 00 E2 C6 3F 73 B6 99 18 F4 CB 74 A0 58 DB BB [23:03:43]CheckFolder [23:03:43]dirname=/storage/ofd_packets [23:03:43]CheckFolder done [23:03:43]ProducePacketName [23:03:43]name=ofd_packets/00047484 [23:03:43]NVStorageSaveData ofd_packets/00047484 [23:03:43]File name is /storage/ofd_packets/00047484 [23:03:43]Write 323 bytes [23:03:43]NVStorageSaveData done [23:03:43]OFDSenderStorePacket done [23:03:43]KKMCreateOFDPacket done [23:03:43]NVStorageSaveData kkm_last_timestamp [23:03:43]File name is /storage/kkm_last_timestamp [23:03:43]Write 4 bytes [23:03:43]NVStorageSaveData done [23:03:43]ExternCall_PrintAddStr [23:03:43]wPrintStart [23:03:43]Write to MH i2c: 01 00 00 62 08 6A [23:03:43]Write i2c OK [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: 01 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: 01 07 00 [23:03:43]MH_I2C_Read... [23:03:43]Read from MH i2c: 01 07 00 62 08 00 00 00 00 00 FF 0F 7F [23:03:43]RasterBufferAndPrint [23:03:43]line Счет N : (3)242394 [23:03:43]line ИНН: 02508201610067 [23:03:43]line Контрольно-Кассовый Чек [23:03:43]line ПРОДАЖА [23:03:43]line Товар: 4780014240406 [23:03:43]line Сигареты Sovereign Blue [23:03:43]line 1.000 * 125.00 [23:03:43]line = 125.00 [23:03:43]line НДС 12% НСП 1% [23:03:43]line > о реализуемом товаре [23:03:43]line ИТОГО: 125.00 [23:03:43]line НСП 1% : 1.11 [23:03:43]line НДС 12% : 13.27 [23:03:43]line Наличными: 125.00 [23:03:43]line Безнал.: 0.00 [23:03:43]line Место: АЗС № 15 "Партнер Нефть" [23:03:43]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:03:43]line СНО: Общий режим [23:03:43]line Чек 43 13.03.2024 23:03 [23:03:43]line Смена: 316 ФФД: 1.0 [23:03:43]line ЗНМ: 0300000097 [23:03:43]line РНМ: 0000000000092018 [23:03:43]line Версия ККМ: 001 [23:03:43]line ФМ: 0000000000871816 [23:03:43]line ФД: 47484 [23:03:43]line ФПД: 249341095949977 [23:03:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230343&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47484&fm=249341095949977&tin=02508201610067®Number=0000000000092018&sum=12500 [23:03:44]line 0 [23:03:44]OFD Sender: Processing packet 47484 [packets to send 8, broken 7] [23:03:44]ProducePacketName [23:03:44]name=ofd_packets/00047484 [23:03:44]OFD Sender: To server: pG, [23:03:44]CommunicateWithHost lk.salyk.kg:30040 [23:03:44]ConnectInit lk.salyk.kg [23:03:44]written 0, free lines is 4095 [23:03:44]Connected sock=10 [23:03:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 A0 05 1D 01 2C 08 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 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 2B 00 00 00 F4 03 04 00 CF 30 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7C B9 00 00 35 04 06 00 E2 C6 3F 73 B6 99 18 F4 CB 74 A0 58 DB BB [23:03:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 FD 18 47 00 3A C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7C B9 00 00 F4 03 04 00 5C DB F1 65 B6 04 01 00 00 B8 DD E0 A0 FF FF AD 31 [23:03:44]CommunicateWithHost err = 0 [23:03:44]CheckOFDResponse [23:03:44]1017 (14) - 77093643461234 [23:03:44]1041 (16) - 0000000000871816 [23:03:44]1040 (4) - 47484 [23:03:44]1012 (4) - 13.03.2024 16:59 [23:03:44]1206 (1) - 0 [23:03:44]OFD Sender: Remove packet 47484 [23:03:44]ProducePacketName [23:03:44]name=ofd_packets/00047484 [23:03:44]NVStorageDeleteData [23:03:44]Write to MH i2c: 01 00 00 8A 08 92 [23:03:44]Write i2c OK [23:03:44]MH_I2C_Read... [23:03:44]Read from MH i2c: 01 [23:03:44]MH_I2C_Read... [23:03:44]Read from MH i2c: 01 07 00 [23:03:44]MH_I2C_Read... [23:03:44]Read from MH i2c: 01 07 00 8A 08 00 00 00 00 00 FF 0C A4 [23:03:44]RasterBufferAndPrint [23:03:44]line [23:03:44]line [23:03:44]line [23:03:44]line [23:03:44]line [23:03:44]written 0, free lines is 3335 [23:03:44]MH_Cut [23:03:44]Write to MH i2c: D1 01 00 91 08 01 6B [23:03:44]Write i2c OK [23:03:44]MH_I2C_Read... [23:03:44]Read from MH i2c: D1 [23:03:44]MH_I2C_Read... [23:03:44]Read from MH i2c: D1 01 00 [23:03:44]MH_I2C_Read... [23:03:44]Read from MH i2c: D1 01 00 91 08 00 6A [23:03:44]Write to MH i2c: 01 00 00 92 08 9A [23:03:44]Write i2c OK [23:03:44]MH_I2C_Read... [23:03:44]OFD Sender: No OFD packet to send [23:03:45]*** Cut start [23:03:45]*** Purtial cut [23:03:45]*** Stage 1: CUTSNS_PIN = 1 [23:03:45]Read from MH i2c: 01 [23:03:45]MH_I2C_Read... [23:03:45]*** Stop cut motor [23:03:45]*** Cut end [23:03:45]Read from MH i2c: 01 07 00 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: 01 07 00 92 08 00 00 00 00 00 FF 0F AF [23:03:45]process_action close_receipt done [23:03:45]requested_data is exist [23:03:45]produce_requested_data [23:03:45]requested_item fm.sn is exist - process it [23:03:45]wFMCommunicate request_size=4 [23:03:45]MH_SAM_APDU [23:03:45]CAPDU: 80 11 00 00 [23:03:45]Write to MH i2c: E2 08 00 93 08 80 11 00 00 00 00 00 00 15 [23:03:45]Write i2c OK [23:03:45]MH_I2C_Read... [23:03:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:03:45]Read from MH i2c: E2 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: E2 17 00 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: E2 17 00 93 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 67 [23:03:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:03:45]wFMCommunicate OK [23:03:45]requested_item fd.num is exist - process it [23:03:45]SAM_PROTO_GetFieldsCounters [23:03:45]wFMCommunicate request_size=4 [23:03:45]MH_SAM_APDU [23:03:45]CAPDU: 80 13 00 00 [23:03:45]Write to MH i2c: E2 08 00 94 08 80 13 00 00 00 00 00 00 18 [23:03:45]Write i2c OK [23:03:45]MH_I2C_Read... [23:03:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:03:45]Read from MH i2c: E2 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: E2 62 00 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: E2 62 00 94 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7C B9 00 00 0E 04 04 00 3C 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 26 [23:03:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7C B9 00 00 0E 04 04 00 3C 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 [23:03:45]wFMCommunicate OK [23:03:45]SAM_PROTO_GetFieldsCounters done [23:03:45]requested_item shift.num is exist - process it [23:03:45]requested_item shift.opened is exist - process it [23:03:45]req_shift_opened [23:03:45]FM_GetShiftState [23:03:45]SAM_PROTO_GetShiftState [23:03:45]wFMCommunicate request_size=4 [23:03:45]MH_SAM_APDU [23:03:45]CAPDU: 80 13 01 00 [23:03:45]Write to MH i2c: E2 08 00 95 08 80 13 01 00 00 00 00 00 1A [23:03:45]Write i2c OK [23:03:45]MH_I2C_Read... [23:03:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:03:45]Read from MH i2c: E2 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: E2 0E 00 [23:03:45]MH_I2C_Read... [23:03:45]Read from MH i2c: E2 0E 00 95 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 37 [23:03:45]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:03:45]wFMCommunicate OK [23:03:45]SAM_PROTO_GetShiftState done [23:03:45]FM_GetShiftState done [23:03:45]req_shift_opened done [23:03:45]requested_item shift.open_date is exist - process it [23:03:45]req_shift_open_date [23:03:45]req_shift_open_date done [23:03:45]produce_requested_data done [23:03:45]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47484,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:03:45]process_action_free close_receipt [23:03:45]json_value_free [23:03:45]json_value_free done [23:03:45]process_json_proto returns [23:03:45]Send response to host [23:03:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47484,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:03:45]free response buf [23:03:45]execute_script done [23:03:45]execute_script returns [23:03:45]free content buf [23:03:45]Sock 9.Close socket [23:03:45]Sock 9.Thread stoped [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:52]accept exits with 7 [23:06:52]New connection [23:06:52]New thread 3067030884 created [23:06:52]Thread 3067174244 joined [23:06:52]Waiting for new connection... [23:06:52] Sock 7.Parse request [23:06:52]Sock 7.Check first char [23:06:52]Sock 7.First char is OK [23:06:52]request: POST /json_proto HTTP/1.0 [23:06:52]Method: POST [23:06:52]URL: /json_proto [23:06:52]Method is POST - this is cgi request [23:06:52]url: /json_proto [23:06:52]query_string will be loaded in cgi processing [23:06:52]execute_cgi json_proto POST (null) [23:06:52]execute_cgi path=json_proto method=POST [23:06:52]POST find Content-Length [23:06:52]Host: 172.17.32.68:8080 [23:06:52]Content-Length: 622 [23:06:52]Content-Type: application/json [23:06:52] [23:06:52]POST finish read [23:06:52]Found Content-Length = 622 [23:06:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242395", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:06:52]execute_script... [23:06: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)242395", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:06:52]POST & json_proto [23:06:52]process_json_proto [23:06:52]json parsed OK: [23:06:52]protocol is kg_v1.0 [23:06:52]action value=close_receipt [23:06:52]process_action close_receipt [23:06:52]cmd_close_receipt [23:06:52]MH_GetDate [23:06:52]Write to MH i2c: F0 00 00 96 08 8D [23:06:52]Write i2c OK [23:06:52]MH_I2C_Read... [23:06:52]Read from MH i2c: F0 [23:06:52]MH_I2C_Read... [23:06:52]Read from MH i2c: F0 09 00 [23:06:52]MH_I2C_Read... [23:06:52]Read from MH i2c: F0 09 00 96 08 00 8D 31 F2 65 0A 64 6E 65 EC [23:06:52]GetLastDocTimeStamp 1710371023 [23:06:52]current date 1710371213 [23:06:52]FM_GetShiftState [23:06:52]SAM_PROTO_GetShiftState [23:06:52]wFMCommunicate request_size=4 [23:06:52]MH_SAM_APDU [23:06:52]CAPDU: 80 13 01 00 [23:06:52]Write to MH i2c: E2 08 00 97 08 80 13 01 00 00 00 00 00 1C [23:06:52]Write i2c OK [23:06:52]MH_I2C_Read... [23:06:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:06:52]Read from MH i2c: E2 [23:06:52]MH_I2C_Read... [23:06:52]Read from MH i2c: E2 0E 00 [23:06:52]MH_I2C_Read... [23:06:52]Read from MH i2c: E2 0E 00 97 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 39 [23:06:52]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:06:52]wFMCommunicate OK [23:06:52]SAM_PROTO_GetShiftState done [23:06:52]FM_GetShiftState done [23:06:52]opened in 1710338059 [23:06:52]opened+sec_in_day 1710424459 [23:06:52]quantity*price = 13800 [23:06:52]sum+1 = 13801 [23:06:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 44 13.03.2024 23:06 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47485 ФПД: 142605652510545 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230653&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47485&fm=142605652510545&tin=02508201610067®Number=0000000000092018&sum=13800 0 [23:06:54]StoreToDocumentArchive [23:06:54]shift 316 fd 47485 [23:06:54]save to /storage/0316/doc_00047485 [23:06:54]save last doc name /storage/0316/doc_00047485 to /storage/kkm_last_doc_name [23:06:54]save OK [23:06:54]Clear old archive folders... [23:06:54]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:06:54]tlvbuf is 011A7AD0 [23:06:54]SAM_PROTO_ClearQueue [23:06:54]wFMCommunicate request_size=4 [23:06:54]MH_SAM_APDU [23:06:54]CAPDU: 80 09 00 00 [23:06:54]Write to MH i2c: E2 08 00 A4 08 80 09 00 00 00 00 00 00 1E [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:06:54]Read from MH i2c: E2 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 A4 08 00 90 00 20 [23:06:54]RAPDU: 90 00 [23:06:54]wFMCommunicate OK [23:06:54]SAM_PROTO_ClearQueue done [23:06:54]KKMCreateOFDPacket [23:06:54]OFDProtocolAddRootSTLVToBuf [23:06:54]FM_MakeSignedData [23:06:54]FM_MakeSignedData [23:06:54]SAM_PROTO_SignData [23:06:54]wFMCommunicate request_size=4 [23:06:54]MH_SAM_APDU [23:06:54]CAPDU: 80 0D 01 02 [23:06:54]Write to MH i2c: E2 08 00 A5 08 80 0D 01 02 00 00 00 00 26 [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:06:54]Read from MH i2c: E2 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 A5 08 00 90 00 21 [23:06:54]RAPDU: 90 00 [23:06:54]wFMCommunicate OK [23:06:54]wFMCommunicate request_size=255 [23:06:54]MH_SAM_APDU [23:06:54]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8D 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 [23:06:54]Write to MH i2c: E2 02 01 A6 08 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8D 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 00 00 DC [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:06:54]Read from MH i2c: E2 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 A6 08 00 90 00 22 [23:06:54]RAPDU: 90 00 [23:06:54]wFMCommunicate OK [23:06:54]wFMCommunicate request_size=33 [23:06:54]MH_SAM_APDU [23:06:54]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7D B9 00 00 35 04 06 00 81 B2 F7 42 C7 51 [23:06:54]Write to MH i2c: E2 24 00 A7 08 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7D B9 00 00 35 04 06 00 81 B2 F7 42 C7 51 00 00 71 [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:06:54]Read from MH i2c: E2 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 03 00 A7 08 00 90 00 23 [23:06:54]RAPDU: 90 00 [23:06:54]wFMCommunicate OK [23:06:54]wFMCommunicate request_size=4 [23:06:54]MH_SAM_APDU [23:06:54]CAPDU: 80 0D 03 02 [23:06:54]Write to MH i2c: E2 08 00 A8 08 80 0D 03 02 00 00 00 00 2B [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:06:54]Read from MH i2c: E2 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 0B 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 0B 00 A8 08 00 B4 A5 1C 78 CD 9A D0 3C 90 00 8C [23:06:54]RAPDU: B4 A5 1C 78 CD 9A D0 3C 90 00 [23:06:54]wFMCommunicate OK [23:06:54]SAM_PROTO_SignData done [23:06:54]FM_MakeSignedData done [23:06:54]CreateOFDProtocolMessage [23:06:54]wFMCommunicate request_size=4 [23:06:54]MH_SAM_APDU [23:06:54]CAPDU: 80 11 00 00 [23:06:54]Write to MH i2c: E2 08 00 A9 08 80 11 00 00 00 00 00 00 2B [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:06:54]Read from MH i2c: E2 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 17 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: E2 17 00 A9 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 7D [23:06:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:06:54]wFMCommunicate OK [23:06:54]CreateOFDProtocolMessage done [23:06:54]OFDSenderStorePacket 47485 [23:06:54]StoreOFDPacket docnum=47485 [23:06:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 26 01 00 00 9D CE 1E 01 1B 05 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8D 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7D B9 00 00 35 04 06 00 81 B2 F7 42 C7 51 B4 A5 1C 78 CD 9A D0 3C [23:06:54]CheckFolder [23:06:54]dirname=/storage/ofd_packets [23:06:54]CheckFolder done [23:06:54]ProducePacketName [23:06:54]name=ofd_packets/00047485 [23:06:54]NVStorageSaveData ofd_packets/00047485 [23:06:54]File name is /storage/ofd_packets/00047485 [23:06:54]Write 324 bytes [23:06:54]NVStorageSaveData done [23:06:54]OFDSenderStorePacket done [23:06:54]KKMCreateOFDPacket done [23:06:54]NVStorageSaveData kkm_last_timestamp [23:06:54]File name is /storage/kkm_last_timestamp [23:06:54]Write 4 bytes [23:06:54]NVStorageSaveData done [23:06:54]ExternCall_PrintAddStr [23:06:54]wPrintStart [23:06:54]Write to MH i2c: 01 00 00 AA 08 B2 [23:06:54]Write i2c OK [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: 01 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: 01 07 00 [23:06:54]MH_I2C_Read... [23:06:54]Read from MH i2c: 01 07 00 AA 08 00 00 00 00 00 FF 0F C7 [23:06:54]RasterBufferAndPrint [23:06:54]line Счет N : (3)242395 [23:06:54]line ИНН: 02508201610067 [23:06:54]line Контрольно-Кассовый Чек [23:06:54]line ПРОДАЖА [23:06:54]line Товар: 4640030091645 [23:06:54]line Сигареты ESSE Exchange M [23:06:54]line 1.000 * 138.00 [23:06:54]line = 138.00 [23:06:54]line НДС 12% НСП 1% [23:06:54]line > о реализуемом товаре [23:06:54]line ИТОГО: 138.00 [23:06:54]line НСП 1% : 1.22 [23:06:54]line НДС 12% : 14.65 [23:06:54]line Наличными: 138.00 [23:06:54]line Безнал.: 0.00 [23:06:54]line Место: АЗС № 15 "Партнер Нефть" [23:06:54]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:06:54]line СНО: Общий режим [23:06:54]line Чек 44 13.03.2024 23:06 [23:06:54]line Смена: 316 ФФД: 1.0 [23:06:54]line ЗНМ: 0300000097 [23:06:54]line РНМ: 0000000000092018 [23:06:54]line Версия ККМ: 001 [23:06:54]line ФМ: 0000000000871816 [23:06:54]line ФД: 47485 [23:06:54]line ФПД: 142605652510545 [23:06:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230653&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47485&fm=142605652510545&tin=02508201610067®Number=0000000000092018&sum=13800 [23:06:54]line 0 [23:06:54]OFD Sender: Processing packet 47485 [packets to send 8, broken 7] [23:06:54]ProducePacketName [23:06:54]name=ofd_packets/00047485 [23:06:54]OFD Sender: To server: pG, [23:06:54]CommunicateWithHost lk.salyk.kg:30040 [23:06:54]ConnectInit lk.salyk.kg [23:06:54]written 0, free lines is 4095 [23:06:54]Connected sock=10 [23:06:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 26 01 00 00 9D CE 1E 01 1B 05 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8D 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7D B9 00 00 35 04 06 00 81 B2 F7 42 C7 51 B4 A5 1C 78 CD 9A D0 3C [23:06:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 47 E6 47 00 F4 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7D B9 00 00 F4 03 04 00 1B DC F1 65 B6 04 01 00 00 53 7D AB 01 C7 EE 82 CE [23:06:55]CommunicateWithHost err = 0 [23:06:55]CheckOFDResponse [23:06:55]1017 (14) - 77093643461234 [23:06:55]1041 (16) - 0000000000871816 [23:06:55]1040 (4) - 47485 [23:06:55]1012 (4) - 13.03.2024 17:02 [23:06:55]1206 (1) - 0 [23:06:55]OFD Sender: Remove packet 47485 [23:06:55]ProducePacketName [23:06:55]name=ofd_packets/00047485 [23:06:55]NVStorageDeleteData [23:06:55]Write to MH i2c: 01 00 00 D2 08 DA [23:06:55]Write i2c OK [23:06:55]MH_I2C_Read... [23:06:55]Read from MH i2c: 01 [23:06:55]MH_I2C_Read... [23:06:55]Read from MH i2c: 01 07 00 [23:06:55]MH_I2C_Read... [23:06:55]Read from MH i2c: 01 07 00 D2 08 00 00 00 00 00 F8 0C E5 [23:06:55]RasterBufferAndPrint [23:06:55]line [23:06:55]line [23:06:55]line [23:06:55]line [23:06:55]line [23:06:55]written 0, free lines is 3327 [23:06:55]MH_Cut [23:06:55]Write to MH i2c: D1 01 00 D9 08 01 B3 [23:06:55]Write i2c OK [23:06:55]MH_I2C_Read... [23:06:55]Read from MH i2c: D1 [23:06:55]MH_I2C_Read... [23:06:55]Read from MH i2c: D1 01 00 [23:06:55]MH_I2C_Read... [23:06:55]Read from MH i2c: D1 01 00 D9 08 00 B2 [23:06:55]Write to MH i2c: 01 00 00 DA 08 E2 [23:06:55]Write i2c OK [23:06:55]MH_I2C_Read... [23:06:55]OFD Sender: No OFD packet to send [23:06:56]*** Cut start [23:06:56]*** Purtial cut [23:06:56]*** Stage 1: CUTSNS_PIN = 1 [23:06:56]Read from MH i2c: 01 [23:06:56]MH_I2C_Read... [23:06:56]*** Stop cut motor [23:06:56]*** Cut end [23:06:56]Read from MH i2c: 01 07 00 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: 01 07 00 DA 08 00 00 00 00 00 FF 0F F7 [23:06:56]process_action close_receipt done [23:06:56]requested_data is exist [23:06:56]produce_requested_data [23:06:56]requested_item fm.sn is exist - process it [23:06:56]wFMCommunicate request_size=4 [23:06:56]MH_SAM_APDU [23:06:56]CAPDU: 80 11 00 00 [23:06:56]Write to MH i2c: E2 08 00 DB 08 80 11 00 00 00 00 00 00 5D [23:06:56]Write i2c OK [23:06:56]MH_I2C_Read... [23:06:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:06:56]Read from MH i2c: E2 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: E2 17 00 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: E2 17 00 DB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 AF [23:06:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:06:56]wFMCommunicate OK [23:06:56]requested_item fd.num is exist - process it [23:06:56]SAM_PROTO_GetFieldsCounters [23:06:56]wFMCommunicate request_size=4 [23:06:56]MH_SAM_APDU [23:06:56]CAPDU: 80 13 00 00 [23:06:56]Write to MH i2c: E2 08 00 DC 08 80 13 00 00 00 00 00 00 60 [23:06:56]Write i2c OK [23:06:56]MH_I2C_Read... [23:06:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:06:56]Read from MH i2c: E2 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: E2 62 00 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: E2 62 00 DC 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7D B9 00 00 0E 04 04 00 3C 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 72 [23:06:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7D B9 00 00 0E 04 04 00 3C 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 [23:06:56]wFMCommunicate OK [23:06:56]SAM_PROTO_GetFieldsCounters done [23:06:56]requested_item shift.num is exist - process it [23:06:56]requested_item shift.opened is exist - process it [23:06:56]req_shift_opened [23:06:56]FM_GetShiftState [23:06:56]SAM_PROTO_GetShiftState [23:06:56]wFMCommunicate request_size=4 [23:06:56]MH_SAM_APDU [23:06:56]CAPDU: 80 13 01 00 [23:06:56]Write to MH i2c: E2 08 00 DD 08 80 13 01 00 00 00 00 00 62 [23:06:56]Write i2c OK [23:06:56]MH_I2C_Read... [23:06:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:06:56]Read from MH i2c: E2 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: E2 0E 00 [23:06:56]MH_I2C_Read... [23:06:56]Read from MH i2c: E2 0E 00 DD 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 7F [23:06:56]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:06:56]wFMCommunicate OK [23:06:56]SAM_PROTO_GetShiftState done [23:06:56]FM_GetShiftState done [23:06:56]req_shift_opened done [23:06:56]requested_item shift.open_date is exist - process it [23:06:56]req_shift_open_date [23:06:56]req_shift_open_date done [23:06:56]produce_requested_data done [23:06:56]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47485,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:06:56]process_action_free close_receipt [23:06:56]json_value_free [23:06:56]json_value_free done [23:06:56]process_json_proto returns [23:06:56]Send response to host [23:06:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47485,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:06:56]free response buf [23:06:56]execute_script done [23:06:56]execute_script returns [23:06:56]free content buf [23:06:56]Sock 7.Close socket [23:06:56]Sock 7.Thread stoped [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:32]accept exits with 9 [23:07:32]New connection [23:07:32]New thread 3067174244 created [23:07:32]Thread 3067030884 joined [23:07:32]Waiting for new connection... [23:07:32] Sock 9.Parse request [23:07:32]Sock 9.Check first char [23:07:32]Sock 9.First char is OK [23:07:32]request: POST /json_proto HTTP/1.0 [23:07:32]Method: POST [23:07:32]URL: /json_proto [23:07:32]Method is POST - this is cgi request [23:07:32]url: /json_proto [23:07:32]query_string will be loaded in cgi processing [23:07:32]execute_cgi json_proto POST (null) [23:07:32]execute_cgi path=json_proto method=POST [23:07:32]POST find Content-Length [23:07:32]Host: 172.17.32.68:8080 [23:07:32]Content-Length: 939 [23:07:32]Content-Type: application/json [23:07:32] [23:07:32]POST finish read [23:07:32]Found Content-Length = 939 [23:07:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242396", "tax_sys" : 0, "items" : [ { "code": "5906534012098", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento V454 ocean", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 181.00, "quantity" : 1.000, "sum" : 181.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 426.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:07:32]execute_script... [23:07: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)242396", "tax_sys" : 0, "items" : [ { "code": "5906534012098", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento V454 ocean", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 181.00, "quantity" : 1.000, "sum" : 181.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 426.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:07:32]POST & json_proto [23:07:32]process_json_proto [23:07:32]json parsed OK: [23:07:32]protocol is kg_v1.0 [23:07:32]action value=close_receipt [23:07:32]process_action close_receipt [23:07:32]cmd_close_receipt [23:07:32]MH_GetDate [23:07:32]Write to MH i2c: F0 00 00 DE 08 D5 [23:07:32]Write i2c OK [23:07:32]MH_I2C_Read... [23:07:32]Read from MH i2c: F0 [23:07:32]MH_I2C_Read... [23:07:32]Read from MH i2c: F0 09 00 [23:07:32]MH_I2C_Read... [23:07:32]Read from MH i2c: F0 09 00 DE 08 00 B5 31 F2 65 0A 64 6E 65 5C [23:07:32]GetLastDocTimeStamp 1710371213 [23:07:32]current date 1710371253 [23:07:32]FM_GetShiftState [23:07:32]SAM_PROTO_GetShiftState [23:07:32]wFMCommunicate request_size=4 [23:07:32]MH_SAM_APDU [23:07:32]CAPDU: 80 13 01 00 [23:07:32]Write to MH i2c: E2 08 00 DF 08 80 13 01 00 00 00 00 00 64 [23:07:32]Write i2c OK [23:07:32]MH_I2C_Read... [23:07:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:07:32]Read from MH i2c: E2 [23:07:32]MH_I2C_Read... [23:07:32]Read from MH i2c: E2 0E 00 [23:07:32]MH_I2C_Read... [23:07:32]Read from MH i2c: E2 0E 00 DF 08 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 81 [23:07:32]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:07:32]wFMCommunicate OK [23:07:32]SAM_PROTO_GetShiftState done [23:07:32]FM_GetShiftState done [23:07:32]opened in 1710338059 [23:07:32]opened+sec_in_day 1710424459 [23:07:32]quantity*price = 24500 [23:07:32]sum+1 = 24501 [23:07:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700041420084 Салфетки влажн BEST ANTIBACTERIAL 100 шт 1.000 * 181.00 = 181.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 426.00 НСП 1% : 3.77 НДС 12% : 45.24 Наличными: 426.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 45 13.03.2024 23:07 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47486 ФПД: 272386217981965 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230733&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47486&fm=272386217981965&tin=02508201610067®Number=0000000000092018&sum=42600 0 [23:07:33]StoreToDocumentArchive [23:07:33]shift 316 fd 47486 [23:07:33]save to /storage/0316/doc_00047486 [23:07:33]save last doc name /storage/0316/doc_00047486 to /storage/kkm_last_doc_name [23:07:33]save OK [23:07:33]Clear old archive folders... [23:07:33]ProcessDocumentItem done err = 0, tmpTLVsize=413 [23:07:33]tlvbuf is 011C1920 [23:07:33]SAM_PROTO_ClearQueue [23:07:33]wFMCommunicate request_size=4 [23:07:33]MH_SAM_APDU [23:07:33]CAPDU: 80 09 00 00 [23:07:33]Write to MH i2c: E2 08 00 EC 08 80 09 00 00 00 00 00 00 66 [23:07:33]Write i2c OK [23:07:33]MH_I2C_Read... [23:07:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:07:33]Read from MH i2c: E2 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 EC 08 00 90 00 68 [23:07:33]RAPDU: 90 00 [23:07:33]wFMCommunicate OK [23:07:33]SAM_PROTO_ClearQueue done [23:07:33]KKMCreateOFDPacket [23:07:33]OFDProtocolAddRootSTLVToBuf [23:07:33]FM_MakeSignedData [23:07:33]FM_MakeSignedData [23:07:33]SAM_PROTO_SignData [23:07:33]wFMCommunicate request_size=4 [23:07:33]MH_SAM_APDU [23:07:33]CAPDU: 80 0D 01 02 [23:07:33]Write to MH i2c: E2 08 00 ED 08 80 0D 01 02 00 00 00 00 6E [23:07:33]Write i2c OK [23:07:33]MH_I2C_Read... [23:07:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:07:33]Read from MH i2c: E2 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 ED 08 00 90 00 69 [23:07:33]RAPDU: 90 00 [23:07:33]wFMCommunicate OK [23:07:33]wFMCommunicate request_size=255 [23:07:33]MH_SAM_APDU [23:07:33]CAPDU: 80 0D 02 02 FA 03 00 9D 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 30 39 38 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 34 35 34 20 6F 63 65 61 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 46 00 00 00 00 13 04 06 00 B4 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 [23:07:33]Write to MH i2c: E2 02 01 EE 08 80 0D 02 02 FA 00 03 00 9D 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 30 39 38 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 34 35 34 20 6F 63 65 61 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 46 00 00 00 00 13 04 06 00 B4 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 ED [23:07:33]Write i2c OK [23:07:33]MH_I2C_Read... [23:07:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:07:33]Read from MH i2c: E2 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 EE 08 00 90 00 6A [23:07:33]RAPDU: 90 00 [23:07:33]wFMCommunicate OK [23:07:33]wFMCommunicate request_size=172 [23:07:33]MH_SAM_APDU [23:07:33]CAPDU: 80 0D 02 02 A7 00 01 FC 03 06 00 68 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 11 00 00 00 00 07 04 06 00 68 A6 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 B5 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7E B9 00 00 35 04 06 00 F7 BB DB C3 B8 0D [23:07:33]Write to MH i2c: E2 AF 00 EF 08 80 0D 02 02 A7 00 00 01 FC 03 06 00 68 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 11 00 00 00 00 07 04 06 00 68 A6 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 B5 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7E B9 00 00 35 04 06 00 F7 BB DB C3 B8 0D 00 00 42 [23:07:33]Write i2c OK [23:07:33]MH_I2C_Read... [23:07:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:07:33]Read from MH i2c: E2 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 03 00 EF 08 00 90 00 6B [23:07:33]RAPDU: 90 00 [23:07:33]wFMCommunicate OK [23:07:33]wFMCommunicate request_size=4 [23:07:33]MH_SAM_APDU [23:07:33]CAPDU: 80 0D 03 02 [23:07:33]Write to MH i2c: E2 08 00 F0 08 80 0D 03 02 00 00 00 00 73 [23:07:33]Write i2c OK [23:07:33]MH_I2C_Read... [23:07:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:07:33]Read from MH i2c: E2 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 0B 00 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 0B 00 F0 08 00 E6 64 E5 B2 85 A9 DA C9 90 00 26 [23:07:33]RAPDU: E6 64 E5 B2 85 A9 DA C9 90 00 [23:07:33]wFMCommunicate OK [23:07:33]SAM_PROTO_SignData done [23:07:33]FM_MakeSignedData done [23:07:33]CreateOFDProtocolMessage [23:07:33]wFMCommunicate request_size=4 [23:07:33]MH_SAM_APDU [23:07:33]CAPDU: 80 11 00 00 [23:07:33]Write to MH i2c: E2 08 00 F1 08 80 11 00 00 00 00 00 00 73 [23:07:33]Write i2c OK [23:07:33]MH_I2C_Read... [23:07:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:07:33]Read from MH i2c: E2 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 17 00 [23:07:33]MH_I2C_Read... [23:07:33]Read from MH i2c: E2 17 00 F1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C5 [23:07:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:07:33]wFMCommunicate OK [23:07:33]CreateOFDProtocolMessage done [23:07:33]OFDSenderStorePacket 47486 [23:07:33]StoreOFDPacket docnum=47486 [23:07:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 B1 01 00 00 B8 5D A9 01 9A 51 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 30 39 38 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 34 35 34 20 6F 63 65 61 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 46 00 00 00 00 13 04 06 00 B4 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 11 00 00 00 00 07 04 06 00 68 A6 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 B5 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7E B9 00 00 35 04 06 00 F7 BB DB C3 B8 0D E6 64 E5 B2 85 A9 DA C9 [23:07:33]CheckFolder [23:07:33]dirname=/storage/ofd_packets [23:07:33]CheckFolder done [23:07:33]ProducePacketName [23:07:33]name=ofd_packets/00047486 [23:07:33]NVStorageSaveData ofd_packets/00047486 [23:07:33]File name is /storage/ofd_packets/00047486 [23:07:33]Write 463 bytes [23:07:33]NVStorageSaveData done [23:07:33]OFDSenderStorePacket done [23:07:33]KKMCreateOFDPacket done [23:07:33]NVStorageSaveData kkm_last_timestamp [23:07:33]File name is /storage/kkm_last_timestamp [23:07:33]Write 4 bytes [23:07:33]NVStorageSaveData done [23:07:33]ExternCall_PrintAddStr [23:07:33]wPrintStart [23:07:33]Write to MH i2c: 01 00 00 F2 08 FA [23:07:34]Write i2c OK [23:07:34]MH_I2C_Read... [23:07:34]OFD Sender: Processing packet 47486 [packets to send 8, broken 7] [23:07:34]ProducePacketName [23:07:34]name=ofd_packets/00047486 [23:07:34]OFD Sender: To server: pG, [23:07:34]CommunicateWithHost lk.salyk.kg:30040 [23:07:34]ConnectInit lk.salyk.kg [23:07:34]Read from MH i2c: 01 [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: 01 07 00 [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: 01 07 00 F2 08 00 00 00 00 00 FF 0F 0F [23:07:34]RasterBufferAndPrint [23:07:34]line Счет N : (3)242396 [23:07:34]line ИНН: 02508201610067 [23:07:34]line Контрольно-Кассовый Чек [23:07:34]line ПРОДАЖА [23:07:34]line Товар: 5906534012098 [23:07:34]line Ароматизатор K2 Vento V454 ocean [23:07:34]line 1.000 * 245.00 [23:07:34]line = 245.00 [23:07:34]line НДС 12% НСП 1% [23:07:34]line > о реализуемом товаре [23:07:34]line Товар: 4700041420084 [23:07:34]line Салфетки влажн BEST ANTIBACTERIAL 100 шт [23:07:34]line 1.000 * 181.00 [23:07:34]line = 181.00 [23:07:34]line НДС 12% НСП 1% [23:07:34]line > о реализуемом товаре [23:07:34]line ИТОГО: 426.00 [23:07:34]line НСП 1% : 3.77 [23:07:34]line НДС 12% : 45.24 [23:07:34]line Наличными: 426.00 [23:07:34]line Безнал.: 0.00 [23:07:34]line Место: АЗС № 15 "Партнер Нефть" [23:07:34]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:07:34]line СНО: Общий режим [23:07:34]line Чек 45 13.03.2024 23:07 [23:07:34]line Смена: 316 ФФД: 1.0 [23:07:34]line ЗНМ: 0300000097 [23:07:34]line РНМ: 0000000000092018 [23:07:34]line Версия ККМ: 001 [23:07:34]line ФМ: 0000000000871816 [23:07:34]line ФД: 47486 [23:07:34]line ФПД: 272386217981965 [23:07:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T230733&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47486&fm=272386217981965&tin=02508201610067®Number=0000000000092018&sum=42600 [23:07:34]line 0 [23:07:34]written 0, free lines is 4095 [23:07:34]Connected sock=10 [23:07:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 B1 01 00 00 B8 5D A9 01 9A 51 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 30 39 38 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 34 35 34 20 6F 63 65 61 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 46 00 00 00 00 13 04 06 00 B4 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 11 00 00 00 00 07 04 06 00 68 A6 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 B5 31 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7E B9 00 00 35 04 06 00 F7 BB DB C3 B8 0D E6 64 E5 B2 85 A9 DA C9 [23:07:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 2C 1B 47 00 67 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7E B9 00 00 F4 03 04 00 42 DC F1 65 B6 04 01 00 00 5A BA DC E7 A1 39 B5 1A [23:07:34]CommunicateWithHost err = 0 [23:07:34]CheckOFDResponse [23:07:34]1017 (14) - 77093643461234 [23:07:34]1041 (16) - 0000000000871816 [23:07:34]1040 (4) - 47486 [23:07:34]1012 (4) - 13.03.2024 17:02 [23:07:34]1206 (1) - 0 [23:07:34]OFD Sender: Remove packet 47486 [23:07:34]ProducePacketName [23:07:34]name=ofd_packets/00047486 [23:07:34]NVStorageDeleteData [23:07:34]Write to MH i2c: 01 00 00 22 09 2B [23:07:34]Write i2c OK [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: 01 [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: 01 07 00 [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: 01 07 00 22 09 00 00 00 00 00 7A 0C B8 [23:07:34]RasterBufferAndPrint [23:07:34]line [23:07:34]line [23:07:34]line [23:07:34]line [23:07:34]line [23:07:34]written 0, free lines is 3203 [23:07:34]MH_Cut [23:07:34]Write to MH i2c: D1 01 00 29 09 01 04 [23:07:34]Write i2c OK [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: D1 [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: D1 01 00 [23:07:34]MH_I2C_Read... [23:07:34]Read from MH i2c: D1 01 00 29 09 00 03 [23:07:34]Write to MH i2c: 01 00 00 2A 09 33 [23:07:34]Write i2c OK [23:07:34]MH_I2C_Read... [23:07:35]OFD Sender: No OFD packet to send [23:07:35]*** Cut start [23:07:35]*** Purtial cut [23:07:35]*** Stage 1: CUTSNS_PIN = 1 [23:07:35]Read from MH i2c: 01 [23:07:36]MH_I2C_Read... [23:07:36]*** Stop cut motor [23:07:36]*** Cut end [23:07:36]Read from MH i2c: 01 07 00 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: 01 07 00 2A 09 00 00 00 00 00 FF 0F 48 [23:07:36]process_action close_receipt done [23:07:36]requested_data is exist [23:07:36]produce_requested_data [23:07:36]requested_item fm.sn is exist - process it [23:07:36]wFMCommunicate request_size=4 [23:07:36]MH_SAM_APDU [23:07:36]CAPDU: 80 11 00 00 [23:07:36]Write to MH i2c: E2 08 00 2B 09 80 11 00 00 00 00 00 00 AE [23:07:36]Write i2c OK [23:07:36]MH_I2C_Read... [23:07:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:07:36]Read from MH i2c: E2 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: E2 17 00 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: E2 17 00 2B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 00 [23:07:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:07:36]wFMCommunicate OK [23:07:36]requested_item fd.num is exist - process it [23:07:36]SAM_PROTO_GetFieldsCounters [23:07:36]wFMCommunicate request_size=4 [23:07:36]MH_SAM_APDU [23:07:36]CAPDU: 80 13 00 00 [23:07:36]Write to MH i2c: E2 08 00 2C 09 80 13 00 00 00 00 00 00 B1 [23:07:36]Write i2c OK [23:07:36]MH_I2C_Read... [23:07:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:07:36]Read from MH i2c: E2 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: E2 62 00 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: E2 62 00 2C 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7E B9 00 00 0E 04 04 00 3C 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 C7 [23:07: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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7E B9 00 00 0E 04 04 00 3C 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 [23:07:36]wFMCommunicate OK [23:07:36]SAM_PROTO_GetFieldsCounters done [23:07:36]requested_item shift.num is exist - process it [23:07:36]requested_item shift.opened is exist - process it [23:07:36]req_shift_opened [23:07:36]FM_GetShiftState [23:07:36]SAM_PROTO_GetShiftState [23:07:36]wFMCommunicate request_size=4 [23:07:36]MH_SAM_APDU [23:07:36]CAPDU: 80 13 01 00 [23:07:36]Write to MH i2c: E2 08 00 2D 09 80 13 01 00 00 00 00 00 B3 [23:07:36]Write i2c OK [23:07:36]MH_I2C_Read... [23:07:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:07:36]Read from MH i2c: E2 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: E2 0E 00 [23:07:36]MH_I2C_Read... [23:07:36]Read from MH i2c: E2 0E 00 2D 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 D0 [23:07:36]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:07:36]wFMCommunicate OK [23:07:36]SAM_PROTO_GetShiftState done [23:07:36]FM_GetShiftState done [23:07:36]req_shift_opened done [23:07:36]requested_item shift.open_date is exist - process it [23:07:36]req_shift_open_date [23:07:36]req_shift_open_date done [23:07:36]produce_requested_data done [23:07:36]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47486,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:07:36]process_action_free close_receipt [23:07:36]json_value_free [23:07:36]json_value_free done [23:07:36]process_json_proto returns [23:07:36]Send response to host [23:07:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47486,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:07:36]free response buf [23:07:36]execute_script done [23:07:36]execute_script returns [23:07:36]free content buf [23:07:36]Sock 9.Close socket [23:07:36]Sock 9.Thread stoped [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:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]accept exits with 7 [23:26:40]New connection [23:26:40]New thread 3067030884 created [23:26:40]Thread 3067174244 joined [23:26:40]Waiting for new connection... [23:26:40] Sock 7.Parse request [23:26:40]Sock 7.Check first char [23:26:40]Sock 7.First char is OK [23:26:40]request: POST /json_proto HTTP/1.0 [23:26:40]Method: POST [23:26:40]URL: /json_proto [23:26:40]Method is POST - this is cgi request [23:26:40]url: /json_proto [23:26:40]query_string will be loaded in cgi processing [23:26:40]execute_cgi json_proto POST (null) [23:26:40]execute_cgi path=json_proto method=POST [23:26:40]POST find Content-Length [23:26:40]Host: 172.17.32.68:8080 [23:26:40]Content-Length: 632 [23:26:40]Content-Type: application/json [23:26:40] [23:26:40]POST finish read [23:26:40]Found Content-Length = 632 [23:26:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242397", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:26:40]execute_script... [23:26:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242397", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:26:40]POST & json_proto [23:26:40]process_json_proto [23:26:40]json parsed OK: [23:26:40]protocol is kg_v1.0 [23:26:40]action value=close_receipt [23:26:40]process_action close_receipt [23:26:40]cmd_close_receipt [23:26:40]MH_GetDate [23:26:40]Write to MH i2c: F0 00 00 2E 09 26 [23:26:40]Write i2c OK [23:26:40]MH_I2C_Read... [23:26:40]Read from MH i2c: F0 [23:26:40]MH_I2C_Read... [23:26:40]Read from MH i2c: F0 09 00 [23:26:40]MH_I2C_Read... [23:26:40]Read from MH i2c: F0 09 00 2E 09 00 31 36 F2 65 0A 64 6E 65 2E [23:26:40]GetLastDocTimeStamp 1710371253 [23:26:40]current date 1710372401 [23:26:40]FM_GetShiftState [23:26:40]SAM_PROTO_GetShiftState [23:26:40]wFMCommunicate request_size=4 [23:26:40]MH_SAM_APDU [23:26:40]CAPDU: 80 13 01 00 [23:26:40]Write to MH i2c: E2 08 00 2F 09 80 13 01 00 00 00 00 00 B5 [23:26:40]Write i2c OK [23:26:40]MH_I2C_Read... [23:26:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:26:40]Read from MH i2c: E2 [23:26:40]MH_I2C_Read... [23:26:40]Read from MH i2c: E2 0E 00 [23:26:40]MH_I2C_Read... [23:26:40]Read from MH i2c: E2 0E 00 2F 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 D2 [23:26:40]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:26:40]wFMCommunicate OK [23:26:40]SAM_PROTO_GetShiftState done [23:26:40]FM_GetShiftState done [23:26:40]opened in 1710338059 [23:26:40]opened+sec_in_day 1710424459 [23:26:40]quantity*price = 4000 [23:26:40]sum+1 = 4001 [23:26:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 46 13.03.2024 23:26 Смена: 316 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47487 ФПД: 278768000043137 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T232642&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47487&fm=278768000043137&tin=02508201610067®Number=0000000000092018&sum=4000 0 [23:26:42]StoreToDocumentArchive [23:26:42]shift 316 fd 47487 [23:26:42]save to /storage/0316/doc_00047487 [23:26:42]save last doc name /storage/0316/doc_00047487 to /storage/kkm_last_doc_name [23:26:42]save OK [23:26:42]Clear old archive folders... [23:26:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:26:42]tlvbuf is 011C7350 [23:26:42]SAM_PROTO_ClearQueue [23:26:42]wFMCommunicate request_size=4 [23:26:42]MH_SAM_APDU [23:26:42]CAPDU: 80 09 00 00 [23:26:42]Write to MH i2c: E2 08 00 3C 09 80 09 00 00 00 00 00 00 B7 [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:26:42]Read from MH i2c: E2 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 3C 09 00 90 00 B9 [23:26:42]RAPDU: 90 00 [23:26:42]wFMCommunicate OK [23:26:42]SAM_PROTO_ClearQueue done [23:26:42]KKMCreateOFDPacket [23:26:42]OFDProtocolAddRootSTLVToBuf [23:26:42]FM_MakeSignedData [23:26:42]FM_MakeSignedData [23:26:42]SAM_PROTO_SignData [23:26:42]wFMCommunicate request_size=4 [23:26:42]MH_SAM_APDU [23:26:42]CAPDU: 80 0D 01 02 [23:26:42]Write to MH i2c: E2 08 00 3D 09 80 0D 01 02 00 00 00 00 BF [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:26:42]Read from MH i2c: E2 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 3D 09 00 90 00 BA [23:26:42]RAPDU: 90 00 [23:26:42]wFMCommunicate OK [23:26:42]wFMCommunicate request_size=255 [23:26:42]MH_SAM_APDU [23:26:42]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 32 36 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [23:26:42]Write to MH i2c: E2 02 01 3E 09 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 32 36 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 C9 [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:26:42]Read from MH i2c: E2 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 3E 09 00 90 00 BB [23:26:42]RAPDU: 90 00 [23:26:42]wFMCommunicate OK [23:26:42]wFMCommunicate request_size=30 [23:26:42]MH_SAM_APDU [23:26:42]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 7F B9 00 00 35 04 06 00 FD 89 BB 9E 08 81 [23:26:42]Write to MH i2c: E2 21 00 3F 09 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 7F B9 00 00 35 04 06 00 FD 89 BB 9E 08 81 00 00 5A [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:26:42]Read from MH i2c: E2 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 03 00 3F 09 00 90 00 BC [23:26:42]RAPDU: 90 00 [23:26:42]wFMCommunicate OK [23:26:42]wFMCommunicate request_size=4 [23:26:42]MH_SAM_APDU [23:26:42]CAPDU: 80 0D 03 02 [23:26:42]Write to MH i2c: E2 08 00 40 09 80 0D 03 02 00 00 00 00 C4 [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:26:42]Read from MH i2c: E2 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 0B 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 0B 00 40 09 00 C9 DF 04 47 47 D2 65 E0 90 00 16 [23:26:42]RAPDU: C9 DF 04 47 47 D2 65 E0 90 00 [23:26:42]wFMCommunicate OK [23:26:42]SAM_PROTO_SignData done [23:26:42]FM_MakeSignedData done [23:26:42]CreateOFDProtocolMessage [23:26:42]wFMCommunicate request_size=4 [23:26:42]MH_SAM_APDU [23:26:42]CAPDU: 80 11 00 00 [23:26:42]Write to MH i2c: E2 08 00 41 09 80 11 00 00 00 00 00 00 C4 [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:26:42]Read from MH i2c: E2 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 17 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: E2 17 00 41 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 16 [23:26:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:26:42]wFMCommunicate OK [23:26:42]CreateOFDProtocolMessage done [23:26:42]OFDSenderStorePacket 47487 [23:26:42]StoreOFDPacket docnum=47487 [23:26:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 6A 4D 1B 01 17 56 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 32 36 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7F B9 00 00 35 04 06 00 FD 89 BB 9E 08 81 C9 DF 04 47 47 D2 65 E0 [23:26:42]CheckFolder [23:26:42]dirname=/storage/ofd_packets [23:26:42]CheckFolder done [23:26:42]ProducePacketName [23:26:42]name=ofd_packets/00047487 [23:26:42]NVStorageSaveData ofd_packets/00047487 [23:26:42]File name is /storage/ofd_packets/00047487 [23:26:42]Write 321 bytes [23:26:42]NVStorageSaveData done [23:26:42]OFDSenderStorePacket done [23:26:42]KKMCreateOFDPacket done [23:26:42]NVStorageSaveData kkm_last_timestamp [23:26:42]File name is /storage/kkm_last_timestamp [23:26:42]Write 4 bytes [23:26:42]NVStorageSaveData done [23:26:42]ExternCall_PrintAddStr [23:26:42]wPrintStart [23:26:42]Write to MH i2c: 01 00 00 42 09 4B [23:26:42]Write i2c OK [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: 01 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: 01 07 00 [23:26:42]MH_I2C_Read... [23:26:42]Read from MH i2c: 01 07 00 42 09 00 00 00 00 00 FF 0F 60 [23:26:42]RasterBufferAndPrint [23:26:42]line Счет N : (3)242397 [23:26:42]line ИНН: 02508201610067 [23:26:42]line Контрольно-Кассовый Чек [23:26:42]line ПРОДАЖА [23:26:42]line Товар: 4700000160211 [23:26:42]line Вода Легенда 0,5л [23:26:42]line 1.000 * 40.00 [23:26:42]line = 40.00 [23:26:42]line НДС 12% НСП 1% [23:26:42]line > о реализуемом товаре [23:26:42]line ИТОГО: 40.00 [23:26:42]line НСП 1% : 0.35 [23:26:42]line НДС 12% : 4.25 [23:26:42]line Наличными: 40.00 [23:26:42]line Безнал.: 0.00 [23:26:42]line Место: АЗС № 15 "Партнер Нефть" [23:26:42]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [23:26:42]line СНО: Общий режим [23:26:42]line Чек 46 13.03.2024 23:26 [23:26:42]line Смена: 316 ФФД: 1.0 [23:26:42]line ЗНМ: 0300000097 [23:26:42]line РНМ: 0000000000092018 [23:26:42]line Версия ККМ: 001 [23:26:42]line ФМ: 0000000000871816 [23:26:42]line ФД: 47487 [23:26:42]line ФПД: 278768000043137 [23:26:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240313T232642&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47487&fm=278768000043137&tin=02508201610067®Number=0000000000092018&sum=4000 [23:26:42]line 0 [23:26:42]OFD Sender: Processing packet 47487 [packets to send 8, broken 7] [23:26:42]ProducePacketName [23:26:42]name=ofd_packets/00047487 [23:26:42]OFD Sender: To server: pG, [23:26:42]CommunicateWithHost lk.salyk.kg:30040 [23:26:42]ConnectInit lk.salyk.kg [23:26:42]written 0, free lines is 4095 [23:26:43]Connected sock=10 [23:26:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 6A 4D 1B 01 17 56 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 32 36 F2 65 0E 04 04 00 3C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7F B9 00 00 35 04 06 00 FD 89 BB 9E 08 81 C9 DF 04 47 47 D2 65 E0 [23:26:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 BA B4 47 00 30 AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 7F B9 00 00 F4 03 04 00 BF E0 F1 65 B6 04 01 00 00 E8 9E C2 B9 10 D1 32 2A [23:26:43]CommunicateWithHost err = 0 [23:26:43]CheckOFDResponse [23:26:43]1017 (14) - 77093643461234 [23:26:43]1041 (16) - 0000000000871816 [23:26:43]1040 (4) - 47487 [23:26:43]1012 (4) - 13.03.2024 17:22 [23:26:43]1206 (1) - 0 [23:26:43]OFD Sender: Remove packet 47487 [23:26:43]ProducePacketName [23:26:43]name=ofd_packets/00047487 [23:26:43]NVStorageDeleteData [23:26:43]Write to MH i2c: 01 00 00 6A 09 73 [23:26:43]Write i2c OK [23:26:43]MH_I2C_Read... [23:26:43]Read from MH i2c: 01 [23:26:43]MH_I2C_Read... [23:26:43]Read from MH i2c: 01 07 00 [23:26:43]MH_I2C_Read... [23:26:43]Read from MH i2c: 01 07 00 6A 09 00 00 00 00 00 F5 0C 7B [23:26:43]RasterBufferAndPrint [23:26:43]line [23:26:43]line [23:26:43]line [23:26:43]line [23:26:43]line [23:26:43]written 0, free lines is 3323 [23:26:43]MH_Cut [23:26:43]Write to MH i2c: D1 01 00 71 09 01 4C [23:26:43]Write i2c OK [23:26:43]MH_I2C_Read... [23:26:43]Read from MH i2c: D1 [23:26:43]MH_I2C_Read... [23:26:43]Read from MH i2c: D1 01 00 [23:26:43]MH_I2C_Read... [23:26:43]Read from MH i2c: D1 01 00 71 09 00 4B [23:26:43]Write to MH i2c: 01 00 00 72 09 7B [23:26:43]Write i2c OK [23:26:43]MH_I2C_Read... [23:26:43]OFD Sender: No OFD packet to send [23:26:44]*** Cut start [23:26:44]*** Purtial cut [23:26:44]*** Stage 1: CUTSNS_PIN = 1 [23:26:44]Read from MH i2c: 01 [23:26:44]MH_I2C_Read... [23:26:44]*** Stop cut motor [23:26:44]*** Cut end [23:26:44]Read from MH i2c: 01 07 00 [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: 01 07 00 72 09 00 00 00 00 00 FF 0F 90 [23:26:44]process_action close_receipt done [23:26:44]requested_data is exist [23:26:44]produce_requested_data [23:26:44]requested_item fm.sn is exist - process it [23:26:44]wFMCommunicate request_size=4 [23:26:44]MH_SAM_APDU [23:26:44]CAPDU: 80 11 00 00 [23:26:44]Write to MH i2c: E2 08 00 73 09 80 11 00 00 00 00 00 00 F6 [23:26:44]Write i2c OK [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: E2 [23:26:44]MH_I2C_Read... [23:26:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:26:44]Read from MH i2c: E2 17 00 [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: E2 17 00 73 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 48 [23:26:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:26:44]wFMCommunicate OK [23:26:44]requested_item fd.num is exist - process it [23:26:44]SAM_PROTO_GetFieldsCounters [23:26:44]wFMCommunicate request_size=4 [23:26:44]MH_SAM_APDU [23:26:44]CAPDU: 80 13 00 00 [23:26:44]Write to MH i2c: E2 08 00 74 09 80 13 00 00 00 00 00 00 F9 [23:26:44]Write i2c OK [23:26:44]MH_I2C_Read... [23:26:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:26:44]Read from MH i2c: E2 [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: E2 62 00 [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: E2 62 00 74 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 13 [23:26:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 [23:26:44]wFMCommunicate OK [23:26:44]SAM_PROTO_GetFieldsCounters done [23:26:44]requested_item shift.num is exist - process it [23:26:44]requested_item shift.opened is exist - process it [23:26:44]req_shift_opened [23:26:44]FM_GetShiftState [23:26:44]SAM_PROTO_GetShiftState [23:26:44]wFMCommunicate request_size=4 [23:26:44]MH_SAM_APDU [23:26:44]CAPDU: 80 13 01 00 [23:26:44]Write to MH i2c: E2 08 00 75 09 80 13 01 00 00 00 00 00 FB [23:26:44]Write i2c OK [23:26:44]MH_I2C_Read... [23:26:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:26:44]Read from MH i2c: E2 [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: E2 0E 00 [23:26:44]MH_I2C_Read... [23:26:44]Read from MH i2c: E2 0E 00 75 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 18 [23:26:44]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:26:44]wFMCommunicate OK [23:26:44]SAM_PROTO_GetShiftState done [23:26:44]FM_GetShiftState done [23:26:44]req_shift_opened done [23:26:44]requested_item shift.open_date is exist - process it [23:26:44]req_shift_open_date [23:26:44]req_shift_open_date done [23:26:44]produce_requested_data done [23:26:44]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:26:44]process_action_free close_receipt [23:26:44]json_value_free [23:26:44]json_value_free done [23:26:44]process_json_proto returns [23:26:44]Send response to host [23:26:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:26:44]free response buf [23:26:44]execute_script done [23:26:44]execute_script returns [23:26:44]free content buf [23:26:44]Sock 7.Close socket [23:26:44]Sock 7.Thread stoped [23:26:48]OFD Sender: No OFD packet to send [23:26:53]OFD Sender: No OFD packet to send [23:26:58]OFD Sender: No OFD packet to send [23:27:03]OFD Sender: No OFD packet to send [23:27:08]OFD Sender: No OFD packet to send [23:27:13]OFD Sender: No OFD packet to send [23:27:18]OFD Sender: No OFD packet to send [23:27:23]OFD Sender: No OFD packet to send [23:27:28]OFD Sender: No OFD packet to send [23:27:33]OFD Sender: No OFD packet to send [23:27:38]OFD Sender: No OFD packet to send [23:27:43]OFD Sender: No OFD packet to send [23:27:48]OFD Sender: No OFD packet to send [23:27:53]OFD Sender: No OFD packet to send [23:27:58]OFD Sender: No OFD packet to send [23:28:03]OFD Sender: No OFD packet to send [23:28:08]OFD Sender: No OFD packet to send [23:28:13]OFD Sender: No OFD packet to send [23:28:18]OFD Sender: No OFD packet to send [23:28:23]OFD Sender: No OFD packet to send [23:28:28]OFD Sender: No OFD packet to send [23:28:33]OFD Sender: No OFD packet to send [23:28:38]OFD Sender: No OFD packet to send [23:28:43]OFD Sender: No OFD packet to send [23:28:48]OFD Sender: No OFD packet to send [23:28:53]OFD Sender: No OFD packet to send [23:28:58]OFD Sender: No OFD packet to send [23:29:03]OFD Sender: No OFD packet to send [23:29:08]OFD Sender: No OFD packet to send [23:29:13]OFD Sender: No OFD packet to send [23:29:18]OFD Sender: No OFD packet to send [23:29:23]OFD Sender: No OFD packet to send [23:29:28]OFD Sender: No OFD packet to send [23:29:33]OFD Sender: No OFD packet to send [23:29:38]OFD Sender: No OFD packet to send [23:29:43]OFD Sender: No OFD packet to send [23:29:48]OFD Sender: No OFD packet to send [23:29:53]OFD Sender: No OFD packet to send [23:29:58]OFD Sender: No OFD packet to send [23:30:03]OFD Sender: No OFD packet to send [23:30:08]OFD Sender: No OFD packet to send [23:30:13]OFD Sender: No OFD packet to send [23:30:18]OFD Sender: No OFD packet to send [23:30:23]OFD Sender: No OFD packet to send [23:30:28]OFD Sender: No OFD packet to send [23:30:33]OFD Sender: No OFD packet to send [23:30:38]OFD Sender: No OFD packet to send [23:30:43]OFD Sender: No OFD packet to send [23:30:48]OFD Sender: No OFD packet to send [23:30:53]OFD Sender: No OFD packet to send [23:30:58]OFD Sender: No OFD packet to send [23:31:03]OFD Sender: No OFD packet to send [23:31:08]OFD Sender: No OFD packet to send [23:31:13]OFD Sender: No OFD packet to send [23:31:18]OFD Sender: No OFD packet to send [23:31:23]OFD Sender: No OFD packet to send [23:31:28]OFD Sender: No OFD packet to send [23:31:33]OFD Sender: No OFD packet to send [23:31:38]OFD Sender: No OFD packet to send [23:31:43]OFD Sender: No OFD packet to send [23:31:48]OFD Sender: No OFD packet to send [23:31:53]OFD Sender: No OFD packet to send [23:31:58]OFD Sender: No OFD packet to send [23:32:03]OFD Sender: No OFD packet to send [23:32:08]OFD Sender: No OFD packet to send [23:32:13]OFD Sender: No OFD packet to send [23:32:18]OFD Sender: No OFD packet to send [23:32:23]OFD Sender: No OFD packet to send [23:32:28]OFD Sender: No OFD packet to send [23:32:33]OFD Sender: No OFD packet to send [23:32:38]OFD Sender: No OFD packet to send [23:32:43]OFD Sender: No OFD packet to send [23:32:48]OFD Sender: No OFD packet to send [23:32:53]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:09]OFD Sender: No OFD packet to send [23:39:14]OFD Sender: No OFD packet to send [23:39:19]OFD Sender: No OFD packet to send [23:39:24]OFD Sender: No OFD packet to send [23:39:29]OFD Sender: No OFD packet to send [23:39:34]OFD Sender: No OFD packet to send [23:39:39]OFD Sender: No OFD packet to send [23:39:44]OFD Sender: No OFD packet to send [23:39:49]OFD Sender: No OFD packet to send [23:39:54]OFD Sender: No OFD packet to send [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40:54]OFD Sender: No OFD packet to send [23:40:59]OFD Sender: No OFD packet to send [23:41:04]OFD Sender: No OFD packet to send [23:41:09]OFD Sender: No OFD packet to send [23:41:14]OFD Sender: No OFD packet to send [23:41:19]OFD Sender: No OFD packet to send [23:41:24]OFD Sender: No OFD packet to send [23:41:29]OFD Sender: No OFD packet to send [23:41:34]OFD Sender: No OFD packet to send [23:41:39]OFD Sender: No OFD packet to send [23:41:44]OFD Sender: No OFD packet to send [23:41:49]OFD Sender: No OFD packet to send [23:41:54]OFD Sender: No OFD packet to send [23:41:59]OFD Sender: No OFD packet to send [23:42:04]OFD Sender: No OFD packet to send [23:42:09]OFD Sender: No OFD packet to send [23:42:14]OFD Sender: No OFD packet to send [23:42:19]OFD Sender: No OFD packet to send [23:42:24]OFD Sender: No OFD packet to send [23:42:29]OFD Sender: No OFD packet to send [23:42:34]OFD Sender: No OFD packet to send [23:42:39]OFD Sender: No OFD packet to send [23:42:44]OFD Sender: No OFD packet to send [23:42:49]OFD Sender: No OFD packet to send [23:42:54]OFD Sender: No OFD packet to send [23:42:59]OFD Sender: No OFD packet to send [23:43:04]OFD Sender: No OFD packet to send [23:43:09]OFD Sender: No OFD packet to send [23:43:14]OFD Sender: No OFD packet to send [23:43:19]OFD Sender: No OFD packet to send [23:43:24]OFD Sender: No OFD packet to send [23:43:29]OFD Sender: No OFD packet to send [23:43:34]OFD Sender: No OFD packet to send [23:43:39]OFD Sender: No OFD packet to send [23:43:44]OFD Sender: No OFD packet to send [23:43:49]OFD Sender: No OFD packet to send [23:43:54]OFD Sender: No OFD packet to send [23:43:59]OFD Sender: No OFD packet to send [23:44:04]OFD Sender: No OFD packet to send [23:44:09]OFD Sender: No OFD packet to send [23:44:14]OFD Sender: No OFD packet to send [23:44:19]OFD Sender: No OFD packet to send [23:44:24]OFD Sender: No OFD packet to send [23:44:29]OFD Sender: No OFD packet to send [23:44:34]OFD Sender: No OFD packet to send [23:44:39]OFD Sender: No OFD packet to send [23:44:44]OFD Sender: No OFD packet to send [23:44:49]OFD Sender: No OFD packet to send [23:44:54]OFD Sender: No OFD packet to send [23:44:59]OFD Sender: No OFD packet to send [23:45:04]OFD Sender: No OFD packet to send [23:45:09]OFD Sender: No OFD packet to send [23:45:14]OFD Sender: No OFD packet to send [23:45:19]OFD Sender: No OFD packet to send [23:45:24]OFD Sender: No OFD packet to send [23:45:29]OFD Sender: No OFD packet to send [23:45:34]OFD Sender: No OFD packet to send [23:45:38]accept exits with 9 [23:45:38]New connection [23:45:38]New thread 3067174244 created [23:45:38]Thread 3067030884 joined [23:45:38]Waiting for new connection... [23:45:38] Sock 9.Parse request [23:45:38]Sock 9.Check first char [23:45:38]Sock 9.First char is OK [23:45:38]request: POST /json_proto HTTP/1.0 [23:45:38]Method: POST [23:45:38]URL: /json_proto [23:45:38]Method is POST - this is cgi request [23:45:38]url: /json_proto [23:45:38]query_string will be loaded in cgi processing [23:45:38]execute_cgi json_proto POST (null) [23:45:38]execute_cgi path=json_proto method=POST [23:45:38]POST find Content-Length [23:45:38]Host: 172.17.32.68:8080 [23:45:38]Content-Length: 215 [23:45:38]Content-Type: application/json [23:45:38] [23:45:38]POST finish read [23:45:38]Found Content-Length = 215 [23:45:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:38]execute_script... [23:45:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:38]POST & json_proto [23:45:38]process_json_proto [23:45:38]json parsed OK: [23:45:38]protocol is kg_v1.0 [23:45:38]action value=get_value [23:45:38]process_action get_value [23:45:38]cmd_get_value [23:45:38]process_action get_value done [23:45:38]requested_data is exist [23:45:38]produce_requested_data [23:45:38]requested_item kkm.sn is exist - process it [23:45:38]requested_item kkm.ver is exist - process it [23:45:38]requested_item fm.sn is exist - process it [23:45:38]wFMCommunicate request_size=4 [23:45:38]MH_SAM_APDU [23:45:38]CAPDU: 80 11 00 00 [23:45:38]Write to MH i2c: E2 08 00 76 09 80 11 00 00 00 00 00 00 F9 [23:45:38]Write i2c OK [23:45:38]MH_I2C_Read... [23:45:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:38]Read from MH i2c: E2 [23:45:38]MH_I2C_Read... [23:45:38]Read from MH i2c: E2 17 00 [23:45:38]MH_I2C_Read... [23:45:38]Read from MH i2c: E2 17 00 76 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 4B [23:45:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:45:38]wFMCommunicate OK [23:45:38]requested_item fd.num is exist - process it [23:45:38]SAM_PROTO_GetFieldsCounters [23:45:38]wFMCommunicate request_size=4 [23:45:38]MH_SAM_APDU [23:45:38]CAPDU: 80 13 00 00 [23:45:38]Write to MH i2c: E2 08 00 77 09 80 13 00 00 00 00 00 00 FC [23:45:38]Write i2c OK [23:45:38]MH_I2C_Read... [23:45:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:45:38]Read from MH i2c: E2 [23:45:38]MH_I2C_Read... [23:45:38]Read from MH i2c: E2 62 00 [23:45:38]MH_I2C_Read... [23:45:38]Read from MH i2c: E2 62 00 77 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 16 [23:45:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 [23:45:38]wFMCommunicate OK [23:45:38]SAM_PROTO_GetFieldsCounters done [23:45:38]requested_item shift.num is exist - process it [23:45:38]requested_item shift.opened is exist - process it [23:45:38]req_shift_opened [23:45:38]FM_GetShiftState [23:45:38]SAM_PROTO_GetShiftState [23:45:38]wFMCommunicate request_size=4 [23:45:38]MH_SAM_APDU [23:45:38]CAPDU: 80 13 01 00 [23:45:38]Write to MH i2c: E2 08 00 78 09 80 13 01 00 00 00 00 00 FE [23:45:38]Write i2c OK [23:45:38]MH_I2C_Read... [23:45:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:38]Read from MH i2c: E2 [23:45:38]MH_I2C_Read... [23:45:38]Read from MH i2c: E2 0E 00 [23:45:38]MH_I2C_Read... [23:45:38]Read from MH i2c: E2 0E 00 78 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 1B [23:45:38]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:45:38]wFMCommunicate OK [23:45:38]SAM_PROTO_GetShiftState done [23:45:38]FM_GetShiftState done [23:45:38]req_shift_opened done [23:45:38]requested_item shift.open_date is exist - process it [23:45:38]req_shift_open_date [23:45:38]req_shift_open_date done [23:45:38]produce_requested_data done [23:45:38]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:45:38]process_action_free get_value [23:45:38]json_value_free [23:45:38]json_value_free done [23:45:38]process_json_proto returns [23:45:38]Send response to host [23:45:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:45:38]free response buf [23:45:38]execute_script done [23:45:38]execute_script returns [23:45:38]free content buf [23:45:38]Sock 9.Close socket [23:45:38]Sock 9.Thread stoped [23:45:39]OFD Sender: No OFD packet to send [23:45:44]OFD Sender: No OFD packet to send [23:45:48]accept exits with 7 [23:45:48]New connection [23:45:48]New thread 3067030884 created [23:45:48]Thread 3067174244 joined [23:45:48]Waiting for new connection... [23:45:48] Sock 7.Parse request [23:45:48]Sock 7.Check first char [23:45:48]Sock 7.First char is OK [23:45:48]request: POST /json_proto HTTP/1.0 [23:45:48]Method: POST [23:45:48]URL: /json_proto [23:45:48]Method is POST - this is cgi request [23:45:48]url: /json_proto [23:45:48]query_string will be loaded in cgi processing [23:45:48]execute_cgi json_proto POST (null) [23:45:48]execute_cgi path=json_proto method=POST [23:45:48]POST find Content-Length [23:45:48]Host: 172.17.32.68:8080 [23:45:48]Content-Length: 331 [23:45:48]Content-Type: application/json [23:45:48] [23:45:48]POST finish read [23:45:48]Found Content-Length = 331 [23:45:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:45:48]execute_script... [23:45:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:45:48]POST & json_proto [23:45:48]process_json_proto [23:45:48]json parsed OK: [23:45:48]protocol is kg_v1.0 [23:45:48]action value=get_value [23:45:48]process_action get_value [23:45:48]cmd_get_value [23:45:48]process_action get_value done [23:45:48]requested_data is exist [23:45:48]produce_requested_data [23:45:48]requested_item fm.sale.total is exist - process it [23:45:48]SAM_PROTO_GetFMData [23:45:48]wFMCommunicate request_size=4 [23:45:48]MH_SAM_APDU [23:45:48]CAPDU: 80 13 03 00 [23:45:48]Write to MH i2c: E2 08 00 79 09 80 13 03 00 00 00 00 00 01 [23:45:48]Write i2c OK [23:45:48]MH_I2C_Read... [23:45:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:45:49]Read from MH i2c: E2 [23:45:49]MH_I2C_Read... [23:45:49]Read from MH i2c: E2 FD 00 [23:45:49]MH_I2C_Read... [23:45:49]Read from MH i2c: E2 FD 00 79 09 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 A2 [23:45:49]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [23:45:49]wFMCommunicate OK [23:45:49]wFMCommunicate request_size=4 [23:45:49]MH_SAM_APDU [23:45:49]CAPDU: 80 17 00 00 [23:45:49]Write to MH i2c: E2 08 00 7A 09 80 17 00 00 00 00 00 00 03 [23:45:49]Write i2c OK [23:45:49]MH_I2C_Read... [23:45:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:49]Read from MH i2c: E2 [23:45:49]MH_I2C_Read... [23:45:49]Read from MH i2c: E2 FD 00 [23:45:49]MH_I2C_Read... [23:45:49]Read from MH i2c: E2 FD 00 7A 09 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 7C [23:45:49]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [23:45:49]wFMCommunicate OK [23:45:49]wFMCommunicate request_size=4 [23:45:49]MH_SAM_APDU [23:45:49]CAPDU: 80 17 00 00 [23:45:49]Write to MH i2c: E2 08 00 7B 09 80 17 00 00 00 00 00 00 04 [23:45:49]OFD Sender: No OFD packet to send [23:45:49]Write i2c OK [23:45:49]MH_I2C_Read... [23:45:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:49]Read from MH i2c: E2 [23:45:49]MH_I2C_Read... [23:45:49]Read from MH i2c: E2 FD 00 [23:45:49]MH_I2C_Read... [23:45:49]Read from MH i2c: E2 FD 00 7B 09 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 A4 [23:45:49]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [23:45:49]wFMCommunicate OK [23:45:49]wFMCommunicate request_size=4 [23:45:49]MH_SAM_APDU [23:45:49]CAPDU: 80 17 00 00 [23:45:49]Write to MH i2c: E2 08 00 7C 09 80 17 00 00 00 00 00 00 05 [23:45:49]Write i2c OK [23:45:49]MH_I2C_Read... [23:45:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:50]Read from MH i2c: E2 [23:45:50]MH_I2C_Read... [23:45:50]Read from MH i2c: E2 FD 00 [23:45:50]MH_I2C_Read... [23:45:50]Read from MH i2c: E2 FD 00 7C 09 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 8A [23:45:50]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [23:45:50]wFMCommunicate OK [23:45:50]wFMCommunicate request_size=4 [23:45:50]MH_SAM_APDU [23:45:50]CAPDU: 80 17 00 00 [23:45:50]Write to MH i2c: E2 08 00 7D 09 80 17 00 00 00 00 00 00 06 [23:45:50]Write i2c OK [23:45:50]MH_I2C_Read... [23:45:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:45:50]Read from MH i2c: E2 [23:45:50]MH_I2C_Read... [23:45:50]Read from MH i2c: E2 DE 00 [23:45:50]MH_I2C_Read... [23:45:50]Read from MH i2c: E2 DE 00 7D 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E5 [23:45:50]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:45:50]wFMCommunicate OK [23:45:50]SAM_PROTO_GetFMData done [23:45:50]requested_item fm.sale_refund.total is exist - process it [23:45:50]requested_item fm.buy.total is exist - process it [23:45:50]requested_item shift.sale.total is exist - process it [23:45:50]SAM_PROTO_GetShiftData [23:45:50]wFMCommunicate request_size=4 [23:45:50]MH_SAM_APDU [23:45:50]CAPDU: 80 13 02 00 [23:45:50]Write to MH i2c: E2 08 00 7E 09 80 13 02 00 00 00 00 00 05 [23:45:50]Write i2c OK [23:45:50]MH_I2C_Read... [23:45:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:45:50]Read from MH i2c: E2 [23:45:50]MH_I2C_Read... [23:45:50]Read from MH i2c: E2 FD 00 [23:45:50]MH_I2C_Read... [23:45:50]Read from MH i2c: E2 FD 00 7E 09 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 62 [23:45:50]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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:45:50]wFMCommunicate OK [23:45:50]wFMCommunicate request_size=4 [23:45:50]MH_SAM_APDU [23:45:50]CAPDU: 80 17 00 00 [23:45:50]Write to MH i2c: E2 08 00 7F 09 80 17 00 00 00 00 00 00 08 [23:45:50]Write i2c OK [23:45:50]MH_I2C_Read... [23:45:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:51]Read from MH i2c: E2 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 FD 00 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 FD 00 7F 09 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 2A [23:45:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:45:51]wFMCommunicate OK [23:45:51]wFMCommunicate request_size=4 [23:45:51]MH_SAM_APDU [23:45:51]CAPDU: 80 17 00 00 [23:45:51]Write to MH i2c: E2 08 00 80 09 80 17 00 00 00 00 00 00 09 [23:45:51]Write i2c OK [23:45:51]MH_I2C_Read... [23:45:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:51]Read from MH i2c: E2 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 FD 00 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 FD 00 80 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 C0 [23:45:51]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:45:51]wFMCommunicate OK [23:45:51]wFMCommunicate request_size=4 [23:45:51]MH_SAM_APDU [23:45:51]CAPDU: 80 17 00 00 [23:45:51]Write to MH i2c: E2 08 00 81 09 80 17 00 00 00 00 00 00 0A [23:45:51]Write i2c OK [23:45:51]MH_I2C_Read... [23:45:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:51]Read from MH i2c: E2 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 FD 00 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 FD 00 81 09 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 7C [23:45:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:45:51]wFMCommunicate OK [23:45:51]wFMCommunicate request_size=4 [23:45:51]MH_SAM_APDU [23:45:51]CAPDU: 80 17 00 00 [23:45:51]Write to MH i2c: E2 08 00 82 09 80 17 00 00 00 00 00 00 0B [23:45:51]Write i2c OK [23:45:51]MH_I2C_Read... [23:45:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:45:51]Read from MH i2c: E2 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 CB 00 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 CB 00 82 09 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 F4 [23:45:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:45:52]wFMCommunicate OK [23:45:52]SAM_PROTO_GetShiftData done [23:45:52]requested_item shift.sale.total_cash is exist - process it [23:45:52]requested_item shift.sale_refund.total is exist - process it [23:45:52]requested_item shift.sale_refund.total_cash is exist - process it [23:45:52]requested_item shift.buy.total is exist - process it [23:45:52]requested_item shift.buy.total_cash is exist - process it [23:45:52]produce_requested_data done [23:45:52]produce_requested_data return {"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:45:52]process_action_free get_value [23:45:52]json_value_free [23:45:52]json_value_free done [23:45:52]process_json_proto returns [23:45:52]Send response to host [23:45:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:45:52]free response buf [23:45:52]execute_script done [23:45:52]execute_script returns [23:45:52]free content buf [23:45:52]Sock 7.Close socket [23:45:52]Sock 7.Thread stoped [23:45:52]accept exits with 9 [23:45:52]New connection [23:45:52]New thread 3067174244 created [23:45:52]Thread 3067030884 joined [23:45:52]Waiting for new connection... [23:45:52] Sock 9.Parse request [23:45:52]Sock 9.Check first char [23:45:52]Sock 9.First char is OK [23:45:52]request: POST /json_proto HTTP/1.0 [23:45:52]Method: POST [23:45:52]URL: /json_proto [23:45:52]Method is POST - this is cgi request [23:45:52]url: /json_proto [23:45:52]query_string will be loaded in cgi processing [23:45:52]execute_cgi json_proto POST (null) [23:45:52]execute_cgi path=json_proto method=POST [23:45:52]POST find Content-Length [23:45:52]Host: 172.17.32.68:8080 [23:45:52]Content-Length: 331 [23:45:52]Content-Type: application/json [23:45:52] [23:45:52]POST finish read [23:45:52]Found Content-Length = 331 [23:45:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:45:52]execute_script... [23:45:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:45:52]POST & json_proto [23:45:52]process_json_proto [23:45:52]json parsed OK: [23:45:52]protocol is kg_v1.0 [23:45:52]action value=get_value [23:45:52]process_action get_value [23:45:52]cmd_get_value [23:45:52]process_action get_value done [23:45:52]requested_data is exist [23:45:52]produce_requested_data [23:45:52]requested_item fm.sale.total is exist - process it [23:45:52]SAM_PROTO_GetFMData [23:45:52]wFMCommunicate request_size=4 [23:45:52]MH_SAM_APDU [23:45:52]CAPDU: 80 13 03 00 [23:45:52]Write to MH i2c: E2 08 00 83 09 80 13 03 00 00 00 00 00 0B [23:45:52]Write i2c OK [23:45:52]MH_I2C_Read... [23:45:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:45:52]Read from MH i2c: E2 [23:45:52]MH_I2C_Read... [23:45:52]Read from MH i2c: E2 FD 00 [23:45:52]MH_I2C_Read... [23:45:52]Read from MH i2c: E2 FD 00 83 09 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 AC [23:45:52]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [23:45:52]wFMCommunicate OK [23:45:52]wFMCommunicate request_size=4 [23:45:52]MH_SAM_APDU [23:45:52]CAPDU: 80 17 00 00 [23:45:52]Write to MH i2c: E2 08 00 84 09 80 17 00 00 00 00 00 00 0D [23:45:52]Write i2c OK [23:45:52]MH_I2C_Read... [23:45:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 FD 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 FD 00 84 09 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 86 [23:45:53]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [23:45:53]wFMCommunicate OK [23:45:53]wFMCommunicate request_size=4 [23:45:53]MH_SAM_APDU [23:45:53]CAPDU: 80 17 00 00 [23:45:53]Write to MH i2c: E2 08 00 85 09 80 17 00 00 00 00 00 00 0E [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 FD 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 FD 00 85 09 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 AE [23:45:53]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [23:45:53]wFMCommunicate OK [23:45:53]wFMCommunicate request_size=4 [23:45:53]MH_SAM_APDU [23:45:53]CAPDU: 80 17 00 00 [23:45:53]Write to MH i2c: E2 08 00 86 09 80 17 00 00 00 00 00 00 0F [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 FD 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 FD 00 86 09 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 94 [23:45:53]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [23:45:53]wFMCommunicate OK [23:45:53]wFMCommunicate request_size=4 [23:45:53]MH_SAM_APDU [23:45:53]CAPDU: 80 17 00 00 [23:45:53]Write to MH i2c: E2 08 00 87 09 80 17 00 00 00 00 00 00 10 [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 DE 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 DE 00 87 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EF [23:45:53]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:45:53]wFMCommunicate OK [23:45:53]SAM_PROTO_GetFMData done [23:45:53]requested_item fm.sale_refund.total is exist - process it [23:45:53]requested_item fm.buy.total is exist - process it [23:45:53]requested_item shift.sale.total is exist - process it [23:45:53]SAM_PROTO_GetShiftData [23:45:53]wFMCommunicate request_size=4 [23:45:53]MH_SAM_APDU [23:45:54]CAPDU: 80 13 02 00 [23:45:54]Write to MH i2c: E2 08 00 88 09 80 13 02 00 00 00 00 00 0F [23:45:54]Write i2c OK [23:45:54]MH_I2C_Read... [23:45:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:45:54]Read from MH i2c: E2 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: E2 FD 00 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: E2 FD 00 88 09 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 6C [23:45:54]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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:45:54]wFMCommunicate OK [23:45:54]wFMCommunicate request_size=4 [23:45:54]MH_SAM_APDU [23:45:54]CAPDU: 80 17 00 00 [23:45:54]Write to MH i2c: E2 08 00 89 09 80 17 00 00 00 00 00 00 12 [23:45:54]Write i2c OK [23:45:54]MH_I2C_Read... [23:45:54]OFD Sender: No OFD packet to send [23:45:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:54]Read from MH i2c: E2 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: E2 FD 00 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: E2 FD 00 89 09 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 34 [23:45:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:45:54]wFMCommunicate OK [23:45:54]wFMCommunicate request_size=4 [23:45:54]MH_SAM_APDU [23:45:54]CAPDU: 80 17 00 00 [23:45:54]Write to MH i2c: E2 08 00 8A 09 80 17 00 00 00 00 00 00 13 [23:45:54]Write i2c OK [23:45:54]MH_I2C_Read... [23:45:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:55]Read from MH i2c: E2 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 FD 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 FD 00 8A 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 CA [23:45:55]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:45:55]wFMCommunicate OK [23:45:55]wFMCommunicate request_size=4 [23:45:55]MH_SAM_APDU [23:45:55]CAPDU: 80 17 00 00 [23:45:55]Write to MH i2c: E2 08 00 8B 09 80 17 00 00 00 00 00 00 14 [23:45:55]Write i2c OK [23:45:55]MH_I2C_Read... [23:45:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:55]Read from MH i2c: E2 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 FD 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 FD 00 8B 09 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 86 [23:45:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:45:55]wFMCommunicate OK [23:45:55]wFMCommunicate request_size=4 [23:45:55]MH_SAM_APDU [23:45:55]CAPDU: 80 17 00 00 [23:45:55]Write to MH i2c: E2 08 00 8C 09 80 17 00 00 00 00 00 00 15 [23:45:55]Write i2c OK [23:45:55]MH_I2C_Read... [23:45:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:45:55]Read from MH i2c: E2 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 CB 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 CB 00 8C 09 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 FE [23:45:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:45:56]wFMCommunicate OK [23:45:56]SAM_PROTO_GetShiftData done [23:45:56]requested_item shift.sale.total_cash is exist - process it [23:45:56]requested_item shift.sale_refund.total is exist - process it [23:45:56]requested_item shift.sale_refund.total_cash is exist - process it [23:45:56]requested_item shift.buy.total is exist - process it [23:45:56]requested_item shift.buy.total_cash is exist - process it [23:45:56]produce_requested_data done [23:45:56]produce_requested_data return {"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:45:56]process_action_free get_value [23:45:56]json_value_free [23:45:56]json_value_free done [23:45:56]process_json_proto returns [23:45:56]Send response to host [23:45:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:45:56]free response buf [23:45:56]execute_script done [23:45:56]execute_script returns [23:45:56]free content buf [23:45:56]Sock 9.Close socket [23:45:56]Sock 9.Thread stoped [23:45:56]accept exits with 7 [23:45:56]New connection [23:45:56]New thread 3067030884 created [23:45:56]Thread 3067174244 joined [23:45:56]Waiting for new connection... [23:45:56] Sock 7.Parse request [23:45:56]Sock 7.Check first char [23:45:56]Sock 7.First char is OK [23:45:56]request: POST /json_proto HTTP/1.0 [23:45:56]Method: POST [23:45:56]URL: /json_proto [23:45:56]Method is POST - this is cgi request [23:45:56]url: /json_proto [23:45:56]query_string will be loaded in cgi processing [23:45:56]execute_cgi json_proto POST (null) [23:45:56]execute_cgi path=json_proto method=POST [23:45:56]POST find Content-Length [23:45:56]Host: 172.17.32.68:8080 [23:45:56]Content-Length: 263 [23:45:56]Content-Type: application/json [23:45:56] [23:45:56]POST finish read [23:45:56]Found Content-Length = 263 [23:45:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:56]execute_script... [23:45:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:56]POST & json_proto [23:45:56]process_json_proto [23:45:56]json parsed OK: [23:45:56]protocol is kg_v1.0 [23:45:56]action value=x_report [23:45:56]process_action x_report [23:45:56]cmd_x_report [23:45:56]MH_GetDate [23:45:56]Write to MH i2c: F0 00 00 8D 09 85 [23:45:56]Write i2c OK [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: F0 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: F0 09 00 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: F0 09 00 8D 09 00 B5 3A F2 65 0A 64 6E 65 15 [23:45:56]GetLastDocTimeStamp 1710372402 [23:45:56]current date 1710373557 [23:45:56]FM_GetShiftState [23:45:56]SAM_PROTO_GetShiftState [23:45:56]wFMCommunicate request_size=4 [23:45:56]MH_SAM_APDU [23:45:56]CAPDU: 80 13 01 00 [23:45:56]Write to MH i2c: E2 08 00 8E 09 80 13 01 00 00 00 00 00 14 [23:45:56]Write i2c OK [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:56] [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 0E 00 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 0E 00 8E 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 31 [23:45:56]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:45:56]wFMCommunicate OK [23:45:56]SAM_PROTO_GetShiftState done [23:45:56]FM_GetShiftState done [23:45:56]KKMCreateXReportDocument [23:45:56]Load OK [23:45:56]Malloc new data [23:45:56]MH_GetDate [23:45:56]Write to MH i2c: F0 00 00 8F 09 87 [23:45:56]Write i2c OK [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: F0 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: F0 09 00 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: F0 09 00 8F 09 00 B5 3A F2 65 0A 64 6E 65 17 [23:45:56]Malloc new data [23:45:56]Malloc new data [23:45:56]wFMCommunicate request_size=4 [23:45:56]MH_SAM_APDU [23:45:56]CAPDU: 80 11 00 00 [23:45:56]Write to MH i2c: E2 08 00 90 09 80 11 00 00 00 00 00 00 13 [23:45:56]Write i2c OK [23:45:56]MH_I2C_Read... [23:45:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:56]Read from MH i2c: E2 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 17 00 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 17 00 90 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 65 [23:45:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [23:45:56]wFMCommunicate OK [23:45:56]SAM_PROTO_GetFieldsCounters [23:45:56]wFMCommunicate request_size=4 [23:45:56]MH_SAM_APDU [23:45:56]CAPDU: 80 13 00 00 [23:45:56]Write to MH i2c: E2 08 00 91 09 80 13 00 00 00 00 00 00 16 [23:45:56]Write i2c OK [23:45:56]MH_I2C_Read... [23:45:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:45:56]Read from MH i2c: E2 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 62 00 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 62 00 91 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 30 [23:45:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 [23:45:56]wFMCommunicate OK [23:45:56]SAM_PROTO_GetFieldsCounters done [23:45:56]Malloc new data [23:45:56]Malloc new data [23:45:56]Malloc new data [23:45:56]KKMCreateXReportDocument OK [23:45:56]KKMSetXReportData OK [23:45:56]KKMPrepareXReportFMData [23:45:56]SAM_PROTO_GetShiftData [23:45:56]wFMCommunicate request_size=4 [23:45:56]MH_SAM_APDU [23:45:56]CAPDU: 80 13 02 00 [23:45:56]Write to MH i2c: E2 08 00 92 09 80 13 02 00 00 00 00 00 19 [23:45:56]Write i2c OK [23:45:56]MH_I2C_Read... [23:45:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:45:56]Read from MH i2c: E2 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 FD 00 [23:45:56]MH_I2C_Read... [23:45:56]Read from MH i2c: E2 FD 00 92 09 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 76 [23:45:56]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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:45:57]wFMCommunicate OK [23:45:57]wFMCommunicate request_size=4 [23:45:57]MH_SAM_APDU [23:45:57]CAPDU: 80 17 00 00 [23:45:57]Write to MH i2c: E2 08 00 93 09 80 17 00 00 00 00 00 00 1C [23:45:57]Write i2c OK [23:45:57]MH_I2C_Read... [23:45:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:57]Read from MH i2c: E2 [23:45:57]MH_I2C_Read... [23:45:57]Read from MH i2c: E2 FD 00 [23:45:57]MH_I2C_Read... [23:45:57]Read from MH i2c: E2 FD 00 93 09 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 3E [23:45:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:45:57]wFMCommunicate OK [23:45:57]wFMCommunicate request_size=4 [23:45:57]MH_SAM_APDU [23:45:57]CAPDU: 80 17 00 00 [23:45:57]Write to MH i2c: E2 08 00 94 09 80 17 00 00 00 00 00 00 1D [23:45:57]Write i2c OK [23:45:57]MH_I2C_Read... [23:45:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:57]Read from MH i2c: E2 [23:45:57]MH_I2C_Read... [23:45:57]Read from MH i2c: E2 FD 00 [23:45:57]MH_I2C_Read... [23:45:57]Read from MH i2c: E2 FD 00 94 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 D4 [23:45:57]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:45:57]wFMCommunicate OK [23:45:57]wFMCommunicate request_size=4 [23:45:57]MH_SAM_APDU [23:45:57]CAPDU: 80 17 00 00 [23:45:57]Write to MH i2c: E2 08 00 95 09 80 17 00 00 00 00 00 00 1E [23:45:58]Write i2c OK [23:45:58]MH_I2C_Read... [23:45:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:45:58]Read from MH i2c: E2 [23:45:58]MH_I2C_Read... [23:45:58]Read from MH i2c: E2 FD 00 [23:45:58]MH_I2C_Read... [23:45:58]Read from MH i2c: E2 FD 00 95 09 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 90 [23:45:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:45:58]wFMCommunicate OK [23:45:58]wFMCommunicate request_size=4 [23:45:58]MH_SAM_APDU [23:45:58]CAPDU: 80 17 00 00 [23:45:58]Write to MH i2c: E2 08 00 96 09 80 17 00 00 00 00 00 00 1F [23:45:58]Write i2c OK [23:45:58]MH_I2C_Read... [23:45:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:45:58]Read from MH i2c: E2 [23:45:58]MH_I2C_Read... [23:45:58]Read from MH i2c: E2 CB 00 [23:45:58]MH_I2C_Read... [23:45:58]Read from MH i2c: E2 CB 00 96 09 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 08 [23:45:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:45:58]wFMCommunicate OK [23:45:58]SAM_PROTO_GetShiftData done [23:45:58]1194 (1194) - счетчики итогов смены [23:45:58] 1134 (4) - 46 - количество чеков со всеми признаками расчетов [23:45:58] 1129 (155) - счетчики операций «приход» [23:45:58] 1135 (4) - 46 - количество чеков по признаку расчетов [23:45:58] 1201 (3) - 14174.00 - общая итоговая сумма в чеках [23:45:58] 1136 (3) - 12885.00 - итоговая сумма в чеках наличными [23:45:58] 1138 (3) - 1289.00 - итоговая сумма в чеках безналичными [23:45:58] 1024 (122) - суммы налогов [23:45:58] 1006 (9) - суммы НДС [23:45:58] 1010 (1) - 0% - код ставки НДС [23:45:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:58] 1006 (12) - суммы НДС [23:45:58] 1010 (1) - 12% - код ставки НДС [23:45:58] 1011 (3) - 1505.17 - сумма НДС по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 0% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (11) - суммы НСП [23:45:58] 1014 (1) - 1% - код ставки НСП [23:45:58] 1015 (2) - 125.33 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 2% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 3% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 5% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 0,50% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 1,50% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1130 (141) - счетчики операций «возврат прихода» [23:45:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:45:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:45:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:45:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:45:58] 1024 (117) - суммы налогов [23:45:58] 1006 (9) - суммы НДС [23:45:58] 1010 (1) - 0% - код ставки НДС [23:45:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:58] 1006 (9) - суммы НДС [23:45:58] 1010 (1) - 12% - код ставки НДС [23:45:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 0% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 1% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 2% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 3% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 5% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 0,50% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 1,50% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1131 (141) - счетчики операций «расход» [23:45:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:45:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:45:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:45:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:45:58] 1024 (117) - суммы налогов [23:45:58] 1006 (9) - суммы НДС [23:45:58] 1010 (1) - 0% - код ставки НДС [23:45:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:58] 1006 (9) - суммы НДС [23:45:58] 1010 (1) - 12% - код ставки НДС [23:45:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 0% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 1% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 2% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 3% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 5% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 0,50% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1007 (9) - суммы НСП [23:45:58] 1014 (1) - 1,50% - код ставки НСП [23:45:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:58] 1132 (141) - счетчики операций «возврат расхода» [23:45:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:45:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:45:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:45:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:45:59] 1024 (117) - суммы налогов [23:45:59] 1006 (9) - суммы НДС [23:45:59] 1010 (1) - 0% - код ставки НДС [23:45:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:59] 1006 (9) - суммы НДС [23:45:59] 1010 (1) - 12% - код ставки НДС [23:45:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 0% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 1% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 2% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 3% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 5% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 0,50% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1007 (9) - суммы НСП [23:45:59] 1014 (1) - 1,50% - код ставки НСП [23:45:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:45:59] 1133 (588) - - счетчики коррекции - не используются [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1194 (04AA) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1134 (046E) [23:45:59]Malloc new data [23:45:59]Processing tag 1129 (0469) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1135 (046F) [23:45:59]Malloc new data [23:45:59]Processing tag 1201 (04B1) [23:45:59]Malloc new data [23:45:59]Processing tag 1136 (0470) [23:45:59]Malloc new data [23:45:59]Processing tag 1138 (0472) [23:45:59]Malloc new data [23:45:59]Processing tag 1024 (0400) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1130 (046A) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1135 (046F) [23:45:59]Malloc new data [23:45:59]Processing tag 1201 (04B1) [23:45:59]Malloc new data [23:45:59]Processing tag 1136 (0470) [23:45:59]Malloc new data [23:45:59]Processing tag 1138 (0472) [23:45:59]Malloc new data [23:45:59]Processing tag 1024 (0400) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1131 (046B) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1135 (046F) [23:45:59]Malloc new data [23:45:59]Processing tag 1201 (04B1) [23:45:59]Malloc new data [23:45:59]Processing tag 1136 (0470) [23:45:59]Malloc new data [23:45:59]Processing tag 1138 (0472) [23:45:59]Malloc new data [23:45:59]Processing tag 1024 (0400) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1132 (046C) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1135 (046F) [23:45:59]Malloc new data [23:45:59]Processing tag 1201 (04B1) [23:45:59]Malloc new data [23:45:59]Processing tag 1136 (0470) [23:45:59]Malloc new data [23:45:59]Processing tag 1138 (0472) [23:45:59]Malloc new data [23:45:59]Processing tag 1024 (0400) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1006 (03EE) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1010 (03F2) [23:45:59]Malloc new data [23:45:59]Processing tag 1011 (03F3) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1007 (03EF) [23:45:59]Load OK [23:45:59]SetTLVBufToDocument [23:45:59]Processing tag 1014 (03F6) [23:45:59]Malloc new data [23:45:59]Processing tag 1015 (03F7) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Processing tag 1133 (046D) [23:45:59]Malloc new data [23:45:59]SetTLVBufToDocument err=0 [23:45:59]SetTLVBufToDocument err=0 [23:45:59]Malloc new data [23:45:59]SAM_PROTO_GetFMData [23:45:59]wFMCommunicate request_size=4 [23:45:59]MH_SAM_APDU [23:45:59]CAPDU: 80 13 03 00 [23:45:59]Write to MH i2c: E2 08 00 97 09 80 13 03 00 00 00 00 00 1F [23:45:59]OFD Sender: No OFD packet to send [23:45:59]Write i2c OK [23:45:59]MH_I2C_Read... [23:46:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:46:00]Read from MH i2c: E2 [23:46:00]MH_I2C_Read... [23:46:00]Read from MH i2c: E2 FD 00 [23:46:00]MH_I2C_Read... [23:46:00]Read from MH i2c: E2 FD 00 97 09 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 C0 [23:46:00]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [23:46:00]wFMCommunicate OK [23:46:00]wFMCommunicate request_size=4 [23:46:00]MH_SAM_APDU [23:46:00]CAPDU: 80 17 00 00 [23:46:00]Write to MH i2c: E2 08 00 98 09 80 17 00 00 00 00 00 00 21 [23:46:00]Write i2c OK [23:46:00]MH_I2C_Read... [23:46:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:46:00]Read from MH i2c: E2 [23:46:00]MH_I2C_Read... [23:46:00]Read from MH i2c: E2 FD 00 [23:46:00]MH_I2C_Read... [23:46:00]Read from MH i2c: E2 FD 00 98 09 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 9A [23:46:01]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [23:46:01]wFMCommunicate OK [23:46:01]wFMCommunicate request_size=4 [23:46:01]MH_SAM_APDU [23:46:01]CAPDU: 80 17 00 00 [23:46:01]Write to MH i2c: E2 08 00 99 09 80 17 00 00 00 00 00 00 22 [23:46:01]Write i2c OK [23:46:01]MH_I2C_Read... [23:46:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:46:01]Read from MH i2c: E2 [23:46:01]MH_I2C_Read... [23:46:01]Read from MH i2c: E2 FD 00 [23:46:01]MH_I2C_Read... [23:46:01]Read from MH i2c: E2 FD 00 99 09 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 C2 [23:46:01]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [23:46:01]wFMCommunicate OK [23:46:01]wFMCommunicate request_size=4 [23:46:01]MH_SAM_APDU [23:46:01]CAPDU: 80 17 00 00 [23:46:01]Write to MH i2c: E2 08 00 9A 09 80 17 00 00 00 00 00 00 23 [23:46:01]Write i2c OK [23:46:01]MH_I2C_Read... [23:46:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:46:01]Read from MH i2c: E2 [23:46:01]MH_I2C_Read... [23:46:01]Read from MH i2c: E2 FD 00 [23:46:01]MH_I2C_Read... [23:46:01]Read from MH i2c: E2 FD 00 9A 09 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 A8 [23:46:02]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [23:46:02]wFMCommunicate OK [23:46:02]wFMCommunicate request_size=4 [23:46:02]MH_SAM_APDU [23:46:02]CAPDU: 80 17 00 00 [23:46:02]Write to MH i2c: E2 08 00 9B 09 80 17 00 00 00 00 00 00 24 [23:46:02]Write i2c OK [23:46:02]MH_I2C_Read... [23:46:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:46:02]Read from MH i2c: E2 [23:46:02]MH_I2C_Read... [23:46:02]Read from MH i2c: E2 DE 00 [23:46:02]MH_I2C_Read... [23:46:02]Read from MH i2c: E2 DE 00 9B 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 03 [23:46:02]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:46:02]wFMCommunicate OK [23:46:02]SAM_PROTO_GetFMData done [23:46:02]FM_GetFMData:85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:46:03]oper:6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:46:03]total:D3 04 30 30 [23:46:03]Malloc new data [23:46:03]oper:6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:46:03]total:2C 8D 6E [23:46:03]Malloc new data [23:46:03]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:46:03]total: [23:46:03]Malloc new data [23:46:03]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:46:03]total: [23:46:03]Malloc new data [23:46:03]KKMPrepareXReportFMData err=0 [23:46:03]Х отчет ИНН: 02508201610067 Кассир: Жээнбеков Д. 13.03.2024 23:45 Смена: 266 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Всего чеков: 46 ИТОГИ ПРИХОД Чеков: 46 Общий итог: 14174.00 Итого наличными: 12885.00 Итого безнал.: 1289.00 НДС 0% : 0.00 НДС 12% : 1505.17 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 125.33 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 12885.00 НС Приход: 8084533.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871816 [23:46:03]StoreToDocumentArchive [23:46:03]MH_GetDate [23:46:03]Write to MH i2c: F0 00 00 9C 09 94 [23:46:03]Write i2c OK [23:46:03]MH_I2C_Read... [23:46:03]Read from MH i2c: F0 [23:46:03]MH_I2C_Read... [23:46:03]Read from MH i2c: F0 09 00 [23:46:03]MH_I2C_Read... [23:46:03]Read from MH i2c: F0 09 00 9C 09 00 BC 3A F2 65 0A 64 6E 65 2B [23:46:03]shift 266 fd 1710373564 [23:46:03]Create dir for shift 0266 [23:46:03]save to /storage/0266/doc_1710373564 [23:46:03]save last doc name /storage/0266/doc_1710373564 to /storage/kkm_last_doc_name [23:46:03]save OK [23:46:03]Clear old archive folders... [23:46:03]NVStorageSaveData kkm_last_timestamp [23:46:03]File name is /storage/kkm_last_timestamp [23:46:03]Write 4 bytes [23:46:03]NVStorageSaveData done [23:46:03]ExternCall_PrintAddStr [23:46:03]wPrintStart [23:46:03]Write to MH i2c: 01 00 00 9D 09 A6 [23:46:03]Write i2c OK [23:46:03]MH_I2C_Read... [23:46:03]Read from MH i2c: 01 [23:46:03]MH_I2C_Read... [23:46:03]Read from MH i2c: 01 07 00 [23:46:03]MH_I2C_Read... [23:46:03]Read from MH i2c: 01 07 00 9D 09 00 00 00 00 00 FF 0F BB [23:46:03]RasterBufferAndPrint [23:46:03]line Х отчет [23:46:03]line ИНН: 02508201610067 [23:46:03]line Кассир: Жээнбеков Д. [23:46:03]line 13.03.2024 23:45 [23:46:03]line Смена: 266 [23:46:03]line РНМ: 0000000000092018 [23:46:03]line ЗНМ: 0300000097 [23:46:03]line СНО: Общий режим [23:46:03]line Всего чеков: 46 [23:46:03]line ИТОГИ ПРИХОД [23:46:03]line Чеков: 46 [23:46:03]line Общий итог: 14174.00 [23:46:03]line Итого наличными: 12885.00 [23:46:03]line Итого безнал.: 1289.00 [23:46:03]line НДС 0% : 0.00 [23:46:03]line НДС 12% : 1505.17 [23:46:03]line НСП 0% : 0.00 [23:46:03]line НСП 1,50% : 0.00 [23:46:03]line НСП 0,50% : 0.00 [23:46:03]line НСП 5% : 0.00 [23:46:03]line НСП 3% : 0.00 [23:46:03]line НСП 2% : 0.00 [23:46:03]line НСП 1% : 125.33 [23:46:03]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:46:03]line Чеков: 0 [23:46:03]line Общий итог: 0.00 [23:46:03]line Итого наличными: 0.00 [23:46:03]line Итого безнал.: 0.00 [23:46:03]line НДС 0% : 0.00 [23:46:03]line НДС 12% : 0.00 [23:46:03]line НСП 0% : 0.00 [23:46:03]line НСП 1,50% : 0.00 [23:46:03]line НСП 0,50% : 0.00 [23:46:03]line НСП 5% : 0.00 [23:46:03]line НСП 3% : 0.00 [23:46:03]line НСП 2% : 0.00 [23:46:03]line НСП 1% : 0.00 [23:46:03]line ИТОГИ РАСХОД [23:46:03]line Чеков: 0 [23:46:03]line Общий итог: 0.00 [23:46:03]line Итого наличными: 0.00 [23:46:03]line Итого безнал.: 0.00 [23:46:03]line НДС 0% : 0.00 [23:46:03]line НДС 12% : 0.00 [23:46:03]line НСП 0% : 0.00 [23:46:03]line НСП 1,50% : 0.00 [23:46:03]line НСП 0,50% : 0.00 [23:46:03]line НСП 5% : 0.00 [23:46:03]line НСП 3% : 0.00 [23:46:03]line НСП 2% : 0.00 [23:46:03]line НСП 1% : 0.00 [23:46:03]line ИТОГИ ВОЗВРАТ РАСХОДА [23:46:03]line Чеков: 0 [23:46:03]line Общий итог: 0.00 [23:46:03]line Итого наличными: 0.00 [23:46:03]line Итого безнал.: 0.00 [23:46:03]line НДС 0% : 0.00 [23:46:03]line НДС 12% : 0.00 [23:46:03]line НСП 0% : 0.00 [23:46:03]line НСП 1,50% : 0.00 [23:46:03]line НСП 0,50% : 0.00 [23:46:03]line НСП 5% : 0.00 [23:46:03]line НСП 3% : 0.00 [23:46:03]line НСП 2% : 0.00 [23:46:03]line НСП 1% : 0.00 [23:46:03]line Сумма внесений: 0.00 [23:46:03]line Сумма выплат: 0.00 [23:46:03]line Нал. в кассе: 12885.00 [23:46:03]line НС Приход: 8084533.31 [23:46:03]line НС Возвр.Прихода: 72451.00 [23:46:03]line НС Расход: 0.00 [23:46:03]line НС Возвр.Расхода: 0.00 [23:46:03]line ФМ: 0000000000871816 [23:46:03]written 0, free lines is 4095 [23:46:04]Write to MH i2c: 01 00 00 E8 09 F1 [23:46:04]Write i2c OK [23:46:04]MH_I2C_Read... [23:46:04]Read from MH i2c: 01 [23:46:04]MH_I2C_Read... [23:46:04]Read from MH i2c: 01 07 00 [23:46:04]MH_I2C_Read... [23:46:04]Read from MH i2c: 01 07 00 E8 09 00 00 00 00 00 8C 0A 8E [23:46:04]RasterBufferAndPrint [23:46:04]line [23:46:04]line [23:46:04]line [23:46:04]line [23:46:04]line [23:46:04]written 0, free lines is 2725 [23:46:04]MH_Cut [23:46:04]Write to MH i2c: D1 01 00 EF 09 01 CA [23:46:04]Write i2c OK [23:46:04]MH_I2C_Read... [23:46:04]Read from MH i2c: D1 [23:46:04]MH_I2C_Read... [23:46:04]Read from MH i2c: D1 01 00 [23:46:04]MH_I2C_Read... [23:46:04]Read from MH i2c: D1 01 00 EF 09 00 C9 [23:46:04]Write to MH i2c: 01 00 00 F0 09 F9 [23:46:04]Write i2c OK [23:46:04]MH_I2C_Read... [23:46:04]OFD Sender: No OFD packet to send [23:46:05]*** Cut start [23:46:05]*** Purtial cut [23:46:05]*** Stage 1: CUTSNS_PIN = 1 [23:46:05]Read from MH i2c: 01 [23:46:05]MH_I2C_Read... [23:46:05]*** Stop cut motor [23:46:05]*** Cut end [23:46:05]Read from MH i2c: 01 07 00 [23:46:05]MH_I2C_Read... [23:46:05]Read from MH i2c: 01 07 00 F0 09 00 00 00 00 00 FF 0F 0E [23:46:05]process_action x_report done [23:46:05]requested_data is exist [23:46:05]produce_requested_data [23:46:05]requested_item fd.num is exist - process it [23:46:05]SAM_PROTO_GetFieldsCounters [23:46:05]wFMCommunicate request_size=4 [23:46:05]MH_SAM_APDU [23:46:05]CAPDU: 80 13 00 00 [23:46:05]Write to MH i2c: E2 08 00 F1 09 80 13 00 00 00 00 00 00 76 [23:46:05]Write i2c OK [23:46:05]MH_I2C_Read... [23:46:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:46:06]Read from MH i2c: E2 [23:46:06]MH_I2C_Read... [23:46:06]Read from MH i2c: E2 62 00 [23:46:06]MH_I2C_Read... [23:46:06]Read from MH i2c: E2 62 00 F1 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 90 [23:46:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 [23:46:06]wFMCommunicate OK [23:46:06]SAM_PROTO_GetFieldsCounters done [23:46:06]requested_item shift.num is exist - process it [23:46:06]requested_item shift.opened is exist - process it [23:46:06]req_shift_opened [23:46:06]FM_GetShiftState [23:46:06]SAM_PROTO_GetShiftState [23:46:06]wFMCommunicate request_size=4 [23:46:06]MH_SAM_APDU [23:46:06]CAPDU: 80 13 01 00 [23:46:06]Write to MH i2c: E2 08 00 F2 09 80 13 01 00 00 00 00 00 78 [23:46:06]Write i2c OK [23:46:06]MH_I2C_Read... [23:46:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:46:06]Read from MH i2c: E2 [23:46:06]MH_I2C_Read... [23:46:06]Read from MH i2c: E2 0E 00 [23:46:06]MH_I2C_Read... [23:46:06]Read from MH i2c: E2 0E 00 F2 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 95 [23:46:06]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [23:46:06]wFMCommunicate OK [23:46:06]SAM_PROTO_GetShiftState done [23:46:06]FM_GetShiftState done [23:46:06]req_shift_opened done [23:46:06]requested_item shift.open_date is exist - process it [23:46:06]req_shift_open_date [23:46:06]req_shift_open_date done [23:46:06]produce_requested_data done [23:46:06]produce_requested_data return {"fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [23:46:06]process_action_free x_report [23:46:06]json_value_free [23:46:06]json_value_free done [23:46:06]process_json_proto returns [23:46:06]Send response to host [23:46:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [23:46:06]free response buf [23:46:06]execute_script done [23:46:06]execute_script returns [23:46:06]free content buf [23:46:06]Sock 7.Close socket [23:46:06]Sock 7.Thread stoped [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:48]accept exits with 9 [00:00:48]New connection [00:00:48]New thread 3067174244 created [00:00:48]Thread 3067030884 joined [00:00:48]Waiting for new connection... [00:00:48] Sock 9.Parse request [00:00:48]Sock 9.Check first char [00:00:48]Sock 9.First char is OK [00:00:48]request: POST /json_proto HTTP/1.0 [00:00:48]Method: POST [00:00:48]URL: /json_proto [00:00:48]Method is POST - this is cgi request [00:00:48]url: /json_proto [00:00:48]query_string will be loaded in cgi processing [00:00:48]execute_cgi json_proto POST (null) [00:00:48]execute_cgi path=json_proto method=POST [00:00:48]POST find Content-Length [00:00:48]Host: 172.17.32.68:8080 [00:00:48]Content-Length: 215 [00:00:48]Content-Type: application/json [00:00:48] [00:00:48]POST finish read [00:00:48]Found Content-Length = 215 [00:00: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:00:48]execute_script... [00:00: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:00:48]POST & json_proto [00:00:48]process_json_proto [00:00:48]json parsed OK: [00:00:48]protocol is kg_v1.0 [00:00:48]action value=get_value [00:00:48]process_action get_value [00:00:48]cmd_get_value [00:00:48]process_action get_value done [00:00:48]requested_data is exist [00:00:48]produce_requested_data [00:00:48]requested_item kkm.sn is exist - process it [00:00:48]requested_item kkm.ver is exist - process it [00:00:48]requested_item fm.sn is exist - process it [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 11 00 00 [00:00:48]Write to MH i2c: E2 08 00 F3 09 80 11 00 00 00 00 00 00 76 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 17 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 17 00 F3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C8 [00:00:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:00:48]wFMCommunicate OK [00:00:48]requested_item fd.num is exist - process it [00:00:48]SAM_PROTO_GetFieldsCounters [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 13 00 00 [00:00:48]Write to MH i2c: E2 08 00 F4 09 80 13 00 00 00 00 00 00 79 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 62 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 62 00 F4 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 93 [00:00:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 7F B9 00 00 0E 04 04 00 3C 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 [00:00:49]wFMCommunicate OK [00:00:49]SAM_PROTO_GetFieldsCounters done [00:00:49]requested_item shift.num is exist - process it [00:00:49]requested_item shift.opened is exist - process it [00:00:49]req_shift_opened [00:00:49]FM_GetShiftState [00:00:49]SAM_PROTO_GetShiftState [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 13 01 00 [00:00:49]Write to MH i2c: E2 08 00 F5 09 80 13 01 00 00 00 00 00 7B [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 0E 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 0E 00 F5 09 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 98 [00:00:49]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [00:00:49]wFMCommunicate OK [00:00:49]SAM_PROTO_GetShiftState done [00:00:49]FM_GetShiftState done [00:00:49]req_shift_opened done [00:00:49]requested_item shift.open_date is exist - process it [00:00:49]req_shift_open_date [00:00:49]req_shift_open_date done [00:00:49]produce_requested_data done [00:00:49]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059} [00:00:49]process_action_free get_value [00:00:49]json_value_free [00:00:49]json_value_free done [00:00:49]process_json_proto returns [00:00:49]Send response to host [00:00:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47487,"shift.num":316,"shift.opened":1,"shift.open_date":1710338059}}} [00:00:49]free response buf [00:00:49]execute_script done [00:00:49]execute_script returns [00:00:49]free content buf [00:00:49]Sock 9.Close socket [00:00:49]Sock 9.Thread stoped [00:00:49]accept exits with 7 [00:00:49]New connection [00:00:49]New thread 3067030884 created [00:00:49]Thread 3067174244 joined [00:00:49]Waiting for new connection... [00:00:49] Sock 7.Parse request [00:00:49]Sock 7.Check first char [00:00:49]Sock 7.First char is OK [00:00:49]request: POST /json_proto HTTP/1.0 [00:00:49]Method: POST [00:00:49]URL: /json_proto [00:00:49]Method is POST - this is cgi request [00:00:49]url: /json_proto [00:00:49]query_string will be loaded in cgi processing [00:00:49]execute_cgi json_proto POST (null) [00:00:49]execute_cgi path=json_proto method=POST [00:00:49]POST find Content-Length [00:00:49]Host: 172.17.32.68:8080 [00:00:49]Content-Length: 331 [00:00:49]Content-Type: application/json [00:00:49] [00:00:49]POST finish read [00:00:49]Found Content-Length = 331 [00:00: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:00:49]execute_script... [00:00: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:00:49]POST & json_proto [00:00:49]process_json_proto [00:00:49]json parsed OK: [00:00:49]protocol is kg_v1.0 [00:00:49]action value=get_value [00:00:49]process_action get_value [00:00:49]cmd_get_value [00:00:49]process_action get_value done [00:00:49]requested_data is exist [00:00:49]produce_requested_data [00:00:49]requested_item fm.sale.total is exist - process it [00:00:49]SAM_PROTO_GetFMData [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 13 03 00 [00:00:49]Write to MH i2c: E2 08 00 F6 09 80 13 03 00 00 00 00 00 7E [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 F6 09 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 1F [00:00:49]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [00:00:49]wFMCommunicate OK [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 17 00 00 [00:00:49]Write to MH i2c: E2 08 00 F7 09 80 17 00 00 00 00 00 00 80 [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 F7 09 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 F9 [00:00:50]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 F8 09 80 17 00 00 00 00 00 00 81 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 F8 09 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 21 [00:00:50]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 F9 09 80 17 00 00 00 00 00 00 82 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 F9 09 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 07 [00:00:50]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 FA 09 80 17 00 00 00 00 00 00 83 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]OFD Sender: No OFD packet to send [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 DE 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 DE 00 FA 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 62 [00:00:50]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:50]wFMCommunicate OK [00:00:50]SAM_PROTO_GetFMData done [00:00:50]requested_item fm.sale_refund.total is exist - process it [00:00:50]requested_item fm.buy.total is exist - process it [00:00:50]requested_item shift.sale.total is exist - process it [00:00:50]SAM_PROTO_GetShiftData [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 13 02 00 [00:00:50]Write to MH i2c: E2 08 00 FB 09 80 13 02 00 00 00 00 00 82 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 FB 09 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 DF [00:00:51]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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 17 00 00 [00:00:51]Write to MH i2c: E2 08 00 FC 09 80 17 00 00 00 00 00 00 85 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 FC 09 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 A7 [00:00: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:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 17 00 00 [00:00:51]Write to MH i2c: E2 08 00 FD 09 80 17 00 00 00 00 00 00 86 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 FD 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 3D [00:00:51]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 17 00 00 [00:00:51]Write to MH i2c: E2 08 00 FE 09 80 17 00 00 00 00 00 00 87 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 FE 09 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F9 [00:00: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:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 FF 09 80 17 00 00 00 00 00 00 88 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 CB 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 CB 00 FF 09 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [00:00: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:00:52]wFMCommunicate OK [00:00:52]SAM_PROTO_GetShiftData done [00:00:52]requested_item shift.sale.total_cash is exist - process it [00:00:52]requested_item shift.sale_refund.total is exist - process it [00:00:52]requested_item shift.sale_refund.total_cash is exist - process it [00:00:52]requested_item shift.buy.total is exist - process it [00:00:52]requested_item shift.buy.total_cash is exist - process it [00:00:52]produce_requested_data done [00:00:52]produce_requested_data return {"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:52]process_action_free get_value [00:00:52]json_value_free [00:00:52]json_value_free done [00:00:52]process_json_proto returns [00:00:52]Send response to host [00:00:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:52]free response buf [00:00:52]execute_script done [00:00:52]execute_script returns [00:00:52]free content buf [00:00:52]Sock 7.Close socket [00:00:52]Sock 7.Thread stoped [00:00:52]accept exits with 9 [00:00:52]New connection [00:00:52]New thread 3067174244 created [00:00:52]Thread 3067030884 joined [00:00:52]Waiting for new connection... [00:00:52] Sock 9.Parse request [00:00:52]Sock 9.Check first char [00:00:52]Sock 9.First char is OK [00:00:52]request: POST /json_proto HTTP/1.0 [00:00:52]Method: POST [00:00:52]URL: /json_proto [00:00:52]Method is POST - this is cgi request [00:00:52]url: /json_proto [00:00:52]query_string will be loaded in cgi processing [00:00:52]execute_cgi json_proto POST (null) [00:00:52]execute_cgi path=json_proto method=POST [00:00:52]POST find Content-Length [00:00:52]Host: 172.17.32.68:8080 [00:00:52]Content-Length: 331 [00:00:52]Content-Type: application/json [00:00:52] [00:00:52]POST finish read [00:00:52]Found Content-Length = 331 [00:00:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:52]execute_script... [00:00:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:52]POST & json_proto [00:00:52]process_json_proto [00:00:52]json parsed OK: [00:00:52]protocol is kg_v1.0 [00:00:52]action value=get_value [00:00:52]process_action get_value [00:00:52]cmd_get_value [00:00:52]process_action get_value done [00:00:52]requested_data is exist [00:00:52]produce_requested_data [00:00:52]requested_item fm.sale.total is exist - process it [00:00:52]SAM_PROTO_GetFMData [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 13 03 00 [00:00:52]Write to MH i2c: E2 08 00 00 0A 80 13 03 00 00 00 00 00 89 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 00 0A 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 2A [00:00:53]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 01 0A 80 17 00 00 00 00 00 00 8B [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 01 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 04 [00:00:53]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 02 0A 80 17 00 00 00 00 00 00 8C [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 02 0A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 2C [00:00:53]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 03 0A 80 17 00 00 00 00 00 00 8D [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 03 0A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 12 [00:00:54]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:00:54]wFMCommunicate OK [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 17 00 00 [00:00:54]Write to MH i2c: E2 08 00 04 0A 80 17 00 00 00 00 00 00 8E [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 DE 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 DE 00 04 0A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6D [00:00:54]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:54]wFMCommunicate OK [00:00:54]SAM_PROTO_GetFMData done [00:00:54]requested_item fm.sale_refund.total is exist - process it [00:00:54]requested_item fm.buy.total is exist - process it [00:00:54]requested_item shift.sale.total is exist - process it [00:00:54]SAM_PROTO_GetShiftData [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 13 02 00 [00:00:54]Write to MH i2c: E2 08 00 05 0A 80 13 02 00 00 00 00 00 8D [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 05 0A 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 EA [00:00:55]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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:55]wFMCommunicate OK [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 06 0A 80 17 00 00 00 00 00 00 90 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 06 0A 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 B2 [00:00:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:55]wFMCommunicate OK [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 07 0A 80 17 00 00 00 00 00 00 91 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 07 0A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 48 [00:00:55]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:55]wFMCommunicate OK [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 08 0A 80 17 00 00 00 00 00 00 92 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]OFD Sender: No OFD packet to send [00:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 08 0A 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 04 [00:00:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 17 00 00 [00:00:56]Write to MH i2c: E2 08 00 09 0A 80 17 00 00 00 00 00 00 93 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 CB 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 CB 00 09 0A 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 7C [00:00:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:56]wFMCommunicate OK [00:00:56]SAM_PROTO_GetShiftData done [00:00:56]requested_item shift.sale.total_cash is exist - process it [00:00:56]requested_item shift.sale_refund.total is exist - process it [00:00:56]requested_item shift.sale_refund.total_cash is exist - process it [00:00:56]requested_item shift.buy.total is exist - process it [00:00:56]requested_item shift.buy.total_cash is exist - process it [00:00:56]produce_requested_data done [00:00:56]produce_requested_data return {"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:56]process_action_free get_value [00:00:56]json_value_free [00:00:56]json_value_free done [00:00:56]process_json_proto returns [00:00:56]Send response to host [00:00:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:56]free response buf [00:00:56]execute_script done [00:00:56]execute_script returns [00:00:56]free content buf [00:00:56]Sock 9.Close socket [00:00:56]Sock 9.Thread stoped [00:00:56]accept exits with 7 [00:00:56]New connection [00:00:56]New thread 3067030884 created [00:00:56]Thread 3067174244 joined [00:00:56]Waiting for new connection... [00:00:56] Sock 7.Parse request [00:00:56]Sock 7.Check first char [00:00:56]Sock 7.First char is OK [00:00:56]request: POST /json_proto HTTP/1.0 [00:00:56]Method: POST [00:00:56]URL: /json_proto [00:00:56]Method is POST - this is cgi request [00:00:56]url: /json_proto [00:00:56]query_string will be loaded in cgi processing [00:00:56]execute_cgi json_proto POST (null) [00:00:56]execute_cgi path=json_proto method=POST [00:00:56]POST find Content-Length [00:00:56]Host: 172.17.32.68:8080 [00:00:56]Content-Length: 266 [00:00:56]Content-Type: application/json [00:00:56] [00:00:56]POST finish read [00:00:56]Found Content-Length = 266 [00:00:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:56]execute_script... [00:00:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0416\u044D\u044D\u043D\u0431\u0435\u043A\u043E\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:56]POST & json_proto [00:00:56]process_json_proto [00:00:56]json parsed OK: [00:00:56]protocol is kg_v1.0 [00:00:56]action value=close_shift [00:00:56]process_action close_shift [00:00:56]cmd_close_shift [00:00:56]MH_GetDate [00:00:56]Write to MH i2c: F0 00 00 0A 0A 03 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: F0 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: F0 09 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: F0 09 00 0A 0A 00 39 3E F2 65 0A 64 6E 65 1B [00:00:56]GetLastDocTimeStamp 1710373557 [00:00:56]current date 1710374457 [00:00:56]FM_GetShiftState [00:00:56]SAM_PROTO_GetShiftState [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 13 01 00 [00:00:56]Write to MH i2c: E2 08 00 0B 0A 80 13 01 00 00 00 00 00 92 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 0E 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 0E 00 0B 0A 00 09 00 01 0B B0 F1 65 00 00 00 00 90 00 AF [00:00:56]RAPDU: 09 00 01 0B B0 F1 65 00 00 00 00 90 00 [00:00:56]wFMCommunicate OK [00:00:56]SAM_PROTO_GetShiftState done [00:00:56]FM_GetShiftState done [00:00:56]KKMCreateCloseShiftDocument [00:00:56]Load OK [00:00:56]Malloc new data [00:00:56]MH_GetDate [00:00:56]Write to MH i2c: F0 00 00 0C 0A 05 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: F0 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: F0 09 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: F0 09 00 0C 0A 00 39 3E F2 65 0A 64 6E 65 1D [00:00:56]Malloc new data [00:00:56]Malloc new data [00:00:56]Malloc new data [00:00:56]Malloc new data [00:00:56]KKMCreateCloseShiftDocument OK [00:00:56]KKMSetCloseShiftData OK [00:00:56]ProcessDocumentItem done err = 0, tmpTLVsize=73 [00:00:56]tlvbuf is 01189000 [00:00:56]KKMLoadAndSignCloseShiftData [00:00:56]SAM_PROTO_ProcessDocument [00:00:56]wFMCommunicate request_size=9 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 15 01 00 04 05 00 49 00 [00:00:56]Write to MH i2c: E2 0C 00 0D 0A 80 15 01 00 04 00 05 00 49 00 00 00 EC [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 0D 0A 00 90 00 8B [00:00:56]RAPDU: 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=23 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:00:56]Write to MH i2c: E2 1A 00 0E 0A 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 8D [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 0E 0A 00 90 00 8C [00:00:56]RAPDU: 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=32 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 [00:00:56]Write to MH i2c: E2 23 00 0F 0A 80 15 02 00 1B 00 FD 03 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 00 00 07 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 0F 0A 00 90 00 8D [00:00:56]RAPDU: 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=13 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 15 02 00 08 F4 03 04 00 39 3E F2 65 [00:00:56]Write to MH i2c: E2 10 00 10 0A 80 15 02 00 08 00 F4 03 04 00 39 3E F2 65 00 00 73 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 10 0A 00 90 00 8E [00:00:56]RAPDU: 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=25 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [00:00:56]Write to MH i2c: E2 1C 00 11 0A 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 F8 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 03 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 03 00 11 0A 00 90 00 8F [00:00:57]RAPDU: 90 00 [00:00:57]wFMCommunicate OK [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 15 03 00 [00:00:57]Write to MH i2c: E2 08 00 12 0A 80 15 03 00 00 00 00 00 9D [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 12 0A 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 80 B9 00 00 0E 04 04 00 3C 01 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 6C [00:00:57]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 80 B9 00 00 0E 04 04 00 3C 01 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:57]wFMCommunicate OK [00:00:57]SAM_PROTO_ProcessDocument answer len = 1265 [00:00:57]SAM_PROTO_ProcessDocument remain to read = 1017 [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 17 00 00 [00:00:57]Write to MH i2c: E2 08 00 13 0A 80 17 00 00 00 00 00 00 9D [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 13 0A 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 E6 [00:00:58]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:00:58]wFMCommunicate OK [00:00:58]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:58]SAM_PROTO_ProcessDocument remain to read = 767 [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 14 0A 80 17 00 00 00 00 00 00 9E [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 14 0A 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 00 [00:00:58]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:00:58]wFMCommunicate OK [00:00:58]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:58]SAM_PROTO_ProcessDocument remain to read = 517 [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 15 0A 80 17 00 00 00 00 00 00 9F [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 15 0A 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 29 [00:00:58]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:00:58]wFMCommunicate OK [00:00:58]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:58]SAM_PROTO_ProcessDocument remain to read = 267 [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 16 0A 80 17 00 00 00 00 00 00 A0 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 FD 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 FD 00 16 0A 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 68 [00:00:59]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:00:59]wFMCommunicate OK [00:00:59]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:59]SAM_PROTO_ProcessDocument remain to read = 17 [00:00:59]wFMCommunicate request_size=4 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 17 00 00 [00:00:59]Write to MH i2c: E2 08 00 17 0A 80 17 00 00 00 00 00 00 A1 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 14 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 14 00 17 0A 00 01 00 06 F7 03 00 00 35 04 06 00 7A AB 9A A1 37 5C 90 00 D9 [00:00:59]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 7A AB 9A A1 37 5C 90 00 [00:00:59]wFMCommunicate OK [00:00:59]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:00:59]SAM_PROTO_ProcessDocument done [00:00:59]1209 (1) - 1.0 - номер версии ФФД [00:00:59]1041 (16) - 0000000000871816 - номер ФМ [00:00:59]1040 (4) - 47488 - номер ФД [00:00:59]1038 (4) - 316 - номер смены [00:00:59]1118 (4) - 46 - количество кассовых чеков за смену [00:00:59]1111 (4) - 48 - общее количество ФД за смену [00:00:59]1194 (1194) - счетчики итогов смены [00:00:59] 1134 (4) - 46 - количество чеков со всеми признаками расчетов [00:00:59] 1129 (155) - счетчики операций «приход» [00:00:59] 1135 (4) - 46 - количество чеков по признаку расчетов [00:00:59] 1201 (3) - 14174.00 - общая итоговая сумма в чеках [00:00:59] 1136 (3) - 12885.00 - итоговая сумма в чеках наличными [00:00:59] 1138 (3) - 1289.00 - итоговая сумма в чеках безналичными [00:00:59] 1024 (122) - суммы налогов [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 0% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1006 (12) - суммы НДС [00:00:59] 1010 (1) - 12% - код ставки НДС [00:00:59] 1011 (3) - 1505.17 - сумма НДС по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (11) - суммы НСП [00:00:59] 1014 (1) - 1% - код ставки НСП [00:00:59] 1015 (2) - 125.33 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 2% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 3% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 5% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1130 (141) - счетчики операций «возврат прихода» [00:00:59] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:59] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:59] 1024 (117) - суммы налогов [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 0% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 12% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 2% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 3% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 5% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1131 (141) - счетчики операций «расход» [00:00:59] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:59] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:59] 1024 (117) - суммы налогов [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 0% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 12% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 2% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 3% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 5% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1132 (141) - счетчики операций «возврат расхода» [00:00:59] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:59] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:59] 1024 (117) - суммы налогов [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 0% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1006 (9) - суммы НДС [00:00:59] 1010 (1) - 12% - код ставки НДС [00:00:59] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 2% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 3% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 5% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 0,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1007 (9) - суммы НСП [00:00:59] 1014 (1) - 1,50% - код ставки НСП [00:00:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:59] 1133 (588) - - счетчики коррекции - не используются [00:00:59]1077 (6) - 134877452253020 - ФПД [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1209 (04B9) [00:01:00]Malloc new data [00:01:00]Processing tag 1041 (0411) [00:01:00]Processing tag 1040 (0410) [00:01:00]Malloc new data [00:01:00]Processing tag 1038 (040E) [00:01:00]Malloc new data [00:01:00]Processing tag 1118 (045E) [00:01:00]Malloc new data [00:01:00]Processing tag 1111 (0457) [00:01:00]Malloc new data [00:01:00]Processing tag 1194 (04AA) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1134 (046E) [00:01:00]Malloc new data [00:01:00]Processing tag 1129 (0469) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1135 (046F) [00:01:00]Malloc new data [00:01:00]Processing tag 1201 (04B1) [00:01:00]Malloc new data [00:01:00]Processing tag 1136 (0470) [00:01:00]Malloc new data [00:01:00]Processing tag 1138 (0472) [00:01:00]Malloc new data [00:01:00]Processing tag 1024 (0400) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1130 (046A) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1135 (046F) [00:01:00]Malloc new data [00:01:00]Processing tag 1201 (04B1) [00:01:00]Malloc new data [00:01:00]Processing tag 1136 (0470) [00:01:00]Malloc new data [00:01:00]Processing tag 1138 (0472) [00:01:00]Malloc new data [00:01:00]Processing tag 1024 (0400) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1131 (046B) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1135 (046F) [00:01:00]Malloc new data [00:01:00]Processing tag 1201 (04B1) [00:01:00]Malloc new data [00:01:00]Processing tag 1136 (0470) [00:01:00]Malloc new data [00:01:00]Processing tag 1138 (0472) [00:01:00]Malloc new data [00:01:00]Processing tag 1024 (0400) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1132 (046C) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1135 (046F) [00:01:00]Malloc new data [00:01:00]Processing tag 1201 (04B1) [00:01:00]Malloc new data [00:01:00]Processing tag 1136 (0470) [00:01:00]Malloc new data [00:01:00]Processing tag 1138 (0472) [00:01:00]Malloc new data [00:01:00]Processing tag 1024 (0400) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1006 (03EE) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1010 (03F2) [00:01:00]Malloc new data [00:01:00]Processing tag 1011 (03F3) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1007 (03EF) [00:01:00]Load OK [00:01:00]SetTLVBufToDocument [00:01:00]Processing tag 1014 (03F6) [00:01:00]Malloc new data [00:01:00]Processing tag 1015 (03F7) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1133 (046D) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Processing tag 1077 (0435) [00:01:00]Malloc new data [00:01:00]SetTLVBufToDocument err=0 [00:01:00]Malloc new data [00:01:00]SAM_PROTO_GetFMData [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 13 03 00 [00:01:00]Write to MH i2c: E2 08 00 18 0A 80 13 03 00 00 00 00 00 A1 [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]OFD Sender: No OFD packet to send [00:01:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 18 0A 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 42 [00:01:01]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [00:01:01]wFMCommunicate OK [00:01:01]wFMCommunicate request_size=4 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 17 00 00 [00:01:01]Write to MH i2c: E2 08 00 19 0A 80 17 00 00 00 00 00 00 A3 [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 19 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 1C [00:01:01]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:01:01]wFMCommunicate OK [00:01:01]wFMCommunicate request_size=4 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 17 00 00 [00:01:01]Write to MH i2c: E2 08 00 1A 0A 80 17 00 00 00 00 00 00 A4 [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:02]Read from MH i2c: E2 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 FD 00 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 FD 00 1A 0A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 44 [00:01:02]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:02]wFMCommunicate OK [00:01:02]wFMCommunicate request_size=4 [00:01:02]MH_SAM_APDU [00:01:02]CAPDU: 80 17 00 00 [00:01:02]Write to MH i2c: E2 08 00 1B 0A 80 17 00 00 00 00 00 00 A5 [00:01:02]Write i2c OK [00:01:02]MH_I2C_Read... [00:01:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:02]Read from MH i2c: E2 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 FD 00 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 FD 00 1B 0A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 2A [00:01:02]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:01:02]wFMCommunicate OK [00:01:02]wFMCommunicate request_size=4 [00:01:02]MH_SAM_APDU [00:01:02]CAPDU: 80 17 00 00 [00:01:02]Write to MH i2c: E2 08 00 1C 0A 80 17 00 00 00 00 00 00 A6 [00:01:02]Write i2c OK [00:01:02]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 DE 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 DE 00 1C 0A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:01:03]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:03]wFMCommunicate OK [00:01:03]SAM_PROTO_GetFMData done [00:01:03]Malloc new data [00:01:03]Malloc new data [00:01:03]Malloc new data [00:01:03]Malloc new data [00:01:03]KKMLoadAndSignCloseShiftData err=0 [00:01:03]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Жээнбеков Д. 14.03.2024 00:00 Смена: 316 РНМ: 0000000000092018 ЗНМ: 0300000097 СНО: Общий режим Чеков за смену: 46 ФД за смену: 48 Всего чеков: 46 ИТОГИ ПРИХОД Чеков: 46 Общий итог: 14174.00 Итого наличными: 12885.00 Итого безнал.: 1289.00 НДС 0% : 0.00 НДС 12% : 1505.17 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 125.33 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 12885.00 НС Приход: 8084533.31 НС Возвр.Прихода: 72451.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 47488 ФМ: 0000000000871816 ФПД: 134877452253020 [00:01:03]StoreToDocumentArchive [00:01:03]shift 316 fd 47488 [00:01:03]save to /storage/0316/doc_00047488 [00:01:03]save last doc name /storage/0316/doc_00047488 to /storage/kkm_last_doc_name [00:01:03]save OK [00:01:03]Clear old archive folders... [00:01:03]Remove dir /storage/0266 [00:01:03]opendir ok [00:01:03]file . [00:01:03]file .. [00:01:03]file doc_1710373564 [00:01:03]remove file /storage/0266/doc_1710373564 [00:01:03]remove dir /storage/0266 [00:01:03]NVStorageSaveData kkm_registers [00:01:03]File name is /storage/kkm_registers [00:01:03]Write 24 bytes [00:01:03]NVStorageSaveData done [00:01:03]NVStorageSaveData kkm_registers [00:01:03]File name is /storage/kkm_registers [00:01:03]Write 24 bytes [00:01:03]NVStorageSaveData done [00:01:03]ProcessDocumentItem done err = 0, tmpTLVsize=1381 [00:01:03]tlvbuf is 012AF660 [00:01:03]SAM_PROTO_ClearQueue [00:01:03]wFMCommunicate request_size=4 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 09 00 00 [00:01:03]Write to MH i2c: E2 08 00 1D 0A 80 09 00 00 00 00 00 00 99 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 1D 0A 00 90 00 9B [00:01:03]RAPDU: 90 00 [00:01:03]wFMCommunicate OK [00:01:03]SAM_PROTO_ClearQueue done [00:01:03]KKMCreateOFDPacket [00:01:03]OFDProtocolAddRootSTLVToBuf [00:01:03]FM_MakeSignedData [00:01:03]FM_MakeSignedData [00:01:03]SAM_PROTO_SignData [00:01:03]wFMCommunicate request_size=4 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 0D 01 02 [00:01:03]Write to MH i2c: E2 08 00 1E 0A 80 0D 01 02 00 00 00 00 A1 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 1E 0A 00 90 00 9C [00:01:03]RAPDU: 90 00 [00:01:03]wFMCommunicate OK [00:01:03]wFMCommunicate request_size=255 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 0D 02 02 FA 05 00 65 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 39 3E F2 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 AA 04 D5 04 6E 04 04 00 2E 00 00 00 69 04 A2 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 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 F5 4B 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 [00:01:03]Write to MH i2c: E2 02 01 1F 0A 80 0D 02 02 FA 00 05 00 65 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 39 3E F2 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 AA 04 D5 04 6E 04 04 00 2E 00 00 00 69 04 A2 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 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 F5 4B 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 00 00 0B [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 1F 0A 00 90 00 9D [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=255 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 0D 02 02 FA 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 F5 30 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 [00:01:04]Write to MH i2c: E2 02 01 20 0A 80 0D 02 02 FA 00 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 F5 30 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 00 00 33 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 20 0A 00 90 00 9E [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=255 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 0D 02 02 FA 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 [00:01:04]Write to MH i2c: E2 02 01 21 0A 80 0D 02 02 FA 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 00 00 6C [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 03 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 03 00 21 0A 00 90 00 9F [00:01:05]RAPDU: 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=255 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 0D 02 02 FA 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 [00:01:05]Write to MH i2c: E2 02 01 22 0A 80 0D 02 02 FA 00 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 00 00 6A [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 03 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 03 00 22 0A 00 90 00 A0 [00:01:05]RAPDU: 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=255 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 0D 02 02 FA 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 [00:01:06]Write to MH i2c: E2 02 01 23 0A 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 00 32 [00:01:06]OFD Sender: No OFD packet to send [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 23 0A 00 90 00 A1 [00:01:06]RAPDU: 90 00 [00:01:06]wFMCommunicate OK [00:01:06]wFMCommunicate request_size=140 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 0D 02 02 87 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 7A AB 9A A1 37 5C [00:01:06]Write to MH i2c: E2 8F 00 24 0A 80 0D 02 02 87 00 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 7A AB 9A A1 37 5C 00 00 12 [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 24 0A 00 90 00 A2 [00:01:06]RAPDU: 90 00 [00:01:06]wFMCommunicate OK [00:01:06]wFMCommunicate request_size=4 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 0D 03 02 [00:01:06]Write to MH i2c: E2 08 00 25 0A 80 0D 03 02 00 00 00 00 AA [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0B 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0B 00 25 0A 00 1F 1E 0B 9F 7E C8 EC 28 90 00 EC [00:01:07]RAPDU: 1F 1E 0B 9F 7E C8 EC 28 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_SignData done [00:01:07]FM_MakeSignedData done [00:01:07]CreateOFDProtocolMessage [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 11 00 00 [00:01:07]Write to MH i2c: E2 08 00 26 0A 80 11 00 00 00 00 00 00 AA [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 17 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 17 00 26 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FC [00:01:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:01:07]wFMCommunicate OK [00:01:07]CreateOFDProtocolMessage done [00:01:07]OFDSenderStorePacket 47488 [00:01:07]StoreOFDPacket docnum=47488 [00:01:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 79 05 00 00 AE 4B 71 05 0E 1B 5A 05 01 00 05 00 65 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 39 3E F2 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 AA 04 D5 04 6E 04 04 00 2E 00 00 00 69 04 A2 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 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 F5 4B 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 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 80 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 7A AB 9A A1 37 5C 1F 1E 0B 9F 7E C8 EC 28 [00:01:07]CheckFolder [00:01:07]dirname=/storage/ofd_packets [00:01:07]CheckFolder done [00:01:07]ProducePacketName [00:01:07]name=ofd_packets/00047488 [00:01:07]NVStorageSaveData ofd_packets/00047488 [00:01:07]File name is /storage/ofd_packets/00047488 [00:01:07]Write 1431 bytes [00:01:07]NVStorageSaveData done [00:01:07]OFDSenderStorePacket done [00:01:07]KKMCreateOFDPacket done [00:01:07]NVStorageSaveData kkm_last_timestamp [00:01:07]File name is /storage/kkm_last_timestamp [00:01:07]Write 4 bytes [00:01:07]NVStorageSaveData done [00:01:07]ExternCall_PrintAddStr [00:01:07]wPrintStart [00:01:07]Write to MH i2c: 01 00 00 27 0A 31 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: 01 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: 01 07 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: 01 07 00 27 0A 00 00 00 00 00 FF 0F 46 [00:01:07]RasterBufferAndPrint [00:01:07]line Отчет о закрытии смены [00:01:07]line ФФД: 1.0 [00:01:07]line ИНН: 02508201610067 [00:01:07]line Кассир: Жээнбеков Д. [00:01:07]line 14.03.2024 00:00 [00:01:07]line Смена: 316 [00:01:07]line РНМ: 0000000000092018 [00:01:07]line ЗНМ: 0300000097 [00:01:07]line СНО: Общий режим [00:01:07]line Чеков за смену: 46 [00:01:07]line ФД за смену: 48 [00:01:07]line Всего чеков: 46 [00:01:07]line ИТОГИ ПРИХОД [00:01:07]line Чеков: 46 [00:01:07]line Общий итог: 14174.00 [00:01:07]line Итого наличными: 12885.00 [00:01:07]line Итого безнал.: 1289.00 [00:01:07]line НДС 0% : 0.00 [00:01:07]line НДС 12% : 1505.17 [00:01:07]line НСП 0% : 0.00 [00:01:07]line НСП 1,50% : 0.00 [00:01:07]line НСП 0,50% : 0.00 [00:01:07]line НСП 5% : 0.00 [00:01:07]line НСП 3% : 0.00 [00:01:07]line НСП 2% : 0.00 [00:01:07]line НСП 1% : 125.33 [00:01:07]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:07]line Чеков: 0 [00:01:07]line Общий итог: 0.00 [00:01:07]line Итого наличными: 0.00 [00:01:07]line Итого безнал.: 0.00 [00:01:07]line НДС 0% : 0.00 [00:01:07]line НДС 12% : 0.00 [00:01:07]line НСП 0% : 0.00 [00:01:07]line НСП 1,50% : 0.00 [00:01:07]line НСП 0,50% : 0.00 [00:01:07]line НСП 5% : 0.00 [00:01:07]line НСП 3% : 0.00 [00:01:07]line НСП 2% : 0.00 [00:01:07]line НСП 1% : 0.00 [00:01:07]line ИТОГИ РАСХОД [00:01:07]line Чеков: 0 [00:01:07]line Общий итог: 0.00 [00:01:07]line Итого наличными: 0.00 [00:01:07]line Итого безнал.: 0.00 [00:01:07]line НДС 0% : 0.00 [00:01:07]line НДС 12% : 0.00 [00:01:07]line НСП 0% : 0.00 [00:01:07]line НСП 1,50% : 0.00 [00:01:07]line НСП 0,50% : 0.00 [00:01:07]line НСП 5% : 0.00 [00:01:07]line НСП 3% : 0.00 [00:01:07]line НСП 2% : 0.00 [00:01:07]line НСП 1% : 0.00 [00:01:07]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:07]line Чеков: 0 [00:01:07]line Общий итог: 0.00 [00:01:07]line Итого наличными: 0.00 [00:01:07]line Итого безнал.: 0.00 [00:01:07]line НДС 0% : 0.00 [00:01:07]line НДС 12% : 0.00 [00:01:07]line НСП 0% : 0.00 [00:01:07]line НСП 1,50% : 0.00 [00:01:07]line НСП 0,50% : 0.00 [00:01:07]line НСП 5% : 0.00 [00:01:07]line НСП 3% : 0.00 [00:01:07]line НСП 2% : 0.00 [00:01:07]line НСП 1% : 0.00 [00:01:07]line Сумма внесений: 0.00 [00:01:07]line Сумма выплат: 0.00 [00:01:07]line Нал. в кассе: 12885.00 [00:01:07]line НС Приход: 8084533.31 [00:01:07]line НС Возвр.Прихода: 72451.00 [00:01:07]line НС Расход: 0.00 [00:01:07]line НС Возвр.Расхода: 0.00 [00:01:07]line ФД: 47488 [00:01:07]line ФМ: 0000000000871816 [00:01:07]line ФПД: 134877452253020 [00:01:07]OFD Sender: Processing packet 47488 [packets to send 8, broken 7] [00:01:07]ProducePacketName [00:01:07]name=ofd_packets/00047488 [00:01:07]OFD Sender: To server: pG, [00:01:07]CommunicateWithHost lk.salyk.kg:30040 [00:01:07]ConnectInit lk.salyk.kg [00:01:07]written 0, free lines is 4095 [00:01:07]Connected sock=10 [00:01:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 79 05 00 00 AE 4B 71 05 0E 1B 5A 05 01 00 05 00 65 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 17 00 D0 96 D1 8D D1 8D D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 94 2E 20 F4 03 04 00 39 3E F2 65 0E 04 04 00 3C 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 AA 04 D5 04 6E 04 04 00 2E 00 00 00 69 04 A2 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 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 F5 4B 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 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 Write to MH i2c: 00 01 F7 00 03 00 00 77 00 0A EF 81 03 [00:01:08]09 00 F6 Write i2c OK [00:01:08]03 MH_I2C_Read... [00:01:08]01 Read from MH i2c: 00 01 01 [00:01:08]F7 MH_I2C_Read... [00:01:08]03 Read from MH i2c: 00 01 07 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: 01 07 00 77 0A 00 00 00 00 00 1B 0B AE [00:01:08]RasterBufferAndPrint [00:01:08]line [00:01:08]line [00:01:08]line [00:01:08]line [00:01:08]line [00:01:08]00 EF written 0, free lines is 2919 [00:01:08]03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 MH_Cut [00:01:08]00 F6 Write to MH i2c: 03 D1 01 01 00 00 03 7E F7 0A 03 01 00 5A 00 [00:01:08]EF 03 Write i2c OK [00:01:08]09 MH_I2C_Read... [00:01:08]00 Read from MH i2c: F6 D1 03 [00:01:08]01 MH_I2C_Read... [00:01:08]00 Read from MH i2c: 04 D1 F7 01 03 00 00 [00:01:08]00 MH_I2C_Read... [00:01:08]EF Read from MH i2c: 03 D1 09 01 00 00 F6 7E 03 0A 01 00 00 59 05 [00:01:08]F7 Write to MH i2c: 01 00 00 7F 0A 89 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 7A AB 9A A1 37 5C 1F 1E 0B 9F 7E C8 EC 28 [00:01:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 6C 29 47 00 9B 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 80 B9 00 00 F4 03 04 00 D1 E8 F1 65 B6 04 01 00 00 36 F7 DE 8A AE 7A EA 3D [00:01:09]CommunicateWithHost err = 0 [00:01:09]CheckOFDResponse [00:01:09]1017 (14) - 77093643461234 [00:01:09]1041 (16) - 0000000000871816 [00:01:09]1040 (4) - 47488 [00:01:09]1012 (4) - 13.03.2024 17:56 [00:01:09]1206 (1) - 0 [00:01:09]OFD Sender: Remove packet 47488 [00:01:09]ProducePacketName [00:01:09]name=ofd_packets/00047488 [00:01:09]NVStorageDeleteData [00:01:09]*** Cut start [00:01:09]*** Purtial cut [00:01:09]*** Stage 1: CUTSNS_PIN = 1 [00:01:09]Read from MH i2c: 01 [00:01:09]MH_I2C_Read... [00:01:09]*** Stop cut motor [00:01:09]*** Cut end [00:01:09]Read from MH i2c: 01 07 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: 01 07 00 7F 0A 00 00 00 00 00 FF 0F 9E [00:01:09]process_action close_shift done [00:01:09]requested_data is exist [00:01:09]produce_requested_data [00:01:09]requested_item fd.num is exist - process it [00:01:09]SAM_PROTO_GetFieldsCounters [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 13 00 00 [00:01:09]Write to MH i2c: E2 08 00 80 0A 80 13 00 00 00 00 00 00 06 [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:10]OFD Sender: No OFD packet to send [00:01:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 62 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 62 00 80 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 80 B9 00 00 0E 04 04 00 3C 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [00:01:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 80 B9 00 00 0E 04 04 00 3C 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:10]wFMCommunicate OK [00:01:10]SAM_PROTO_GetFieldsCounters done [00:01:10]requested_item shift.num is exist - process it [00:01:10]requested_item shift.opened is exist - process it [00:01:10]req_shift_opened [00:01:10]FM_GetShiftState [00:01:10]SAM_PROTO_GetShiftState [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 13 01 00 [00:01:10]Write to MH i2c: E2 08 00 81 0A 80 13 01 00 00 00 00 00 08 [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 0E 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 0E 00 81 0A 00 09 00 00 00 00 00 00 00 00 00 00 90 00 13 [00:01:10]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:10]wFMCommunicate OK [00:01:10]SAM_PROTO_GetShiftState done [00:01:10]FM_GetShiftState done [00:01:10]req_shift_opened done [00:01:10]requested_item shift.open_date is exist - process it [00:01:10]req_shift_open_date [00:01:10]FM_GetShiftState [00:01:10]SAM_PROTO_GetShiftState [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 13 01 00 [00:01:10]Write to MH i2c: E2 08 00 82 0A 80 13 01 00 00 00 00 00 09 [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 0E 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 0E 00 82 0A 00 09 00 00 00 00 00 00 00 00 00 00 90 00 14 [00:01:10]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:10]wFMCommunicate OK [00:01:10]SAM_PROTO_GetShiftState done [00:01:10]FM_GetShiftState done [00:01:10]req_shift_open_date done [00:01:10]produce_requested_data done [00:01:10]produce_requested_data return {"fd.num":47488,"shift.num":316,"shift.opened":0,"shift.open_date":0} [00:01:10]process_action_free close_shift [00:01:10]json_value_free [00:01:10]json_value_free done [00:01:10]process_json_proto returns [00:01:10]Send response to host [00:01:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47488,"shift.num":316,"shift.opened":0,"shift.open_date":0}}} [00:01:10]free response buf [00:01:10]execute_script done [00:01:10]execute_script returns [00:01:10]free content buf [00:01:10]Sock 7.Close socket [00:01:10]Sock 7.Thread stoped [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [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:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]OFD Sender: No OFD packet to send [00:11:00]OFD Sender: No OFD packet to send [00:11:05]OFD Sender: No OFD packet to send [00:11:10]OFD Sender: No OFD packet to send [00:11:15]OFD Sender: No OFD packet to send [00:11:20]OFD Sender: No OFD packet to send [00:11:25]OFD Sender: No OFD packet to send [00:11:30]OFD Sender: No OFD packet to send [00:11:35]OFD Sender: No OFD packet to send [00:11:40]OFD Sender: No OFD packet to send [00:11:45]OFD Sender: No OFD packet to send [00:11:50]OFD Sender: No OFD packet to send [00:11:55]OFD Sender: No OFD packet to send [00:12:00]OFD Sender: No OFD packet to send [00:12:05]OFD Sender: No OFD packet to send [00:12:10]OFD Sender: No OFD packet to send [00:12:15]OFD Sender: No OFD packet to send [00:12:20]OFD Sender: No OFD packet to send [00:12:25]OFD Sender: No OFD packet to send [00:12:30]OFD Sender: No OFD packet to send [00:12:35]OFD Sender: No OFD packet to send [00:12:40]OFD Sender: No OFD packet to send [00:12:45]OFD Sender: No OFD packet to send [00:12:50]OFD Sender: No OFD packet to send [00:12:55]OFD Sender: No OFD packet to send [00:13:00]OFD Sender: No OFD packet to send [00:13:05]OFD Sender: No OFD packet to send [00:13:10]OFD Sender: No OFD packet to send [00:13:15]OFD Sender: No OFD packet to send [00:13:20]OFD Sender: No OFD packet to send [00:13:25]OFD Sender: No OFD packet to send [00:13:30]OFD Sender: No OFD packet to send [00:13:35]OFD Sender: No OFD packet to send [00:13:40]OFD Sender: No OFD packet to send [00:13:43]accept exits with 9 [00:13:43]New connection [00:13:43]New thread 3067174244 created [00:13:43]Thread 3067030884 joined [00:13:43]Waiting for new connection... [00:13:43] Sock 9.Parse request [00:13:43]Sock 9.Check first char [00:13:43]Sock 9.First char is OK [00:13:43]request: POST /json_proto HTTP/1.0 [00:13:43]Method: POST [00:13:43]URL: /json_proto [00:13:43]Method is POST - this is cgi request [00:13:43]url: /json_proto [00:13:43]query_string will be loaded in cgi processing [00:13:43]execute_cgi json_proto POST (null) [00:13:43]execute_cgi path=json_proto method=POST [00:13:43]POST find Content-Length [00:13:43]Host: 172.17.32.68:8080 [00:13:43]Content-Length: 215 [00:13:43]Content-Type: application/json [00:13:43] [00:13:43]POST finish read [00:13:43]Found Content-Length = 215 [00:13:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:43]execute_script... [00:13:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:43]POST & json_proto [00:13:43]process_json_proto [00:13:43]json parsed OK: [00:13:43]protocol is kg_v1.0 [00:13:43]action value=get_value [00:13:43]process_action get_value [00:13:43]cmd_get_value [00:13:43]process_action get_value done [00:13:43]requested_data is exist [00:13:43]produce_requested_data [00:13:43]requested_item kkm.sn is exist - process it [00:13:43]requested_item kkm.ver is exist - process it [00:13:43]requested_item fm.sn is exist - process it [00:13:43]wFMCommunicate request_size=4 [00:13:43]MH_SAM_APDU [00:13:43]CAPDU: 80 11 00 00 [00:13:43]Write to MH i2c: E2 08 00 83 0A 80 11 00 00 00 00 00 00 07 [00:13:43]Write i2c OK [00:13:43]MH_I2C_Read... [00:13:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:43]Read from MH i2c: E2 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 17 00 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 17 00 83 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 59 [00:13:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:13:43]wFMCommunicate OK [00:13:43]requested_item fd.num is exist - process it [00:13:43]SAM_PROTO_GetFieldsCounters [00:13:43]wFMCommunicate request_size=4 [00:13:43]MH_SAM_APDU [00:13:43]CAPDU: 80 13 00 00 [00:13:43]Write to MH i2c: E2 08 00 84 0A 80 13 00 00 00 00 00 00 0A [00:13:43]Write i2c OK [00:13:43]MH_I2C_Read... [00:13:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:13:43]Read from MH i2c: E2 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 62 00 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 62 00 84 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 80 B9 00 00 0E 04 04 00 3C 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 26 [00: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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 80 B9 00 00 0E 04 04 00 3C 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:13:43]wFMCommunicate OK [00:13:43]SAM_PROTO_GetFieldsCounters done [00:13:43]requested_item shift.num is exist - process it [00:13:43]requested_item shift.opened is exist - process it [00:13:43]req_shift_opened [00:13:43]FM_GetShiftState [00:13:43]SAM_PROTO_GetShiftState [00:13:43]wFMCommunicate request_size=4 [00:13:43]MH_SAM_APDU [00:13:43]CAPDU: 80 13 01 00 [00:13:43]Write to MH i2c: E2 08 00 85 0A 80 13 01 00 00 00 00 00 0C [00:13:43]Write i2c OK [00:13:43]MH_I2C_Read... [00:13:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:43]Read from MH i2c: E2 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 0E 00 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 0E 00 85 0A 00 09 00 00 00 00 00 00 00 00 00 00 90 00 17 [00:13:43]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:43]wFMCommunicate OK [00:13:43]SAM_PROTO_GetShiftState done [00:13:43]FM_GetShiftState done [00:13:43]req_shift_opened done [00:13:43]requested_item shift.open_date is exist - process it [00:13:43]req_shift_open_date [00:13:43]FM_GetShiftState [00:13:43]SAM_PROTO_GetShiftState [00:13:43]wFMCommunicate request_size=4 [00:13:43]MH_SAM_APDU [00:13:43]CAPDU: 80 13 01 00 [00:13:43]Write to MH i2c: E2 08 00 86 0A 80 13 01 00 00 00 00 00 0D [00:13:43]Write i2c OK [00:13:43]MH_I2C_Read... [00:13:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:43]Read from MH i2c: E2 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 0E 00 [00:13:43]MH_I2C_Read... [00:13:43]Read from MH i2c: E2 0E 00 86 0A 00 09 00 00 00 00 00 00 00 00 00 00 90 00 18 [00:13:43]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:43]wFMCommunicate OK [00:13:43]SAM_PROTO_GetShiftState done [00:13:43]FM_GetShiftState done [00:13:43]req_shift_open_date done [00:13:43]produce_requested_data done [00:13:43]produce_requested_data return {"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47488,"shift.num":316,"shift.opened":0,"shift.open_date":0} [00:13:43]process_action_free get_value [00:13:43]json_value_free [00:13:43]json_value_free done [00:13:43]process_json_proto returns [00:13:43]Send response to host [00:13:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000097","kkm.ver":"001","fm.sn":"0000000000871816","fd.num":47488,"shift.num":316,"shift.opened":0,"shift.open_date":0}}} [00:13:43]free response buf [00:13:43]execute_script done [00:13:43]execute_script returns [00:13:43]free content buf [00:13:43]Sock 9.Close socket [00:13:43]Sock 9.Thread stoped [00:13:43]accept exits with 7 [00:13:43]New connection [00:13:43]New thread 3067030884 created [00:13:43]Thread 3067174244 joined [00:13:43]Waiting for new connection... [00:13:43] Sock 7.Parse request [00:13:43]Sock 7.Check first char [00:13:43]Sock 7.First char is OK [00:13:43]request: POST /json_proto HTTP/1.0 [00:13:43]Method: POST [00:13:43]URL: /json_proto [00:13:43]Method is POST - this is cgi request [00:13:43]url: /json_proto [00:13:43]query_string will be loaded in cgi processing [00:13:43]execute_cgi json_proto POST (null) [00:13:43]execute_cgi path=json_proto method=POST [00:13:43]POST find Content-Length [00:13:43]Host: 172.17.32.68:8080 [00:13:43]Content-Length: 331 [00:13:43]Content-Type: application/json [00:13:43] [00:13:43]POST finish read [00:13:43]Found Content-Length = 331 [00:13: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" ] } } [00:13:43]execute_script... [00:13:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:13:44]POST & json_proto [00:13:44]process_json_proto [00:13:44]json parsed OK: [00:13:44]protocol is kg_v1.0 [00:13:44]action value=get_value [00:13:44]process_action get_value [00:13:44]cmd_get_value [00:13:44]process_action get_value done [00:13:44]requested_data is exist [00:13:44]produce_requested_data [00:13:44]requested_item fm.sale.total is exist - process it [00:13:44]SAM_PROTO_GetFMData [00:13:44]wFMCommunicate request_size=4 [00:13:44]MH_SAM_APDU [00:13:44]CAPDU: 80 13 03 00 [00:13:44]Write to MH i2c: E2 08 00 87 0A 80 13 03 00 00 00 00 00 10 [00:13:44]Write i2c OK [00:13:44]MH_I2C_Read... [00:13:44]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:13:44]Read from MH i2c: E2 [00:13:44]MH_I2C_Read... [00:13:44]Read from MH i2c: E2 FD 00 [00:13:44]MH_I2C_Read... [00:13:44]Read from MH i2c: E2 FD 00 87 0A 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 B1 [00:13:44]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [00:13:44]wFMCommunicate OK [00:13:44]wFMCommunicate request_size=4 [00:13:44]MH_SAM_APDU [00:13:44]CAPDU: 80 17 00 00 [00:13:44]Write to MH i2c: E2 08 00 88 0A 80 17 00 00 00 00 00 00 12 [00:13:44]Write i2c OK [00:13:44]MH_I2C_Read... [00:13:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:44]Read from MH i2c: E2 [00:13:44]MH_I2C_Read... [00:13:44]Read from MH i2c: E2 FD 00 [00:13:44]MH_I2C_Read... [00:13:44]Read from MH i2c: E2 FD 00 88 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 8B [00:13:44]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:13:44]wFMCommunicate OK [00:13:44]wFMCommunicate request_size=4 [00:13:44]MH_SAM_APDU [00:13:44]CAPDU: 80 17 00 00 [00:13:44]Write to MH i2c: E2 08 00 89 0A 80 17 00 00 00 00 00 00 13 [00:13:44]Write i2c OK [00:13:44]MH_I2C_Read... [00:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:45]Read from MH i2c: E2 [00:13:45]MH_I2C_Read... [00:13:45]Read from MH i2c: E2 FD 00 [00:13:45]MH_I2C_Read... [00:13:45]Read from MH i2c: E2 FD 00 89 0A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 B3 [00:13:45]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:13:45]wFMCommunicate OK [00:13:45]wFMCommunicate request_size=4 [00:13:45]MH_SAM_APDU [00:13:45]CAPDU: 80 17 00 00 [00:13:45]Write to MH i2c: E2 08 00 8A 0A 80 17 00 00 00 00 00 00 14 [00:13:45]Write i2c OK [00:13:45]MH_I2C_Read... [00:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:45]Read from MH i2c: E2 [00:13:45]MH_I2C_Read... [00:13:45]Read from MH i2c: E2 FD 00 [00:13:45]MH_I2C_Read... [00:13:45]Read from MH i2c: E2 FD 00 8A 0A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 99 [00:13:45]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:13:45]wFMCommunicate OK [00:13:45]wFMCommunicate request_size=4 [00:13:45]MH_SAM_APDU [00:13:45]CAPDU: 80 17 00 00 [00:13:45]Write to MH i2c: E2 08 00 8B 0A 80 17 00 00 00 00 00 00 15 [00:13:45]Write i2c OK [00:13:45]MH_I2C_Read... [00:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:13:45]Read from MH i2c: E2 [00:13:45]MH_I2C_Read... [00:13:45]Read from MH i2c: E2 DE 00 [00:13:45]MH_I2C_Read... [00:13:45]OFD Sender: No OFD packet to send [00:13:45]Read from MH i2c: E2 DE 00 8B 0A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F4 [00:13:45]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:13:45]wFMCommunicate OK [00:13:45]SAM_PROTO_GetFMData done [00:13:45]requested_item fm.sale_refund.total is exist - process it [00:13:45]requested_item fm.buy.total is exist - process it [00:13:45]requested_item shift.sale.total is exist - process it [00:13:45]SAM_PROTO_GetShiftData [00:13:45]wFMCommunicate request_size=4 [00:13:45]MH_SAM_APDU [00:13:45]CAPDU: 80 13 02 00 [00:13:45]Write to MH i2c: E2 08 00 8C 0A 80 13 02 00 00 00 00 00 14 [00:13:45]Write i2c OK [00:13:45]MH_I2C_Read... [00:13:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:13:46]Read from MH i2c: E2 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 8C 0A 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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 71 [00:13:46]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 B8 A0 15 70 04 03 00 34 A9 13 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F5 4B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F5 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:13:46]wFMCommunicate OK [00:13:46]wFMCommunicate request_size=4 [00:13:46]MH_SAM_APDU [00:13:46]CAPDU: 80 17 00 00 [00:13:46]Write to MH i2c: E2 08 00 8D 0A 80 17 00 00 00 00 00 00 17 [00:13:46]Write i2c OK [00:13:46]MH_I2C_Read... [00:13:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:46]Read from MH i2c: E2 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 8D 0A 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 39 [00:13: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 [00:13:46]wFMCommunicate OK [00:13:46]wFMCommunicate request_size=4 [00:13:46]MH_SAM_APDU [00:13:46]CAPDU: 80 17 00 00 [00:13:46]Write to MH i2c: E2 08 00 8E 0A 80 17 00 00 00 00 00 00 18 [00:13:46]Write i2c OK [00:13:46]MH_I2C_Read... [00:13:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:46]Read from MH i2c: E2 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 8E 0A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 CF [00:13: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 [00:13:46]wFMCommunicate OK [00:13:46]wFMCommunicate request_size=4 [00:13:46]MH_SAM_APDU [00:13:46]CAPDU: 80 17 00 00 [00:13:46]Write to MH i2c: E2 08 00 8F 0A 80 17 00 00 00 00 00 00 19 [00:13:46]Write i2c OK [00:13:46]MH_I2C_Read... [00:13:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:46]Read from MH i2c: E2 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 [00:13:46]MH_I2C_Read... [00:13:46]Read from MH i2c: E2 FD 00 8F 0A 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 8B [00:13: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 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=4 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 17 00 00 [00:13:47]Write to MH i2c: E2 08 00 90 0A 80 17 00 00 00 00 00 00 1A [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 CB 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 CB 00 90 0A 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 03 [00:13:47]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:13:47]wFMCommunicate OK [00:13:47]SAM_PROTO_GetShiftData done [00:13:47]requested_item shift.sale.total_cash is exist - process it [00:13:47]requested_item shift.sale_refund.total is exist - process it [00:13:47]requested_item shift.sale_refund.total_cash is exist - process it [00:13:47]requested_item shift.buy.total is exist - process it [00:13:47]requested_item shift.buy.total_cash is exist - process it [00:13:47]produce_requested_data done [00:13:47]produce_requested_data return {"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:13:47]process_action_free get_value [00:13:47]json_value_free [00:13:47]json_value_free done [00:13:47]process_json_proto returns [00:13:47]Send response to host [00:13:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":14174.00,"shift.sale.total_cash":12885.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:13:47]free response buf [00:13:47]execute_script done [00:13:47]execute_script returns [00:13:47]free content buf [00:13:47]Sock 7.Close socket [00:13:47]Sock 7.Thread stoped [00:13:47]accept exits with 9 [00:13:47]New connection [00:13:47]New thread 3067174244 created [00:13:47]Thread 3067030884 joined [00:13:47]Waiting for new connection... [00:13:47] Sock 9.Parse request [00:13:47]Sock 9.Check first char [00:13:47]Sock 9.First char is OK [00:13:47]request: POST /json_proto HTTP/1.0 [00:13:47]Method: POST [00:13:47]URL: /json_proto [00:13:47]Method is POST - this is cgi request [00:13:47]url: /json_proto [00:13:47]query_string will be loaded in cgi processing [00:13:47]execute_cgi json_proto POST (null) [00:13:47]execute_cgi path=json_proto method=POST [00:13:47]POST find Content-Length [00:13:47]Host: 172.17.32.68:8080 [00:13:47]Content-Length: 253 [00:13:47]Content-Type: application/json [00:13:47] [00:13:47]POST finish read [00:13:47]Found Content-Length = 253 [00:13:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0443\u0441\u0443\u043F\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:47]execute_script... [00:13:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0443\u0441\u0443\u043F\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:47]POST & json_proto [00:13:47]process_json_proto [00:13:47]json parsed OK: [00:13:47]protocol is kg_v1.0 [00:13:47]action value=open_shift [00:13:47]process_action open_shift [00:13:47]cmd_open_shift [00:13:47]MH_GetDate [00:13:47]Write to MH i2c: F0 00 00 91 0A 8A [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: F0 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: F0 09 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: F0 09 00 91 0A 00 3C 41 F2 65 0A 64 6E 65 A8 [00:13:47]GetLastDocTimeStamp 1710374457 [00:13:47]current date 1710375228 [00:13:47]FM_GetShiftState [00:13:47]SAM_PROTO_GetShiftState [00:13:47]wFMCommunicate request_size=4 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 13 01 00 [00:13:47]Write to MH i2c: E2 08 00 92 0A 80 13 01 00 00 00 00 00 19 [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 0E 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 0E 00 92 0A 00 09 00 00 00 00 00 00 00 00 00 00 90 00 24 [00:13:47]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:47]wFMCommunicate OK [00:13:47]SAM_PROTO_GetShiftState done [00:13:47]FM_GetShiftState done [00:13:47]KKMCreateOpenShiftDocument [00:13:47]Load OK [00:13:47]Malloc new data [00:13:47]MH_GetDate [00:13:47]Write to MH i2c: F0 00 00 93 0A 8C [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: F0 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: F0 09 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: F0 09 00 93 0A 00 3C 41 F2 65 0A 64 6E 65 AA [00:13:47]Malloc new data [00:13:47]KKMCreateOpenShiftDocument OK [00:13:47]KKMSetOpenShiftData OK [00:13:47]ProcessDocumentItem done err = 0, tmpTLVsize=195 [00:13:47]tlvbuf is 011EE150 [00:13:47]KKMLoadAndSignOpenShiftData [00:13:47]SAM_PROTO_ProcessDocument [00:13:47]wFMCommunicate request_size=9 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 01 00 04 02 00 C3 00 [00:13:47]Write to MH i2c: E2 0C 00 94 0A 80 15 01 00 04 00 02 00 C3 00 00 00 EA [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 94 0A 00 90 00 12 [00:13:47]RAPDU: 90 00 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=23 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:13:47]Write to MH i2c: E2 1A 00 95 0A 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 14 [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:47]Read from MH i2c: E2 03 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 95 0A 00 90 00 13 [00:13:47]RAPDU: 90 00 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=28 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 96 D1 83 D1 81 D1 83 D0 BF D0 BE D0 B2 20 D0 9C 2E 20 [00:13:47]Write to MH i2c: E2 1F 00 96 0A 80 15 02 00 17 00 FD 03 13 00 D0 96 D1 83 D1 81 D1 83 D0 BF D0 BE D0 B2 20 D0 9C 2E 20 00 00 3A [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 96 0A 00 90 00 14 [00:13:47]RAPDU: 90 00 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=86 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 02 00 51 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 [00:13:47]Write to MH i2c: E2 59 00 97 0A 80 15 02 00 51 00 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 00 00 10 [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 97 0A 00 90 00 15 [00:13:47]RAPDU: 90 00 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=50 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:13:47]Write to MH i2c: E2 35 00 98 0A 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 97 [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 98 0A 00 90 00 16 [00:13:47]RAPDU: 90 00 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=13 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 02 00 08 F4 03 04 00 3C 41 F2 65 [00:13:47]Write to MH i2c: E2 10 00 99 0A 80 15 02 00 08 00 F4 03 04 00 3C 41 F2 65 00 00 02 [00:13:47]Write i2c OK [00:13:47]MH_I2C_Read... [00:13:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:47]Read from MH i2c: E2 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 [00:13:47]MH_I2C_Read... [00:13:47]Read from MH i2c: E2 03 00 99 0A 00 90 00 17 [00:13:47]RAPDU: 90 00 [00:13:47]wFMCommunicate OK [00:13:47]wFMCommunicate request_size=25 [00:13:47]MH_SAM_APDU [00:13:47]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 [00:13:48]Write to MH i2c: E2 1C 00 9A 0A 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 00 00 81 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:48]Read from MH i2c: E2 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 9A 0A 00 90 00 18 [00:13:48]RAPDU: 90 00 [00:13:48]wFMCommunicate OK [00:13:48]wFMCommunicate request_size=4 [00:13:48]MH_SAM_APDU [00:13:48]CAPDU: 80 15 03 00 [00:13:48]Write to MH i2c: E2 08 00 9B 0A 80 15 03 00 00 00 00 00 26 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:48]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:13:48]Read from MH i2c: E2 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 38 00 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 38 00 9B 0A 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 81 B9 00 00 0E 04 04 00 3D 01 00 00 35 04 06 00 47 3A 7A 0A 71 DC 90 00 BB [00:13:48]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 81 B9 00 00 0E 04 04 00 3D 01 00 00 35 04 06 00 47 3A 7A 0A 71 DC 90 00 [00:13:48]wFMCommunicate OK [00:13:48]SAM_PROTO_ProcessDocument answer len = 51 [00:13:48]SAM_PROTO_ProcessDocument done [00:13:48]SetTLVBufToDocument [00:13:48]Processing tag 1209 (04B9) [00:13:48]Malloc new data [00:13:48]Processing tag 1041 (0411) [00:13:48]Processing tag 1040 (0410) [00:13:48]Malloc new data [00:13:48]Processing tag 1038 (040E) [00:13:48]Malloc new data [00:13:48]Processing tag 1077 (0435) [00:13:48]Malloc new data [00:13:48]SetTLVBufToDocument err=0 [00:13:48]KKMLoadAndSignOpenShiftData store KKM data [00:13:48]KKMLoadAndSignOpenShiftData err=0 [00:13:48]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Жусупов М. Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 Место: АЗС № 15 "Партнер Нефть" 14.03.2024 00:13 Смена: 317 РНМ: 0000000000092018 ЗНМ: 0300000097 ФД: 47489 ФМ: 0000000000871816 ФПД: 78316481180124 [00:13:48]StoreToDocumentArchive [00:13:48]shift 317 fd 47489 [00:13:48]Create dir for shift 0317 [00:13:48]save to /storage/0317/doc_00047489 [00:13:48]save last doc name /storage/0317/doc_00047489 to /storage/kkm_last_doc_name [00:13:48]save OK [00:13:48]Clear old archive folders... [00:13:48]Remove dir /storage/0316 [00:13:48]opendir ok [00:13:48]file . [00:13:48]file .. [00:13:48]file doc_00047441 [00:13:48]remove file /storage/0316/doc_00047441 [00:13:48]file doc_00047442 [00:13:48]remove file /storage/0316/doc_00047442 [00:13:48]file doc_00047443 [00:13:48]remove file /storage/0316/doc_00047443 [00:13:48]file doc_00047444 [00:13:48]remove file /storage/0316/doc_00047444 [00:13:48]file doc_00047445 [00:13:48]remove file /storage/0316/doc_00047445 [00:13:48]file doc_00047446 [00:13:48]remove file /storage/0316/doc_00047446 [00:13:48]file doc_00047447 [00:13:48]remove file /storage/0316/doc_00047447 [00:13:48]file doc_00047448 [00:13:48]remove file /storage/0316/doc_00047448 [00:13:48]file doc_00047449 [00:13:48]remove file /storage/0316/doc_00047449 [00:13:48]file doc_00047450 [00:13:48]remove file /storage/0316/doc_00047450 [00:13:48]file doc_00047451 [00:13:48]remove file /storage/0316/doc_00047451 [00:13:48]file doc_00047452 [00:13:48]remove file /storage/0316/doc_00047452 [00:13:48]file doc_00047453 [00:13:48]remove file /storage/0316/doc_00047453 [00:13:48]file doc_00047454 [00:13:48]remove file /storage/0316/doc_00047454 [00:13:48]file doc_00047455 [00:13:48]remove file /storage/0316/doc_00047455 [00:13:48]file doc_00047456 [00:13:48]remove file /storage/0316/doc_00047456 [00:13:48]file doc_00047457 [00:13:48]remove file /storage/0316/doc_00047457 [00:13:48]file doc_00047458 [00:13:48]remove file /storage/0316/doc_00047458 [00:13:48]file doc_00047459 [00:13:48]remove file /storage/0316/doc_00047459 [00:13:48]file doc_00047460 [00:13:48]remove file /storage/0316/doc_00047460 [00:13:48]file doc_00047461 [00:13:48]remove file /storage/0316/doc_00047461 [00:13:48]file doc_00047462 [00:13:48]remove file /storage/0316/doc_00047462 [00:13:48]file doc_00047463 [00:13:48]remove file /storage/0316/doc_00047463 [00:13:48]file doc_00047464 [00:13:48]remove file /storage/0316/doc_00047464 [00:13:48]file doc_00047465 [00:13:48]remove file /storage/0316/doc_00047465 [00:13:48]file doc_00047466 [00:13:48]remove file /storage/0316/doc_00047466 [00:13:48]file doc_00047467 [00:13:48]remove file /storage/0316/doc_00047467 [00:13:48]file doc_00047468 [00:13:48]remove file /storage/0316/doc_00047468 [00:13:48]file doc_00047469 [00:13:48]remove file /storage/0316/doc_00047469 [00:13:48]file doc_00047470 [00:13:48]remove file /storage/0316/doc_00047470 [00:13:48]file doc_00047471 [00:13:48]remove file /storage/0316/doc_00047471 [00:13:48]file doc_00047472 [00:13:48]remove file /storage/0316/doc_00047472 [00:13:48]file doc_00047473 [00:13:48]remove file /storage/0316/doc_00047473 [00:13:48]file doc_00047474 [00:13:48]remove file /storage/0316/doc_00047474 [00:13:48]file doc_00047475 [00:13:48]remove file /storage/0316/doc_00047475 [00:13:48]file doc_00047476 [00:13:48]remove file /storage/0316/doc_00047476 [00:13:48]file doc_00047477 [00:13:48]remove file /storage/0316/doc_00047477 [00:13:48]file doc_00047478 [00:13:48]remove file /storage/0316/doc_00047478 [00:13:48]file doc_00047479 [00:13:48]remove file /storage/0316/doc_00047479 [00:13:48]file doc_00047480 [00:13:48]remove file /storage/0316/doc_00047480 [00:13:48]file doc_00047481 [00:13:48]remove file /storage/0316/doc_00047481 [00:13:48]file doc_00047482 [00:13:48]remove file /storage/0316/doc_00047482 [00:13:48]file doc_00047483 [00:13:48]remove file /storage/0316/doc_00047483 [00:13:48]file doc_00047484 [00:13:48]remove file /storage/0316/doc_00047484 [00:13:48]file doc_00047485 [00:13:48]remove file /storage/0316/doc_00047485 [00:13:48]file doc_00047486 [00:13:48]remove file /storage/0316/doc_00047486 [00:13:48]file doc_00047487 [00:13:48]remove file /storage/0316/doc_00047487 [00:13:48]file doc_00047488 [00:13:48]remove file /storage/0316/doc_00047488 [00:13:48]remove dir /storage/0316 [00:13:48]ProcessDocumentItem done err = 0, tmpTLVsize=246 [00:13:48]tlvbuf is 012C03D0 [00:13:48]SAM_PROTO_ClearQueue [00:13:48]wFMCommunicate request_size=4 [00:13:48]MH_SAM_APDU [00:13:48]CAPDU: 80 09 00 00 [00:13:48]Write to MH i2c: E2 08 00 9C 0A 80 09 00 00 00 00 00 00 18 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:13:48]Read from MH i2c: E2 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 9C 0A 00 90 00 1A [00:13:48]RAPDU: 90 00 [00:13:48]wFMCommunicate OK [00:13:48]SAM_PROTO_ClearQueue done [00:13:48]KKMCreateOFDPacket [00:13:48]OFDProtocolAddRootSTLVToBuf [00:13:48]FM_MakeSignedData [00:13:48]FM_MakeSignedData [00:13:48]SAM_PROTO_SignData [00:13:48]wFMCommunicate request_size=4 [00:13:48]MH_SAM_APDU [00:13:48]CAPDU: 80 0D 01 02 [00:13:48]Write to MH i2c: E2 08 00 9D 0A 80 0D 01 02 00 00 00 00 20 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:13:48]Read from MH i2c: E2 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 9D 0A 00 90 00 1B [00:13:48]RAPDU: 90 00 [00:13:48]wFMCommunicate OK [00:13:48]wFMCommunicate request_size=255 [00:13:48]MH_SAM_APDU [00:13:48]CAPDU: 80 0D 02 02 FA 02 00 F6 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 13 00 D0 96 D1 83 D1 81 D1 83 D0 BF D0 BE D0 B2 20 D0 9C 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 3C 41 F2 65 0E 04 04 00 3D 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 81 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 47 3A 7A 0A 71 DC [00:13:48]Write to MH i2c: E2 02 01 9E 0A 80 0D 02 02 FA 00 02 00 F6 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 13 00 D0 96 D1 83 D1 81 D1 83 D0 BF D0 BE D0 B2 20 D0 9C 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 3C 41 F2 65 0E 04 04 00 3D 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 81 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 47 3A 7A 0A 71 DC 00 00 72 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:48]Read from MH i2c: E2 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 03 00 9E 0A 00 90 00 1C [00:13:48]RAPDU: 90 00 [00:13:48]wFMCommunicate OK [00:13:48]wFMCommunicate request_size=4 [00:13:48]MH_SAM_APDU [00:13:48]CAPDU: 80 0D 03 02 [00:13:48]Write to MH i2c: E2 08 00 9F 0A 80 0D 03 02 00 00 00 00 24 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:13:48]Read from MH i2c: E2 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 0B 00 [00:13:48]MH_I2C_Read... [00:13:48]Read from MH i2c: E2 0B 00 9F 0A 00 32 78 4E 3D D7 B2 2F 20 90 00 32 [00:13:48]RAPDU: 32 78 4E 3D D7 B2 2F 20 90 00 [00:13:48]wFMCommunicate OK [00:13:48]SAM_PROTO_SignData done [00:13:48]FM_MakeSignedData done [00:13:48]CreateOFDProtocolMessage [00:13:48]wFMCommunicate request_size=4 [00:13:48]MH_SAM_APDU [00:13:48]CAPDU: 80 11 00 00 [00:13:48]Write to MH i2c: E2 08 00 A0 0A 80 11 00 00 00 00 00 00 24 [00:13:48]Write i2c OK [00:13:48]MH_I2C_Read... [00:13:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:49]Read from MH i2c: E2 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: E2 17 00 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: E2 17 00 A0 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 76 [00:13:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:13:49]wFMCommunicate OK [00:13:49]CreateOFDProtocolMessage done [00:13:49]OFDSenderStorePacket 47489 [00:13:49]StoreOFDPacket docnum=47489 [00:13:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0A 01 00 00 B4 34 02 01 92 6E 5A 02 01 00 02 00 F6 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 13 00 D0 96 D1 83 D1 81 D1 83 D0 BF D0 BE D0 B2 20 D0 9C 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 3C 41 F2 65 0E 04 04 00 3D 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 81 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 47 3A 7A 0A 71 DC 32 78 4E 3D D7 B2 2F 20 [00:13:49]CheckFolder [00:13:49]dirname=/storage/ofd_packets [00:13:49]CheckFolder done [00:13:49]ProducePacketName [00:13:49]name=ofd_packets/00047489 [00:13:49]NVStorageSaveData ofd_packets/00047489 [00:13:49]File name is /storage/ofd_packets/00047489 [00:13:49]Write 296 bytes [00:13:49]NVStorageSaveData done [00:13:49]OFDSenderStorePacket done [00:13:49]KKMCreateOFDPacket done [00:13:49]NVStorageSaveData kkm_last_timestamp [00:13:49]File name is /storage/kkm_last_timestamp [00:13:49]Write 4 bytes [00:13:49]NVStorageSaveData done [00:13:49]ExternCall_PrintAddStr [00:13:49]wPrintStart [00:13:49]Write to MH i2c: 01 00 00 A1 0A AB [00:13:49]Write i2c OK [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: 01 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: 01 07 00 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: 01 07 00 A1 0A 00 00 00 00 00 FF 0F C0 [00:13:49]RasterBufferAndPrint [00:13:49]line Отчет об открытии смены [00:13:49]line ФФД: 1.0 [00:13:49]line ИНН: 02508201610067 [00:13:49]line Кассир: Жусупов М. [00:13:49]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:13:49]line Место: АЗС № 15 "Партнер Нефть" [00:13:49]line 14.03.2024 00:13 [00:13:49]line Смена: 317 [00:13:49]line РНМ: 0000000000092018 [00:13:49]line ЗНМ: 0300000097 [00:13:49]line ФД: 47489 [00:13:49]line ФМ: 0000000000871816 [00:13:49]line ФПД: 78316481180124 [00:13:49]written 0, free lines is 4095 [00:13:49]OFD Sender: Processing packet 47489 [packets to send 8, broken 7] [00:13:49]ProducePacketName [00:13:49]name=ofd_packets/00047489 [00:13:49]OFD Sender: To server: pG, [00:13:49]CommunicateWithHost lk.salyk.kg:30040 [00:13:49]ConnectInit lk.salyk.kg [00:13:49]Connected sock=10 [00:13:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0A 01 00 00 B4 34 02 01 92 6E 5A 02 01 00 02 00 F6 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 13 00 D0 96 D1 83 D1 81 D1 83 D0 BF D0 BE D0 B2 20 D0 9C 2E 20 F1 03 4D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2C 20 D0 BF D1 80 2E 20 D0 96 D0 B8 D0 B1 D0 B5 D0 BA 20 D0 96 D0 BE D0 BB D1 83 20 31 36 34 2C 20 34 32 2E 38 38 37 37 38 38 2C 20 37 34 2E 36 33 36 30 31 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 3C 41 F2 65 0E 04 04 00 3D 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 81 B9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 35 04 06 00 47 3A 7A 0A 71 DC 32 78 4E 3D D7 B2 2F 20 [00:13:49]Write to MH i2c: 01 00 00 B3 0A BD [00:13:49]Write i2c OK [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: 01 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: 01 07 00 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: 01 07 00 B3 0A 00 00 00 00 00 AF 0F 82 [00:13:49]RasterBufferAndPrint [00:13:49]line [00:13:49]line [00:13:49]line [00:13:49]line [00:13:49]line [00:13:49]written 0, free lines is 4027 [00:13:49]MH_Cut [00:13:49]Write to MH i2c: D1 01 00 BA 0A 01 96 [00:13:49]Write i2c OK [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: D1 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: D1 01 00 [00:13:49]MH_I2C_Read... [00:13:49]Read from MH i2c: D1 01 00 BA 0A 00 95 [00:13:49]Write to MH i2c: 01 00 00 BB 0A C5 [00:13:49]Write i2c OK [00:13:49]MH_I2C_Read... [00:13:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 44 58 47 00 83 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 81 B9 00 00 F4 03 04 00 C9 EB F1 65 B6 04 01 00 00 E9 BC D6 10 69 96 19 25 [00:13:49]CommunicateWithHost err = 0 [00:13:49]CheckOFDResponse [00:13:49]1017 (14) - 77093643461234 [00:13:49]1041 (16) - 0000000000871816 [00:13:49]1040 (4) - 47489 [00:13:49]1012 (4) - 13.03.2024 18:09 [00:13:49]1206 (1) - 0 [00:13:49]OFD Sender: Remove packet 47489 [00:13:49]ProducePacketName [00:13:49]name=ofd_packets/00047489 [00:13:49]NVStorageDeleteData [00:13:49]*** Cut start [00:13:49]*** Purtial cut [00:13:49]*** Stage 1: CUTSNS_PIN = 1 [00:13:50]Read from MH i2c: 01 [00:13:50]MH_I2C_Read... [00:13:50]*** Stop cut motor [00:13:50]*** Cut end [00:13:50]Read from MH i2c: 01 07 00 [00:13:50]MH_I2C_Read... [00:13:50]Read from MH i2c: 01 07 00 BB 0A 00 00 00 00 00 FF 0F DA [00:13:50]process_action open_shift done [00:13:50]requested_data is exist [00:13:50]produce_requested_data [00:13:50]requested_item fd.num is exist - process it [00:13:50]SAM_PROTO_GetFieldsCounters [00:13:50]wFMCommunicate request_size=4 [00:13:50]MH_SAM_APDU [00:13:50]CAPDU: 80 13 00 00 [00:13:50]Write to MH i2c: E2 08 00 BC 0A 80 13 00 00 00 00 00 00 42 [00:13:50]Write i2c OK [00:13:50]MH_I2C_Read... [00:13:50]OFD Sender: No OFD packet to send [00:13:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:13:50]Read from MH i2c: E2 [00:13:50]MH_I2C_Read... [00:13:50]Read from MH i2c: E2 62 00 [00:13:50]MH_I2C_Read... [00:13:50]Read from MH i2c: E2 62 00 BC 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 81 B9 00 00 0E 04 04 00 3D 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 D5 [00:13:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 81 B9 00 00 0E 04 04 00 3D 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:13:50]wFMCommunicate OK [00:13:50]SAM_PROTO_GetFieldsCounters done [00:13:50]requested_item shift.num is exist - process it [00:13:50]requested_item shift.opened is exist - process it [00:13:50]req_shift_opened [00:13:50]FM_GetShiftState [00:13:50]SAM_PROTO_GetShiftState [00:13:50]wFMCommunicate request_size=4 [00:13:50]MH_SAM_APDU [00:13:50]CAPDU: 80 13 01 00 [00:13:50]Write to MH i2c: E2 08 00 BD 0A 80 13 01 00 00 00 00 00 44 [00:13:50]Write i2c OK [00:13:50]MH_I2C_Read... [00:13:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:50]Read from MH i2c: E2 [00:13:50]MH_I2C_Read... [00:13:50]Read from MH i2c: E2 0E 00 [00:13:50]MH_I2C_Read... [00:13:50]Read from MH i2c: E2 0E 00 BD 0A 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 24 [00:13:50]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:13:50]wFMCommunicate OK [00:13:50]SAM_PROTO_GetShiftState done [00:13:50]FM_GetShiftState done [00:13:50]req_shift_opened done [00:13:50]requested_item shift.open_date is exist - process it [00:13:50]req_shift_open_date [00:13:50]req_shift_open_date done [00:13:50]produce_requested_data done [00:13:50]produce_requested_data return {"fd.num":47489,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [00:13:50]process_action_free open_shift [00:13:50]json_value_free [00:13:50]json_value_free done [00:13:50]process_json_proto returns [00:13:50]Send response to host [00:13:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":47489,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [00:13:50]free response buf [00:13:50]execute_script done [00:13:50]execute_script returns [00:13:50]free content buf [00:13:50]Sock 9.Close socket [00:13:50]Sock 9.Thread stoped [00:13:50]accept exits with 7 [00:13:50]New connection [00:13:50]New thread 3067030884 created [00:13:50]Thread 3067174244 joined [00:13:50]Waiting for new connection... [00:13:50] Sock 7.Parse request [00:13:50]Sock 7.Check first char [00:13:50]Sock 7.First char is OK [00:13:50]request: POST /json_proto HTTP/1.0 [00:13:50]Method: POST [00:13:50]URL: /json_proto [00:13:50]Method is POST - this is cgi request [00:13:50]url: /json_proto [00:13:50]query_string will be loaded in cgi processing [00:13:50]execute_cgi json_proto POST (null) [00:13:50]execute_cgi path=json_proto method=POST [00:13:50]POST find Content-Length [00:13:50]Host: 172.17.32.68:8080 [00:13:50]Content-Length: 331 [00:13:50]Content-Type: application/json [00:13:50] [00:13:50]POST finish read [00:13:50]Found Content-Length = 331 [00:13:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:13:50]execute_script... [00:13:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:13:50]POST & json_proto [00:13:50]process_json_proto [00:13:50]json parsed OK: [00:13:50]protocol is kg_v1.0 [00:13:50]action value=get_value [00:13:50]process_action get_value [00:13:50]cmd_get_value [00:13:50]process_action get_value done [00:13:50]requested_data is exist [00:13:50]produce_requested_data [00:13:50]requested_item fm.sale.total is exist - process it [00:13:50]SAM_PROTO_GetFMData [00:13:50]wFMCommunicate request_size=4 [00:13:50]MH_SAM_APDU [00:13:50]CAPDU: 80 13 03 00 [00:13:50]Write to MH i2c: E2 08 00 BE 0A 80 13 03 00 00 00 00 00 47 [00:13:50]Write i2c OK [00:13:50]MH_I2C_Read... [00:13:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:13:51]Read from MH i2c: E2 [00:13:51]MH_I2C_Read... [00:13:51]Read from MH i2c: E2 FD 00 [00:13:51]MH_I2C_Read... [00:13:51]Read from MH i2c: E2 FD 00 BE 0A 00 C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 E8 [00:13:51]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 06 B7 00 00 69 04 A0 00 6F 04 04 00 DD B5 00 00 B1 04 04 00 D3 04 30 30 70 04 04 00 68 3C 3D 28 72 04 04 00 6B C8 F2 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 ED FD 1D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8F 16 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 29 01 00 00 B1 04 03 00 2C 8D 6E 70 04 03 00 C4 49 6A 72 04 03 00 68 43 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 BD 0B EF 03 09 00 F6 03 90 00 [00:13:51]wFMCommunicate OK [00:13:51]wFMCommunicate request_size=4 [00:13:51]MH_SAM_APDU [00:13:51]CAPDU: 80 17 00 00 [00:13:51]Write to MH i2c: E2 08 00 BF 0A 80 17 00 00 00 00 00 00 49 [00:13:51]Write i2c OK [00:13:51]MH_I2C_Read... [00:13:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:51]Read from MH i2c: E2 [00:13:51]MH_I2C_Read... [00:13:51]Read from MH i2c: E2 FD 00 [00:13:51]MH_I2C_Read... [00:13:51]Read from MH i2c: E2 FD 00 BF 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 C2 [00:13:51]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:13:51]wFMCommunicate OK [00:13:51]wFMCommunicate request_size=4 [00:13:51]MH_SAM_APDU [00:13:51]CAPDU: 80 17 00 00 [00:13:51]Write to MH i2c: E2 08 00 C0 0A 80 17 00 00 00 00 00 00 4A [00:13:51]Write i2c OK [00:13:51]MH_I2C_Read... [00:13:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:51]Read from MH i2c: E2 [00:13:51]MH_I2C_Read... [00:13:51]Read from MH i2c: E2 FD 00 [00:13:51]MH_I2C_Read... [00:13:51]Read from MH i2c: E2 FD 00 C0 0A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 EA [00:13:51]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:13:52]wFMCommunicate OK [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 17 00 00 [00:13:52]Write to MH i2c: E2 08 00 C1 0A 80 17 00 00 00 00 00 00 4B [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:52]Read from MH i2c: E2 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 FD 00 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 FD 00 C1 0A 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 D0 [00:13:52]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:13:52]wFMCommunicate OK [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 17 00 00 [00:13:52]Write to MH i2c: E2 08 00 C2 0A 80 17 00 00 00 00 00 00 4C [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:13:52]Read from MH i2c: E2 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 DE 00 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 DE 00 C2 0A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2B [00:13:52]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:13:52]wFMCommunicate OK [00:13:52]SAM_PROTO_GetFMData done [00:13:52]requested_item fm.sale_refund.total is exist - process it [00:13:52]requested_item fm.buy.total is exist - process it [00:13:52]requested_item shift.sale.total is exist - process it [00:13:52]SAM_PROTO_GetShiftData [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 13 02 00 [00:13:52]Write to MH i2c: E2 08 00 C3 0A 80 13 02 00 00 00 00 00 4B [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:13:53]Read from MH i2c: E2 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 FD 00 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 FD 00 C3 0A 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 BE [00:13:53]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:13:53]wFMCommunicate OK [00:13:53]wFMCommunicate request_size=4 [00:13:53]MH_SAM_APDU [00:13:53]CAPDU: 80 17 00 00 [00:13:53]Write to MH i2c: E2 08 00 C4 0A 80 17 00 00 00 00 00 00 4E [00:13:53]Write i2c OK [00:13:53]MH_I2C_Read... [00:13:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:53]Read from MH i2c: E2 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 FD 00 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 FD 00 C4 0A 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 56 [00:13:53]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:13:53]wFMCommunicate OK [00:13:53]wFMCommunicate request_size=4 [00:13:53]MH_SAM_APDU [00:13:53]CAPDU: 80 17 00 00 [00:13:53]Write to MH i2c: E2 08 00 C5 0A 80 17 00 00 00 00 00 00 4F [00:13:53]Write i2c OK [00:13:53]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 C5 0A 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 21 [00:13:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:13:54]wFMCommunicate OK [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 17 00 00 [00:13:54]Write to MH i2c: E2 08 00 C6 0A 80 17 00 00 00 00 00 00 50 [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 C6 0A 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 C2 [00:13:54]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:13:54]wFMCommunicate OK [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 17 00 00 [00:13:54]Write to MH i2c: E2 08 00 C7 0A 80 17 00 00 00 00 00 00 51 [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:13:55]Read from MH i2c: E2 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 BD 00 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 BD 00 C7 0A 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 37 [00:13:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:13:55]wFMCommunicate OK [00:13:55]SAM_PROTO_GetShiftData done [00:13:55]requested_item shift.sale.total_cash is exist - process it [00:13:55]requested_item shift.sale_refund.total is exist - process it [00:13:55]requested_item shift.sale_refund.total_cash is exist - process it [00:13:55]requested_item shift.buy.total is exist - process it [00:13:55]requested_item shift.buy.total_cash is exist - process it [00:13:55]produce_requested_data done [00:13:55]produce_requested_data return {"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:13:55]process_action_free get_value [00:13:55]json_value_free [00:13:55]json_value_free done [00:13:55]process_json_proto returns [00:13:55]Send response to host [00:13:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8084533.31,"fm.sale_refund.total":72451.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:13:55]free response buf [00:13:55]execute_script done [00:13:55]execute_script returns [00:13:55]free content buf [00:13:55]Sock 7.Close socket [00:13:55]Sock 7.Thread stoped [00:13:55]OFD Sender: No OFD packet to send [00:14:00]OFD Sender: No OFD packet to send [00:14:05]OFD Sender: No OFD packet to send [00:14:10]OFD Sender: No OFD packet to send [00:14:15]OFD Sender: No OFD packet to send [00:14:20]OFD Sender: No OFD packet to send [00:14:25]OFD Sender: No OFD packet to send [00:14:30]OFD Sender: No OFD packet to send [00:14:35]OFD Sender: No OFD packet to send [00:14:40]OFD Sender: No OFD packet to send [00:14:45]OFD Sender: No OFD packet to send [00:14:50]OFD Sender: No OFD packet to send [00:14:55]OFD Sender: No OFD packet to send [00:15:00]OFD Sender: No OFD packet to send [00:15:05]OFD Sender: No OFD packet to send [00:15:10]OFD Sender: No OFD packet to send [00:15:15]OFD Sender: No OFD packet to send [00:15:20]OFD Sender: No OFD packet to send [00:15:25]OFD Sender: No OFD packet to send [00:15:30]OFD Sender: No OFD packet to send [00:15:35]OFD Sender: No OFD packet to send [00:15:40]OFD Sender: No OFD packet to send [00:15:45]OFD Sender: No OFD packet to send [00:15:50]OFD Sender: No OFD packet to send [00:15:55]OFD Sender: No OFD packet to send [00:16:00]OFD Sender: No OFD packet to send [00:16:05]OFD Sender: No OFD packet to send [00:16:10]OFD Sender: No OFD packet to send [00:16:15]OFD Sender: No OFD packet to send [00:16:20]OFD Sender: No OFD packet to send [00:16:25]OFD Sender: No OFD packet to send [00:16:30]OFD Sender: No OFD packet to send [00:16:35]OFD Sender: No OFD packet to send [00:16:40]OFD Sender: No OFD packet to send [00:16:45]OFD Sender: No OFD packet to send [00:16:50]OFD Sender: No OFD packet to send [00:16:55]OFD Sender: No OFD packet to send [00:17:00]OFD Sender: No OFD packet to send [00:17:05]OFD Sender: No OFD packet to send [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:24]accept exits with 9 [00:21:24]New connection [00:21:24]New thread 3067174244 created [00:21:24]Thread 3067030884 joined [00:21:24]Waiting for new connection... [00:21:24] Sock 9.Parse request [00:21:24]Sock 9.Check first char [00:21:24]Sock 9.First char is OK [00:21:24]request: POST /json_proto HTTP/1.0 [00:21:24]Method: POST [00:21:24]URL: /json_proto [00:21:24]Method is POST - this is cgi request [00:21:24]url: /json_proto [00:21:24]query_string will be loaded in cgi processing [00:21:24]execute_cgi json_proto POST (null) [00:21:24]execute_cgi path=json_proto method=POST [00:21:24]POST find Content-Length [00:21:24]Host: 172.17.32.68:8080 [00:21:24]Content-Length: 684 [00:21:24]Content-Type: application/json [00:21:24] [00:21:24]POST finish read [00:21:24]Found Content-Length = 684 [00:21:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242399", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "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" ] } } [00:21:24]execute_script... [00: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 : (3)242399", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "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" ] } } [00:21:24]POST & json_proto [00:21:24]process_json_proto [00:21:24]json parsed OK: [00:21:24]protocol is kg_v1.0 [00:21:24]action value=close_receipt [00:21:24]process_action close_receipt [00:21:24]cmd_close_receipt [00:21:24]MH_GetDate [00:21:24]Write to MH i2c: F0 00 00 C8 0A C1 [00:21:24]Write i2c OK [00:21:24]MH_I2C_Read... [00:21:24]Read from MH i2c: F0 [00:21:24]MH_I2C_Read... [00:21:24]Read from MH i2c: F0 09 00 [00:21:24]MH_I2C_Read... [00:21:24]Read from MH i2c: F0 09 00 C8 0A 00 06 43 F2 65 0A 64 6E 65 AB [00:21:24]GetLastDocTimeStamp 1710375228 [00:21:24]current date 1710375686 [00:21:24]FM_GetShiftState [00:21:24]SAM_PROTO_GetShiftState [00:21:24]wFMCommunicate request_size=4 [00:21:24]MH_SAM_APDU [00:21:24]CAPDU: 80 13 01 00 [00:21:24]Write to MH i2c: E2 08 00 C9 0A 80 13 01 00 00 00 00 00 50 [00:21:24]Write i2c OK [00:21:24]MH_I2C_Read... [00:21:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:24]Read from MH i2c: E2 [00:21:24]MH_I2C_Read... [00:21:24]Read from MH i2c: E2 0E 00 [00:21:24]MH_I2C_Read... [00:21:24]Read from MH i2c: E2 0E 00 C9 0A 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 30 [00:21:24]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:21:24]wFMCommunicate OK [00:21:24]SAM_PROTO_GetShiftState done [00:21:24]FM_GetShiftState done [00:21:24]opened in 1710375228 [00:21:24]opened+sec_in_day 1710461628 [00:21:24]quantity*price = 12500 [00:21:24]sum+1 = 12501 [00:21:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 1 14.03.2024 00:21 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47490 ФПД: 252336625250476 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T002126&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47490&fm=252336625250476&tin=02508201610067®Number=0000000000092018&sum=12500 0 [00:21:26]StoreToDocumentArchive [00:21:26]shift 317 fd 47490 [00:21:26]save to /storage/0317/doc_00047490 [00:21:26]save last doc name /storage/0317/doc_00047490 to /storage/kkm_last_doc_name [00:21:26]save OK [00:21:26]Clear old archive folders... [00:21:26]ProcessDocumentItem done err = 0, tmpTLVsize=292 [00:21:26]tlvbuf is 01188FE0 [00:21:26]SAM_PROTO_ClearQueue [00:21:26]wFMCommunicate request_size=4 [00:21:26]MH_SAM_APDU [00:21:26]CAPDU: 80 09 00 00 [00:21:26]Write to MH i2c: E2 08 00 D6 0A 80 09 00 00 00 00 00 00 52 [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:21:26]Read from MH i2c: E2 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 D6 0A 00 90 00 54 [00:21:26]RAPDU: 90 00 [00:21:26]wFMCommunicate OK [00:21:26]SAM_PROTO_ClearQueue done [00:21:26]KKMCreateOFDPacket [00:21:26]OFDProtocolAddRootSTLVToBuf [00:21:26]FM_MakeSignedData [00:21:26]FM_MakeSignedData [00:21:26]SAM_PROTO_SignData [00:21:26]wFMCommunicate request_size=4 [00:21:26]MH_SAM_APDU [00:21:26]CAPDU: 80 0D 01 02 [00:21:26]Write to MH i2c: E2 08 00 D7 0A 80 0D 01 02 00 00 00 00 5A [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:21:26]Read from MH i2c: E2 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 D7 0A 00 90 00 55 [00:21:26]RAPDU: 90 00 [00:21:26]wFMCommunicate OK [00:21:26]wFMCommunicate request_size=255 [00:21:26]MH_SAM_APDU [00:21:26]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 01 00 00 00 F4 03 04 00 06 43 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [00:21:26]Write to MH i2c: E2 02 01 D8 0A 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 01 00 00 00 F4 03 04 00 06 43 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 FF [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:26]Read from MH i2c: E2 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 D8 0A 00 90 00 56 [00:21:26]RAPDU: 90 00 [00:21:26]wFMCommunicate OK [00:21:26]wFMCommunicate request_size=51 [00:21:26]MH_SAM_APDU [00:21:26]CAPDU: 80 0D 02 02 2E 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 82 B9 00 00 35 04 06 00 E5 7F B2 E9 70 AC [00:21:26]Write to MH i2c: E2 36 00 D9 0A 80 0D 02 02 2E 00 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 82 B9 00 00 35 04 06 00 E5 7F B2 E9 70 AC 00 00 3E [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:26]Read from MH i2c: E2 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 03 00 D9 0A 00 90 00 57 [00:21:26]RAPDU: 90 00 [00:21:26]wFMCommunicate OK [00:21:26]wFMCommunicate request_size=4 [00:21:26]MH_SAM_APDU [00:21:26]CAPDU: 80 0D 03 02 [00:21:26]Write to MH i2c: E2 08 00 DA 0A 80 0D 03 02 00 00 00 00 5F [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:21:26]Read from MH i2c: E2 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 0B 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 0B 00 DA 0A 00 91 57 73 D1 DD 06 34 5F 90 00 02 [00:21:26]RAPDU: 91 57 73 D1 DD 06 34 5F 90 00 [00:21:26]wFMCommunicate OK [00:21:26]SAM_PROTO_SignData done [00:21:26]FM_MakeSignedData done [00:21:26]CreateOFDProtocolMessage [00:21:26]wFMCommunicate request_size=4 [00:21:26]MH_SAM_APDU [00:21:26]CAPDU: 80 11 00 00 [00:21:26]Write to MH i2c: E2 08 00 DB 0A 80 11 00 00 00 00 00 00 5F [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:26]Read from MH i2c: E2 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 17 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: E2 17 00 DB 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 B1 [00:21:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:21:26]wFMCommunicate OK [00:21:26]CreateOFDProtocolMessage done [00:21:26]OFDSenderStorePacket 47490 [00:21:26]StoreOFDPacket docnum=47490 [00:21:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 38 01 00 00 8B 0A 30 01 E4 6B 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 01 00 00 00 F4 03 04 00 06 43 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 82 B9 00 00 35 04 06 00 E5 7F B2 E9 70 AC 91 57 73 D1 DD 06 34 5F [00:21:26]CheckFolder [00:21:26]dirname=/storage/ofd_packets [00:21:26]CheckFolder done [00:21:26]ProducePacketName [00:21:26]name=ofd_packets/00047490 [00:21:26]NVStorageSaveData ofd_packets/00047490 [00:21:26]File name is /storage/ofd_packets/00047490 [00:21:26]Write 342 bytes [00:21:26]NVStorageSaveData done [00:21:26]OFDSenderStorePacket done [00:21:26]KKMCreateOFDPacket done [00:21:26]NVStorageSaveData kkm_last_timestamp [00:21:26]File name is /storage/kkm_last_timestamp [00:21:26]Write 4 bytes [00:21:26]NVStorageSaveData done [00:21:26]ExternCall_PrintAddStr [00:21:26]wPrintStart [00:21:26]Write to MH i2c: 01 00 00 DC 0A E6 [00:21:26]Write i2c OK [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: 01 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: 01 07 00 [00:21:26]MH_I2C_Read... [00:21:26]Read from MH i2c: 01 07 00 DC 0A 00 00 00 00 00 FF 0F FB [00:21:26]RasterBufferAndPrint [00:21:26]line Счет N : (3)242399 [00:21:26]line ИНН: 02508201610067 [00:21:26]line Контрольно-Кассовый Чек [00:21:26]line ПРОДАЖА [00:21:26]line Товар: 4870202521230 [00:21:26]line Напиток MAXI чай 1,2 черн.лимон [00:21:26]line 1.000 * 125.00 [00:21:26]line = 125.00 [00:21:26]line НДС 12% НСП 1% [00:21:26]line > о реализуемом товаре [00:21:26]line ИТОГО: 125.00 [00:21:26]line НСП 1% : 1.11 [00:21:26]line НДС 12% : 13.27 [00:21:26]line Наличными: 125.00 [00:21:26]line Безнал.: 0.00 [00:21:26]line Место: АЗС № 15 "Партнер Нефть" [00:21:26]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:21:26]line СНО: Общий режим [00:21:26]line Чек 1 14.03.2024 00:21 [00:21:26]line Смена: 317 ФФД: 1.0 [00:21:26]line ЗНМ: 0300000097 [00:21:26]line РНМ: 0000000000092018 [00:21:26]line Версия ККМ: 001 [00:21:26]line ФМ: 0000000000871816 [00:21:26]line ФД: 47490 [00:21:26]line ФПД: 252336625250476 [00:21:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T002126&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47490&fm=252336625250476&tin=02508201610067®Number=0000000000092018&sum=12500 [00:21:26]line 0 [00:21:26]OFD Sender: Processing packet 47490 [packets to send 8, broken 7] [00:21:26]ProducePacketName [00:21:26]name=ofd_packets/00047490 [00:21:26]OFD Sender: To server: pG, [00:21:26]CommunicateWithHost lk.salyk.kg:30040 [00:21:26]ConnectInit lk.salyk.kg [00:21:26]written 0, free lines is 4095 [00:21:27]Connected sock=10 [00:21:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 38 01 00 00 8B 0A 30 01 E4 6B 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 01 00 00 00 F4 03 04 00 06 43 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 82 B9 00 00 35 04 06 00 E5 7F B2 E9 70 AC 91 57 73 D1 DD 06 34 5F [00:21:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 F4 48 47 00 F3 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 82 B9 00 00 F4 03 04 00 93 ED F1 65 B6 04 01 00 00 BF 50 61 E5 08 06 53 DF [00:21:27]CommunicateWithHost err = 0 [00:21:27]CheckOFDResponse [00:21:27]1017 (14) - 77093643461234 [00:21:27]1041 (16) - 0000000000871816 [00:21:27]1040 (4) - 47490 [00:21:27]1012 (4) - 13.03.2024 18:16 [00:21:27]1206 (1) - 0 [00:21:27]OFD Sender: Remove packet 47490 [00:21:27]ProducePacketName [00:21:27]name=ofd_packets/00047490 [00:21:27]NVStorageDeleteData [00:21:27]Write to MH i2c: 01 00 00 05 0B 10 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: 01 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: 01 07 00 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: 01 07 00 05 0B 00 00 00 00 00 D9 0C FC [00:21:27]RasterBufferAndPrint [00:21:27]line [00:21:27]line [00:21:27]line [00:21:27]line [00:21:27]line [00:21:27]written 0, free lines is 3295 [00:21:27]MH_Cut [00:21:27]Write to MH i2c: D1 01 00 0C 0B 01 E9 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: D1 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: D1 01 00 [00:21:27]MH_I2C_Read... [00:21:27]Read from MH i2c: D1 01 00 0C 0B 00 E8 [00:21:27]Write to MH i2c: 01 00 00 0D 0B 18 [00:21:27]Write i2c OK [00:21:27]MH_I2C_Read... [00:21:27]OFD Sender: No OFD packet to send [00:21:28]*** Cut start [00:21:28]*** Purtial cut [00:21:28]*** Stage 1: CUTSNS_PIN = 1 [00:21:28]Read from MH i2c: 01 [00:21:28]MH_I2C_Read... [00:21:28]*** Stop cut motor [00:21:28]*** Cut end [00:21:28]Read from MH i2c: 01 07 00 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: 01 07 00 0D 0B 00 00 00 00 00 FF 0F 2D [00:21:28]process_action close_receipt done [00:21:28]requested_data is exist [00:21:28]produce_requested_data [00:21:28]requested_item fm.sn is exist - process it [00:21:28]wFMCommunicate request_size=4 [00:21:28]MH_SAM_APDU [00:21:28]CAPDU: 80 11 00 00 [00:21:28]Write to MH i2c: E2 08 00 0E 0B 80 11 00 00 00 00 00 00 93 [00:21:28]Write i2c OK [00:21:28]MH_I2C_Read... [00:21:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:28]Read from MH i2c: E2 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 17 00 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 17 00 0E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 E5 [00:21:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:21:28]wFMCommunicate OK [00:21:28]requested_item fd.num is exist - process it [00:21:28]SAM_PROTO_GetFieldsCounters [00:21:28]wFMCommunicate request_size=4 [00:21:28]MH_SAM_APDU [00:21:28]CAPDU: 80 13 00 00 [00:21:28]Write to MH i2c: E2 08 00 0F 0B 80 13 00 00 00 00 00 00 96 [00:21:28]Write i2c OK [00:21:28]MH_I2C_Read... [00:21:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:21:28]Read from MH i2c: E2 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 62 00 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 62 00 0F 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 82 B9 00 00 0E 04 04 00 3D 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 2D [00: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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 82 B9 00 00 0E 04 04 00 3D 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:21:28]wFMCommunicate OK [00:21:28]SAM_PROTO_GetFieldsCounters done [00:21:28]requested_item shift.num is exist - process it [00:21:28]requested_item shift.opened is exist - process it [00:21:28]req_shift_opened [00:21:28]FM_GetShiftState [00:21:28]SAM_PROTO_GetShiftState [00:21:28]wFMCommunicate request_size=4 [00:21:28]MH_SAM_APDU [00:21:28]CAPDU: 80 13 01 00 [00:21:28]Write to MH i2c: E2 08 00 10 0B 80 13 01 00 00 00 00 00 98 [00:21:28]Write i2c OK [00:21:28]MH_I2C_Read... [00:21:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:28]Read from MH i2c: E2 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 0E 00 [00:21:28]MH_I2C_Read... [00:21:28]Read from MH i2c: E2 0E 00 10 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 78 [00:21:28]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:21:28]wFMCommunicate OK [00:21:28]SAM_PROTO_GetShiftState done [00:21:28]FM_GetShiftState done [00:21:28]req_shift_opened done [00:21:28]requested_item shift.open_date is exist - process it [00:21:28]req_shift_open_date [00:21:28]req_shift_open_date done [00:21:28]produce_requested_data done [00:21:28]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47490,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [00:21:28]process_action_free close_receipt [00:21:28]json_value_free [00:21:28]json_value_free done [00:21:28]process_json_proto returns [00:21:28]Send response to host [00:21:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47490,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [00:21:28]free response buf [00:21:28]execute_script done [00:21:28]execute_script returns [00:21:28]free content buf [00:21:28]Sock 9.Close socket [00:21:28]Sock 9.Thread stoped [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26:48]OFD Sender: No OFD packet to send [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:28:13]OFD Sender: No OFD packet to send [00:28:18]OFD Sender: No OFD packet to send [00:28:23]OFD Sender: No OFD packet to send [00:28:28]OFD Sender: No OFD packet to send [00:28:33]OFD Sender: No OFD packet to send [00:28:38]OFD Sender: No OFD packet to send [00:28:43]OFD Sender: No OFD packet to send [00:28:48]OFD Sender: No OFD packet to send [00:28:53]OFD Sender: No OFD packet to send [00:28:58]OFD Sender: No OFD packet to send [00:29:03]OFD Sender: No OFD packet to send [00:29:08]OFD Sender: No OFD packet to send [00:29:13]OFD Sender: No OFD packet to send [00:29:18]OFD Sender: No OFD packet to send [00:29:23]OFD Sender: No OFD packet to send [00:29:28]OFD Sender: No OFD packet to send [00:29:33]OFD Sender: No OFD packet to send [00:29:38]OFD Sender: No OFD packet to send [00:29:43]OFD Sender: No OFD packet to send [00:29:48]OFD Sender: No OFD packet to send [00:29:53]OFD Sender: No OFD packet to send [00:29:58]OFD Sender: No OFD packet to send [00:30:03]OFD Sender: No OFD packet to send [00:30:08]OFD Sender: No OFD packet to send [00:30:13]OFD Sender: No OFD packet to send [00:30:18]OFD Sender: No OFD packet to send [00:30:23]OFD Sender: No OFD packet to send [00:30:28]OFD Sender: No OFD packet to send [00:30:33]OFD Sender: No OFD packet to send [00:30:38]OFD Sender: No OFD packet to send [00:30:43]OFD Sender: No OFD packet to send [00:30:48]OFD Sender: No OFD packet to send [00:30:53]OFD Sender: No OFD packet to send [00:30:58]OFD Sender: No OFD packet to send [00:31:03]OFD Sender: No OFD packet to send [00:31:08]OFD Sender: No OFD packet to send [00:31:13]OFD Sender: No OFD packet to send [00:31:18]OFD Sender: No OFD packet to send [00:31:23]OFD Sender: No OFD packet to send [00:31:28]OFD Sender: No OFD packet to send [00:31:28]accept exits with 7 [00:31:28]New connection [00:31:28]New thread 3067030884 created [00:31:28]Thread 3067174244 joined [00:31:28]Waiting for new connection... [00:31:28] Sock 7.Parse request [00:31:28]Sock 7.Check first char [00:31:28]Sock 7.First char is OK [00:31:28]request: POST /json_proto HTTP/1.0 [00:31:28]Method: POST [00:31:28]URL: /json_proto [00:31:28]Method is POST - this is cgi request [00:31:28]url: /json_proto [00:31:28]query_string will be loaded in cgi processing [00:31:28]execute_cgi json_proto POST (null) [00:31:28]execute_cgi path=json_proto method=POST [00:31:28]POST find Content-Length [00:31:28]Host: 172.17.32.68:8080 [00:31:28]Content-Length: 652 [00:31:28]Content-Type: application/json [00:31:28] [00:31:28]POST finish read [00:31:28]Found Content-Length = 652 [00:31:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242400", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:28]execute_script... [00:31: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)242400", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:28]POST & json_proto [00:31:28]process_json_proto [00:31:28]json parsed OK: [00:31:28]protocol is kg_v1.0 [00:31:28]action value=close_receipt [00:31:28]process_action close_receipt [00:31:28]cmd_close_receipt [00:31:28]MH_GetDate [00:31:28]Write to MH i2c: F0 00 00 11 0B 0B [00:31:28]Write i2c OK [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: F0 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: F0 09 00 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: F0 09 00 11 0B 00 62 45 F2 65 0A 64 6E 65 53 [00:31:28]GetLastDocTimeStamp 1710375686 [00:31:28]current date 1710376290 [00:31:28]FM_GetShiftState [00:31:28]SAM_PROTO_GetShiftState [00:31:28]wFMCommunicate request_size=4 [00:31:28]MH_SAM_APDU [00:31:28]CAPDU: 80 13 01 00 [00:31:28]Write to MH i2c: E2 08 00 12 0B 80 13 01 00 00 00 00 00 9A [00:31:28]Write i2c OK [00:31:28]MH_I2C_Read... [00:31:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:28]Read from MH i2c: E2 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: E2 0E 00 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: E2 0E 00 12 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 7A [00:31:28]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:31:28]wFMCommunicate OK [00:31:28]SAM_PROTO_GetShiftState done [00:31:28]FM_GetShiftState done [00:31:28]opened in 1710375228 [00:31:28]opened+sec_in_day 1710461628 [00:31:28]quantity*price = 6300 [00:31:28]sum+1 = 6301 [00:31:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 63.00 НСП 1% : 0.56 НДС 12% : 6.69 Наличными: 63.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 2 14.03.2024 00:31 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47491 ФПД: 217108151468781 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T003130&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47491&fm=217108151468781&tin=02508201610067®Number=0000000000092018&sum=6300 0 [00:31:29]StoreToDocumentArchive [00:31:29]shift 317 fd 47491 [00:31:29]save to /storage/0317/doc_00047491 [00:31:29]save last doc name /storage/0317/doc_00047491 to /storage/kkm_last_doc_name [00:31:29]save OK [00:31:29]Clear old archive folders... [00:31:29]ProcessDocumentItem done err = 0, tmpTLVsize=275 [00:31:29]tlvbuf is 01188E50 [00:31:29]SAM_PROTO_ClearQueue [00:31:29]wFMCommunicate request_size=4 [00:31:29]MH_SAM_APDU [00:31:29]CAPDU: 80 09 00 00 [00:31:29]Write to MH i2c: E2 08 00 1F 0B 80 09 00 00 00 00 00 00 9C [00:31:29]Write i2c OK [00:31:29]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 1F 0B 00 90 00 9E [00:31:30]RAPDU: 90 00 [00:31:30]wFMCommunicate OK [00:31:30]SAM_PROTO_ClearQueue done [00:31:30]KKMCreateOFDPacket [00:31:30]OFDProtocolAddRootSTLVToBuf [00:31:30]FM_MakeSignedData [00:31:30]FM_MakeSignedData [00:31:30]SAM_PROTO_SignData [00:31:30]wFMCommunicate request_size=4 [00:31:30]MH_SAM_APDU [00:31:30]CAPDU: 80 0D 01 02 [00:31:30]Write to MH i2c: E2 08 00 20 0B 80 0D 01 02 00 00 00 00 A4 [00:31:30]Write i2c OK [00:31:30]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 20 0B 00 90 00 9F [00:31:30]RAPDU: 90 00 [00:31:30]wFMCommunicate OK [00:31:30]wFMCommunicate request_size=255 [00:31:30]MH_SAM_APDU [00:31:30]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 62 45 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 [00:31:30]Write to MH i2c: E2 02 01 21 0B 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 62 45 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 00 00 6E [00:31:30]Write i2c OK [00:31:30]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 21 0B 00 90 00 A0 [00:31:30]RAPDU: 90 00 [00:31:30]wFMCommunicate OK [00:31:30]wFMCommunicate request_size=34 [00:31:30]MH_SAM_APDU [00:31:30]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 83 B9 00 00 35 04 06 00 C5 75 6E 3F 02 ED [00:31:30]Write to MH i2c: E2 25 00 22 0B 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 83 B9 00 00 35 04 06 00 C5 75 6E 3F 02 ED 00 00 79 [00:31:30]Write i2c OK [00:31:30]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 03 00 22 0B 00 90 00 A1 [00:31:30]RAPDU: 90 00 [00:31:30]wFMCommunicate OK [00:31:30]wFMCommunicate request_size=4 [00:31:30]MH_SAM_APDU [00:31:30]CAPDU: 80 0D 03 02 [00:31:30]Write to MH i2c: E2 08 00 23 0B 80 0D 03 02 00 00 00 00 A9 [00:31:30]Write i2c OK [00:31:30]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 0B 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 0B 00 23 0B 00 ED ED 04 42 7B A4 E7 7C 90 00 4C [00:31:30]RAPDU: ED ED 04 42 7B A4 E7 7C 90 00 [00:31:30]wFMCommunicate OK [00:31:30]SAM_PROTO_SignData done [00:31:30]FM_MakeSignedData done [00:31:30]CreateOFDProtocolMessage [00:31:30]wFMCommunicate request_size=4 [00:31:30]MH_SAM_APDU [00:31:30]CAPDU: 80 11 00 00 [00:31:30]Write to MH i2c: E2 08 00 24 0B 80 11 00 00 00 00 00 00 A9 [00:31:30]Write i2c OK [00:31:30]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 17 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 17 00 24 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 FB [00:31:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:31:30]wFMCommunicate OK [00:31:30]CreateOFDProtocolMessage done [00:31:30]OFDSenderStorePacket 47491 [00:31:30]StoreOFDPacket docnum=47491 [00:31:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 BB 6E 1F 01 7C 9E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 62 45 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 83 B9 00 00 35 04 06 00 C5 75 6E 3F 02 ED ED ED 04 42 7B A4 E7 7C [00:31:30]CheckFolder [00:31:30]dirname=/storage/ofd_packets [00:31:30]CheckFolder done [00:31:30]ProducePacketName [00:31:30]name=ofd_packets/00047491 [00:31:30]NVStorageSaveData ofd_packets/00047491 [00:31:30]File name is /storage/ofd_packets/00047491 [00:31:30]Write 325 bytes [00:31:30]NVStorageSaveData done [00:31:30]OFDSenderStorePacket done [00:31:30]KKMCreateOFDPacket done [00:31:30]NVStorageSaveData kkm_last_timestamp [00:31:30]File name is /storage/kkm_last_timestamp [00:31:30]Write 4 bytes [00:31:30]NVStorageSaveData done [00:31:30]ExternCall_PrintAddStr [00:31:30]wPrintStart [00:31:30]Write to MH i2c: 01 00 00 25 0B 30 [00:31:30]Write i2c OK [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: 01 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: 01 07 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: 01 07 00 25 0B 00 00 00 00 00 FF 0F 45 [00:31:30]RasterBufferAndPrint [00:31:30]line Счет N : (3)242400 [00:31:30]line ИНН: 02508201610067 [00:31:30]line Контрольно-Кассовый Чек [00:31:30]line ПРОДАЖА [00:31:30]line Товар: 54491472 [00:31:30]line Напиток Кока-Кола 0,5л [00:31:30]line 1.000 * 63.00 [00:31:30]line = 63.00 [00:31:30]line НДС 12% НСП 1% [00:31:30]line > о реализуемом товаре [00:31:30]line ИТОГО: 63.00 [00:31:30]line НСП 1% : 0.56 [00:31:30]line НДС 12% : 6.69 [00:31:30]line Наличными: 63.00 [00:31:30]line Безнал.: 0.00 [00:31:30]line Место: АЗС № 15 "Партнер Нефть" [00:31:30]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:31:30]line СНО: Общий режим [00:31:30]line Чек 2 14.03.2024 00:31 [00:31:30]line Смена: 317 ФФД: 1.0 [00:31:30]line ЗНМ: 0300000097 [00:31:30]line РНМ: 0000000000092018 [00:31:30]line Версия ККМ: 001 [00:31:30]line ФМ: 0000000000871816 [00:31:30]line ФД: 47491 [00:31:30]line ФПД: 217108151468781 [00:31:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T003130&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47491&fm=217108151468781&tin=02508201610067®Number=0000000000092018&sum=6300 [00:31:30]line 0 [00:31:30]OFD Sender: Processing packet 47491 [packets to send 8, broken 7] [00:31:30]ProducePacketName [00:31:30]name=ofd_packets/00047491 [00:31:30]OFD Sender: To server: pG, [00:31:30]CommunicateWithHost lk.salyk.kg:30040 [00:31:30]ConnectInit lk.salyk.kg [00:31:30]written 0, free lines is 4095 [00:31:31]Write to MH i2c: 01 00 00 4D 0B 58 [00:31:31]Write i2c OK [00:31:31]MH_I2C_Read... [00:31:31]Read from MH i2c: 01 [00:31:31]MH_I2C_Read... [00:31:31]Read from MH i2c: 01 07 00 [00:31:31]MH_I2C_Read... [00:31:31]Read from MH i2c: 01 07 00 4D 0B 00 00 00 00 00 EE 0C 59 [00:31:31]RasterBufferAndPrint [00:31:31]line [00:31:31]line [00:31:31]line [00:31:31]line [00:31:31]line [00:31:31]written 0, free lines is 3316 [00:31:31]MH_Cut [00:31:31]Write to MH i2c: D1 01 00 54 0B 01 31 [00:31:31]Write i2c OK [00:31:31]MH_I2C_Read... [00:31:31]Read from MH i2c: D1 [00:31:31]MH_I2C_Read... [00:31:31]Read from MH i2c: D1 01 00 [00:31:31]MH_I2C_Read... [00:31:31]Read from MH i2c: D1 01 00 54 0B 00 30 [00:31:31]Write to MH i2c: 01 00 00 55 0B 60 [00:31:31]Write i2c OK [00:31:31]MH_I2C_Read... [00:31:32]*** Cut start [00:31:32]*** Purtial cut [00:31:32]*** Stage 1: CUTSNS_PIN = 1 [00:31:32]Read from MH i2c: 01 [00:31:32]MH_I2C_Read... [00:31:32]*** Stop cut motor [00:31:32]*** Cut end [00:31:32]Read from MH i2c: 01 07 00 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: 01 07 00 55 0B 00 00 00 00 00 FF 0F 75 [00:31:32]process_action close_receipt done [00:31:32]requested_data is exist [00:31:32]produce_requested_data [00:31:32]requested_item fm.sn is exist - process it [00:31:32]wFMCommunicate request_size=4 [00:31:32]MH_SAM_APDU [00:31:32]CAPDU: 80 11 00 00 [00:31:32]Write to MH i2c: E2 08 00 56 0B 80 11 00 00 00 00 00 00 DB [00:31:32]Write i2c OK [00:31:32]MH_I2C_Read... [00:31:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:32]Read from MH i2c: E2 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: E2 17 00 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: E2 17 00 56 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 2D [00:31:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:31:32]wFMCommunicate OK [00:31:32]requested_item fd.num is exist - process it [00:31:32]SAM_PROTO_GetFieldsCounters [00:31:32]wFMCommunicate request_size=4 [00:31:32]MH_SAM_APDU [00:31:32]CAPDU: 80 13 00 00 [00:31:32]Write to MH i2c: E2 08 00 57 0B 80 13 00 00 00 00 00 00 DE [00:31:32]Write i2c OK [00:31:32]MH_I2C_Read... [00:31:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:32]Read from MH i2c: E2 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: E2 62 00 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: E2 62 00 57 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 83 B9 00 00 0E 04 04 00 3D 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 79 [00:31:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 83 B9 00 00 0E 04 04 00 3D 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:31:32]wFMCommunicate OK [00:31:32]SAM_PROTO_GetFieldsCounters done [00:31:32]requested_item shift.num is exist - process it [00:31:32]requested_item shift.opened is exist - process it [00:31:32]req_shift_opened [00:31:32]FM_GetShiftState [00:31:32]SAM_PROTO_GetShiftState [00:31:32]wFMCommunicate request_size=4 [00:31:32]MH_SAM_APDU [00:31:32]CAPDU: 80 13 01 00 [00:31:32]Write to MH i2c: E2 08 00 58 0B 80 13 01 00 00 00 00 00 E0 [00:31:32]Write i2c OK [00:31:32]MH_I2C_Read... [00:31:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:32]Read from MH i2c: E2 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: E2 0E 00 [00:31:32]MH_I2C_Read... [00:31:32]Read from MH i2c: E2 0E 00 58 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 C0 [00:31:32]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:31:32]wFMCommunicate OK [00:31:32]SAM_PROTO_GetShiftState done [00:31:32]FM_GetShiftState done [00:31:32]req_shift_opened done [00:31:32]requested_item shift.open_date is exist - process it [00:31:32]req_shift_open_date [00:31:32]req_shift_open_date done [00:31:32]produce_requested_data done [00:31:32]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47491,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [00:31:32]process_action_free close_receipt [00:31:32]json_value_free [00:31:32]json_value_free done [00:31:32]process_json_proto returns [00:31:32]Send response to host [00:31:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47491,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [00:31:32]free response buf [00:31:32]execute_script done [00:31:32]execute_script returns [00:31:32]free content buf [00:31:32]Sock 7.Close socket [00:31:32]Sock 7.Thread stoped [00:33:43]ConnectInit Can't connect to host [00:33:43]CommunicateWithHost connect error [00:33:43]CommunicateWithHost err = -1 [00:33:43]OFD Sender: Server communicate error [00:33:48]OFD Sender: Processing packet 47491 [packets to send 8, broken 7] [00:33:48]ProducePacketName [00:33:48]name=ofd_packets/00047491 [00:33:48]OFD Sender: To server: pG, [00:33:48]CommunicateWithHost lk.salyk.kg:30040 [00:33:48]ConnectInit lk.salyk.kg [00:33:48]Connected sock=7 [00:33:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 27 01 00 00 BB 6E 1F 01 7C 9E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 9C 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 62 45 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 83 B9 00 00 35 04 06 00 C5 75 6E 3F 02 ED ED ED 04 42 7B A4 E7 7C [00:33:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 07 12 47 00 73 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 83 B9 00 00 F4 03 04 00 78 F0 F1 65 B6 04 01 00 00 10 2D 22 95 9C E4 67 5A [00:33:48]CommunicateWithHost err = 0 [00:33:48]CheckOFDResponse [00:33:48]1017 (14) - 77093643461234 [00:33:48]1041 (16) - 0000000000871816 [00:33:48]1040 (4) - 47491 [00:33:48]1012 (4) - 13.03.2024 18:29 [00:33:48]1206 (1) - 0 [00:33:48]OFD Sender: Remove packet 47491 [00:33:48]ProducePacketName [00:33:48]name=ofd_packets/00047491 [00:33:48]NVStorageDeleteData [00:33:48]OFD Sender: No OFD packet to send [00:33:53]OFD Sender: No OFD packet to send [00:33:58]OFD Sender: No OFD packet to send [00:34:03]OFD Sender: No OFD packet to send [00:34:08]OFD Sender: No OFD packet to send [00:34:13]OFD Sender: No OFD packet to send [00:34:18]OFD Sender: No OFD packet to send [00:34:23]OFD Sender: No OFD packet to send [00:34:28]OFD Sender: No OFD packet to send [00:34:30]accept exits with 9 [00:34:30]New connection [00:34:30]New thread 3067174244 created [00:34:30]Thread 3067030884 joined [00:34:30]Waiting for new connection... [00:34:30] Sock 9.Parse request [00:34:30]Sock 9.Check first char [00:34:30]Sock 9.First char is OK [00:34:30]request: POST /json_proto HTTP/1.0 [00:34:30]Method: POST [00:34:30]URL: /json_proto [00:34:30]Method is POST - this is cgi request [00:34:30]url: /json_proto [00:34:30]query_string will be loaded in cgi processing [00:34:30]execute_cgi json_proto POST (null) [00:34:30]execute_cgi path=json_proto method=POST [00:34:30]POST find Content-Length [00:34:30]Host: 172.17.32.68:8080 [00:34:30]Content-Length: 621 [00:34:30]Content-Type: application/json [00:34:30] [00:34:30]POST finish read [00:34:30]Found Content-Length = 621 [00:34:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242401", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:34:30]execute_script... [00:34: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)242401", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:34:30]POST & json_proto [00:34:30]process_json_proto [00:34:30]json parsed OK: [00:34:30]protocol is kg_v1.0 [00:34:30]action value=close_receipt [00:34:30]process_action close_receipt [00:34:30]cmd_close_receipt [00:34:30]MH_GetDate [00:34:30]Write to MH i2c: F0 00 00 59 0B 53 [00:34:30]Write i2c OK [00:34:30]MH_I2C_Read... [00:34:30]Read from MH i2c: F0 [00:34:30]MH_I2C_Read... [00:34:30]Read from MH i2c: F0 09 00 [00:34:30]MH_I2C_Read... [00:34:30]Read from MH i2c: F0 09 00 59 0B 00 18 46 F2 65 0A 64 6E 65 52 [00:34:30]GetLastDocTimeStamp 1710376290 [00:34:30]current date 1710376472 [00:34:30]FM_GetShiftState [00:34:30]SAM_PROTO_GetShiftState [00:34:30]wFMCommunicate request_size=4 [00:34:30]MH_SAM_APDU [00:34:30]CAPDU: 80 13 01 00 [00:34:30]Write to MH i2c: E2 08 00 5A 0B 80 13 01 00 00 00 00 00 E2 [00:34:30]Write i2c OK [00:34:30]MH_I2C_Read... [00:34:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:30]Read from MH i2c: E2 [00:34:30]MH_I2C_Read... [00:34:30]Read from MH i2c: E2 0E 00 [00:34:30]MH_I2C_Read... [00:34:30]Read from MH i2c: E2 0E 00 5A 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 C2 [00:34:30]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:34:30]wFMCommunicate OK [00:34:30]SAM_PROTO_GetShiftState done [00:34:30]FM_GetShiftState done [00:34:30]opened in 1710375228 [00:34:30]opened+sec_in_day 1710461628 [00:34:30]quantity*price = 13500 [00:34:30]sum+1 = 13501 [00:34:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 3 14.03.2024 00:34 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47492 ФПД: 134196339588249 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T003432&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47492&fm=134196339588249&tin=02508201610067®Number=0000000000092018&sum=13500 0 [00:34:32]StoreToDocumentArchive [00:34:32]shift 317 fd 47492 [00:34:32]save to /storage/0317/doc_00047492 [00:34:32]save last doc name /storage/0317/doc_00047492 to /storage/kkm_last_doc_name [00:34:32]save OK [00:34:32]Clear old archive folders... [00:34:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [00:34:32]tlvbuf is 011AF400 [00:34:32]SAM_PROTO_ClearQueue [00:34:32]wFMCommunicate request_size=4 [00:34:32]MH_SAM_APDU [00:34:32]CAPDU: 80 09 00 00 [00:34:32]Write to MH i2c: E2 08 00 67 0B 80 09 00 00 00 00 00 00 E4 [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:34:32]Read from MH i2c: E2 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 67 0B 00 90 00 E6 [00:34:32]RAPDU: 90 00 [00:34:32]wFMCommunicate OK [00:34:32]SAM_PROTO_ClearQueue done [00:34:32]KKMCreateOFDPacket [00:34:32]OFDProtocolAddRootSTLVToBuf [00:34:32]FM_MakeSignedData [00:34:32]FM_MakeSignedData [00:34:32]SAM_PROTO_SignData [00:34:32]wFMCommunicate request_size=4 [00:34:32]MH_SAM_APDU [00:34:32]CAPDU: 80 0D 01 02 [00:34:32]Write to MH i2c: E2 08 00 68 0B 80 0D 01 02 00 00 00 00 EC [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:34:32]Read from MH i2c: E2 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 68 0B 00 90 00 E7 [00:34:32]RAPDU: 90 00 [00:34:32]wFMCommunicate OK [00:34:32]wFMCommunicate request_size=255 [00:34:32]MH_SAM_APDU [00:34: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 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 03 00 00 00 F4 03 04 00 18 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 [00:34:32]Write to MH i2c: E2 02 01 69 0B 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 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 03 00 00 00 F4 03 04 00 18 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 00 00 AC [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:32]Read from MH i2c: E2 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 69 0B 00 90 00 E8 [00:34:32]RAPDU: 90 00 [00:34:32]wFMCommunicate OK [00:34:32]wFMCommunicate request_size=32 [00:34:32]MH_SAM_APDU [00:34:32]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 31 36 10 04 04 00 84 B9 00 00 35 04 06 00 7A 0D 05 26 BC 99 [00:34:32]Write to MH i2c: E2 23 00 6A 0B 80 0D 02 02 1B 00 30 30 30 38 37 31 38 31 36 10 04 04 00 84 B9 00 00 35 04 06 00 7A 0D 05 26 BC 99 00 00 8F [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:32]Read from MH i2c: E2 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 03 00 6A 0B 00 90 00 E9 [00:34:32]RAPDU: 90 00 [00:34:32]wFMCommunicate OK [00:34:32]wFMCommunicate request_size=4 [00:34:32]MH_SAM_APDU [00:34:32]CAPDU: 80 0D 03 02 [00:34:32]Write to MH i2c: E2 08 00 6B 0B 80 0D 03 02 00 00 00 00 F1 [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:34:32]Read from MH i2c: E2 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 0B 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 0B 00 6B 0B 00 A4 FC F6 62 FD B1 75 34 90 00 41 [00:34:32]RAPDU: A4 FC F6 62 FD B1 75 34 90 00 [00:34:32]wFMCommunicate OK [00:34:32]SAM_PROTO_SignData done [00:34:32]FM_MakeSignedData done [00:34:32]CreateOFDProtocolMessage [00:34:32]wFMCommunicate request_size=4 [00:34:32]MH_SAM_APDU [00:34:32]CAPDU: 80 11 00 00 [00:34:32]Write to MH i2c: E2 08 00 6C 0B 80 11 00 00 00 00 00 00 F1 [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:32]Read from MH i2c: E2 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 17 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: E2 17 00 6C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 43 [00:34:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:34:32]wFMCommunicate OK [00:34:32]CreateOFDProtocolMessage done [00:34:32]OFDSenderStorePacket 47492 [00:34:32]StoreOFDPacket docnum=47492 [00:34:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 2C 80 1D 01 FE 0E 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 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 03 00 00 00 F4 03 04 00 18 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 84 B9 00 00 35 04 06 00 7A 0D 05 26 BC 99 A4 FC F6 62 FD B1 75 34 [00:34:32]CheckFolder [00:34:32]dirname=/storage/ofd_packets [00:34:32]CheckFolder done [00:34:32]ProducePacketName [00:34:32]name=ofd_packets/00047492 [00:34:32]NVStorageSaveData ofd_packets/00047492 [00:34:32]File name is /storage/ofd_packets/00047492 [00:34:32]Write 323 bytes [00:34:32]NVStorageSaveData done [00:34:32]OFDSenderStorePacket done [00:34:32]KKMCreateOFDPacket done [00:34:32]NVStorageSaveData kkm_last_timestamp [00:34:32]File name is /storage/kkm_last_timestamp [00:34:32]Write 4 bytes [00:34:32]NVStorageSaveData done [00:34:32]ExternCall_PrintAddStr [00:34:32]wPrintStart [00:34:32]Write to MH i2c: 01 00 00 6D 0B 78 [00:34:32]Write i2c OK [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: 01 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: 01 07 00 [00:34:32]MH_I2C_Read... [00:34:32]Read from MH i2c: 01 07 00 6D 0B 00 00 00 00 00 FF 0F 8D [00:34:32]RasterBufferAndPrint [00:34:32]line Счет N : (3)242401 [00:34:32]line ИНН: 02508201610067 [00:34:32]line Контрольно-Кассовый Чек [00:34:32]line ПРОДАЖА [00:34:32]line Товар: 48747059 [00:34:32]line Сигареты Winston Legend Blue [00:34:32]line 1.000 * 135.00 [00:34:32]line = 135.00 [00:34:32]line НДС 12% НСП 1% [00:34:32]line > о реализуемом товаре [00:34:32]line ИТОГО: 135.00 [00:34:32]line НСП 1% : 1.19 [00:34:32]line НДС 12% : 14.34 [00:34:32]line Наличными: 135.00 [00:34:32]line Безнал.: 0.00 [00:34:32]line Место: АЗС № 15 "Партнер Нефть" [00:34:32]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:34:32]line СНО: Общий режим [00:34:32]line Чек 3 14.03.2024 00:34 [00:34:32]line Смена: 317 ФФД: 1.0 [00:34:32]line ЗНМ: 0300000097 [00:34:32]line РНМ: 0000000000092018 [00:34:32]line Версия ККМ: 001 [00:34:32]line ФМ: 0000000000871816 [00:34:32]line ФД: 47492 [00:34:32]line ФПД: 134196339588249 [00:34:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T003432&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47492&fm=134196339588249&tin=02508201610067®Number=0000000000092018&sum=13500 [00:34:32]line 0 [00:34:32]OFD Sender: Processing packet 47492 [packets to send 8, broken 7] [00:34:32]ProducePacketName [00:34:32]name=ofd_packets/00047492 [00:34:32]OFD Sender: To server: pG, [00:34:32]CommunicateWithHost lk.salyk.kg:30040 [00:34:32]ConnectInit lk.salyk.kg [00:34:32]written 0, free lines is 4095 [00:34:32]Connected sock=10 [00:34:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 25 01 00 00 2C 80 1D 01 FE 0E 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 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 03 00 00 00 F4 03 04 00 18 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 84 B9 00 00 35 04 06 00 7A 0D 05 26 BC 99 A4 FC F6 62 FD B1 75 34 [00:34:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 45 39 47 00 48 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 84 B9 00 00 F4 03 04 00 A5 F0 F1 65 B6 04 01 00 00 AD 5D A0 AD A8 5D 4C A5 [00:34:33]CommunicateWithHost err = 0 [00:34:33]CheckOFDResponse [00:34:33]1017 (14) - 77093643461234 [00:34:33]1041 (16) - 0000000000871816 [00:34:33]1040 (4) - 47492 [00:34:33]1012 (4) - 13.03.2024 18:29 [00:34:33]1206 (1) - 0 [00:34:33]OFD Sender: Remove packet 47492 [00:34:33]ProducePacketName [00:34:33]name=ofd_packets/00047492 [00:34:33]NVStorageDeleteData [00:34:33]Write to MH i2c: 01 00 00 96 0B A1 [00:34:33]Write i2c OK [00:34:33]MH_I2C_Read... [00:34:33]Read from MH i2c: 01 [00:34:33]MH_I2C_Read... [00:34:33]Read from MH i2c: 01 07 00 [00:34:33]MH_I2C_Read... [00:34:33]Read from MH i2c: 01 07 00 96 0B 00 00 00 00 00 D4 0C 88 [00:34:33]RasterBufferAndPrint [00:34:33]line [00:34:33]line [00:34:33]line [00:34:33]line [00:34:33]line [00:34:33]written 0, free lines is 3290 [00:34:33]MH_Cut [00:34:33]Write to MH i2c: D1 01 00 9D 0B 01 7A [00:34:33]Write i2c OK [00:34:33]MH_I2C_Read... [00:34:33]Read from MH i2c: D1 [00:34:33]MH_I2C_Read... [00:34:33]Read from MH i2c: D1 01 00 [00:34:33]MH_I2C_Read... [00:34:33]Read from MH i2c: D1 01 00 9D 0B 00 79 [00:34:33]Write to MH i2c: 01 00 00 9E 0B A9 [00:34:33]Write i2c OK [00:34:33]MH_I2C_Read... [00:34:33]OFD Sender: No OFD packet to send [00:34:34]*** Cut start [00:34:34]*** Purtial cut [00:34:34]*** Stage 1: CUTSNS_PIN = 1 [00:34:34]Read from MH i2c: 01 [00:34:34]MH_I2C_Read... [00:34:34]*** Stop cut motor [00:34:34]*** Cut end [00:34:34]Read from MH i2c: 01 07 00 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: 01 07 00 9E 0B 00 00 00 00 00 FF 0F BE [00:34:34]process_action close_receipt done [00:34:34]requested_data is exist [00:34:34]produce_requested_data [00:34:34]requested_item fm.sn is exist - process it [00:34:34]wFMCommunicate request_size=4 [00:34:34]MH_SAM_APDU [00:34:34]CAPDU: 80 11 00 00 [00:34:34]Write to MH i2c: E2 08 00 9F 0B 80 11 00 00 00 00 00 00 24 [00:34:34]Write i2c OK [00:34:34]MH_I2C_Read... [00:34:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:34]Read from MH i2c: E2 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: E2 17 00 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: E2 17 00 9F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 76 [00:34:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:34:34]wFMCommunicate OK [00:34:34]requested_item fd.num is exist - process it [00:34:34]SAM_PROTO_GetFieldsCounters [00:34:34]wFMCommunicate request_size=4 [00:34:34]MH_SAM_APDU [00:34:34]CAPDU: 80 13 00 00 [00:34:34]Write to MH i2c: E2 08 00 A0 0B 80 13 00 00 00 00 00 00 27 [00:34:34]Write i2c OK [00:34:34]MH_I2C_Read... [00:34:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:34:34]Read from MH i2c: E2 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: E2 62 00 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: E2 62 00 A0 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 84 B9 00 00 0E 04 04 00 3D 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 C6 [00:34:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 84 B9 00 00 0E 04 04 00 3D 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:34:34]wFMCommunicate OK [00:34:34]SAM_PROTO_GetFieldsCounters done [00:34:34]requested_item shift.num is exist - process it [00:34:34]requested_item shift.opened is exist - process it [00:34:34]req_shift_opened [00:34:34]FM_GetShiftState [00:34:34]SAM_PROTO_GetShiftState [00:34:34]wFMCommunicate request_size=4 [00:34:34]MH_SAM_APDU [00:34:34]CAPDU: 80 13 01 00 [00:34:34]Write to MH i2c: E2 08 00 A1 0B 80 13 01 00 00 00 00 00 29 [00:34:34]Write i2c OK [00:34:34]MH_I2C_Read... [00:34:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:34]Read from MH i2c: E2 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: E2 0E 00 [00:34:34]MH_I2C_Read... [00:34:34]Read from MH i2c: E2 0E 00 A1 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 09 [00:34:34]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:34:34]wFMCommunicate OK [00:34:34]SAM_PROTO_GetShiftState done [00:34:34]FM_GetShiftState done [00:34:34]req_shift_opened done [00:34:34]requested_item shift.open_date is exist - process it [00:34:34]req_shift_open_date [00:34:34]req_shift_open_date done [00:34:34]produce_requested_data done [00:34:34]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47492,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [00:34:34]process_action_free close_receipt [00:34:34]json_value_free [00:34:34]json_value_free done [00:34:34]process_json_proto returns [00:34:34]Send response to host [00:34:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47492,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [00:34:34]free response buf [00:34:34]execute_script done [00:34:34]execute_script returns [00:34:34]free content buf [00:34:34]Sock 9.Close socket [00:34:34]Sock 9.Thread stoped [00:34:38]OFD Sender: No OFD packet to send [00:34:43]OFD Sender: No OFD packet to send [00:34:48]OFD Sender: No OFD packet to send [00:34:53]OFD Sender: No OFD packet to send [00:34:58]OFD Sender: No OFD packet to send [00:35:03]OFD Sender: No OFD packet to send [00:35:08]OFD Sender: No OFD packet to send [00:35:13]OFD Sender: No OFD packet to send [00:35:18]OFD Sender: No OFD packet to send [00:35:23]OFD Sender: No OFD packet to send [00:35:28]OFD Sender: No OFD packet to send [00:35:33]OFD Sender: No OFD packet to send [00:35:38]OFD Sender: No OFD packet to send [00:35:43]OFD Sender: No OFD packet to send [00:35:48]OFD Sender: No OFD packet to send [00:35:53]OFD Sender: No OFD packet to send [00:35:58]OFD Sender: No OFD packet to send [00:36:03]OFD Sender: No OFD packet to send [00:36:08]OFD Sender: No OFD packet to send [00:36:13]OFD Sender: No OFD packet to send [00:36:18]OFD Sender: No OFD packet to send [00:36:20]accept exits with 7 [00:36:20]New connection [00:36:20]New thread 3067030884 created [00:36:20]Thread 3067174244 joined [00:36:20]Waiting for new connection... [00:36:20] Sock 7.Parse request [00:36:20]Sock 7.Check first char [00:36:20]Sock 7.First char is OK [00:36:20]request: POST /json_proto HTTP/1.0 [00:36:20]Method: POST [00:36:20]URL: /json_proto [00:36:20]Method is POST - this is cgi request [00:36:20]url: /json_proto [00:36:20]query_string will be loaded in cgi processing [00:36:20]execute_cgi json_proto POST (null) [00:36:20]execute_cgi path=json_proto method=POST [00:36:20]POST find Content-Length [00:36:20]Host: 172.17.32.68:8080 [00:36:20]Content-Length: 968 [00:36:20]Content-Type: application/json [00:36:20] [00:36:20]POST finish read [00:36:20]Found Content-Length = 968 [00:36:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242402", "tax_sys" : 0, "items" : [ { "code": "2000151200112", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043B\u043E\u0439\u043A\u0430 \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 55.00, "quantity" : 3.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:36:20]execute_script... [00:36:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242402", "tax_sys" : 0, "items" : [ { "code": "2000151200112", "name": "\u0410\u041A\u0426\u0418\u042F \u0421\u043B\u043E\u0439\u043A\u0430 \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 55.00, "quantity" : 3.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:36:20]POST & json_proto [00:36:20]process_json_proto [00:36:20]json parsed OK: [00:36:20]protocol is kg_v1.0 [00:36:20]action value=close_receipt [00:36:20]process_action close_receipt [00:36:20]cmd_close_receipt [00:36:20]MH_GetDate [00:36:20]Write to MH i2c: F0 00 00 A2 0B 9C [00:36:20]Write i2c OK [00:36:20]MH_I2C_Read... [00:36:20]Read from MH i2c: F0 [00:36:20]MH_I2C_Read... [00:36:20]Read from MH i2c: F0 09 00 [00:36:20]MH_I2C_Read... [00:36:20]Read from MH i2c: F0 09 00 A2 0B 00 85 46 F2 65 0A 64 6E 65 08 [00:36:20]GetLastDocTimeStamp 1710376472 [00:36:20]current date 1710376581 [00:36:20]FM_GetShiftState [00:36:20]SAM_PROTO_GetShiftState [00:36:20]wFMCommunicate request_size=4 [00:36:20]MH_SAM_APDU [00:36:20]CAPDU: 80 13 01 00 [00:36:20]Write to MH i2c: E2 08 00 A3 0B 80 13 01 00 00 00 00 00 2B [00:36:20]Write i2c OK [00:36:20]MH_I2C_Read... [00:36:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:36:20]Read from MH i2c: E2 [00:36:20]MH_I2C_Read... [00:36:20]Read from MH i2c: E2 0E 00 [00:36:20]MH_I2C_Read... [00:36:20]Read from MH i2c: E2 0E 00 A3 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 0B [00:36:20]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:36:20]wFMCommunicate OK [00:36:20]SAM_PROTO_GetShiftState done [00:36:20]FM_GetShiftState done [00:36:20]opened in 1710375228 [00:36:20]opened+sec_in_day 1710461628 [00:36:20]quantity*price = 16500 [00:36:20]sum+1 = 16501 [00:36:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 295.00 НСП 1% : 2.61 НДС 12% : 31.32 Наличными: 295.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 4 14.03.2024 00:36 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47493 ФПД: 218062274323908 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T003621&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47493&fm=218062274323908&tin=02508201610067®Number=0000000000092018&sum=29500 0 [00:36:21]StoreToDocumentArchive [00:36:21]shift 317 fd 47493 [00:36:21]save to /storage/0317/doc_00047493 [00:36:21]save last doc name /storage/0317/doc_00047493 to /storage/kkm_last_doc_name [00:36:21]save OK [00:36:21]Clear old archive folders... [00:36:21]ProcessDocumentItem done err = 0, tmpTLVsize=403 [00:36:21]tlvbuf is 011BDC90 [00:36:21]SAM_PROTO_ClearQueue [00:36:21]wFMCommunicate request_size=4 [00:36:21]MH_SAM_APDU [00:36:21]CAPDU: 80 09 00 00 [00:36:21]Write to MH i2c: E2 08 00 B0 0B 80 09 00 00 00 00 00 00 2D [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:36:21]Read from MH i2c: E2 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 B0 0B 00 90 00 2F [00:36:21]RAPDU: 90 00 [00:36:21]wFMCommunicate OK [00:36:21]SAM_PROTO_ClearQueue done [00:36:21]KKMCreateOFDPacket [00:36:21]OFDProtocolAddRootSTLVToBuf [00:36:21]FM_MakeSignedData [00:36:21]FM_MakeSignedData [00:36:21]SAM_PROTO_SignData [00:36:21]wFMCommunicate request_size=4 [00:36:21]MH_SAM_APDU [00:36:21]CAPDU: 80 0D 01 02 [00:36:21]Write to MH i2c: E2 08 00 B1 0B 80 0D 01 02 00 00 00 00 35 [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:36:21]Read from MH i2c: E2 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 B1 0B 00 90 00 30 [00:36:21]RAPDU: 90 00 [00:36:21]wFMCommunicate OK [00:36:21]wFMCommunicate request_size=255 [00:36:21]MH_SAM_APDU [00:36:21]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 [00:36:21]Write to MH i2c: E2 02 01 B2 0B 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 5F [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:36:21]Read from MH i2c: E2 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 B2 0B 00 90 00 31 [00:36:21]RAPDU: 90 00 [00:36:21]wFMCommunicate OK [00:36:21]wFMCommunicate request_size=162 [00:36:21]MH_SAM_APDU [00:36:21]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 85 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 85 B9 00 00 35 04 06 00 C6 53 94 66 65 C4 [00:36:21]Write to MH i2c: E2 A5 00 B3 0B 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 85 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 85 B9 00 00 35 04 06 00 C6 53 94 66 65 C4 00 00 84 [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:36:21]Read from MH i2c: E2 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 03 00 B3 0B 00 90 00 32 [00:36:21]RAPDU: 90 00 [00:36:21]wFMCommunicate OK [00:36:21]wFMCommunicate request_size=4 [00:36:21]MH_SAM_APDU [00:36:21]CAPDU: 80 0D 03 02 [00:36:21]Write to MH i2c: E2 08 00 B4 0B 80 0D 03 02 00 00 00 00 3A [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:36:21]Read from MH i2c: E2 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 0B 00 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 0B 00 B4 0B 00 C6 24 02 6A B8 E2 F0 01 90 00 1C [00:36:21]RAPDU: C6 24 02 6A B8 E2 F0 01 90 00 [00:36:21]wFMCommunicate OK [00:36:21]SAM_PROTO_SignData done [00:36:21]FM_MakeSignedData done [00:36:21]CreateOFDProtocolMessage [00:36:21]wFMCommunicate request_size=4 [00:36:21]MH_SAM_APDU [00:36:21]CAPDU: 80 11 00 00 [00:36:21]Write to MH i2c: E2 08 00 B5 0B 80 11 00 00 00 00 00 00 3A [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:36:21]Read from MH i2c: E2 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 17 00 [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: E2 17 00 B5 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 8C [00:36:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:36:21]wFMCommunicate OK [00:36:21]CreateOFDProtocolMessage done [00:36:21]OFDSenderStorePacket 47493 [00:36:21]StoreOFDPacket docnum=47493 [00:36:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A7 01 00 00 3C A9 9F 01 FF 60 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 85 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 85 B9 00 00 35 04 06 00 C6 53 94 66 65 C4 C6 24 02 6A B8 E2 F0 01 [00:36:21]CheckFolder [00:36:21]dirname=/storage/ofd_packets [00:36:21]CheckFolder done [00:36:21]ProducePacketName [00:36:21]name=ofd_packets/00047493 [00:36:21]NVStorageSaveData ofd_packets/00047493 [00:36:21]File name is /storage/ofd_packets/00047493 [00:36:21]Write 453 bytes [00:36:21]NVStorageSaveData done [00:36:21]OFDSenderStorePacket done [00:36:21]KKMCreateOFDPacket done [00:36:21]NVStorageSaveData kkm_last_timestamp [00:36:21]File name is /storage/kkm_last_timestamp [00:36:21]Write 4 bytes [00:36:21]NVStorageSaveData done [00:36:21]ExternCall_PrintAddStr [00:36:21]wPrintStart [00:36:21]Write to MH i2c: 01 00 00 B6 0B C1 [00:36:21]Write i2c OK [00:36:21]MH_I2C_Read... [00:36:21]Read from MH i2c: 01 [00:36:22]MH_I2C_Read... [00:36:22]OFD Sender: Processing packet 47493 [packets to send 8, broken 7] [00:36:22]ProducePacketName [00:36:22]name=ofd_packets/00047493 [00:36:22]OFD Sender: To server: pG, [00:36:22]CommunicateWithHost lk.salyk.kg:30040 [00:36:22]ConnectInit lk.salyk.kg [00:36:22]Read from MH i2c: 01 07 00 [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: 01 07 00 B6 0B 00 00 00 00 00 FF 0F D6 [00:36:22]RasterBufferAndPrint [00:36:22]line Счет N : (3)242402 [00:36:22]line ИНН: 02508201610067 [00:36:22]line Контрольно-Кассовый Чек [00:36:22]line ПРОДАЖА [00:36:22]line Товар: 2000151200112 [00:36:22]line АКЦИЯ Слойка треугольная курица 110г [00:36:22]line 3.000 * 55.00 [00:36:22]line = 165.00 [00:36:22]line НДС 12% НСП 1% [00:36:22]line > о реализуемом товаре [00:36:22]line Товар: 4870001570071 [00:36:22]line Напиток Pepsi 1л [00:36:22]line 1.000 * 130.00 [00:36:22]line = 130.00 [00:36:22]line НДС 12% НСП 1% [00:36:22]line > о реализуемом товаре [00:36:22]line ИТОГО: 295.00 [00:36:22]line НСП 1% : 2.61 [00:36:22]line НДС 12% : 31.32 [00:36:22]line Наличными: 295.00 [00:36:22]line Безнал.: 0.00 [00:36:22]line Место: АЗС № 15 "Партнер Нефть" [00:36:22]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:36:22]line СНО: Общий режим [00:36:22]line Чек 4 14.03.2024 00:36 [00:36:22]line Смена: 317 ФФД: 1.0 [00:36:22]line ЗНМ: 0300000097 [00:36:22]line РНМ: 0000000000092018 [00:36:22]line Версия ККМ: 001 [00:36:22]line ФМ: 0000000000871816 [00:36:22]line ФД: 47493 [00:36:22]line ФПД: 218062274323908 [00:36:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T003621&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47493&fm=218062274323908&tin=02508201610067®Number=0000000000092018&sum=29500 [00:36:22]line 0 [00:36:22]written 0, free lines is 4095 [00:36:22]Connected sock=10 [00:36:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 A7 01 00 00 3C A9 9F 01 FF 60 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 31 35 31 32 30 30 31 31 32 06 04 41 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 85 46 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 85 B9 00 00 35 04 06 00 C6 53 94 66 65 C4 C6 24 02 6A B8 E2 F0 01 [00:36:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 55 FE 47 00 F2 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 85 B9 00 00 F4 03 04 00 12 F1 F1 65 B6 04 01 00 00 22 03 A8 4E 73 98 7F 7A [00:36:22]CommunicateWithHost err = 0 [00:36:22]CheckOFDResponse [00:36:22]1017 (14) - 77093643461234 [00:36:22]1041 (16) - 0000000000871816 [00:36:22]1040 (4) - 47493 [00:36:22]1012 (4) - 13.03.2024 18:31 [00:36:22]1206 (1) - 0 [00:36:22]OFD Sender: Remove packet 47493 [00:36:22]ProducePacketName [00:36:22]name=ofd_packets/00047493 [00:36:22]NVStorageDeleteData [00:36:22]Write to MH i2c: 01 00 00 E5 0B F0 [00:36:22]Write i2c OK [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: 01 [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: 01 07 00 [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: 01 07 00 E5 0B 00 00 00 00 00 8C 0C 8F [00:36:22]RasterBufferAndPrint [00:36:22]line [00:36:22]line [00:36:22]line [00:36:22]line [00:36:22]line [00:36:22]written 0, free lines is 3220 [00:36:22]MH_Cut [00:36:22]Write to MH i2c: D1 01 00 EC 0B 01 C9 [00:36:22]Write i2c OK [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: D1 [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: D1 01 00 [00:36:22]MH_I2C_Read... [00:36:22]Read from MH i2c: D1 01 00 EC 0B 00 C8 [00:36:22]Write to MH i2c: 01 00 00 ED 0B F8 [00:36:22]Write i2c OK [00:36:22]MH_I2C_Read... [00:36:22]OFD Sender: No OFD packet to send [00:36:23]*** Cut start [00:36:23]*** Purtial cut [00:36:23]*** Stage 1: CUTSNS_PIN = 1 [00:36:23]Read from MH i2c: 01 [00:36:23]MH_I2C_Read... [00:36:23]*** Stop cut motor [00:36:23]*** Cut end [00:36:23]Read from MH i2c: 01 07 00 [00:36:23]MH_I2C_Read... [00:36:23]Read from MH i2c: 01 07 00 ED 0B 00 00 00 00 00 FF 0F 0D [00:36:23]process_action close_receipt done [00:36:23]requested_data is exist [00:36:23]produce_requested_data [00:36:23]requested_item fm.sn is exist - process it [00:36:23]wFMCommunicate request_size=4 [00:36:23]MH_SAM_APDU [00:36:23]CAPDU: 80 11 00 00 [00:36:23]Write to MH i2c: E2 08 00 EE 0B 80 11 00 00 00 00 00 00 73 [00:36:23]Write i2c OK [00:36:23]MH_I2C_Read... [00:36:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:36:23]Read from MH i2c: E2 [00:36:23]MH_I2C_Read... [00:36:23]Read from MH i2c: E2 17 00 [00:36:23]MH_I2C_Read... [00:36:23]Read from MH i2c: E2 17 00 EE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 C5 [00:36:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:36:23]wFMCommunicate OK [00:36:23]requested_item fd.num is exist - process it [00:36:23]SAM_PROTO_GetFieldsCounters [00:36:23]wFMCommunicate request_size=4 [00:36:23]MH_SAM_APDU [00:36:23]CAPDU: 80 13 00 00 [00:36:23]Write to MH i2c: E2 08 00 EF 0B 80 13 00 00 00 00 00 00 76 [00:36:23]Write i2c OK [00:36:23]MH_I2C_Read... [00:36:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:36:24]Read from MH i2c: E2 [00:36:24]MH_I2C_Read... [00:36:24]Read from MH i2c: E2 62 00 [00:36:24]MH_I2C_Read... [00:36:24]Read from MH i2c: E2 62 00 EF 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 85 B9 00 00 0E 04 04 00 3D 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 19 [00:36:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 85 B9 00 00 0E 04 04 00 3D 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 [00:36:24]wFMCommunicate OK [00:36:24]SAM_PROTO_GetFieldsCounters done [00:36:24]requested_item shift.num is exist - process it [00:36:24]requested_item shift.opened is exist - process it [00:36:24]req_shift_opened [00:36:24]FM_GetShiftState [00:36:24]SAM_PROTO_GetShiftState [00:36:24]wFMCommunicate request_size=4 [00:36:24]MH_SAM_APDU [00:36:24]CAPDU: 80 13 01 00 [00:36:24]Write to MH i2c: E2 08 00 F0 0B 80 13 01 00 00 00 00 00 78 [00:36:24]Write i2c OK [00:36:24]MH_I2C_Read... [00:36:24]Read from MH i2c: E2 [00:36:24]MH_I2C_Read... [00:36:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:36:24]Read from MH i2c: E2 0E 00 [00:36:24]MH_I2C_Read... [00:36:24]Read from MH i2c: E2 0E 00 F0 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 58 [00:36:24]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:36:24]wFMCommunicate OK [00:36:24]SAM_PROTO_GetShiftState done [00:36:24]FM_GetShiftState done [00:36:24]req_shift_opened done [00:36:24]requested_item shift.open_date is exist - process it [00:36:24]req_shift_open_date [00:36:24]req_shift_open_date done [00:36:24]produce_requested_data done [00:36:24]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47493,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [00:36:24]process_action_free close_receipt [00:36:24]json_value_free [00:36:24]json_value_free done [00:36:24]process_json_proto returns [00:36:24]Send response to host [00:36:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47493,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [00:36:24]free response buf [00:36:24]execute_script done [00:36:24]execute_script returns [00:36:24]free content buf [00:36:24]Sock 7.Close socket [00:36:24]Sock 7.Thread stoped [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:43]OFD Sender: No OFD packet to send [00:36:48]OFD Sender: No OFD packet to send [00:36:53]OFD Sender: No OFD packet to send [00:36:58]OFD Sender: No OFD packet to send [00:37:03]OFD Sender: No OFD packet to send [00:37:08]OFD Sender: No OFD packet to send [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:04]accept exits with 9 [00:40:04]New connection [00:40:04]New thread 3067174244 created [00:40:04]Thread 3067030884 joined [00:40:04]Waiting for new connection... [00:40:04] Sock 9.Parse request [00:40:04]Sock 9.Check first char [00:40:04]Sock 9.First char is OK [00:40:04]request: POST /json_proto HTTP/1.0 [00:40:04]Method: POST [00:40:04]URL: /json_proto [00:40:04]Method is POST - this is cgi request [00:40:04]url: /json_proto [00:40:04]query_string will be loaded in cgi processing [00:40:04]execute_cgi json_proto POST (null) [00:40:04]execute_cgi path=json_proto method=POST [00:40:04]POST find Content-Length [00:40:04]Host: 172.17.32.68:8080 [00:40:04]Content-Length: 632 [00:40:04]Content-Type: application/json [00:40:04] [00:40:04]POST finish read [00:40:04]Found Content-Length = 632 [00:40:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242403", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:40:04]execute_script... [00:40:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242403", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:40:04]POST & json_proto [00:40:04]process_json_proto [00:40:04]json parsed OK: [00:40:04]protocol is kg_v1.0 [00:40:04]action value=close_receipt [00:40:04]process_action close_receipt [00:40:04]cmd_close_receipt [00:40:04]MH_GetDate [00:40:04]Write to MH i2c: F0 00 00 F1 0B EB [00:40:04]Write i2c OK [00:40:04]MH_I2C_Read... [00:40:04]Read from MH i2c: F0 [00:40:04]MH_I2C_Read... [00:40:04]Read from MH i2c: F0 09 00 [00:40:04]MH_I2C_Read... [00:40:04]Read from MH i2c: F0 09 00 F1 0B 00 66 47 F2 65 0A 64 6E 65 39 [00:40:04]GetLastDocTimeStamp 1710376581 [00:40:04]current date 1710376806 [00:40:04]FM_GetShiftState [00:40:04]SAM_PROTO_GetShiftState [00:40:04]wFMCommunicate request_size=4 [00:40:04]MH_SAM_APDU [00:40:04]CAPDU: 80 13 01 00 [00:40:04]Write to MH i2c: E2 08 00 F2 0B 80 13 01 00 00 00 00 00 7A [00:40:04]Write i2c OK [00:40:04]MH_I2C_Read... [00:40:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:40:04]Read from MH i2c: E2 [00:40:04]MH_I2C_Read... [00:40:04]Read from MH i2c: E2 0E 00 [00:40:04]MH_I2C_Read... [00:40:04]Read from MH i2c: E2 0E 00 F2 0B 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 5A [00:40:04]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:40:04]wFMCommunicate OK [00:40:04]SAM_PROTO_GetShiftState done [00:40:04]FM_GetShiftState done [00:40:04]opened in 1710375228 [00:40:04]opened+sec_in_day 1710461628 [00:40:04]quantity*price = 4000 [00:40:04]sum+1 = 4001 [00:40:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 5 14.03.2024 00:40 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47494 ФПД: 126853773835668 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T004006&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47494&fm=126853773835668&tin=02508201610067®Number=0000000000092018&sum=4000 0 [00:40:06]StoreToDocumentArchive [00:40:06]shift 317 fd 47494 [00:40:06]save to /storage/0317/doc_00047494 [00:40:06]save last doc name /storage/0317/doc_00047494 to /storage/kkm_last_doc_name [00:40:06]save OK [00:40:06]Clear old archive folders... [00:40:06]ProcessDocumentItem done err = 0, tmpTLVsize=271 [00:40:06]tlvbuf is 011C7F00 [00:40:06]SAM_PROTO_ClearQueue [00:40:06]wFMCommunicate request_size=4 [00:40:06]MH_SAM_APDU [00:40:06]CAPDU: 80 09 00 00 [00:40:06]Write to MH i2c: E2 08 00 FF 0B 80 09 00 00 00 00 00 00 7C [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:40:06]Read from MH i2c: E2 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 FF 0B 00 90 00 7E [00:40:06]RAPDU: 90 00 [00:40:06]wFMCommunicate OK [00:40:06]SAM_PROTO_ClearQueue done [00:40:06]KKMCreateOFDPacket [00:40:06]OFDProtocolAddRootSTLVToBuf [00:40:06]FM_MakeSignedData [00:40:06]FM_MakeSignedData [00:40:06]SAM_PROTO_SignData [00:40:06]wFMCommunicate request_size=4 [00:40:06]MH_SAM_APDU [00:40:06]CAPDU: 80 0D 01 02 [00:40:06]Write to MH i2c: E2 08 00 00 0C 80 0D 01 02 00 00 00 00 85 [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:40:06]Read from MH i2c: E2 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 00 0C 00 90 00 80 [00:40:06]RAPDU: 90 00 [00:40:06]wFMCommunicate OK [00:40:06]wFMCommunicate request_size=255 [00:40:06]MH_SAM_APDU [00:40:06]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 66 47 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [00:40:06]Write to MH i2c: E2 02 01 01 0C 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 66 47 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 AC [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:40:06]Read from MH i2c: E2 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 01 0C 00 90 00 81 [00:40:06]RAPDU: 90 00 [00:40:06]wFMCommunicate OK [00:40:06]wFMCommunicate request_size=30 [00:40:06]MH_SAM_APDU [00:40:06]CAPDU: 80 0D 02 02 19 30 38 37 31 38 31 36 10 04 04 00 86 B9 00 00 35 04 06 00 73 5F 72 20 BD 94 [00:40:06]Write to MH i2c: E2 21 00 02 0C 80 0D 02 02 19 00 30 38 37 31 38 31 36 10 04 04 00 86 B9 00 00 35 04 06 00 73 5F 72 20 BD 94 00 00 74 [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:40:06]Read from MH i2c: E2 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 03 00 02 0C 00 90 00 82 [00:40:06]RAPDU: 90 00 [00:40:06]wFMCommunicate OK [00:40:06]wFMCommunicate request_size=4 [00:40:06]MH_SAM_APDU [00:40:06]CAPDU: 80 0D 03 02 [00:40:06]Write to MH i2c: E2 08 00 03 0C 80 0D 03 02 00 00 00 00 8A [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:40:06]Read from MH i2c: E2 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 0B 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 0B 00 03 0C 00 27 1B 4F D4 17 29 07 6B 90 00 A2 [00:40:06]RAPDU: 27 1B 4F D4 17 29 07 6B 90 00 [00:40:06]wFMCommunicate OK [00:40:06]SAM_PROTO_SignData done [00:40:06]FM_MakeSignedData done [00:40:06]CreateOFDProtocolMessage [00:40:06]wFMCommunicate request_size=4 [00:40:06]MH_SAM_APDU [00:40:06]CAPDU: 80 11 00 00 [00:40:06]Write to MH i2c: E2 08 00 04 0C 80 11 00 00 00 00 00 00 8A [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:40:06]Read from MH i2c: E2 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 17 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: E2 17 00 04 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 DC [00:40:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:40:06]wFMCommunicate OK [00:40:06]CreateOFDProtocolMessage done [00:40:06]OFDSenderStorePacket 47494 [00:40:06]StoreOFDPacket docnum=47494 [00:40:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 7B 44 1B 01 58 F1 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 66 47 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 86 B9 00 00 35 04 06 00 73 5F 72 20 BD 94 27 1B 4F D4 17 29 07 6B [00:40:06]CheckFolder [00:40:06]dirname=/storage/ofd_packets [00:40:06]CheckFolder done [00:40:06]ProducePacketName [00:40:06]name=ofd_packets/00047494 [00:40:06]NVStorageSaveData ofd_packets/00047494 [00:40:06]File name is /storage/ofd_packets/00047494 [00:40:06]Write 321 bytes [00:40:06]NVStorageSaveData done [00:40:06]OFDSenderStorePacket done [00:40:06]KKMCreateOFDPacket done [00:40:06]NVStorageSaveData kkm_last_timestamp [00:40:06]File name is /storage/kkm_last_timestamp [00:40:06]Write 4 bytes [00:40:06]NVStorageSaveData done [00:40:06]ExternCall_PrintAddStr [00:40:06]wPrintStart [00:40:06]Write to MH i2c: 01 00 00 05 0C 11 [00:40:06]Write i2c OK [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: 01 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: 01 07 00 [00:40:06]MH_I2C_Read... [00:40:06]Read from MH i2c: 01 07 00 05 0C 00 00 00 00 00 FF 0F 26 [00:40:06]RasterBufferAndPrint [00:40:06]line Счет N : (3)242403 [00:40:06]line ИНН: 02508201610067 [00:40:06]line Контрольно-Кассовый Чек [00:40:06]line ПРОДАЖА [00:40:06]line Товар: 4700000160211 [00:40:06]line Вода Легенда 0,5л [00:40:06]line 1.000 * 40.00 [00:40:06]line = 40.00 [00:40:06]line НДС 12% НСП 1% [00:40:06]line > о реализуемом товаре [00:40:06]line ИТОГО: 40.00 [00:40:06]line НСП 1% : 0.35 [00:40:06]line НДС 12% : 4.25 [00:40:06]line Наличными: 40.00 [00:40:06]line Безнал.: 0.00 [00:40:06]line Место: АЗС № 15 "Партнер Нефть" [00:40:06]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [00:40:06]line СНО: Общий режим [00:40:06]line Чек 5 14.03.2024 00:40 [00:40:06]line Смена: 317 ФФД: 1.0 [00:40:06]line ЗНМ: 0300000097 [00:40:06]line РНМ: 0000000000092018 [00:40:06]line Версия ККМ: 001 [00:40:06]line ФМ: 0000000000871816 [00:40:06]line ФД: 47494 [00:40:06]line ФПД: 126853773835668 [00:40:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T004006&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47494&fm=126853773835668&tin=02508201610067®Number=0000000000092018&sum=4000 [00:40:06]line 0 [00:40:06]OFD Sender: Processing packet 47494 [packets to send 8, broken 7] [00:40:06]ProducePacketName [00:40:06]name=ofd_packets/00047494 [00:40:06]OFD Sender: To server: pG, [00:40:06]CommunicateWithHost lk.salyk.kg:30040 [00:40:06]ConnectInit lk.salyk.kg [00:40:07]written 0, free lines is 4095 [00:40:07]Connected sock=10 [00:40:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 23 01 00 00 7B 44 1B 01 58 F1 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 66 47 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 86 B9 00 00 35 04 06 00 73 5F 72 20 BD 94 27 1B 4F D4 17 29 07 6B [00:40:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 B5 0F 47 00 8C 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 86 B9 00 00 F4 03 04 00 F3 F1 F1 65 B6 04 01 00 00 6B 29 76 83 85 7D 8D BA [00:40:07]CommunicateWithHost err = 0 [00:40:07]CheckOFDResponse [00:40:07]1017 (14) - 77093643461234 [00:40:07]1041 (16) - 0000000000871816 [00:40:07]1040 (4) - 47494 [00:40:07]1012 (4) - 13.03.2024 18:35 [00:40:07]1206 (1) - 0 [00:40:07]OFD Sender: Remove packet 47494 [00:40:07]ProducePacketName [00:40:07]name=ofd_packets/00047494 [00:40:07]NVStorageDeleteData [00:40:07]Write to MH i2c: 01 00 00 2D 0C 39 [00:40:07]Write i2c OK [00:40:07]MH_I2C_Read... [00:40:07]Read from MH i2c: 01 [00:40:07]MH_I2C_Read... [00:40:07]Read from MH i2c: 01 07 00 [00:40:07]MH_I2C_Read... [00:40:07]Read from MH i2c: 01 07 00 2D 0C 00 00 00 00 00 F7 0C 43 [00:40:07]RasterBufferAndPrint [00:40:07]line [00:40:07]line [00:40:07]line [00:40:07]line [00:40:07]line [00:40:07]written 0, free lines is 3328 [00:40:07]MH_Cut [00:40:07]Write to MH i2c: D1 01 00 34 0C 01 12 [00:40:07]Write i2c OK [00:40:07]MH_I2C_Read... [00:40:07]Read from MH i2c: D1 [00:40:07]MH_I2C_Read... [00:40:07]Read from MH i2c: D1 01 00 [00:40:07]MH_I2C_Read... [00:40:07]Read from MH i2c: D1 01 00 34 0C 00 11 [00:40:07]Write to MH i2c: 01 00 00 35 0C 41 [00:40:07]Write i2c OK [00:40:07]MH_I2C_Read... [00:40:07]OFD Sender: No OFD packet to send [00:40:08]*** Cut start [00:40:08]*** Purtial cut [00:40:08]*** Stage 1: CUTSNS_PIN = 1 [00:40:08]Read from MH i2c: 01 [00:40:08]MH_I2C_Read... [00:40:08]*** Stop cut motor [00:40:08]*** Cut end [00:40:08]Read from MH i2c: 01 07 00 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: 01 07 00 35 0C 00 00 00 00 00 FF 0F 56 [00:40:08]process_action close_receipt done [00:40:08]requested_data is exist [00:40:08]produce_requested_data [00:40:08]requested_item fm.sn is exist - process it [00:40:08]wFMCommunicate request_size=4 [00:40:08]MH_SAM_APDU [00:40:08]CAPDU: 80 11 00 00 [00:40:08]Write to MH i2c: E2 08 00 36 0C 80 11 00 00 00 00 00 00 BC [00:40:08]Write i2c OK [00:40:08]MH_I2C_Read... [00:40:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:40:08]Read from MH i2c: E2 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: E2 17 00 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: E2 17 00 36 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 0E [00:40:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [00:40:08]wFMCommunicate OK [00:40:08]requested_item fd.num is exist - process it [00:40:08]SAM_PROTO_GetFieldsCounters [00:40:08]wFMCommunicate request_size=4 [00:40:08]MH_SAM_APDU [00:40:08]CAPDU: 80 13 00 00 [00:40:08]Write to MH i2c: E2 08 00 37 0C 80 13 00 00 00 00 00 00 BF [00:40:08]Write i2c OK [00:40:08]MH_I2C_Read... [00:40:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:40:08]Read from MH i2c: E2 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: E2 62 00 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: E2 62 00 37 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 86 B9 00 00 0E 04 04 00 3D 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 66 [00:40:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 86 B9 00 00 0E 04 04 00 3D 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 [00:40:08]wFMCommunicate OK [00:40:08]SAM_PROTO_GetFieldsCounters done [00:40:08]requested_item shift.num is exist - process it [00:40:08]requested_item shift.opened is exist - process it [00:40:08]req_shift_opened [00:40:08]FM_GetShiftState [00:40:08]SAM_PROTO_GetShiftState [00:40:08]wFMCommunicate request_size=4 [00:40:08]MH_SAM_APDU [00:40:08]CAPDU: 80 13 01 00 [00:40:08]Write to MH i2c: E2 08 00 38 0C 80 13 01 00 00 00 00 00 C1 [00:40:08]Write i2c OK [00:40:08]MH_I2C_Read... [00:40:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:40:08]Read from MH i2c: E2 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: E2 0E 00 [00:40:08]MH_I2C_Read... [00:40:08]Read from MH i2c: E2 0E 00 38 0C 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 A1 [00:40:08]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [00:40:08]wFMCommunicate OK [00:40:08]SAM_PROTO_GetShiftState done [00:40:08]FM_GetShiftState done [00:40:08]req_shift_opened done [00:40:08]requested_item shift.open_date is exist - process it [00:40:08]req_shift_open_date [00:40:08]req_shift_open_date done [00:40:08]produce_requested_data done [00:40:08]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47494,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [00:40:08]process_action_free close_receipt [00:40:08]json_value_free [00:40:08]json_value_free done [00:40:08]process_json_proto returns [00:40:08]Send response to host [00:40:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47494,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [00:40:08]free response buf [00:40:08]execute_script done [00:40:08]execute_script returns [00:40:08]free content buf [00:40:08]Sock 9.Close socket [00:40:08]Sock 9.Thread stoped [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:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:44]OFD Sender: No OFD packet to send [01:18:49]OFD Sender: No OFD packet to send [01:18:54]OFD Sender: No OFD packet to send [01:18:59]OFD Sender: No OFD packet to send [01:19:04]OFD Sender: No OFD packet to send [01:19:09]OFD Sender: No OFD packet to send [01:19:14]OFD Sender: No OFD packet to send [01:19:19]OFD Sender: No OFD packet to send [01:19:24]OFD Sender: No OFD packet to send [01:19:29]OFD Sender: No OFD packet to send [01:19:34]OFD Sender: No OFD packet to send [01:19:39]OFD Sender: No OFD packet to send [01:19:44]OFD Sender: No OFD packet to send [01:19:49]OFD Sender: No OFD packet to send [01:19:54]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:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:55]OFD Sender: No OFD packet to send [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]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:10]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01: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: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:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11:02]OFD Sender: No OFD packet to send [02:11:07]OFD Sender: No OFD packet to send [02:11:12]OFD Sender: No OFD packet to send [02:11:17]OFD Sender: No OFD packet to send [02:11:22]OFD Sender: No OFD packet to send [02:11:27]OFD Sender: No OFD packet to send [02:11:32]OFD Sender: No OFD packet to send [02:11:37]OFD Sender: No OFD packet to send [02:11:42]OFD Sender: No OFD packet to send [02:11:47]OFD Sender: No OFD packet to send [02:11:51]ConnectInit Can't connect to host [02:11:52]OFD Sender: No OFD packet to send [02:11:57]OFD Sender: No OFD packet to send [02:12:02]OFD Sender: No OFD packet to send [02:12:07]OFD Sender: No OFD packet to send [02:12:12]OFD Sender: No OFD packet to send [02:12:17]OFD Sender: No OFD packet to send [02:12:22]OFD Sender: No OFD packet to send [02:12:27]OFD Sender: No OFD packet to send [02:12:32]OFD Sender: No OFD packet to send [02:12:37]OFD Sender: No OFD packet to send [02:12:42]OFD Sender: No OFD packet to send [02:12:47]OFD Sender: No OFD packet to send [02:12:52]OFD Sender: No OFD packet to send [02:12:57]OFD Sender: No OFD packet to send [02:13:02]OFD Sender: No OFD packet to send [02:13:07]OFD Sender: No OFD packet to send [02:13:12]OFD Sender: No OFD packet to send [02:13:17]OFD Sender: No OFD packet to send [02:13:22]OFD Sender: No OFD packet to send [02:13:27]OFD Sender: No OFD packet to send [02:13:32]OFD Sender: No OFD packet to send [02:13:37]OFD Sender: No OFD packet to send [02:13:42]OFD Sender: No OFD packet to send [02:13:47]OFD Sender: No OFD packet to send [02:13:52]OFD Sender: No OFD packet to send [02:13:57]OFD Sender: No OFD packet to send [02:14:02]OFD Sender: No OFD packet to send [02:14:07]OFD Sender: No OFD packet to send [02:14:12]OFD Sender: No OFD packet to send [02:14:17]OFD Sender: No OFD packet to send [02:14:22]OFD Sender: No OFD packet to send [02:14:27]OFD Sender: No OFD packet to send [02:14:32]OFD Sender: No OFD packet to send [02:14:37]OFD Sender: No OFD packet to send [02:14:42]OFD Sender: No OFD packet to send [02:14:47]OFD Sender: No OFD packet to send [02:14:52]OFD Sender: No OFD packet to send [02:14:57]OFD Sender: No OFD packet to send [02:15:02]OFD Sender: No OFD packet to send [02:15:07]OFD Sender: No OFD packet to send [02:15:12]OFD Sender: No OFD packet to send [02:15:17]OFD Sender: No OFD packet to send [02:15:22]OFD Sender: No OFD packet to send [02:15:27]OFD Sender: No OFD packet to send [02:15:32]OFD Sender: No OFD packet to send [02:15:37]OFD Sender: No OFD packet to send [02:15:42]OFD Sender: No OFD packet to send [02:15:47]OFD Sender: No OFD packet to send [02:15:52]OFD Sender: No OFD packet to send [02:15:57]OFD Sender: No OFD packet to send [02:16:02]OFD Sender: No OFD packet to send [02:16:07]OFD Sender: No OFD packet to send [02:16:12]OFD Sender: No OFD packet to send [02:16:17]OFD Sender: No OFD packet to send [02:16:22]OFD Sender: No OFD packet to send [02:16:27]OFD Sender: No OFD packet to send [02:16:32]OFD Sender: No OFD packet to send [02:16:37]OFD Sender: No OFD packet to send [02:16:42]OFD Sender: No OFD packet to send [02:16:47]OFD Sender: No OFD packet to send [02:16:52]OFD Sender: No OFD packet to send [02:16:57]OFD Sender: No OFD packet to send [02:17:02]OFD Sender: No OFD packet to send [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:53]accept exits with 7 [02:18:53]New connection [02:18:53]New thread 3067030884 created [02:18:53]Thread 3067174244 joined [02:18:53]Waiting for new connection... [02:18:53] Sock 7.Parse request [02:18:53]Sock 7.Check first char [02:18:53]Sock 7.First char is OK [02:18:53]request: POST /json_proto HTTP/1.0 [02:18:53]Method: POST [02:18:53]URL: /json_proto [02:18:53]Method is POST - this is cgi request [02:18:53]url: /json_proto [02:18:53]query_string will be loaded in cgi processing [02:18:53]execute_cgi json_proto POST (null) [02:18:53]execute_cgi path=json_proto method=POST [02:18:53]POST find Content-Length [02:18:53]Host: 172.17.32.68:8080 [02:18:53]Content-Length: 620 [02:18:53]Content-Type: application/json [02:18:53] [02:18:53]POST finish read [02:18:53]Found Content-Length = 620 [02:18:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242404", "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" ] } } [02:18:53]execute_script... [02:18: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)242404", "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" ] } } [02:18:53]POST & json_proto [02:18:53]process_json_proto [02:18:53]json parsed OK: [02:18:53]protocol is kg_v1.0 [02:18:53]action value=close_receipt [02:18:53]process_action close_receipt [02:18:53]cmd_close_receipt [02:18:53]MH_GetDate [02:18:53]Write to MH i2c: F0 00 00 39 0C 34 [02:18:53]Write i2c OK [02:18:53]MH_I2C_Read... [02:18:53]Read from MH i2c: F0 [02:18:53]MH_I2C_Read... [02:18:53]Read from MH i2c: F0 09 00 [02:18:53]MH_I2C_Read... [02:18:53]Read from MH i2c: F0 09 00 39 0C 00 8F 5E F2 65 0A 64 6E 65 C2 [02:18:53]GetLastDocTimeStamp 1710376806 [02:18:53]current date 1710382735 [02:18:53]FM_GetShiftState [02:18:53]SAM_PROTO_GetShiftState [02:18:53]wFMCommunicate request_size=4 [02:18:53]MH_SAM_APDU [02:18:53]CAPDU: 80 13 01 00 [02:18:53]Write to MH i2c: E2 08 00 3A 0C 80 13 01 00 00 00 00 00 C3 [02:18:53]Write i2c OK [02:18:53]MH_I2C_Read... [02:18:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:18:53]Read from MH i2c: E2 [02:18:53]MH_I2C_Read... [02:18:53]Read from MH i2c: E2 0E 00 [02:18:53]MH_I2C_Read... [02:18:53]Read from MH i2c: E2 0E 00 3A 0C 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 A3 [02:18:53]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [02:18:53]wFMCommunicate OK [02:18:53]SAM_PROTO_GetShiftState done [02:18:53]FM_GetShiftState done [02:18:53]opened in 1710375228 [02:18:53]opened+sec_in_day 1710461628 [02:18:53]quantity*price = 13500 [02:18:53]sum+1 = 13501 [02:18:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 6 14.03.2024 02:18 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47495 ФПД: 153132237568511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T021855&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47495&fm=153132237568511&tin=02508201610067®Number=0000000000092018&sum=13500 0 [02:18:54]StoreToDocumentArchive [02:18:54]shift 317 fd 47495 [02:18:54]save to /storage/0317/doc_00047495 [02:18:54]save last doc name /storage/0317/doc_00047495 to /storage/kkm_last_doc_name [02:18:54]save OK [02:18:54]Clear old archive folders... [02:18:54]ProcessDocumentItem done err = 0, tmpTLVsize=272 [02:18:54]tlvbuf is 011C7650 [02:18:54]SAM_PROTO_ClearQueue [02:18:54]wFMCommunicate request_size=4 [02:18:54]MH_SAM_APDU [02:18:54]CAPDU: 80 09 00 00 [02:18:54]Write to MH i2c: E2 08 00 47 0C 80 09 00 00 00 00 00 00 C5 [02:18:54]Write i2c OK [02:18:54]MH_I2C_Read... [02:18:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:18:54]Read from MH i2c: E2 [02:18:54]MH_I2C_Read... [02:18:54]Read from MH i2c: E2 03 00 [02:18:54]MH_I2C_Read... [02:18:54]Read from MH i2c: E2 03 00 47 0C 00 90 00 C7 [02:18:54]RAPDU: 90 00 [02:18:54]wFMCommunicate OK [02:18:54]SAM_PROTO_ClearQueue done [02:18:54]KKMCreateOFDPacket [02:18:54]OFDProtocolAddRootSTLVToBuf [02:18:54]FM_MakeSignedData [02:18:54]FM_MakeSignedData [02:18:54]SAM_PROTO_SignData [02:18:54]wFMCommunicate request_size=4 [02:18:54]MH_SAM_APDU [02:18:54]CAPDU: 80 0D 01 02 [02:18:54]Write to MH i2c: E2 08 00 48 0C 80 0D 01 02 00 00 00 00 CD [02:18:54]Write i2c OK [02:18:54]MH_I2C_Read... [02:18:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:18:55]Read from MH i2c: E2 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 03 00 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 03 00 48 0C 00 90 00 C8 [02:18:55]RAPDU: 90 00 [02:18:55]wFMCommunicate OK [02:18:55]wFMCommunicate request_size=255 [02:18:55]MH_SAM_APDU [02:18:55]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 06 00 00 00 F4 03 04 00 8F 5E F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 [02:18:55]Write to MH i2c: E2 02 01 49 0C 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 06 00 00 00 F4 03 04 00 8F 5E F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 0B [02:18:55]Write i2c OK [02:18:55]MH_I2C_Read... [02:18:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:18:55]Read from MH i2c: E2 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 03 00 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 03 00 49 0C 00 90 00 C9 [02:18:55]RAPDU: 90 00 [02:18:55]wFMCommunicate OK [02:18:55]wFMCommunicate request_size=31 [02:18:55]MH_SAM_APDU [02:18:55]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 31 36 10 04 04 00 87 B9 00 00 35 04 06 00 8B 45 E0 9F B9 FF [02:18:55]Write to MH i2c: E2 22 00 4A 0C 80 0D 02 02 1A 00 30 30 38 37 31 38 31 36 10 04 04 00 87 B9 00 00 35 04 06 00 8B 45 E0 9F B9 FF 00 00 41 [02:18:55]Write i2c OK [02:18:55]MH_I2C_Read... [02:18:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:18:55]Read from MH i2c: E2 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 03 00 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 03 00 4A 0C 00 90 00 CA [02:18:55]RAPDU: 90 00 [02:18:55]wFMCommunicate OK [02:18:55]wFMCommunicate request_size=4 [02:18:55]MH_SAM_APDU [02:18:55]CAPDU: 80 0D 03 02 [02:18:55]Write to MH i2c: E2 08 00 4B 0C 80 0D 03 02 00 00 00 00 D2 [02:18:55]Write i2c OK [02:18:55]MH_I2C_Read... [02:18:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:18:55]Read from MH i2c: E2 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 0B 00 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 0B 00 4B 0C 00 7B 20 B1 EC 17 FE 31 10 90 00 61 [02:18:55]RAPDU: 7B 20 B1 EC 17 FE 31 10 90 00 [02:18:55]wFMCommunicate OK [02:18:55]SAM_PROTO_SignData done [02:18:55]FM_MakeSignedData done [02:18:55]CreateOFDProtocolMessage [02:18:55]wFMCommunicate request_size=4 [02:18:55]MH_SAM_APDU [02:18:55]CAPDU: 80 11 00 00 [02:18:55]Write to MH i2c: E2 08 00 4C 0C 80 11 00 00 00 00 00 00 D2 [02:18:55]Write i2c OK [02:18:55]MH_I2C_Read... [02:18:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:18:55]Read from MH i2c: E2 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 17 00 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: E2 17 00 4C 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 24 [02:18:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [02:18:55]wFMCommunicate OK [02:18:55]CreateOFDProtocolMessage done [02:18:55]OFDSenderStorePacket 47495 [02:18:55]StoreOFDPacket docnum=47495 [02:18:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 9B 56 1C 01 3A 1D 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 06 00 00 00 F4 03 04 00 8F 5E F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 87 B9 00 00 35 04 06 00 8B 45 E0 9F B9 FF 7B 20 B1 EC 17 FE 31 10 [02:18:55]CheckFolder [02:18:55]dirname=/storage/ofd_packets [02:18:55]CheckFolder done [02:18:55]ProducePacketName [02:18:55]name=ofd_packets/00047495 [02:18:55]NVStorageSaveData ofd_packets/00047495 [02:18:55]File name is /storage/ofd_packets/00047495 [02:18:55]Write 322 bytes [02:18:55]NVStorageSaveData done [02:18:55]OFDSenderStorePacket done [02:18:55]KKMCreateOFDPacket done [02:18:55]NVStorageSaveData kkm_last_timestamp [02:18:55]File name is /storage/kkm_last_timestamp [02:18:55]Write 4 bytes [02:18:55]NVStorageSaveData done [02:18:55]ExternCall_PrintAddStr [02:18:55]wPrintStart [02:18:55]Write to MH i2c: 01 00 00 4D 0C 59 [02:18:55]Write i2c OK [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: 01 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: 01 07 00 [02:18:55]MH_I2C_Read... [02:18:55]Read from MH i2c: 01 07 00 4D 0C 00 00 00 00 00 FF 0F 6E [02:18:55]RasterBufferAndPrint [02:18:55]line Счет N : (3)242404 [02:18:55]line ИНН: 02508201610067 [02:18:55]line Контрольно-Кассовый Чек [02:18:55]line ПРОДАЖА [02:18:55]line Товар: 48745000 [02:18:55]line Сигареты Winston Purple Mix [02:18:55]line 1.000 * 135.00 [02:18:55]line = 135.00 [02:18:55]line НДС 12% НСП 1% [02:18:55]line > о реализуемом товаре [02:18:55]line ИТОГО: 135.00 [02:18:55]line НСП 1% : 1.19 [02:18:55]line НДС 12% : 14.34 [02:18:55]line Наличными: 135.00 [02:18:55]line Безнал.: 0.00 [02:18:55]line Место: АЗС № 15 "Партнер Нефть" [02:18:55]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [02:18:55]line СНО: Общий режим [02:18:55]line Чек 6 14.03.2024 02:18 [02:18:55]line Смена: 317 ФФД: 1.0 [02:18:55]line ЗНМ: 0300000097 [02:18:55]line РНМ: 0000000000092018 [02:18:55]line Версия ККМ: 001 [02:18:55]line ФМ: 0000000000871816 [02:18:55]line ФД: 47495 [02:18:55]line ФПД: 153132237568511 [02:18:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T021855&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47495&fm=153132237568511&tin=02508201610067®Number=0000000000092018&sum=13500 [02:18:55]line 0 [02:18:55]OFD Sender: Processing packet 47495 [packets to send 8, broken 7] [02:18:55]ProducePacketName [02:18:55]name=ofd_packets/00047495 [02:18:55]OFD Sender: To server: pG, [02:18:55]CommunicateWithHost lk.salyk.kg:30040 [02:18:55]ConnectInit lk.salyk.kg [02:18:55]written 0, free lines is 4095 [02:18:55]Connected sock=10 [02:18:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 24 01 00 00 9B 56 1C 01 3A 1D 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 06 00 00 00 F4 03 04 00 8F 5E F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 87 B9 00 00 35 04 06 00 8B 45 E0 9F B9 FF 7B 20 B1 EC 17 FE 31 10 [02:18:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 E2 07 47 00 10 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 87 B9 00 00 F4 03 04 00 1C 09 F2 65 B6 04 01 00 00 5E F3 22 AB 67 EC 0A 04 [02:18:56]CommunicateWithHost err = 0 [02:18:56]CheckOFDResponse [02:18:56]1017 (14) - 77093643461234 [02:18:56]1041 (16) - 0000000000871816 [02:18:56]1040 (4) - 47495 [02:18:56]1012 (4) - 13.03.2024 20:14 [02:18:56]1206 (1) - 0 [02:18:56]OFD Sender: Remove packet 47495 [02:18:56]ProducePacketName [02:18:56]name=ofd_packets/00047495 [02:18:56]NVStorageDeleteData [02:18:56]Write to MH i2c: 01 00 00 75 0C 81 [02:18:56]Write i2c OK [02:18:56]MH_I2C_Read... [02:18:56]Read from MH i2c: 01 [02:18:56]MH_I2C_Read... [02:18:56]Read from MH i2c: 01 07 00 [02:18:56]MH_I2C_Read... [02:18:56]Read from MH i2c: 01 07 00 75 0C 00 00 00 00 00 E0 0C 74 [02:18:56]RasterBufferAndPrint [02:18:56]line [02:18:56]line [02:18:56]line [02:18:56]line [02:18:56]line [02:18:56]written 0, free lines is 3302 [02:18:56]MH_Cut [02:18:56]Write to MH i2c: D1 01 00 7C 0C 01 5A [02:18:56]Write i2c OK [02:18:56]MH_I2C_Read... [02:18:56]Read from MH i2c: D1 [02:18:56]MH_I2C_Read... [02:18:56]Read from MH i2c: D1 01 00 [02:18:56]MH_I2C_Read... [02:18:56]Read from MH i2c: D1 01 00 7C 0C 00 59 [02:18:56]Write to MH i2c: 01 00 00 7D 0C 89 [02:18:56]Write i2c OK [02:18:56]MH_I2C_Read... [02:18:56]OFD Sender: No OFD packet to send [02:18:57]*** Cut start [02:18:57]*** Purtial cut [02:18:57]*** Stage 1: CUTSNS_PIN = 1 [02:18:57]Read from MH i2c: 01 [02:18:57]MH_I2C_Read... [02:18:57]*** Stop cut motor [02:18:57]*** Cut end [02:18:57]Read from MH i2c: 01 07 00 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: 01 07 00 7D 0C 00 00 00 00 00 FF 0F 9E [02:18:57]process_action close_receipt done [02:18:57]requested_data is exist [02:18:57]produce_requested_data [02:18:57]requested_item fm.sn is exist - process it [02:18:57]wFMCommunicate request_size=4 [02:18:57]MH_SAM_APDU [02:18:57]CAPDU: 80 11 00 00 [02:18:57]Write to MH i2c: E2 08 00 7E 0C 80 11 00 00 00 00 00 00 04 [02:18:57]Write i2c OK [02:18:57]MH_I2C_Read... [02:18:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:18:57]Read from MH i2c: E2 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: E2 17 00 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: E2 17 00 7E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 56 [02:18:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [02:18:57]wFMCommunicate OK [02:18:57]requested_item fd.num is exist - process it [02:18:57]SAM_PROTO_GetFieldsCounters [02:18:57]wFMCommunicate request_size=4 [02:18:57]MH_SAM_APDU [02:18:57]CAPDU: 80 13 00 00 [02:18:57]Write to MH i2c: E2 08 00 7F 0C 80 13 00 00 00 00 00 00 07 [02:18:57]Write i2c OK [02:18:57]MH_I2C_Read... [02:18:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:18:57]Read from MH i2c: E2 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: E2 62 00 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: E2 62 00 7F 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 87 B9 00 00 0E 04 04 00 3D 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 B2 [02:18:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 87 B9 00 00 0E 04 04 00 3D 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 [02:18:57]wFMCommunicate OK [02:18:57]SAM_PROTO_GetFieldsCounters done [02:18:57]requested_item shift.num is exist - process it [02:18:57]requested_item shift.opened is exist - process it [02:18:57]req_shift_opened [02:18:57]FM_GetShiftState [02:18:57]SAM_PROTO_GetShiftState [02:18:57]wFMCommunicate request_size=4 [02:18:57]MH_SAM_APDU [02:18:57]CAPDU: 80 13 01 00 [02:18:57]Write to MH i2c: E2 08 00 80 0C 80 13 01 00 00 00 00 00 09 [02:18:57]Write i2c OK [02:18:57]MH_I2C_Read... [02:18:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:18:57]Read from MH i2c: E2 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: E2 0E 00 [02:18:57]MH_I2C_Read... [02:18:57]Read from MH i2c: E2 0E 00 80 0C 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 E9 [02:18:57]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [02:18:57]wFMCommunicate OK [02:18:57]SAM_PROTO_GetShiftState done [02:18:57]FM_GetShiftState done [02:18:57]req_shift_opened done [02:18:57]requested_item shift.open_date is exist - process it [02:18:57]req_shift_open_date [02:18:57]req_shift_open_date done [02:18:57]produce_requested_data done [02:18:57]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47495,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [02:18:57]process_action_free close_receipt [02:18:57]json_value_free [02:18:57]json_value_free done [02:18:57]process_json_proto returns [02:18:57]Send response to host [02:18:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47495,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [02:18:57]free response buf [02:18:57]execute_script done [02:18:57]execute_script returns [02:18:57]free content buf [02:18:57]Sock 7.Close socket [02:18:57]Sock 7.Thread stoped [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26: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:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47: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:33]accept exits with 9 [02:58:33]New connection [02:58:33]New thread 3067174244 created [02:58:33]Thread 3067030884 joined [02:58:33]Waiting for new connection... [02:58:33] Sock 9.Parse request [02:58:33]Sock 9.Check first char [02:58:33]Sock 9.First char is OK [02:58:33]request: POST /json_proto HTTP/1.0 [02:58:33]Method: POST [02:58:33]URL: /json_proto [02:58:33]Method is POST - this is cgi request [02:58:33]url: /json_proto [02:58:33]query_string will be loaded in cgi processing [02:58:33]execute_cgi json_proto POST (null) [02:58:33]execute_cgi path=json_proto method=POST [02:58:33]POST find Content-Length [02:58:33]Host: 172.17.32.68:8080 [02:58:33]Content-Length: 624 [02:58:33]Content-Type: application/json [02:58:33] [02:58:33]POST finish read [02:58:33]Found Content-Length = 624 [02:58:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242405", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "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" ] } } [02:58:33]execute_script... [02:58:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)242405", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "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" ] } } [02:58:33]POST & json_proto [02:58:33]process_json_proto [02:58:33]json parsed OK: [02:58:33]protocol is kg_v1.0 [02:58:33]action value=close_receipt [02:58:33]process_action close_receipt [02:58:33]cmd_close_receipt [02:58:33]MH_GetDate [02:58:33]Write to MH i2c: F0 00 00 81 0C 7C [02:58:33]Write i2c OK [02:58:33]MH_I2C_Read... [02:58:33]Read from MH i2c: F0 [02:58:33]MH_I2C_Read... [02:58:33]Read from MH i2c: F0 09 00 [02:58:33]MH_I2C_Read... [02:58:33]Read from MH i2c: F0 09 00 81 0C 00 DB 67 F2 65 0A 64 6E 65 5F [02:58:33]GetLastDocTimeStamp 1710382735 [02:58:33]current date 1710385115 [02:58:33]FM_GetShiftState [02:58:33]SAM_PROTO_GetShiftState [02:58:33]wFMCommunicate request_size=4 [02:58:33]MH_SAM_APDU [02:58:33]CAPDU: 80 13 01 00 [02:58:33]Write to MH i2c: E2 08 00 82 0C 80 13 01 00 00 00 00 00 0B [02:58:33]Write i2c OK [02:58:33]MH_I2C_Read... [02:58:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:58:33]Read from MH i2c: E2 [02:58:33]MH_I2C_Read... [02:58:33]Read from MH i2c: E2 0E 00 [02:58:33]MH_I2C_Read... [02:58:33]Read from MH i2c: E2 0E 00 82 0C 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 EB [02:58:33]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [02:58:33]wFMCommunicate OK [02:58:33]SAM_PROTO_GetShiftState done [02:58:33]FM_GetShiftState done [02:58:33]opened in 1710375228 [02:58:33]opened+sec_in_day 1710461628 [02:58:33]quantity*price = 13800 [02:58:33]sum+1 = 13801 [02:58:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 15 "Партнер Нефть" Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 СНО: Общий режим Чек 7 14.03.2024 02:58 Смена: 317 ФФД: 1.0 ЗНМ: 0300000097 РНМ: 0000000000092018 Версия ККМ: 001 ФМ: 0000000000871816 ФД: 47496 ФПД: 32824124662386 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T025835&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47496&fm=32824124662386&tin=02508201610067®Number=0000000000092018&sum=13800 0 [02:58:34]StoreToDocumentArchive [02:58:34]shift 317 fd 47496 [02:58:34]save to /storage/0317/doc_00047496 [02:58:34]save last doc name /storage/0317/doc_00047496 to /storage/kkm_last_doc_name [02:58:34]save OK [02:58:34]Clear old archive folders... [02:58:34]ProcessDocumentItem done err = 0, tmpTLVsize=276 [02:58:34]tlvbuf is 011C7530 [02:58:34]SAM_PROTO_ClearQueue [02:58:34]wFMCommunicate request_size=4 [02:58:34]MH_SAM_APDU [02:58:34]CAPDU: 80 09 00 00 [02:58:34]Write to MH i2c: E2 08 00 8F 0C 80 09 00 00 00 00 00 00 0D [02:58:34]Write i2c OK [02:58:34]MH_I2C_Read... [02:58:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:58:34]Read from MH i2c: E2 [02:58:34]MH_I2C_Read... [02:58:34]Read from MH i2c: E2 03 00 [02:58:34]MH_I2C_Read... [02:58:34]Read from MH i2c: E2 03 00 8F 0C 00 90 00 0F [02:58:34]RAPDU: 90 00 [02:58:34]wFMCommunicate OK [02:58:34]SAM_PROTO_ClearQueue done [02:58:34]KKMCreateOFDPacket [02:58:34]OFDProtocolAddRootSTLVToBuf [02:58:34]FM_MakeSignedData [02:58:34]FM_MakeSignedData [02:58:34]SAM_PROTO_SignData [02:58:34]wFMCommunicate request_size=4 [02:58:34]MH_SAM_APDU [02:58:34]CAPDU: 80 0D 01 02 [02:58:34]Write to MH i2c: E2 08 00 90 0C 80 0D 01 02 00 00 00 00 15 [02:58:34]Write i2c OK [02:58:34]MH_I2C_Read... [02:58:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:58:34]Read from MH i2c: E2 [02:58:34]MH_I2C_Read... [02:58:34]Read from MH i2c: E2 03 00 [02:58:34]MH_I2C_Read... [02:58:34]Read from MH i2c: E2 03 00 90 0C 00 90 00 10 [02:58:34]RAPDU: 90 00 [02:58:34]wFMCommunicate OK [02:58:34]wFMCommunicate request_size=255 [02:58:34]MH_SAM_APDU [02:58:34]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 07 00 00 00 F4 03 04 00 DB 67 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 [02:58:34]Write to MH i2c: E2 02 01 91 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 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 07 00 00 00 F4 03 04 00 DB 67 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 00 00 2B [02:58:34]Write i2c OK [02:58:34]MH_I2C_Read... [02:58:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:58:35]Read from MH i2c: E2 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 03 00 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 03 00 91 0C 00 90 00 11 [02:58:35]RAPDU: 90 00 [02:58:35]wFMCommunicate OK [02:58:35]wFMCommunicate request_size=35 [02:58:35]MH_SAM_APDU [02:58:35]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 88 B9 00 00 35 04 06 00 1D DA 76 4A 62 72 [02:58:35]Write to MH i2c: E2 26 00 92 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 88 B9 00 00 35 04 06 00 1D DA 76 4A 62 72 00 00 D6 [02:58:35]Write i2c OK [02:58:35]MH_I2C_Read... [02:58:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:58:35]Read from MH i2c: E2 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 03 00 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 03 00 92 0C 00 90 00 12 [02:58:35]RAPDU: 90 00 [02:58:35]wFMCommunicate OK [02:58:35]wFMCommunicate request_size=4 [02:58:35]MH_SAM_APDU [02:58:35]CAPDU: 80 0D 03 02 [02:58:35]Write to MH i2c: E2 08 00 93 0C 80 0D 03 02 00 00 00 00 1A [02:58:35]Write i2c OK [02:58:35]MH_I2C_Read... [02:58:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:58:35]Read from MH i2c: E2 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 0B 00 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 0B 00 93 0C 00 46 CA 8B 66 32 43 F0 71 90 00 F2 [02:58:35]RAPDU: 46 CA 8B 66 32 43 F0 71 90 00 [02:58:35]wFMCommunicate OK [02:58:35]SAM_PROTO_SignData done [02:58:35]FM_MakeSignedData done [02:58:35]CreateOFDProtocolMessage [02:58:35]wFMCommunicate request_size=4 [02:58:35]MH_SAM_APDU [02:58:35]CAPDU: 80 11 00 00 [02:58:35]Write to MH i2c: E2 08 00 94 0C 80 11 00 00 00 00 00 00 1A [02:58:35]Write i2c OK [02:58:35]MH_I2C_Read... [02:58:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:58:35]Read from MH i2c: E2 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 17 00 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: E2 17 00 94 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 6C [02:58:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [02:58:35]wFMCommunicate OK [02:58:35]CreateOFDProtocolMessage done [02:58:35]OFDSenderStorePacket 47496 [02:58:35]StoreOFDPacket docnum=47496 [02:58:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 ED 6E 20 01 BA 3F 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 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 07 00 00 00 F4 03 04 00 DB 67 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 88 B9 00 00 35 04 06 00 1D DA 76 4A 62 72 46 CA 8B 66 32 43 F0 71 [02:58:35]CheckFolder [02:58:35]dirname=/storage/ofd_packets [02:58:35]CheckFolder done [02:58:35]ProducePacketName [02:58:35]name=ofd_packets/00047496 [02:58:35]NVStorageSaveData ofd_packets/00047496 [02:58:35]File name is /storage/ofd_packets/00047496 [02:58:35]Write 326 bytes [02:58:35]NVStorageSaveData done [02:58:35]OFDSenderStorePacket done [02:58:35]KKMCreateOFDPacket done [02:58:35]NVStorageSaveData kkm_last_timestamp [02:58:35]File name is /storage/kkm_last_timestamp [02:58:35]Write 4 bytes [02:58:35]NVStorageSaveData done [02:58:35]ExternCall_PrintAddStr [02:58:35]wPrintStart [02:58:35]Write to MH i2c: 01 00 00 95 0C A1 [02:58:35]Write i2c OK [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: 01 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: 01 07 00 [02:58:35]MH_I2C_Read... [02:58:35]Read from MH i2c: 01 07 00 95 0C 00 00 00 00 00 FF 0F B6 [02:58:35]RasterBufferAndPrint [02:58:35]line Счет N : (3)242405 [02:58:35]line ИНН: 02508201610067 [02:58:35]line Контрольно-Кассовый Чек [02:58:35]line ПРОДАЖА [02:58:35]line Товар: 48744683 [02:58:35]line Сигареты Winston XStyle Caster+ [02:58:35]line 1.000 * 138.00 [02:58:35]line = 138.00 [02:58:35]line НДС 12% НСП 1% [02:58:35]line > о реализуемом товаре [02:58:35]line ИТОГО: 138.00 [02:58:35]line НСП 1% : 1.22 [02:58:35]line НДС 12% : 14.65 [02:58:35]line Наличными: 138.00 [02:58:35]line Безнал.: 0.00 [02:58:35]line Место: АЗС № 15 "Партнер Нефть" [02:58:35]line Адрес: 720001, г. Бишкек, пр. Жибек Жолу 164, 42.887788, 74.636011 [02:58:35]line СНО: Общий режим [02:58:35]line Чек 7 14.03.2024 02:58 [02:58:35]line Смена: 317 ФФД: 1.0 [02:58:35]line ЗНМ: 0300000097 [02:58:35]line РНМ: 0000000000092018 [02:58:35]line Версия ККМ: 001 [02:58:35]line ФМ: 0000000000871816 [02:58:35]line ФД: 47496 [02:58:35]line ФПД: 32824124662386 [02:58:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240314T025835&type=1&operation_type=1&fn_number=0000000000871816&fd_number=47496&fm=32824124662386&tin=02508201610067®Number=0000000000092018&sum=13800 [02:58:35]line 0 [02:58:35]OFD Sender: Processing packet 47496 [packets to send 8, broken 7] [02:58:35]ProducePacketName [02:58:35]name=ofd_packets/00047496 [02:58:35]OFD Sender: To server: pG, [02:58:35]CommunicateWithHost lk.salyk.kg:30040 [02:58:35]ConnectInit lk.salyk.kg [02:58:35]written 0, free lines is 4095 [02:58:35]Connected sock=10 [02:58:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 28 01 00 00 ED 6E 20 01 BA 3F 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 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 07 00 00 00 F4 03 04 00 DB 67 F2 65 0E 04 04 00 3D 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 88 B9 00 00 35 04 06 00 1D DA 76 4A 62 72 46 CA 8B 66 32 43 F0 71 [02:58:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 4F 00 00 00 93 3D 47 00 A6 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 10 04 04 00 88 B9 00 00 F4 03 04 00 68 12 F2 65 B6 04 01 00 00 0D 4E 0B 92 3E EC 15 60 [02:58:36]CommunicateWithHost err = 0 [02:58:36]CheckOFDResponse [02:58:36]1017 (14) - 77093643461234 [02:58:36]1041 (16) - 0000000000871816 [02:58:36]1040 (4) - 47496 [02:58:36]1012 (4) - 13.03.2024 20:54 [02:58:36]1206 (1) - 0 [02:58:36]OFD Sender: Remove packet 47496 [02:58:36]ProducePacketName [02:58:36]name=ofd_packets/00047496 [02:58:36]NVStorageDeleteData [02:58:36]Write to MH i2c: 01 00 00 BE 0C CA [02:58:36]Write i2c OK [02:58:36]MH_I2C_Read... [02:58:36]Read from MH i2c: 01 [02:58:36]MH_I2C_Read... [02:58:36]Read from MH i2c: 01 07 00 [02:58:36]MH_I2C_Read... [02:58:36]Read from MH i2c: 01 07 00 BE 0C 00 00 00 00 00 D5 0C B2 [02:58:36]RasterBufferAndPrint [02:58:36]line [02:58:36]line [02:58:36]line [02:58:36]line [02:58:36]line [02:58:36]written 0, free lines is 3292 [02:58:36]MH_Cut [02:58:36]Write to MH i2c: D1 01 00 C5 0C 01 A3 [02:58:36]Write i2c OK [02:58:36]MH_I2C_Read... [02:58:36]Read from MH i2c: D1 [02:58:36]MH_I2C_Read... [02:58:36]Read from MH i2c: D1 01 00 [02:58:36]MH_I2C_Read... [02:58:36]Read from MH i2c: D1 01 00 C5 0C 00 A2 [02:58:36]Write to MH i2c: 01 00 00 C6 0C D2 [02:58:36]Write i2c OK [02:58:36]MH_I2C_Read... [02:58:36]OFD Sender: No OFD packet to send [02:58:36]*** Cut start [02:58:36]*** Purtial cut [02:58:36]*** Stage 1: CUTSNS_PIN = 1 [02:58:37]Read from MH i2c: 01 [02:58:37]MH_I2C_Read... [02:58:37]*** Stop cut motor [02:58:37]*** Cut end [02:58:37]Read from MH i2c: 01 07 00 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: 01 07 00 C6 0C 00 00 00 00 00 FF 0F E7 [02:58:37]process_action close_receipt done [02:58:37]requested_data is exist [02:58:37]produce_requested_data [02:58:37]requested_item fm.sn is exist - process it [02:58:37]wFMCommunicate request_size=4 [02:58:37]MH_SAM_APDU [02:58:37]CAPDU: 80 11 00 00 [02:58:37]Write to MH i2c: E2 08 00 C7 0C 80 11 00 00 00 00 00 00 4D [02:58:37]Write i2c OK [02:58:37]MH_I2C_Read... [02:58:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:58:37]Read from MH i2c: E2 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: E2 17 00 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: E2 17 00 C7 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 9F [02:58:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 31 36 90 00 [02:58:37]wFMCommunicate OK [02:58:37]requested_item fd.num is exist - process it [02:58:37]SAM_PROTO_GetFieldsCounters [02:58:37]wFMCommunicate request_size=4 [02:58:37]MH_SAM_APDU [02:58:37]CAPDU: 80 13 00 00 [02:58:37]Write to MH i2c: E2 08 00 C8 0C 80 13 00 00 00 00 00 00 50 [02:58:37]Write i2c OK [02:58:37]MH_I2C_Read... [02:58:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:58:37]Read from MH i2c: E2 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: E2 62 00 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: E2 62 00 C8 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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 88 B9 00 00 0E 04 04 00 3D 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 FF [02:58: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 31 38 31 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 30 31 38 10 04 04 00 88 B9 00 00 0E 04 04 00 3D 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:58:37]wFMCommunicate OK [02:58:37]SAM_PROTO_GetFieldsCounters done [02:58:37]requested_item shift.num is exist - process it [02:58:37]requested_item shift.opened is exist - process it [02:58:37]req_shift_opened [02:58:37]FM_GetShiftState [02:58:37]SAM_PROTO_GetShiftState [02:58:37]wFMCommunicate request_size=4 [02:58:37]MH_SAM_APDU [02:58:37]CAPDU: 80 13 01 00 [02:58:37]Write to MH i2c: E2 08 00 C9 0C 80 13 01 00 00 00 00 00 52 [02:58:37]Write i2c OK [02:58:37]MH_I2C_Read... [02:58:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:58:37]Read from MH i2c: E2 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: E2 0E 00 [02:58:37]MH_I2C_Read... [02:58:37]Read from MH i2c: E2 0E 00 C9 0C 00 09 00 01 3C 41 F2 65 00 00 00 00 90 00 32 [02:58:37]RAPDU: 09 00 01 3C 41 F2 65 00 00 00 00 90 00 [02:58:37]wFMCommunicate OK [02:58:37]SAM_PROTO_GetShiftState done [02:58:37]FM_GetShiftState done [02:58:37]req_shift_opened done [02:58:37]requested_item shift.open_date is exist - process it [02:58:37]req_shift_open_date [02:58:37]req_shift_open_date done [02:58:37]produce_requested_data done [02:58:37]produce_requested_data return {"fm.sn":"0000000000871816","fd.num":47496,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228} [02:58:37]process_action_free close_receipt [02:58:37]json_value_free [02:58:37]json_value_free done [02:58:37]process_json_proto returns [02:58:37]Send response to host [02:58:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871816","fd.num":47496,"shift.num":317,"shift.opened":1,"shift.open_date":1710375228}}} [02:58:37]free response buf [02:58:37]execute_script done [02:58:37]execute_script returns [02:58:37]free content buf [02:58:37]Sock 9.Close socket [02:58:37]Sock 9.Thread stoped [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [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