[03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05:11]OFD Sender: No OFD packet to send [03:05:16]OFD Sender: No OFD packet to send [03:05:21]OFD Sender: No OFD packet to send [03:05:26]OFD Sender: No OFD packet to send [03:05:31]OFD Sender: No OFD packet to send [03:05:36]OFD Sender: No OFD packet to send [03:05:41]OFD Sender: No OFD packet to send [03:05:46]OFD Sender: No OFD packet to send [03:05:51]OFD Sender: No OFD packet to send [03:05:56]OFD Sender: No OFD packet to send [03:06:01]OFD Sender: No OFD packet to send [03:06:06]OFD Sender: No OFD packet to send [03:06:11]OFD Sender: No OFD packet to send [03:06:16]OFD Sender: No OFD packet to send [03:06:21]OFD Sender: No OFD packet to send [03:06:26]OFD Sender: No OFD packet to send [03:06:31]OFD Sender: No OFD packet to send [03:06:36]OFD Sender: No OFD packet to send [03:06:41]OFD Sender: No OFD packet to send [03:06:46]OFD Sender: No OFD packet to send [03:06:51]OFD Sender: No OFD packet to send [03:06:56]OFD Sender: No OFD packet to send [03:07:01]OFD Sender: No OFD packet to send [03:07:06]OFD Sender: No OFD packet to send [03:07:11]OFD Sender: No OFD packet to send [03:07:16]OFD Sender: No OFD packet to send [03:07:21]OFD Sender: No OFD packet to send [03:07:26]OFD Sender: No OFD packet to send [03:07:31]OFD Sender: No OFD packet to send [03:07:36]OFD Sender: No OFD packet to send [03:07:41]OFD Sender: No OFD packet to send [03:07:46]OFD Sender: No OFD packet to send [03:07:51]OFD Sender: No OFD packet to send [03:07:56]OFD Sender: No OFD packet to send [03:08:01]OFD Sender: No OFD packet to send [03:08:06]OFD Sender: No OFD packet to send [03:08:11]OFD Sender: No OFD packet to send [03:08:16]OFD Sender: No OFD packet to send [03:08:21]OFD Sender: No OFD packet to send [03:08:26]OFD Sender: No OFD packet to send [03:08:31]OFD Sender: No OFD packet to send [03:08:36]OFD Sender: No OFD packet to send [03:08:41]OFD Sender: No OFD packet to send [03:08:46]OFD Sender: No OFD packet to send [03:08:51]OFD Sender: No OFD packet to send [03:08:56]OFD Sender: No OFD packet to send [03:09:01]OFD Sender: No OFD packet to send [03:09:06]OFD Sender: No OFD packet to send [03:09:11]OFD Sender: No OFD packet to send [03:09:16]OFD Sender: No OFD packet to send [03:09:21]OFD Sender: No OFD packet to send [03:09:26]OFD Sender: No OFD packet to send [03:09:31]OFD Sender: No OFD packet to send [03:09:36]OFD Sender: No OFD packet to send [03:09:41]OFD Sender: No OFD packet to send [03:09:46]OFD Sender: No OFD packet to send [03:09:51]OFD Sender: No OFD packet to send [03:09:56]OFD Sender: No OFD packet to send [03:10:01]OFD Sender: No OFD packet to send [03:10:06]OFD Sender: No OFD packet to send [03:10:11]OFD Sender: No OFD packet to send [03:10:16]OFD Sender: No OFD packet to send [03:10:21]OFD Sender: No OFD packet to send [03:10:26]OFD Sender: No OFD packet to send [03:10:31]OFD Sender: No OFD packet to send [03:10:36]OFD Sender: No OFD packet to send [03:10:41]OFD Sender: No OFD packet to send [03:10:46]OFD Sender: No OFD packet to send [03:10:51]OFD Sender: No OFD packet to send [03:10:56]OFD Sender: No OFD packet to send [03:11:01]OFD Sender: No OFD packet to send [03:11:06]OFD Sender: No OFD packet to send [03:11:11]OFD Sender: No OFD packet to send [03:11:16]OFD Sender: No OFD packet to send [03:11:21]OFD Sender: No OFD packet to send [03:11:26]OFD Sender: No OFD packet to send [03:11:31]OFD Sender: No OFD packet to send [03:11:36]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send [03:16:21]OFD Sender: No OFD packet to send [03:16:26]OFD Sender: No OFD packet to send [03:16:31]OFD Sender: No OFD packet to send [03:16:36]OFD Sender: No OFD packet to send [03:16:41]OFD Sender: No OFD packet to send [03:16: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:26]OFD Sender: No OFD packet to send [03:21:31]OFD Sender: No OFD packet to send [03:21:36]OFD Sender: No OFD packet to send [03:21:41]OFD Sender: No OFD packet to send [03:21:46]OFD Sender: No OFD packet to send [03:21:51]OFD Sender: No OFD packet to send [03:21:56]OFD Sender: No OFD packet to send [03:22:01]OFD Sender: No OFD packet to send [03:22:06]OFD Sender: No OFD packet to send [03:22:11]OFD Sender: No OFD packet to send [03:22:16]OFD Sender: No OFD packet to send [03:22:21]OFD Sender: No OFD packet to send [03:22:26]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37: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:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]OFD Sender: No OFD packet to send [03:48:43]OFD Sender: No OFD packet to send [03:48:48]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59: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:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]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]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27: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: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:15]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:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [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:14]accept exits with 9 [04:47:14]New connection [04:47:14]New thread 3066604900 created [04:47:14]Thread 3066461540 joined [04:47:14]Waiting for new connection... [04:47:14] Sock 9.Parse request [04:47:14]Sock 9.Check first char [04:47:14]Sock 9.First char is OK [04:47:14]request: POST /json_proto HTTP/1.0 [04:47:14]Method: POST [04:47:14]URL: /json_proto [04:47:14]Method is POST - this is cgi request [04:47:14]url: /json_proto [04:47:14]query_string will be loaded in cgi processing [04:47:14]execute_cgi json_proto POST (null) [04:47:14]execute_cgi path=json_proto method=POST [04:47:14]POST find Content-Length [04:47:14]Host: 172.17.35.196:8080 [04:47:14]Content-Length: 617 [04:47:14]Content-Type: application/json [04:47:14] [04:47:14]POST finish read [04:47:14]Found Content-Length = 617 [04:47:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169195", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:47:14]execute_script... [04:47: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)169195", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:47:14]POST & json_proto [04:47:14]process_json_proto [04:47:14]json parsed OK: [04:47:14]protocol is kg_v1.0 [04:47:14]action value=close_receipt [04:47:14]process_action close_receipt [04:47:14]cmd_close_receipt [04:47:14]MH_GetDate [04:47:14]Write to MH i2c: F0 00 00 7D 12 7E [04:47:14]Write i2c OK [04:47:14]MH_I2C_Read... [04:47:14]Read from MH i2c: F0 [04:47:14]MH_I2C_Read... [04:47:14]Read from MH i2c: F0 09 00 [04:47:14]MH_I2C_Read... [04:47:14]Read from MH i2c: F0 09 00 7D 12 00 D7 06 92 66 AD 14 F4 65 76 [04:47:14]GetLastDocTimeStamp 1720834818 [04:47:14]current date 1720846039 [04:47:14]FM_GetShiftState [04:47:14]SAM_PROTO_GetShiftState [04:47:14]wFMCommunicate request_size=4 [04:47:14]MH_SAM_APDU [04:47:14]CAPDU: 80 13 01 00 [04:47:14]Write to MH i2c: E2 08 00 7E 12 80 13 01 00 00 00 00 00 0D [04:47:14]Write i2c OK [04:47:14]MH_I2C_Read... [04:47:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:47:14]Read from MH i2c: E2 [04:47:14]MH_I2C_Read... [04:47:14]Read from MH i2c: E2 0E 00 [04:47:14]MH_I2C_Read... [04:47:14]Read from MH i2c: E2 0E 00 7E 12 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 EC [04:47:14]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [04:47:14]wFMCommunicate OK [04:47:14]SAM_PROTO_GetShiftState done [04:47:14]FM_GetShiftState done [04:47:14]opened in 1720829207 [04:47:14]opened+sec_in_day 1720915607 [04:47:14]quantity*price = 14000 [04:47:14]sum+1 = 14001 [04:47:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 3 13.07.2024 04:47 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33384 ФПД: 13682976398824 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T044719&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33384&fm=13682976398824&tin=02508201610067®Number=0000000000093033&sum=14000 0 [04:47:15]StoreToDocumentArchive [04:47:15]shift 434 fd 33384 [04:47:15]save to /storage/0434/doc_00033384 [04:47:15]save last doc name /storage/0434/doc_00033384 to /storage/kkm_last_doc_name [04:47:16]save OK [04:47:16]Clear old archive folders... [04:47:16]ProcessDocumentItem done err = 0, tmpTLVsize=269 [04:47:16]tlvbuf is 00A3ADD0 [04:47:16]SAM_PROTO_ClearQueue [04:47:16]wFMCommunicate request_size=4 [04:47:16]MH_SAM_APDU [04:47:16]CAPDU: 80 09 00 00 [04:47:16]Write to MH i2c: E2 08 00 8B 12 80 09 00 00 00 00 00 00 0F [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:47:16]Read from MH i2c: E2 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 8B 12 00 90 00 11 [04:47:16]RAPDU: 90 00 [04:47:16]wFMCommunicate OK [04:47:16]SAM_PROTO_ClearQueue done [04:47:16]KKMCreateOFDPacket [04:47:16]OFDProtocolAddRootSTLVToBuf [04:47:16]FM_MakeSignedData [04:47:16]FM_MakeSignedData [04:47:16]SAM_PROTO_SignData [04:47:16]wFMCommunicate request_size=4 [04:47:16]MH_SAM_APDU [04:47:16]CAPDU: 80 0D 01 02 [04:47:16]Write to MH i2c: E2 08 00 8C 12 80 0D 01 02 00 00 00 00 17 [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:47:16]Read from MH i2c: E2 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 8C 12 00 90 00 12 [04:47:16]RAPDU: 90 00 [04:47:16]wFMCommunicate OK [04:47:16]wFMCommunicate request_size=255 [04:47:16]MH_SAM_APDU [04:47:16]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D7 06 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [04:47:16]Write to MH i2c: E2 02 01 8D 12 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D7 06 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 86 [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:47:16]Read from MH i2c: E2 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 8D 12 00 90 00 13 [04:47:16]RAPDU: 90 00 [04:47:16]wFMCommunicate OK [04:47:16]wFMCommunicate request_size=28 [04:47:16]MH_SAM_APDU [04:47:16]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 68 82 00 00 35 04 06 00 0C 71 D0 F2 9D E8 [04:47:16]Write to MH i2c: E2 1F 00 8E 12 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 68 82 00 00 35 04 06 00 0C 71 D0 F2 9D E8 00 00 4E [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:47:16]Read from MH i2c: E2 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 03 00 8E 12 00 90 00 14 [04:47:16]RAPDU: 90 00 [04:47:16]wFMCommunicate OK [04:47:16]wFMCommunicate request_size=4 [04:47:16]MH_SAM_APDU [04:47:16]CAPDU: 80 0D 03 02 [04:47:16]Write to MH i2c: E2 08 00 8F 12 80 0D 03 02 00 00 00 00 1C [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:47:16]Read from MH i2c: E2 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 0B 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 0B 00 8F 12 00 0A 43 7E 4A 2A AD 74 74 90 00 F1 [04:47:16]RAPDU: 0A 43 7E 4A 2A AD 74 74 90 00 [04:47:16]wFMCommunicate OK [04:47:16]SAM_PROTO_SignData done [04:47:16]FM_MakeSignedData done [04:47:16]CreateOFDProtocolMessage [04:47:16]wFMCommunicate request_size=4 [04:47:16]MH_SAM_APDU [04:47:16]CAPDU: 80 11 00 00 [04:47:16]Write to MH i2c: E2 08 00 90 12 80 11 00 00 00 00 00 00 1C [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:47:16]Read from MH i2c: E2 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 17 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: E2 17 00 90 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 68 [04:47:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:47:16]wFMCommunicate OK [04:47:16]CreateOFDProtocolMessage done [04:47:16]OFDSenderStorePacket 33384 [04:47:16]StoreOFDPacket docnum=33384 [04:47:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 AB 16 19 01 32 BA 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D7 06 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 68 82 00 00 35 04 06 00 0C 71 D0 F2 9D E8 0A 43 7E 4A 2A AD 74 74 [04:47:16]CheckFolder [04:47:16]dirname=/storage/ofd_packets [04:47:16]CheckFolder done [04:47:16]ProducePacketName [04:47:16]name=ofd_packets/00033384 [04:47:16]NVStorageSaveData ofd_packets/00033384 [04:47:16]File name is /storage/ofd_packets/00033384 [04:47:16]Write 319 bytes [04:47:16]NVStorageSaveData done [04:47:16]OFDSenderStorePacket done [04:47:16]KKMCreateOFDPacket done [04:47:16]NVStorageSaveData kkm_last_timestamp [04:47:16]File name is /storage/kkm_last_timestamp [04:47:16]Write 4 bytes [04:47:16]NVStorageSaveData done [04:47:16]ExternCall_PrintAddStr [04:47:16]wPrintStart [04:47:16]Write to MH i2c: 01 00 00 91 12 A3 [04:47:16]OFD Sender: Processing packet 33384 [packets to send 6, broken 5] [04:47:16]ProducePacketName [04:47:16]name=ofd_packets/00033384 [04:47:16]OFD Sender: To server: pG, [04:47:16]CommunicateWithHost lk.salyk.kg:30040 [04:47:16]ConnectInit lk.salyk.kg [04:47:16]Write i2c OK [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: 01 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: 01 07 00 [04:47:16]MH_I2C_Read... [04:47:16]Read from MH i2c: 01 07 00 91 12 00 00 00 00 00 FF 0F B8 [04:47:16]RasterBufferAndPrint [04:47:16]line Счет N : (3)169195 [04:47:16]line ИНН: 02508201610067 [04:47:16]line Контрольно-Кассовый Чек [04:47:16]line ПРОДАЖА [04:47:16]line Товар: 47803008 [04:47:16]line Сигареты Winston XS Blue [04:47:16]line 1.000 * 140.00 [04:47:16]line = 140.00 [04:47:16]line НДС 12% НСП 1% [04:47:16]line > о реализуемом товаре [04:47:16]line ИТОГО: 140.00 [04:47:16]line НСП 1% : 1.24 [04:47:16]line НДС 12% : 14.87 [04:47:16]line Наличными: 140.00 [04:47:16]line Безнал.: 0.00 [04:47:16]line Место: АЗС № 77 "Партнер Нефть" [04:47:16]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [04:47:16]line СНО: Общий режим [04:47:16]line Чек 3 13.07.2024 04:47 [04:47:16]line Смена: 434 ФФД: 1.0 [04:47:16]line ЗНМ: 0300000122 [04:47:16]line РНМ: 0000000000093033 [04:47:16]line Версия ККМ: 001 [04:47:16]line ФМ: 0000000000875104 [04:47:16]line ФД: 33384 [04:47:16]line ФПД: 13682976398824 [04:47:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T044719&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33384&fm=13682976398824&tin=02508201610067®Number=0000000000093033&sum=14000 [04:47:16]line 0 [04:47:16]written 0, free lines is 4095 [04:47:16]Connected sock=10 [04:47:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 AB 16 19 01 32 BA 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D7 06 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 68 82 00 00 35 04 06 00 0C 71 D0 F2 9D E8 0A 43 7E 4A 2A AD 74 74 [04:47:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 FA 33 47 00 4D CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 68 82 00 00 F4 03 04 00 82 B1 91 66 B6 04 01 00 00 6F FE 99 A1 F8 D1 4F 29 [04:47:16]CommunicateWithHost err = 0 [04:47:16]CheckOFDResponse [04:47:16]1017 (14) - 77093643461234 [04:47:16]1041 (16) - 0000000000875104 [04:47:16]1040 (4) - 33384 [04:47:16]1012 (4) - 12.07.2024 22:43 [04:47:16]1206 (1) - 0 [04:47:16]OFD Sender: Remove packet 33384 [04:47:16]ProducePacketName [04:47:16]name=ofd_packets/00033384 [04:47:16]NVStorageDeleteData [04:47:17]Write to MH i2c: 01 00 00 B9 12 CB [04:47:17]Write i2c OK [04:47:17]MH_I2C_Read... [04:47:17]Read from MH i2c: 01 [04:47:17]MH_I2C_Read... [04:47:17]Read from MH i2c: 01 07 00 [04:47:17]MH_I2C_Read... [04:47:17]Read from MH i2c: 01 07 00 B9 12 00 00 00 00 00 E8 0C C6 [04:47:17]RasterBufferAndPrint [04:47:17]line [04:47:17]line [04:47:17]line [04:47:17]line [04:47:17]line [04:47:17]written 0, free lines is 3310 [04:47:17]MH_Cut [04:47:17]Write to MH i2c: D1 01 00 C0 12 01 A4 [04:47:17]Write i2c OK [04:47:17]MH_I2C_Read... [04:47:17]Read from MH i2c: D1 [04:47:17]MH_I2C_Read... [04:47:17]Read from MH i2c: D1 01 00 [04:47:17]MH_I2C_Read... [04:47:17]Read from MH i2c: D1 01 00 C0 12 00 A3 [04:47:17]Write to MH i2c: 01 00 00 C1 12 D3 [04:47:17]Write i2c OK [04:47:17]MH_I2C_Read... [04:47:17]OFD Sender: No OFD packet to send [04:47:17]*** Cut start [04:47:17]*** Partial cut [04:47:17]*** CUTSNS_PIN = 1 [04:47:17]*** CUTSNS_PIN = 0 [04:47:18]*** Brake cut motor [04:47:18]Read from MH i2c: 01 [04:47:18]MH_I2C_Read... [04:47:18]*** Stop cut motor [04:47:18]*** Cut end [04:47:18]Read from MH i2c: 01 07 00 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: 01 07 00 C1 12 00 00 00 00 00 FF 0F E8 [04:47:18]process_action close_receipt done [04:47:18]requested_data is exist [04:47:18]produce_requested_data [04:47:18]requested_item fm.sn is exist - process it [04:47:18]wFMCommunicate request_size=4 [04:47:18]MH_SAM_APDU [04:47:18]CAPDU: 80 11 00 00 [04:47:18]Write to MH i2c: E2 08 00 C2 12 80 11 00 00 00 00 00 00 4E [04:47:18]Write i2c OK [04:47:18]MH_I2C_Read... [04:47:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:47:18]Read from MH i2c: E2 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: E2 17 00 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: E2 17 00 C2 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9A [04:47:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:47:18]wFMCommunicate OK [04:47:18]requested_item fd.num is exist - process it [04:47:18]SAM_PROTO_GetFieldsCounters [04:47:18]wFMCommunicate request_size=4 [04:47:18]MH_SAM_APDU [04:47:18]CAPDU: 80 13 00 00 [04:47:18]Write to MH i2c: E2 08 00 C3 12 80 13 00 00 00 00 00 00 51 [04:47:18]Write i2c OK [04:47:18]MH_I2C_Read... [04:47:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:47:18]Read from MH i2c: E2 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: E2 62 00 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: E2 62 00 C3 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 68 82 00 00 0E 04 04 00 B2 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 0A [04:47: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 68 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:47:18]wFMCommunicate OK [04:47:18]SAM_PROTO_GetFieldsCounters done [04:47:18]requested_item shift.num is exist - process it [04:47:18]requested_item shift.opened is exist - process it [04:47:18]req_shift_opened [04:47:18]FM_GetShiftState [04:47:18]SAM_PROTO_GetShiftState [04:47:18]wFMCommunicate request_size=4 [04:47:18]MH_SAM_APDU [04:47:18]CAPDU: 80 13 01 00 [04:47:18]Write to MH i2c: E2 08 00 C4 12 80 13 01 00 00 00 00 00 53 [04:47:18]Write i2c OK [04:47:18]MH_I2C_Read... [04:47:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:47:18]Read from MH i2c: E2 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: E2 0E 00 [04:47:18]MH_I2C_Read... [04:47:18]Read from MH i2c: E2 0E 00 C4 12 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 32 [04:47:18]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [04:47:18]wFMCommunicate OK [04:47:18]SAM_PROTO_GetShiftState done [04:47:18]FM_GetShiftState done [04:47:18]req_shift_opened done [04:47:18]requested_item shift.open_date is exist - process it [04:47:18]req_shift_open_date [04:47:18]req_shift_open_date done [04:47:18]produce_requested_data done [04:47:18]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33384,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [04:47:18]process_action_free close_receipt [04:47:18]json_value_free [04:47:18]json_value_free done [04:47:18]process_json_proto returns [04:47:18]Send response to host [04:47:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33384,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [04:47:18]free response buf [04:47:18]execute_script done [04:47:18]execute_script returns [04:47:18]free content buf [04:47:18]Sock 9.Close socket [04:47:18]Sock 9.Thread stoped [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:57]OFD Sender: No OFD packet to send [04:52:02]OFD Sender: No OFD packet to send [04:52:07]OFD Sender: No OFD packet to send [04:52:12]OFD Sender: No OFD packet to send [04:52:17]OFD Sender: No OFD packet to send [04:52:22]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:52]OFD Sender: No OFD packet to send [04:55:57]OFD Sender: No OFD packet to send [04:56:02]OFD Sender: No OFD packet to send [04:56:07]OFD Sender: No OFD packet to send [04:56:12]OFD Sender: No OFD packet to send [04:56:17]OFD Sender: No OFD packet to send [04:56:22]OFD Sender: No OFD packet to send [04:56:27]OFD Sender: No OFD packet to send [04:56:32]OFD Sender: No OFD packet to send [04:56:37]OFD Sender: No OFD packet to send [04:56:42]OFD Sender: No OFD packet to send [04:56:47]OFD Sender: No OFD packet to send [04:56:52]OFD Sender: No OFD packet to send [04:56:57]OFD Sender: No OFD packet to send [04:57:02]OFD Sender: No OFD packet to send [04:57:07]OFD Sender: No OFD packet to send [04:57:12]OFD Sender: No OFD packet to send [04:57:17]OFD Sender: No OFD packet to send [04:57:22]OFD Sender: No OFD packet to send [04:57:27]OFD Sender: No OFD packet to send [04:57:32]OFD Sender: No OFD packet to send [04:57:37]OFD Sender: No OFD packet to send [04:57:42]OFD Sender: No OFD packet to send [04:57:47]OFD Sender: No OFD packet to send [04:57:52]OFD Sender: No OFD packet to send [04:57:57]OFD Sender: No OFD packet to send [04:58:02]OFD Sender: No OFD packet to send [04:58:07]OFD Sender: No OFD packet to send [04:58:12]OFD Sender: No OFD packet to send [04:58:17]OFD Sender: No OFD packet to send [04:58:22]OFD Sender: No OFD packet to send [04:58:27]OFD Sender: No OFD packet to send [04:58:32]OFD Sender: No OFD packet to send [04:58:37]OFD Sender: No OFD packet to send [04:58:42]OFD Sender: No OFD packet to send [04:58:47]OFD Sender: No OFD packet to send [04:58:52]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:26]accept exits with 7 [05:01:26]New connection [05:01:26]New thread 3066461540 created [05:01:26]Thread 3066604900 joined [05:01:26]Waiting for new connection... [05:01:26] Sock 7.Parse request [05:01:26]Sock 7.Check first char [05:01:26]Sock 7.First char is OK [05:01:26]request: POST /json_proto HTTP/1.0 [05:01:26]Method: POST [05:01:26]URL: /json_proto [05:01:26]Method is POST - this is cgi request [05:01:26]url: /json_proto [05:01:26]query_string will be loaded in cgi processing [05:01:26]execute_cgi json_proto POST (null) [05:01:26]execute_cgi path=json_proto method=POST [05:01:26]POST find Content-Length [05:01:26]Host: 172.17.35.196:8080 [05:01:26]Content-Length: 640 [05:01:26]Content-Type: application/json [05:01:26] [05:01:26]POST finish read [05:01:26]Found Content-Length = 640 [05:01:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169196", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:01:26]execute_script... [05:01: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)169196", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:01:26]POST & json_proto [05:01:26]process_json_proto [05:01:26]json parsed OK: [05:01:26]protocol is kg_v1.0 [05:01:26]action value=close_receipt [05:01:26]process_action close_receipt [05:01:26]cmd_close_receipt [05:01:26]MH_GetDate [05:01:26]Write to MH i2c: F0 00 00 C5 12 C6 [05:01:26]Write i2c OK [05:01:26]MH_I2C_Read... [05:01:26]Read from MH i2c: F0 [05:01:26]MH_I2C_Read... [05:01:26]Read from MH i2c: F0 09 00 [05:01:26]MH_I2C_Read... [05:01:26]Read from MH i2c: F0 09 00 C5 12 00 2B 0A 92 66 AD 14 F4 65 16 [05:01:26]GetLastDocTimeStamp 1720846039 [05:01:26]current date 1720846891 [05:01:26]FM_GetShiftState [05:01:26]SAM_PROTO_GetShiftState [05:01:26]wFMCommunicate request_size=4 [05:01:26]MH_SAM_APDU [05:01:26]CAPDU: 80 13 01 00 [05:01:26]Write to MH i2c: E2 08 00 C6 12 80 13 01 00 00 00 00 00 55 [05:01:26]Write i2c OK [05:01:26]MH_I2C_Read... [05:01:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:01:26]Read from MH i2c: E2 [05:01:26]MH_I2C_Read... [05:01:26]Read from MH i2c: E2 0E 00 [05:01:26]MH_I2C_Read... [05:01:26]Read from MH i2c: E2 0E 00 C6 12 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 34 [05:01:26]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [05:01:26]wFMCommunicate OK [05:01:26]SAM_PROTO_GetShiftState done [05:01:26]FM_GetShiftState done [05:01:26]opened in 1720829207 [05:01:26]opened+sec_in_day 1720915607 [05:01:26]quantity*price = 3500 [05:01:26]sum+1 = 3501 [05:01:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 4 13.07.2024 05:01 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33385 ФПД: 111428078666424 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T050131&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33385&fm=111428078666424&tin=02508201610067®Number=0000000000093033&sum=3500 0 [05:01:27]StoreToDocumentArchive [05:01:27]shift 434 fd 33385 [05:01:27]save to /storage/0434/doc_00033385 [05:01:27]save last doc name /storage/0434/doc_00033385 to /storage/kkm_last_doc_name [05:01:27]save OK [05:01:27]Clear old archive folders... [05:01:27]ProcessDocumentItem done err = 0, tmpTLVsize=275 [05:01:27]tlvbuf is 00A66F10 [05:01:27]SAM_PROTO_ClearQueue [05:01:27]wFMCommunicate request_size=4 [05:01:27]MH_SAM_APDU [05:01:27]CAPDU: 80 09 00 00 [05:01:27]Write to MH i2c: E2 08 00 D3 12 80 09 00 00 00 00 00 00 57 [05:01:27]Write i2c OK [05:01:27]MH_I2C_Read... [05:01:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:01:28]Read from MH i2c: E2 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 D3 12 00 90 00 59 [05:01:28]RAPDU: 90 00 [05:01:28]wFMCommunicate OK [05:01:28]SAM_PROTO_ClearQueue done [05:01:28]KKMCreateOFDPacket [05:01:28]OFDProtocolAddRootSTLVToBuf [05:01:28]FM_MakeSignedData [05:01:28]FM_MakeSignedData [05:01:28]SAM_PROTO_SignData [05:01:28]wFMCommunicate request_size=4 [05:01:28]MH_SAM_APDU [05:01:28]CAPDU: 80 0D 01 02 [05:01:28]Write to MH i2c: E2 08 00 D4 12 80 0D 01 02 00 00 00 00 5F [05:01:28]Write i2c OK [05:01:28]MH_I2C_Read... [05:01:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:01:28]OFD Sender: No OFD packet to send [05:01:28]Read from MH i2c: E2 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 D4 12 00 90 00 5A [05:01:28]RAPDU: 90 00 [05:01:28]wFMCommunicate OK [05:01:28]wFMCommunicate request_size=255 [05:01:28]MH_SAM_APDU [05:01:28]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2B 0A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [05:01:28]Write to MH i2c: E2 02 01 D5 12 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2B 0A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 13 [05:01:28]Write i2c OK [05:01:28]MH_I2C_Read... [05:01:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:01:28]Read from MH i2c: E2 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 D5 12 00 90 00 5B [05:01:28]RAPDU: 90 00 [05:01:28]wFMCommunicate OK [05:01:28]wFMCommunicate request_size=34 [05:01:28]MH_SAM_APDU [05:01:28]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 69 82 00 00 35 04 06 00 65 57 DF 0C 02 B8 [05:01:28]Write to MH i2c: E2 25 00 D6 12 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 69 82 00 00 35 04 06 00 65 57 DF 0C 02 B8 00 00 68 [05:01:28]Write i2c OK [05:01:28]MH_I2C_Read... [05:01:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:01:28]Read from MH i2c: E2 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 03 00 D6 12 00 90 00 5C [05:01:28]RAPDU: 90 00 [05:01:28]wFMCommunicate OK [05:01:28]wFMCommunicate request_size=4 [05:01:28]MH_SAM_APDU [05:01:28]CAPDU: 80 0D 03 02 [05:01:28]Write to MH i2c: E2 08 00 D7 12 80 0D 03 02 00 00 00 00 64 [05:01:28]Write i2c OK [05:01:28]MH_I2C_Read... [05:01:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:01:28]Read from MH i2c: E2 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 0B 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 0B 00 D7 12 00 6A 63 60 55 07 B7 9A 0D 90 00 4C [05:01:28]RAPDU: 6A 63 60 55 07 B7 9A 0D 90 00 [05:01:28]wFMCommunicate OK [05:01:28]SAM_PROTO_SignData done [05:01:28]FM_MakeSignedData done [05:01:28]CreateOFDProtocolMessage [05:01:28]wFMCommunicate request_size=4 [05:01:28]MH_SAM_APDU [05:01:28]CAPDU: 80 11 00 00 [05:01:28]Write to MH i2c: E2 08 00 D8 12 80 11 00 00 00 00 00 00 64 [05:01:28]Write i2c OK [05:01:28]MH_I2C_Read... [05:01:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:01:28]Read from MH i2c: E2 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 17 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: E2 17 00 D8 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B0 [05:01:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [05:01:28]wFMCommunicate OK [05:01:28]CreateOFDProtocolMessage done [05:01:28]OFDSenderStorePacket 33385 [05:01:28]StoreOFDPacket docnum=33385 [05:01:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 02 8C 1F 01 03 82 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2B 0A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 69 82 00 00 35 04 06 00 65 57 DF 0C 02 B8 6A 63 60 55 07 B7 9A 0D [05:01:28]CheckFolder [05:01:28]dirname=/storage/ofd_packets [05:01:28]CheckFolder done [05:01:28]ProducePacketName [05:01:28]name=ofd_packets/00033385 [05:01:28]NVStorageSaveData ofd_packets/00033385 [05:01:28]File name is /storage/ofd_packets/00033385 [05:01:28]Write 325 bytes [05:01:28]NVStorageSaveData done [05:01:28]OFDSenderStorePacket done [05:01:28]KKMCreateOFDPacket done [05:01:28]NVStorageSaveData kkm_last_timestamp [05:01:28]File name is /storage/kkm_last_timestamp [05:01:28]Write 4 bytes [05:01:28]NVStorageSaveData done [05:01:28]ExternCall_PrintAddStr [05:01:28]wPrintStart [05:01:28]Write to MH i2c: 01 00 00 D9 12 EB [05:01:28]Write i2c OK [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: 01 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: 01 07 00 [05:01:28]MH_I2C_Read... [05:01:28]Read from MH i2c: 01 07 00 D9 12 00 00 00 00 00 FF 0F 00 [05:01:28]RasterBufferAndPrint [05:01:28]line Счет N : (3)169196 [05:01:28]line ИНН: 02508201610067 [05:01:28]line Контрольно-Кассовый Чек [05:01:28]line ПРОДАЖА [05:01:28]line Товар: 2000032710015 [05:01:28]line Сочник DC творог 75г [05:01:28]line 1.000 * 35.00 [05:01:28]line = 35.00 [05:01:28]line НДС 12% НСП 1% [05:01:28]line > о реализуемом товаре [05:01:28]line ИТОГО: 35.00 [05:01:28]line НСП 1% : 0.31 [05:01:28]line НДС 12% : 3.72 [05:01:28]line Наличными: 35.00 [05:01:28]line Безнал.: 0.00 [05:01:28]line Место: АЗС № 77 "Партнер Нефть" [05:01:28]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [05:01:28]line СНО: Общий режим [05:01:28]line Чек 4 13.07.2024 05:01 [05:01:28]line Смена: 434 ФФД: 1.0 [05:01:28]line ЗНМ: 0300000122 [05:01:28]line РНМ: 0000000000093033 [05:01:28]line Версия ККМ: 001 [05:01:28]line ФМ: 0000000000875104 [05:01:28]line ФД: 33385 [05:01:28]line ФПД: 111428078666424 [05:01:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T050131&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33385&fm=111428078666424&tin=02508201610067®Number=0000000000093033&sum=3500 [05:01:28]OFD Sender: Processing packet 33385 [packets to send 6, broken 5] [05:01:28]ProducePacketName [05:01:28]name=ofd_packets/00033385 [05:01:28]OFD Sender: To server: pG, [05:01:28]CommunicateWithHost lk.salyk.kg:30040 [05:01:28]ConnectInit lk.salyk.kg [05:01:28]line 0 [05:01:28]written 0, free lines is 4095 [05:01:28]Connected sock=10 [05:01:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 02 8C 1F 01 03 82 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 2B 0A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 69 82 00 00 35 04 06 00 65 57 DF 0C 02 B8 6A 63 60 55 07 B7 9A 0D [05:01:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 18 2D 47 00 C0 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 69 82 00 00 F4 03 04 00 D6 B4 91 66 B6 04 01 00 00 36 18 2F 8F 8D 70 58 E5 [05:01:29]CommunicateWithHost err = 0 [05:01:29]CheckOFDResponse [05:01:29]1017 (14) - 77093643461234 [05:01:29]1041 (16) - 0000000000875104 [05:01:29]1040 (4) - 33385 [05:01:29]1012 (4) - 12.07.2024 22:57 [05:01:29]1206 (1) - 0 [05:01:29]OFD Sender: Remove packet 33385 [05:01:29]ProducePacketName [05:01:29]name=ofd_packets/00033385 [05:01:29]NVStorageDeleteData [05:01:29]Write to MH i2c: 01 00 00 01 13 14 [05:01:29]Write i2c OK [05:01:29]MH_I2C_Read... [05:01:29]Read from MH i2c: 01 [05:01:29]MH_I2C_Read... [05:01:29]Read from MH i2c: 01 07 00 [05:01:29]MH_I2C_Read... [05:01:29]Read from MH i2c: 01 07 00 01 13 00 00 00 00 00 EB 0C 12 [05:01:29]RasterBufferAndPrint [05:01:29]line [05:01:29]line [05:01:29]line [05:01:29]line [05:01:29]line [05:01:29]written 0, free lines is 3313 [05:01:29]MH_Cut [05:01:29]Write to MH i2c: D1 01 00 08 13 01 ED [05:01:29]Write i2c OK [05:01:29]MH_I2C_Read... [05:01:29]Read from MH i2c: D1 [05:01:29]MH_I2C_Read... [05:01:29]Read from MH i2c: D1 01 00 [05:01:29]MH_I2C_Read... [05:01:29]Read from MH i2c: D1 01 00 08 13 00 EC [05:01:29]Write to MH i2c: 01 00 00 09 13 1C [05:01:29]Write i2c OK [05:01:29]MH_I2C_Read... [05:01:29]OFD Sender: No OFD packet to send [05:01:30]*** Cut start [05:01:30]*** Partial cut [05:01:30]*** CUTSNS_PIN = 1 [05:01:30]*** CUTSNS_PIN = 0 [05:01:30]*** Brake cut motor [05:01:30]Read from MH i2c: 01 [05:01:30]MH_I2C_Read... [05:01:30]*** Stop cut motor [05:01:30]*** Cut end [05:01:30]Read from MH i2c: 01 07 00 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: 01 07 00 09 13 00 00 00 00 00 FF 0F 31 [05:01:30]process_action close_receipt done [05:01:30]requested_data is exist [05:01:30]produce_requested_data [05:01:30]requested_item fm.sn is exist - process it [05:01:30]wFMCommunicate request_size=4 [05:01:30]MH_SAM_APDU [05:01:30]CAPDU: 80 11 00 00 [05:01:30]Write to MH i2c: E2 08 00 0A 13 80 11 00 00 00 00 00 00 97 [05:01:30]Write i2c OK [05:01:30]MH_I2C_Read... [05:01:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:01:30]Read from MH i2c: E2 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: E2 17 00 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: E2 17 00 0A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E3 [05:01:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [05:01:30]wFMCommunicate OK [05:01:30]requested_item fd.num is exist - process it [05:01:30]SAM_PROTO_GetFieldsCounters [05:01:30]wFMCommunicate request_size=4 [05:01:30]MH_SAM_APDU [05:01:30]CAPDU: 80 13 00 00 [05:01:30]Write to MH i2c: E2 08 00 0B 13 80 13 00 00 00 00 00 00 9A [05:01:30]Write i2c OK [05:01:30]MH_I2C_Read... [05:01:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:01:30]Read from MH i2c: E2 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: E2 62 00 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: E2 62 00 0B 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 69 82 00 00 0E 04 04 00 B2 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 57 [05:01:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 69 82 00 00 0E 04 04 00 B2 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 [05:01:30]wFMCommunicate OK [05:01:30]SAM_PROTO_GetFieldsCounters done [05:01:30]requested_item shift.num is exist - process it [05:01:30]requested_item shift.opened is exist - process it [05:01:30]req_shift_opened [05:01:30]FM_GetShiftState [05:01:30]SAM_PROTO_GetShiftState [05:01:30]wFMCommunicate request_size=4 [05:01:30]MH_SAM_APDU [05:01:30]CAPDU: 80 13 01 00 [05:01:30]Write to MH i2c: E2 08 00 0C 13 80 13 01 00 00 00 00 00 9C [05:01:30]Write i2c OK [05:01:30]MH_I2C_Read... [05:01:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:01:30]Read from MH i2c: E2 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: E2 0E 00 [05:01:30]MH_I2C_Read... [05:01:30]Read from MH i2c: E2 0E 00 0C 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 7B [05:01:30]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [05:01:30]wFMCommunicate OK [05:01:30]SAM_PROTO_GetShiftState done [05:01:30]FM_GetShiftState done [05:01:30]req_shift_opened done [05:01:30]requested_item shift.open_date is exist - process it [05:01:30]req_shift_open_date [05:01:30]req_shift_open_date done [05:01:30]produce_requested_data done [05:01:30]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33385,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [05:01:30]process_action_free close_receipt [05:01:30]json_value_free [05:01:30]json_value_free done [05:01:30]process_json_proto returns [05:01:30]Send response to host [05:01:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33385,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [05:01:30]free response buf [05:01:30]execute_script done [05:01:30]execute_script returns [05:01:30]free content buf [05:01:30]Sock 7.Close socket [05:01:30]Sock 7.Thread stoped [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:49]OFD Sender: No OFD packet to send [05:04:54]OFD Sender: No OFD packet to send [05:04:59]OFD Sender: No OFD packet to send [05:05:04]OFD Sender: No OFD packet to send [05:05:09]OFD Sender: No OFD packet to send [05:05:14]OFD Sender: No OFD packet to send [05:05:19]OFD Sender: No OFD packet to send [05:05:24]OFD Sender: No OFD packet to send [05:05:29]OFD Sender: No OFD packet to send [05:05:34]OFD Sender: No OFD packet to send [05:05:39]OFD Sender: No OFD packet to send [05:05:44]OFD Sender: No OFD packet to send [05:05:49]OFD Sender: No OFD packet to send [05:05:54]OFD Sender: No OFD packet to send [05:05:59]OFD Sender: No OFD packet to send [05:06:04]OFD Sender: No OFD packet to send [05:06:09]OFD Sender: No OFD packet to send [05:06:14]OFD Sender: No OFD packet to send [05:06:19]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:35]OFD Sender: No OFD packet to send [05:16:40]OFD Sender: No OFD packet to send [05:16:45]OFD Sender: No OFD packet to send [05:16:50]OFD Sender: No OFD packet to send [05:16:55]OFD Sender: No OFD packet to send [05:17:00]OFD Sender: No OFD packet to send [05:17:05]OFD Sender: No OFD packet to send [05:17:10]OFD Sender: No OFD packet to send [05:17:15]OFD Sender: No OFD packet to send [05:17:20]OFD Sender: No OFD packet to send [05:17:25]OFD Sender: No OFD packet to send [05:17:30]OFD Sender: No OFD packet to send [05:17:35]OFD Sender: No OFD packet to send [05:17:40]OFD Sender: No OFD packet to send [05:17:45]OFD Sender: No OFD packet to send [05:17:50]OFD Sender: No OFD packet to send [05:17:55]OFD Sender: No OFD packet to send [05:18:00]OFD Sender: No OFD packet to send [05:18:05]OFD Sender: No OFD packet to send [05:18:10]OFD Sender: No OFD packet to send [05:18:15]OFD Sender: No OFD packet to send [05:18:20]OFD Sender: No OFD packet to send [05:18:25]OFD Sender: No OFD packet to send [05:18:30]OFD Sender: No OFD packet to send [05:18:35]OFD Sender: No OFD packet to send [05:18:40]OFD Sender: No OFD packet to send [05:18:45]OFD Sender: No OFD packet to send [05:18:50]OFD Sender: No OFD packet to send [05:18:55]OFD Sender: No OFD packet to send [05:19:00]OFD Sender: No OFD packet to send [05:19:05]OFD Sender: No OFD packet to send [05:19:10]OFD Sender: No OFD packet to send [05:19:15]OFD Sender: No OFD packet to send [05:19:20]OFD Sender: No OFD packet to send [05:19:25]OFD Sender: No OFD packet to send [05:19:30]OFD Sender: No OFD packet to send [05:19:35]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:25]OFD Sender: No OFD packet to send [05:20:30]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:52]accept exits with 9 [05:27:52]New connection [05:27:52]New thread 3066604900 created [05:27:52]Thread 3066461540 joined [05:27:52]Waiting for new connection... [05:27:52] Sock 9.Parse request [05:27:52]Sock 9.Check first char [05:27:52]Sock 9.First char is OK [05:27:52]request: POST /json_proto HTTP/1.0 [05:27:52]Method: POST [05:27:52]URL: /json_proto [05:27:52]Method is POST - this is cgi request [05:27:52]url: /json_proto [05:27:52]query_string will be loaded in cgi processing [05:27:52]execute_cgi json_proto POST (null) [05:27:52]execute_cgi path=json_proto method=POST [05:27:52]POST find Content-Length [05:27:52]Host: 172.17.35.196:8080 [05:27:52]Content-Length: 845 [05:27:52]Content-Type: application/json [05:27:52] [05:27:52]POST finish read [05:27:52]Found Content-Length = 845 [05:27:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169197", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:27:52]execute_script... [05:27: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)169197", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:27:52]POST & json_proto [05:27:52]process_json_proto [05:27:52]json parsed OK: [05:27:52]protocol is kg_v1.0 [05:27:52]action value=close_receipt [05:27:52]process_action close_receipt [05:27:52]cmd_close_receipt [05:27:52]MH_GetDate [05:27:52]Write to MH i2c: F0 00 00 0D 13 0F [05:27:52]Write i2c OK [05:27:52]MH_I2C_Read... [05:27:52]Read from MH i2c: F0 [05:27:52]MH_I2C_Read... [05:27:52]Read from MH i2c: F0 09 00 [05:27:52]MH_I2C_Read... [05:27:52]Read from MH i2c: F0 09 00 0D 13 00 5D 10 92 66 AD 14 F4 65 97 [05:27:52]GetLastDocTimeStamp 1720846891 [05:27:52]current date 1720848477 [05:27:52]FM_GetShiftState [05:27:52]SAM_PROTO_GetShiftState [05:27:52]wFMCommunicate request_size=4 [05:27:52]MH_SAM_APDU [05:27:52]CAPDU: 80 13 01 00 [05:27:52]Write to MH i2c: E2 08 00 0E 13 80 13 01 00 00 00 00 00 9E [05:27:52]Write i2c OK [05:27:52]MH_I2C_Read... [05:27:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:27:52]Read from MH i2c: E2 [05:27:52]MH_I2C_Read... [05:27:52]Read from MH i2c: E2 0E 00 [05:27:52]MH_I2C_Read... [05:27:52]Read from MH i2c: E2 0E 00 0E 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 7D [05:27:52]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [05:27:52]wFMCommunicate OK [05:27:52]SAM_PROTO_GetShiftState done [05:27:52]FM_GetShiftState done [05:27:52]opened in 1720829207 [05:27:52]opened+sec_in_day 1720915607 [05:27:52]quantity*price = 11500 [05:27:52]sum+1 = 11501 [05:27:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 5 13.07.2024 05:27 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33386 ФПД: 251549160786191 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T052757&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33386&fm=251549160786191&tin=02508201610067®Number=0000000000093033&sum=11500 0 [05:27:53]StoreToDocumentArchive [05:27:53]shift 434 fd 33386 [05:27:53]save to /storage/0434/doc_00033386 [05:27:53]save last doc name /storage/0434/doc_00033386 to /storage/kkm_last_doc_name [05:27:53]save OK [05:27:53]Clear old archive folders... [05:27:53]ProcessDocumentItem done err = 0, tmpTLVsize=280 [05:27:53]tlvbuf is B6E53940 [05:27:53]SAM_PROTO_ClearQueue [05:27:53]wFMCommunicate request_size=4 [05:27:53]MH_SAM_APDU [05:27:53]CAPDU: 80 09 00 00 [05:27:53]Write to MH i2c: E2 08 00 1B 13 80 09 00 00 00 00 00 00 A0 [05:27:53]Write i2c OK [05:27:53]MH_I2C_Read... [05:27:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:27:54]Read from MH i2c: E2 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 1B 13 00 90 00 A2 [05:27:54]RAPDU: 90 00 [05:27:54]wFMCommunicate OK [05:27:54]SAM_PROTO_ClearQueue done [05:27:54]KKMCreateOFDPacket [05:27:54]OFDProtocolAddRootSTLVToBuf [05:27:54]FM_MakeSignedData [05:27:54]FM_MakeSignedData [05:27:54]SAM_PROTO_SignData [05:27:54]wFMCommunicate request_size=4 [05:27:54]MH_SAM_APDU [05:27:54]CAPDU: 80 0D 01 02 [05:27:54]Write to MH i2c: E2 08 00 1C 13 80 0D 01 02 00 00 00 00 A8 [05:27:54]Write i2c OK [05:27:54]MH_I2C_Read... [05:27:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:27:54]Read from MH i2c: E2 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 1C 13 00 90 00 A3 [05:27:54]RAPDU: 90 00 [05:27:54]wFMCommunicate OK [05:27:54]wFMCommunicate request_size=255 [05:27:54]MH_SAM_APDU [05:27:54]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 5D 10 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [05:27:54]Write to MH i2c: E2 02 01 1D 13 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 5D 10 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 FE [05:27:54]Write i2c OK [05:27:54]MH_I2C_Read... [05:27:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:27:54]Read from MH i2c: E2 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 1D 13 00 90 00 A4 [05:27:54]RAPDU: 90 00 [05:27:54]wFMCommunicate OK [05:27:54]wFMCommunicate request_size=39 [05:27:54]MH_SAM_APDU [05:27:54]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6A 82 00 00 35 04 06 00 E4 C8 5A 5F 49 0F [05:27:54]Write to MH i2c: E2 2A 00 1E 13 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6A 82 00 00 35 04 06 00 E4 C8 5A 5F 49 0F 00 00 08 [05:27:54]Write i2c OK [05:27:54]MH_I2C_Read... [05:27:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:27:54]Read from MH i2c: E2 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 03 00 1E 13 00 90 00 A5 [05:27:54]RAPDU: 90 00 [05:27:54]wFMCommunicate OK [05:27:54]wFMCommunicate request_size=4 [05:27:54]MH_SAM_APDU [05:27:54]CAPDU: 80 0D 03 02 [05:27:54]Write to MH i2c: E2 08 00 1F 13 80 0D 03 02 00 00 00 00 AD [05:27:54]Write i2c OK [05:27:54]MH_I2C_Read... [05:27:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:27:54]Read from MH i2c: E2 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 0B 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 0B 00 1F 13 00 DD 55 69 4C DF 50 CC 37 90 00 C7 [05:27:54]RAPDU: DD 55 69 4C DF 50 CC 37 90 00 [05:27:54]wFMCommunicate OK [05:27:54]SAM_PROTO_SignData done [05:27:54]FM_MakeSignedData done [05:27:54]CreateOFDProtocolMessage [05:27:54]wFMCommunicate request_size=4 [05:27:54]MH_SAM_APDU [05:27:54]CAPDU: 80 11 00 00 [05:27:54]Write to MH i2c: E2 08 00 20 13 80 11 00 00 00 00 00 00 AD [05:27:54]Write i2c OK [05:27:54]MH_I2C_Read... [05:27:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:27:54]Read from MH i2c: E2 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 17 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: E2 17 00 20 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F9 [05:27:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [05:27:54]wFMCommunicate OK [05:27:54]CreateOFDProtocolMessage done [05:27:54]OFDSenderStorePacket 33386 [05:27:54]StoreOFDPacket docnum=33386 [05:27:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 1C D8 24 01 9B 8C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 5D 10 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6A 82 00 00 35 04 06 00 E4 C8 5A 5F 49 0F DD 55 69 4C DF 50 CC 37 [05:27:54]CheckFolder [05:27:54]dirname=/storage/ofd_packets [05:27:54]CheckFolder done [05:27:54]ProducePacketName [05:27:54]name=ofd_packets/00033386 [05:27:54]NVStorageSaveData ofd_packets/00033386 [05:27:54]File name is /storage/ofd_packets/00033386 [05:27:54]Write 330 bytes [05:27:54]NVStorageSaveData done [05:27:54]OFDSenderStorePacket done [05:27:54]KKMCreateOFDPacket done [05:27:54]NVStorageSaveData kkm_last_timestamp [05:27:54]File name is /storage/kkm_last_timestamp [05:27:54]Write 4 bytes [05:27:54]NVStorageSaveData done [05:27:54]ExternCall_PrintAddStr [05:27:54]wPrintStart [05:27:54]Write to MH i2c: 01 00 00 21 13 34 [05:27:54]Write i2c OK [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: 01 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: 01 07 00 [05:27:54]MH_I2C_Read... [05:27:54]Read from MH i2c: 01 07 00 21 13 00 00 00 00 00 FF 0F 49 [05:27:54]RasterBufferAndPrint [05:27:54]line Счет N : (3)169197 [05:27:54]line ИНН: 02508201610067 [05:27:54]line Контрольно-Кассовый Чек [05:27:54]line ПРОДАЖА [05:27:54]line Товар: 2000036210013 [05:27:54]line Кофе Капучино (GABB TRADE) [05:27:54]line 1.000 * 115.00 [05:27:54]line = 115.00 [05:27:54]line НДС 12% НСП 1% [05:27:54]line > о реализуемом товаре [05:27:54]line ИТОГО: 115.00 [05:27:54]line НСП 1% : 1.02 [05:27:54]line НДС 12% : 12.21 [05:27:54]line Наличными: 0.00 [05:27:54]line Безнал.: 115.00 [05:27:54]line Место: АЗС № 77 "Партнер Нефть" [05:27:54]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [05:27:54]line СНО: Общий режим [05:27:54]line Чек 5 13.07.2024 05:27 [05:27:54]line Смена: 434 ФФД: 1.0 [05:27:54]line ЗНМ: 0300000122 [05:27:54]line РНМ: 0000000000093033 [05:27:54]line Версия ККМ: 001 [05:27:54]line Платежная система: АКБ Кыргызстан [05:27:54]line ФМ: 0000000000875104 [05:27:54]line ФД: 33386 [05:27:54]line ФПД: 251549160786191 [05:27:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T052757&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33386&fm=251549160786191&tin=02508201610067®Number=0000000000093033&sum=11500 [05:27:54]line 0 [05:27:54]OFD Sender: Processing packet 33386 [packets to send 6, broken 5] [05:27:54]ProducePacketName [05:27:54]name=ofd_packets/00033386 [05:27:54]OFD Sender: To server: pG, [05:27:54]CommunicateWithHost lk.salyk.kg:30040 [05:27:54]ConnectInit lk.salyk.kg [05:27:54]written 0, free lines is 4095 [05:27:54]Connected sock=10 [05:27:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 1C D8 24 01 9B 8C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 5D 10 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6A 82 00 00 35 04 06 00 E4 C8 5A 5F 49 0F DD 55 69 4C DF 50 CC 37 [05:27:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 26 54 47 00 75 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6A 82 00 00 F4 03 04 00 08 BB 91 66 B6 04 01 00 00 9F A9 26 BB DA 2C 86 25 [05:27:55]CommunicateWithHost err = 0 [05:27:55]CheckOFDResponse [05:27:55]1017 (14) - 77093643461234 [05:27:55]1041 (16) - 0000000000875104 [05:27:55]1040 (4) - 33386 [05:27:55]1012 (4) - 12.07.2024 23:23 [05:27:55]1206 (1) - 0 [05:27:55]OFD Sender: Remove packet 33386 [05:27:55]ProducePacketName [05:27:55]name=ofd_packets/00033386 [05:27:55]NVStorageDeleteData [05:27:55]Write to MH i2c: 01 00 00 4B 13 5E [05:27:55]Write i2c OK [05:27:55]MH_I2C_Read... [05:27:55]Read from MH i2c: 01 [05:27:55]MH_I2C_Read... [05:27:55]Read from MH i2c: 01 07 00 [05:27:55]MH_I2C_Read... [05:27:55]Read from MH i2c: 01 07 00 4B 13 00 00 00 00 00 E7 0C 58 [05:27:55]RasterBufferAndPrint [05:27:55]line [05:27:55]line [05:27:55]line [05:27:55]line [05:27:55]line [05:27:55]written 0, free lines is 3309 [05:27:55]MH_Cut [05:27:55]Write to MH i2c: D1 01 00 52 13 01 37 [05:27:55]Write i2c OK [05:27:55]MH_I2C_Read... [05:27:55]Read from MH i2c: D1 [05:27:55]MH_I2C_Read... [05:27:55]Read from MH i2c: D1 01 00 [05:27:55]MH_I2C_Read... [05:27:55]Read from MH i2c: D1 01 00 52 13 00 36 [05:27:55]Write to MH i2c: 01 00 00 53 13 66 [05:27:55]Write i2c OK [05:27:55]MH_I2C_Read... [05:27:55]OFD Sender: No OFD packet to send [05:27:56]*** Cut start [05:27:56]*** Partial cut [05:27:56]*** CUTSNS_PIN = 1 [05:27:56]*** CUTSNS_PIN = 0 [05:27:56]*** Brake cut motor [05:27:56]Read from MH i2c: 01 [05:27:56]MH_I2C_Read... [05:27:56]*** Stop cut motor [05:27:56]*** Cut end [05:27:56]Read from MH i2c: 01 07 00 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: 01 07 00 53 13 00 00 00 00 00 FF 0F 7B [05:27:56]process_action close_receipt done [05:27:56]requested_data is exist [05:27:56]produce_requested_data [05:27:56]requested_item fm.sn is exist - process it [05:27:56]wFMCommunicate request_size=4 [05:27:56]MH_SAM_APDU [05:27:56]CAPDU: 80 11 00 00 [05:27:56]Write to MH i2c: E2 08 00 54 13 80 11 00 00 00 00 00 00 E1 [05:27:56]Write i2c OK [05:27:56]MH_I2C_Read... [05:27:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:27:56]Read from MH i2c: E2 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: E2 17 00 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: E2 17 00 54 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2D [05:27:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [05:27:56]wFMCommunicate OK [05:27:56]requested_item fd.num is exist - process it [05:27:56]SAM_PROTO_GetFieldsCounters [05:27:56]wFMCommunicate request_size=4 [05:27:56]MH_SAM_APDU [05:27:56]CAPDU: 80 13 00 00 [05:27:56]Write to MH i2c: E2 08 00 55 13 80 13 00 00 00 00 00 00 E4 [05:27:56]Write i2c OK [05:27:56]MH_I2C_Read... [05:27:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:27:56]Read from MH i2c: E2 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: E2 62 00 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: E2 62 00 55 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6A 82 00 00 0E 04 04 00 B2 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 A5 [05:27:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6A 82 00 00 0E 04 04 00 B2 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 [05:27:56]wFMCommunicate OK [05:27:56]SAM_PROTO_GetFieldsCounters done [05:27:56]requested_item shift.num is exist - process it [05:27:56]requested_item shift.opened is exist - process it [05:27:56]req_shift_opened [05:27:56]FM_GetShiftState [05:27:56]SAM_PROTO_GetShiftState [05:27:56]wFMCommunicate request_size=4 [05:27:56]MH_SAM_APDU [05:27:56]CAPDU: 80 13 01 00 [05:27:56]Write to MH i2c: E2 08 00 56 13 80 13 01 00 00 00 00 00 E6 [05:27:56]Write i2c OK [05:27:56]MH_I2C_Read... [05:27:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:27:56]Read from MH i2c: E2 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: E2 0E 00 [05:27:56]MH_I2C_Read... [05:27:56]Read from MH i2c: E2 0E 00 56 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C5 [05:27:56]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [05:27:56]wFMCommunicate OK [05:27:56]SAM_PROTO_GetShiftState done [05:27:56]FM_GetShiftState done [05:27:56]req_shift_opened done [05:27:56]requested_item shift.open_date is exist - process it [05:27:56]req_shift_open_date [05:27:56]req_shift_open_date done [05:27:56]produce_requested_data done [05:27:56]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33386,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [05:27:56]process_action_free close_receipt [05:27:56]json_value_free [05:27:56]json_value_free done [05:27:56]process_json_proto returns [05:27:56]Send response to host [05:27:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33386,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [05:27:56]free response buf [05:27:56]execute_script done [05:27:56]execute_script returns [05:27:56]free content buf [05:27:56]Sock 9.Close socket [05:27:56]Sock 9.Thread stoped [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:21]recv_with_timeout no data received [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:22]recv_with_timeout no data received [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]accept exits with 7 [05:49:41]New connection [05:49:41]New thread 3066461540 created [05:49:41]Thread 3066604900 joined [05:49:41]Waiting for new connection... [05:49:41] Sock 7.Parse request [05:49:41]Sock 7.Check first char [05:49:41]Sock 7.First char is OK [05:49:41]request: POST /json_proto HTTP/1.0 [05:49:41]Method: POST [05:49:41]URL: /json_proto [05:49:41]Method is POST - this is cgi request [05:49:41]url: /json_proto [05:49:41]query_string will be loaded in cgi processing [05:49:41]execute_cgi json_proto POST (null) [05:49:41]execute_cgi path=json_proto method=POST [05:49:41]POST find Content-Length [05:49:41]Host: 172.17.35.196:8080 [05:49:41]Content-Length: 1101 [05:49:41]Content-Type: application/json [05:49:41] [05:49:41]POST finish read [05:49:41]Found Content-Length = 1101 [05:49:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169198", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:49:41]execute_script... [05:49: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)169198", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:49:41]POST & json_proto [05:49:41]process_json_proto [05:49:41]json parsed OK: [05:49:41]protocol is kg_v1.0 [05:49:41]action value=close_receipt [05:49:41]process_action close_receipt [05:49:41]cmd_close_receipt [05:49:41]MH_GetDate [05:49:41]Write to MH i2c: F0 00 00 57 13 59 [05:49:41]Write i2c OK [05:49:41]MH_I2C_Read... [05:49:41]Read from MH i2c: F0 [05:49:41]MH_I2C_Read... [05:49:41]Read from MH i2c: F0 09 00 [05:49:41]MH_I2C_Read... [05:49:41]Read from MH i2c: F0 09 00 57 13 00 79 15 92 66 AD 14 F4 65 02 [05:49:41]GetLastDocTimeStamp 1720848477 [05:49:41]current date 1720849785 [05:49:41]FM_GetShiftState [05:49:41]SAM_PROTO_GetShiftState [05:49:41]wFMCommunicate request_size=4 [05:49:41]MH_SAM_APDU [05:49:41]CAPDU: 80 13 01 00 [05:49:41]Write to MH i2c: E2 08 00 58 13 80 13 01 00 00 00 00 00 E8 [05:49:41]Write i2c OK [05:49:41]MH_I2C_Read... [05:49:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:49:41]Read from MH i2c: E2 [05:49:41]MH_I2C_Read... [05:49:41]Read from MH i2c: E2 0E 00 [05:49:41]MH_I2C_Read... [05:49:41]Read from MH i2c: E2 0E 00 58 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C7 [05:49:41]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [05:49:41]wFMCommunicate OK [05:49:41]SAM_PROTO_GetShiftState done [05:49:41]FM_GetShiftState done [05:49:41]opened in 1720829207 [05:49:41]opened+sec_in_day 1720915607 [05:49:41]quantity*price = 27600 [05:49:41]sum+1 = 27601 [05:49:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 343.00 НСП 1% : 3.03 НДС 12% : 36.42 Наличными: 0.00 Безнал.: 343.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 6 13.07.2024 05:49 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33387 ФПД: 216286848982995 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T054945&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33387&fm=216286848982995&tin=02508201610067®Number=0000000000093033&sum=34300 0 [05:49:42]StoreToDocumentArchive [05:49:42]shift 434 fd 33387 [05:49:42]save to /storage/0434/doc_00033387 [05:49:42]save last doc name /storage/0434/doc_00033387 to /storage/kkm_last_doc_name [05:49:42]save OK [05:49:42]Clear old archive folders... [05:49:42]ProcessDocumentItem done err = 0, tmpTLVsize=388 [05:49:42]tlvbuf is 00A55810 [05:49:42]SAM_PROTO_ClearQueue [05:49:42]wFMCommunicate request_size=4 [05:49:42]MH_SAM_APDU [05:49:42]CAPDU: 80 09 00 00 [05:49:42]Write to MH i2c: E2 08 00 65 13 80 09 00 00 00 00 00 00 EA [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:49:42]Read from MH i2c: E2 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 65 13 00 90 00 EC [05:49:42]RAPDU: 90 00 [05:49:42]wFMCommunicate OK [05:49:42]SAM_PROTO_ClearQueue done [05:49:42]KKMCreateOFDPacket [05:49:42]OFDProtocolAddRootSTLVToBuf [05:49:42]FM_MakeSignedData [05:49:42]FM_MakeSignedData [05:49:42]SAM_PROTO_SignData [05:49:42]wFMCommunicate request_size=4 [05:49:42]MH_SAM_APDU [05:49:42]CAPDU: 80 0D 01 02 [05:49:42]Write to MH i2c: E2 08 00 66 13 80 0D 01 02 00 00 00 00 F2 [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:49:42]Read from MH i2c: E2 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 66 13 00 90 00 ED [05:49:42]RAPDU: 90 00 [05:49:42]wFMCommunicate OK [05:49:42]wFMCommunicate request_size=255 [05:49:42]MH_SAM_APDU [05:49:42]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [05:49:42]Write to MH i2c: E2 02 01 67 13 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 98 [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:49:42]Read from MH i2c: E2 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 67 13 00 90 00 EE [05:49:42]RAPDU: 90 00 [05:49:42]wFMCommunicate OK [05:49:42]wFMCommunicate request_size=147 [05:49:42]MH_SAM_APDU [05:49:42]CAPDU: 80 0D 02 02 8E F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 79 15 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6B 82 00 00 35 04 06 00 C4 B6 34 CD 9F D3 [05:49:42]Write to MH i2c: E2 96 00 68 13 80 0D 02 02 8E 00 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 79 15 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6B 82 00 00 35 04 06 00 C4 B6 34 CD 9F D3 00 00 42 [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:49:42]Read from MH i2c: E2 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 03 00 68 13 00 90 00 EF [05:49:42]RAPDU: 90 00 [05:49:42]wFMCommunicate OK [05:49:42]wFMCommunicate request_size=4 [05:49:42]MH_SAM_APDU [05:49:42]CAPDU: 80 0D 03 02 [05:49:42]Write to MH i2c: E2 08 00 69 13 80 0D 03 02 00 00 00 00 F7 [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:49:42]Read from MH i2c: E2 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 0B 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 0B 00 69 13 00 6D 88 BA 07 06 22 AA 3E 90 00 BE [05:49:42]RAPDU: 6D 88 BA 07 06 22 AA 3E 90 00 [05:49:42]wFMCommunicate OK [05:49:42]SAM_PROTO_SignData done [05:49:42]FM_MakeSignedData done [05:49:42]CreateOFDProtocolMessage [05:49:42]wFMCommunicate request_size=4 [05:49:42]MH_SAM_APDU [05:49:42]CAPDU: 80 11 00 00 [05:49:42]Write to MH i2c: E2 08 00 6A 13 80 11 00 00 00 00 00 00 F7 [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:49:42]Read from MH i2c: E2 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 17 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: E2 17 00 6A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 43 [05:49:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [05:49:42]wFMCommunicate OK [05:49:42]CreateOFDProtocolMessage done [05:49:42]OFDSenderStorePacket 33387 [05:49:42]StoreOFDPacket docnum=33387 [05:49:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 98 01 00 00 08 9C 90 01 9C C1 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 79 15 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6B 82 00 00 35 04 06 00 C4 B6 34 CD 9F D3 6D 88 BA 07 06 22 AA 3E [05:49:42]CheckFolder [05:49:42]dirname=/storage/ofd_packets [05:49:42]CheckFolder done [05:49:42]ProducePacketName [05:49:42]name=ofd_packets/00033387 [05:49:42]NVStorageSaveData ofd_packets/00033387 [05:49:42]File name is /storage/ofd_packets/00033387 [05:49:42]Write 438 bytes [05:49:42]NVStorageSaveData done [05:49:42]OFDSenderStorePacket done [05:49:42]KKMCreateOFDPacket done [05:49:42]NVStorageSaveData kkm_last_timestamp [05:49:42]File name is /storage/kkm_last_timestamp [05:49:42]Write 4 bytes [05:49:42]NVStorageSaveData done [05:49:42]ExternCall_PrintAddStr [05:49:42]wPrintStart [05:49:42]Write to MH i2c: 01 00 00 6B 13 7E [05:49:42]Write i2c OK [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: 01 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: 01 07 00 [05:49:42]MH_I2C_Read... [05:49:42]Read from MH i2c: 01 07 00 6B 13 00 00 00 00 00 FF 0F 93 [05:49:42]RasterBufferAndPrint [05:49:42]line Счет N : (3)169198 [05:49:42]line ИНН: 02508201610067 [05:49:43]line Контрольно-Кассовый Чек [05:49:43]line ПРОДАЖА [05:49:43]line Товар: 4640030091621 [05:49:43]line Сигареты ESSE Exchange W [05:49:43]line 2.000 * 138.00 [05:49:43]line = 276.00 [05:49:43]line НДС 12% НСП 1% [05:49:43]line > о реализуемом товаре [05:49:43]line Товар: 6931280300549 [05:49:43]line Зажигалка Cricket ПН пьезо [05:49:43]line 1.000 * 67.00 [05:49:43]line = 67.00 [05:49:43]line НДС 12% НСП 1% [05:49:43]line > о реализуемом товаре [05:49:43]line ИТОГО: 343.00 [05:49:43]line НСП 1% : 3.03 [05:49:43]line НДС 12% : 36.42 [05:49:43]line Наличными: 0.00 [05:49:43]line Безнал.: 343.00 [05:49:43]line Место: АЗС № 77 "Партнер Нефть" [05:49:43]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [05:49:43]line СНО: Общий режим [05:49:43]line Чек 6 13.07.2024 05:49 [05:49:43]line Смена: 434 ФФД: 1.0 [05:49:43]line ЗНМ: 0300000122 [05:49:43]line РНМ: 0000000000093033 [05:49:43]line Версия ККМ: 001 [05:49:43]line Платежная система: АКБ Кыргызстан [05:49:43]line ФМ: 0000000000875104 [05:49:43]line ФД: 33387 [05:49:43]line ФПД: 216286848982995 [05:49:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T054945&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33387&fm=216286848982995&tin=02508201610067®Number=0000000000093033&sum=34300 [05:49:43]line 0 [05:49:43]OFD Sender: Processing packet 33387 [packets to send 6, broken 5] [05:49:43]ProducePacketName [05:49:43]name=ofd_packets/00033387 [05:49:43]OFD Sender: To server: pG, [05:49:43]CommunicateWithHost lk.salyk.kg:30040 [05:49:43]ConnectInit lk.salyk.kg [05:49:43]written 0, free lines is 4095 [05:49:43]Connected sock=10 [05:49:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 98 01 00 00 08 9C 90 01 9C C1 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 79 15 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6B 82 00 00 35 04 06 00 C4 B6 34 CD 9F D3 6D 88 BA 07 06 22 AA 3E [05:49:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A0 ED 47 00 7C 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6B 82 00 00 F4 03 04 00 24 C0 91 66 B6 04 01 00 00 31 AB 4D 30 A0 6F F7 B0 [05:49:43]CommunicateWithHost err = 0 [05:49:43]CheckOFDResponse [05:49:43]1017 (14) - 77093643461234 [05:49:43]1041 (16) - 0000000000875104 [05:49:43]1040 (4) - 33387 [05:49:43]1012 (4) - 12.07.2024 23:45 [05:49:43]1206 (1) - 0 [05:49:43]OFD Sender: Remove packet 33387 [05:49:43]ProducePacketName [05:49:43]name=ofd_packets/00033387 [05:49:43]NVStorageDeleteData [05:49:43]Write to MH i2c: 01 00 00 9B 13 AE [05:49:43]Write i2c OK [05:49:43]MH_I2C_Read... [05:49:43]Read from MH i2c: 01 [05:49:43]MH_I2C_Read... [05:49:43]Read from MH i2c: 01 07 00 [05:49:43]MH_I2C_Read... [05:49:43]Read from MH i2c: 01 07 00 9B 13 00 00 00 00 00 84 0C 45 [05:49:43]RasterBufferAndPrint [05:49:43]line [05:49:43]line [05:49:43]line [05:49:43]line [05:49:43]line [05:49:43]written 0, free lines is 3210 [05:49:43]MH_Cut [05:49:43]Write to MH i2c: D1 01 00 A2 13 01 87 [05:49:43]Write i2c OK [05:49:43]MH_I2C_Read... [05:49:43]Read from MH i2c: D1 [05:49:43]MH_I2C_Read... [05:49:43]Read from MH i2c: D1 01 00 [05:49:43]MH_I2C_Read... [05:49:43]Read from MH i2c: D1 01 00 A2 13 00 86 [05:49:43]Write to MH i2c: 01 00 00 A3 13 B6 [05:49:43]Write i2c OK [05:49:43]MH_I2C_Read... [05:49:44]OFD Sender: No OFD packet to send [05:49:44]*** Cut start [05:49:44]*** Partial cut [05:49:44]*** CUTSNS_PIN = 1 [05:49:44]*** CUTSNS_PIN = 0 [05:49:44]*** Brake cut motor [05:49:45]Read from MH i2c: 01 [05:49:45]MH_I2C_Read... [05:49:45]*** Stop cut motor [05:49:45]*** Cut end [05:49:45]Read from MH i2c: 01 07 00 [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: 01 07 00 A3 13 00 00 00 00 00 FF 0F CB [05:49:45]process_action close_receipt done [05:49:45]requested_data is exist [05:49:45]produce_requested_data [05:49:45]requested_item fm.sn is exist - process it [05:49:45]wFMCommunicate request_size=4 [05:49:45]MH_SAM_APDU [05:49:45]CAPDU: 80 11 00 00 [05:49:45]Write to MH i2c: E2 08 00 A4 13 80 11 00 00 00 00 00 00 31 [05:49:45]Write i2c OK [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: E2 [05:49:45]MH_I2C_Read... [05:49:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:49:45]Read from MH i2c: E2 17 00 [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: E2 17 00 A4 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7D [05:49:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [05:49:45]wFMCommunicate OK [05:49:45]requested_item fd.num is exist - process it [05:49:45]SAM_PROTO_GetFieldsCounters [05:49:45]wFMCommunicate request_size=4 [05:49:45]MH_SAM_APDU [05:49:45]CAPDU: 80 13 00 00 [05:49:45]Write to MH i2c: E2 08 00 A5 13 80 13 00 00 00 00 00 00 34 [05:49:45]Write i2c OK [05:49:45]MH_I2C_Read... [05:49:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:49:45]Read from MH i2c: E2 [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: E2 62 00 [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: E2 62 00 A5 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6B 82 00 00 0E 04 04 00 B2 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 F9 [05:49:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6B 82 00 00 0E 04 04 00 B2 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 [05:49:45]wFMCommunicate OK [05:49:45]SAM_PROTO_GetFieldsCounters done [05:49:45]requested_item shift.num is exist - process it [05:49:45]requested_item shift.opened is exist - process it [05:49:45]req_shift_opened [05:49:45]FM_GetShiftState [05:49:45]SAM_PROTO_GetShiftState [05:49:45]wFMCommunicate request_size=4 [05:49:45]MH_SAM_APDU [05:49:45]CAPDU: 80 13 01 00 [05:49:45]Write to MH i2c: E2 08 00 A6 13 80 13 01 00 00 00 00 00 36 [05:49:45]Write i2c OK [05:49:45]MH_I2C_Read... [05:49:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:49:45]Read from MH i2c: E2 [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: E2 0E 00 [05:49:45]MH_I2C_Read... [05:49:45]Read from MH i2c: E2 0E 00 A6 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 15 [05:49:45]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [05:49:45]wFMCommunicate OK [05:49:45]SAM_PROTO_GetShiftState done [05:49:45]FM_GetShiftState done [05:49:45]req_shift_opened done [05:49:45]requested_item shift.open_date is exist - process it [05:49:45]req_shift_open_date [05:49:45]req_shift_open_date done [05:49:45]produce_requested_data done [05:49:45]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33387,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [05:49:45]process_action_free close_receipt [05:49:45]json_value_free [05:49:45]json_value_free done [05:49:45]process_json_proto returns [05:49:45]Send response to host [05:49:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33387,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [05:49:45]free response buf [05:49:45]execute_script done [05:49:45]execute_script returns [05:49:45]free content buf [05:49:45]Sock 7.Close socket [05:49:45]Sock 7.Thread stoped [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52: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:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:14]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13: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:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27: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: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:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45: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:52:06]OFD Sender: No OFD packet to send [06:52:11]OFD Sender: No OFD packet to send [06:52:16]OFD Sender: No OFD packet to send [06:52:21]OFD Sender: No OFD packet to send [06:52:26]OFD Sender: No OFD packet to send [06:52:31]OFD Sender: No OFD packet to send [06:52:36]OFD Sender: No OFD packet to send [06:52:41]OFD Sender: No OFD packet to send [06:52:46]OFD Sender: No OFD packet to send [06:52:51]OFD Sender: No OFD packet to send [06:52:56]OFD Sender: No OFD packet to send [06:53:01]OFD Sender: No OFD packet to send [06:53:06]OFD Sender: No OFD packet to send [06:53:11]OFD Sender: No OFD packet to send [06:53:16]OFD Sender: No OFD packet to send [06:53:21]OFD Sender: No OFD packet to send [06:53:26]OFD Sender: No OFD packet to send [06:53:31]OFD Sender: No OFD packet to send [06:53:36]OFD Sender: No OFD packet to send [06:53:41]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06: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: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:52]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: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: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:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24: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:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:14]OFD Sender: No OFD packet to send [07:38:19]OFD Sender: No OFD packet to send [07:38:24]OFD Sender: No OFD packet to send [07:38:29]OFD Sender: No OFD packet to send [07:38:34]OFD Sender: No OFD packet to send [07:38:39]OFD Sender: No OFD packet to send [07:38:44]OFD Sender: No OFD packet to send [07:38:49]OFD Sender: No OFD packet to send [07:38:54]OFD Sender: No OFD packet to send [07:38:59]OFD Sender: No OFD packet to send [07:39:04]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:12]accept exits with 9 [08:04:12]New connection [08:04:12]New thread 3066604900 created [08:04:12]Thread 3066461540 joined [08:04:12]Waiting for new connection... [08:04:12] Sock 9.Parse request [08:04:12]Sock 9.Check first char [08:04:12]Sock 9.First char is OK [08:04:12]request: POST /json_proto HTTP/1.0 [08:04:12]Method: POST [08:04:12]URL: /json_proto [08:04:12]Method is POST - this is cgi request [08:04:12]url: /json_proto [08:04:12]query_string will be loaded in cgi processing [08:04:12]execute_cgi json_proto POST (null) [08:04:12]execute_cgi path=json_proto method=POST [08:04:12]POST find Content-Length [08:04:12]Host: 172.17.35.196:8080 [08:04:12]Content-Length: 623 [08:04:12]Content-Type: application/json [08:04:12] [08:04:12]POST finish read [08:04:12]Found Content-Length = 623 [08:04:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169199", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:04:12]execute_script... [08:04: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)169199", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:04:12]POST & json_proto [08:04:12]process_json_proto [08:04:12]json parsed OK: [08:04:12]protocol is kg_v1.0 [08:04:12]action value=close_receipt [08:04:12]process_action close_receipt [08:04:12]cmd_close_receipt [08:04:12]MH_GetDate [08:04:12]Write to MH i2c: F0 00 00 A7 13 A9 [08:04:12]Write i2c OK [08:04:12]MH_I2C_Read... [08:04:12]Read from MH i2c: F0 [08:04:12]MH_I2C_Read... [08:04:12]Read from MH i2c: F0 09 00 [08:04:12]MH_I2C_Read... [08:04:12]Read from MH i2c: F0 09 00 A7 13 00 01 35 92 66 AD 14 F4 65 FA [08:04:12]GetLastDocTimeStamp 1720849785 [08:04:12]current date 1720857857 [08:04:12]FM_GetShiftState [08:04:12]SAM_PROTO_GetShiftState [08:04:12]wFMCommunicate request_size=4 [08:04:12]MH_SAM_APDU [08:04:12]CAPDU: 80 13 01 00 [08:04:12]Write to MH i2c: E2 08 00 A8 13 80 13 01 00 00 00 00 00 38 [08:04:12]Write i2c OK [08:04:12]MH_I2C_Read... [08:04:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:04:12]Read from MH i2c: E2 [08:04:12]MH_I2C_Read... [08:04:12]Read from MH i2c: E2 0E 00 [08:04:12]MH_I2C_Read... [08:04:12]Read from MH i2c: E2 0E 00 A8 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 17 [08:04:12]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [08:04:12]wFMCommunicate OK [08:04:12]SAM_PROTO_GetShiftState done [08:04:12]FM_GetShiftState done [08:04:12]opened in 1720829207 [08:04:12]opened+sec_in_day 1720915607 [08:04:12]quantity*price = 14000 [08:04:12]sum+1 = 14001 [08:04:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 7 13.07.2024 08:04 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33388 ФПД: 76022812189195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T080417&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33388&fm=76022812189195&tin=02508201610067®Number=0000000000093033&sum=14000 0 [08:04:13]StoreToDocumentArchive [08:04:13]shift 434 fd 33388 [08:04:13]save to /storage/0434/doc_00033388 [08:04:13]save last doc name /storage/0434/doc_00033388 to /storage/kkm_last_doc_name [08:04:13]save OK [08:04:13]Clear old archive folders... [08:04:13]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:04:13]tlvbuf is 00A674F0 [08:04:13]SAM_PROTO_ClearQueue [08:04:13]wFMCommunicate request_size=4 [08:04:13]MH_SAM_APDU [08:04:13]CAPDU: 80 09 00 00 [08:04:13]Write to MH i2c: E2 08 00 B5 13 80 09 00 00 00 00 00 00 3A [08:04:13]Write i2c OK [08:04:13]MH_I2C_Read... [08:04:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:04:13]Read from MH i2c: E2 [08:04:13]MH_I2C_Read... [08:04:13]Read from MH i2c: E2 03 00 [08:04:13]MH_I2C_Read... [08:04:13]Read from MH i2c: E2 03 00 B5 13 00 90 00 3C [08:04:13]RAPDU: 90 00 [08:04:13]wFMCommunicate OK [08:04:13]SAM_PROTO_ClearQueue done [08:04:13]KKMCreateOFDPacket [08:04:13]OFDProtocolAddRootSTLVToBuf [08:04:13]FM_MakeSignedData [08:04:13]FM_MakeSignedData [08:04:13]SAM_PROTO_SignData [08:04:13]wFMCommunicate request_size=4 [08:04:13]MH_SAM_APDU [08:04:13]CAPDU: 80 0D 01 02 [08:04:13]Write to MH i2c: E2 08 00 B6 13 80 0D 01 02 00 00 00 00 42 [08:04:13]Write i2c OK [08:04:13]MH_I2C_Read... [08:04:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:04:13]Read from MH i2c: E2 [08:04:13]MH_I2C_Read... [08:04:13]Read from MH i2c: E2 03 00 [08:04:13]MH_I2C_Read... [08:04:13]Read from MH i2c: E2 03 00 B6 13 00 90 00 3D [08:04:13]RAPDU: 90 00 [08:04:13]wFMCommunicate OK [08:04:13]wFMCommunicate request_size=255 [08:04:13]MH_SAM_APDU [08:04:13]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 01 35 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [08:04:13]Write to MH i2c: E2 02 01 B7 13 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 01 35 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 B3 [08:04:14]Write i2c OK [08:04:14]MH_I2C_Read... [08:04:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:04:14]Read from MH i2c: E2 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 03 00 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 03 00 B7 13 00 90 00 3E [08:04:14]RAPDU: 90 00 [08:04:14]wFMCommunicate OK [08:04:14]wFMCommunicate request_size=34 [08:04:14]MH_SAM_APDU [08:04:14]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6C 82 00 00 35 04 06 00 45 24 70 B7 22 0B [08:04:14]Write to MH i2c: E2 25 00 B8 13 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6C 82 00 00 35 04 06 00 45 24 70 B7 22 0B 00 00 AA [08:04:14]Write i2c OK [08:04:14]MH_I2C_Read... [08:04:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:04:14]Read from MH i2c: E2 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 03 00 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 03 00 B8 13 00 90 00 3F [08:04:14]RAPDU: 90 00 [08:04:14]wFMCommunicate OK [08:04:14]wFMCommunicate request_size=4 [08:04:14]MH_SAM_APDU [08:04:14]CAPDU: 80 0D 03 02 [08:04:14]Write to MH i2c: E2 08 00 B9 13 80 0D 03 02 00 00 00 00 47 [08:04:14]Write i2c OK [08:04:14]MH_I2C_Read... [08:04:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:04:14]Read from MH i2c: E2 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 0B 00 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 0B 00 B9 13 00 A4 D1 E3 08 97 88 AB C9 90 00 3B [08:04:14]RAPDU: A4 D1 E3 08 97 88 AB C9 90 00 [08:04:14]wFMCommunicate OK [08:04:14]SAM_PROTO_SignData done [08:04:14]FM_MakeSignedData done [08:04:14]CreateOFDProtocolMessage [08:04:14]wFMCommunicate request_size=4 [08:04:14]MH_SAM_APDU [08:04:14]CAPDU: 80 11 00 00 [08:04:14]Write to MH i2c: E2 08 00 BA 13 80 11 00 00 00 00 00 00 47 [08:04:14]Write i2c OK [08:04:14]MH_I2C_Read... [08:04:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:04:14]Read from MH i2c: E2 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 17 00 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: E2 17 00 BA 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 93 [08:04:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:04:14]wFMCommunicate OK [08:04:14]CreateOFDProtocolMessage done [08:04:14]OFDSenderStorePacket 33388 [08:04:14]StoreOFDPacket docnum=33388 [08:04:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 C2 AE 1F 01 D6 DE 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 01 35 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6C 82 00 00 35 04 06 00 45 24 70 B7 22 0B A4 D1 E3 08 97 88 AB C9 [08:04:14]CheckFolder [08:04:14]dirname=/storage/ofd_packets [08:04:14]CheckFolder done [08:04:14]ProducePacketName [08:04:14]name=ofd_packets/00033388 [08:04:14]NVStorageSaveData ofd_packets/00033388 [08:04:14]File name is /storage/ofd_packets/00033388 [08:04:14]Write 325 bytes [08:04:14]NVStorageSaveData done [08:04:14]OFDSenderStorePacket done [08:04:14]KKMCreateOFDPacket done [08:04:14]NVStorageSaveData kkm_last_timestamp [08:04:14]File name is /storage/kkm_last_timestamp [08:04:14]Write 4 bytes [08:04:14]NVStorageSaveData done [08:04:14]ExternCall_PrintAddStr [08:04:14]wPrintStart [08:04:14]Write to MH i2c: 01 00 00 BB 13 CE [08:04:14]Write i2c OK [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: 01 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: 01 07 00 [08:04:14]MH_I2C_Read... [08:04:14]Read from MH i2c: 01 07 00 BB 13 00 00 00 00 00 FF 0F E3 [08:04:14]RasterBufferAndPrint [08:04:14]line Счет N : (3)169199 [08:04:14]line ИНН: 02508201610067 [08:04:14]line Контрольно-Кассовый Чек [08:04:14]line ПРОДАЖА [08:04:14]line Товар: 48743587 [08:04:14]line Сигареты Winston XStyle Silver [08:04:14]line 1.000 * 140.00 [08:04:14]line = 140.00 [08:04:14]line НДС 12% НСП 1% [08:04:14]line > о реализуемом товаре [08:04:14]line ИТОГО: 140.00 [08:04:14]line НСП 1% : 1.24 [08:04:14]line НДС 12% : 14.87 [08:04:14]line Наличными: 140.00 [08:04:14]line Безнал.: 0.00 [08:04:14]line Место: АЗС № 77 "Партнер Нефть" [08:04:14]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [08:04:14]line СНО: Общий режим [08:04:14]line Чек 7 13.07.2024 08:04 [08:04:14]line Смена: 434 ФФД: 1.0 [08:04:14]line ЗНМ: 0300000122 [08:04:14]line РНМ: 0000000000093033 [08:04:14]line Версия ККМ: 001 [08:04:14]line ФМ: 0000000000875104 [08:04:14]line ФД: 33388 [08:04:14]line ФПД: 76022812189195 [08:04:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T080417&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33388&fm=76022812189195&tin=02508201610067®Number=0000000000093033&sum=14000 [08:04:14]line 0 [08:04:14]OFD Sender: Processing packet 33388 [packets to send 6, broken 5] [08:04:14]ProducePacketName [08:04:14]name=ofd_packets/00033388 [08:04:14]OFD Sender: To server: pG, [08:04:14]CommunicateWithHost lk.salyk.kg:30040 [08:04:14]ConnectInit lk.salyk.kg [08:04:14]written 0, free lines is 4095 [08:04:14]Connected sock=10 [08:04:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 C2 AE 1F 01 D6 DE 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 01 35 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6C 82 00 00 35 04 06 00 45 24 70 B7 22 0B A4 D1 E3 08 97 88 AB C9 [08:04:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 FA B1 47 00 E9 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6C 82 00 00 F4 03 04 00 AC DF 91 66 B6 04 01 00 00 6B 97 6F 8A 2E 5F 55 53 [08:04:15]CommunicateWithHost err = 0 [08:04:15]CheckOFDResponse [08:04:15]1017 (14) - 77093643461234 [08:04:15]1041 (16) - 0000000000875104 [08:04:15]1040 (4) - 33388 [08:04:15]1012 (4) - 13.07.2024 02:00 [08:04:15]1206 (1) - 0 [08:04:15]OFD Sender: Remove packet 33388 [08:04:15]ProducePacketName [08:04:15]name=ofd_packets/00033388 [08:04:15]NVStorageDeleteData [08:04:15]Write to MH i2c: 01 00 00 E4 13 F7 [08:04:15]Write i2c OK [08:04:15]MH_I2C_Read... [08:04:15]Read from MH i2c: 01 [08:04:15]MH_I2C_Read... [08:04:15]Read from MH i2c: 01 07 00 [08:04:15]MH_I2C_Read... [08:04:15]Read from MH i2c: 01 07 00 E4 13 00 00 00 00 00 CF 0C D9 [08:04:15]RasterBufferAndPrint [08:04:15]line [08:04:15]line [08:04:15]line [08:04:15]line [08:04:15]line [08:04:15]written 0, free lines is 3284 [08:04:15]MH_Cut [08:04:15]Write to MH i2c: D1 01 00 EB 13 01 D0 [08:04:15]Write i2c OK [08:04:15]MH_I2C_Read... [08:04:15]Read from MH i2c: D1 [08:04:15]MH_I2C_Read... [08:04:15]Read from MH i2c: D1 01 00 [08:04:15]MH_I2C_Read... [08:04:15]Read from MH i2c: D1 01 00 EB 13 00 CF [08:04:15]Write to MH i2c: 01 00 00 EC 13 FF [08:04:15]Write i2c OK [08:04:15]MH_I2C_Read... [08:04:15]OFD Sender: No OFD packet to send [08:04:15]*** Cut start [08:04:15]*** Partial cut [08:04:15]*** CUTSNS_PIN = 1 [08:04:16]*** CUTSNS_PIN = 0 [08:04:16]*** Brake cut motor [08:04:16]Read from MH i2c: 01 [08:04:16]MH_I2C_Read... [08:04:16]*** Stop cut motor [08:04:16]*** Cut end [08:04:16]Read from MH i2c: 01 07 00 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: 01 07 00 EC 13 00 00 00 00 00 FF 0F 14 [08:04:16]process_action close_receipt done [08:04:16]requested_data is exist [08:04:16]produce_requested_data [08:04:16]requested_item fm.sn is exist - process it [08:04:16]wFMCommunicate request_size=4 [08:04:16]MH_SAM_APDU [08:04:16]CAPDU: 80 11 00 00 [08:04:16]Write to MH i2c: E2 08 00 ED 13 80 11 00 00 00 00 00 00 7A [08:04:16]Write i2c OK [08:04:16]MH_I2C_Read... [08:04:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:04:16]Read from MH i2c: E2 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: E2 17 00 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: E2 17 00 ED 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C6 [08:04:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:04:16]wFMCommunicate OK [08:04:16]requested_item fd.num is exist - process it [08:04:16]SAM_PROTO_GetFieldsCounters [08:04:16]wFMCommunicate request_size=4 [08:04:16]MH_SAM_APDU [08:04:16]CAPDU: 80 13 00 00 [08:04:16]Write to MH i2c: E2 08 00 EE 13 80 13 00 00 00 00 00 00 7D [08:04:16]Write i2c OK [08:04:16]MH_I2C_Read... [08:04:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:04:16]Read from MH i2c: E2 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: E2 62 00 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: E2 62 00 EE 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6C 82 00 00 0E 04 04 00 B2 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 46 [08:04:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6C 82 00 00 0E 04 04 00 B2 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:04:16]wFMCommunicate OK [08:04:16]SAM_PROTO_GetFieldsCounters done [08:04:16]requested_item shift.num is exist - process it [08:04:16]requested_item shift.opened is exist - process it [08:04:16]req_shift_opened [08:04:16]FM_GetShiftState [08:04:16]SAM_PROTO_GetShiftState [08:04:16]wFMCommunicate request_size=4 [08:04:16]MH_SAM_APDU [08:04:16]CAPDU: 80 13 01 00 [08:04:16]Write to MH i2c: E2 08 00 EF 13 80 13 01 00 00 00 00 00 7F [08:04:16]Write i2c OK [08:04:16]MH_I2C_Read... [08:04:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:04:16]Read from MH i2c: E2 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: E2 0E 00 [08:04:16]MH_I2C_Read... [08:04:16]Read from MH i2c: E2 0E 00 EF 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 5E [08:04:16]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [08:04:16]wFMCommunicate OK [08:04:16]SAM_PROTO_GetShiftState done [08:04:16]FM_GetShiftState done [08:04:16]req_shift_opened done [08:04:16]requested_item shift.open_date is exist - process it [08:04:16]req_shift_open_date [08:04:16]req_shift_open_date done [08:04:16]produce_requested_data done [08:04:16]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33388,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [08:04:16]process_action_free close_receipt [08:04:16]json_value_free [08:04:16]json_value_free done [08:04:16]process_json_proto returns [08:04:16]Send response to host [08:04:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33388,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [08:04:16]free response buf [08:04:16]execute_script done [08:04:16]execute_script returns [08:04:16]free content buf [08:04:16]Sock 9.Close socket [08:04:16]Sock 9.Thread stoped [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:00]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:36]OFD Sender: No OFD packet to send [08:31:41]OFD Sender: No OFD packet to send [08:31:46]OFD Sender: No OFD packet to send [08:31:51]OFD Sender: No OFD packet to send [08:31:56]OFD Sender: No OFD packet to send [08:32:01]OFD Sender: No OFD packet to send [08:32:06]OFD Sender: No OFD packet to send [08:32:11]OFD Sender: No OFD packet to send [08:32:16]OFD Sender: No OFD packet to send [08:32:21]OFD Sender: No OFD packet to send [08:32:26]OFD Sender: No OFD packet to send [08:32:31]OFD Sender: No OFD packet to send [08:32:36]OFD Sender: No OFD packet to send [08:32:41]OFD Sender: No OFD packet to send [08:32:46]OFD Sender: No OFD packet to send [08:32:51]OFD Sender: No OFD packet to send [08:32:56]OFD Sender: No OFD packet to send [08:33:01]OFD Sender: No OFD packet to send [08:33:06]OFD Sender: No OFD packet to send [08:33:11]OFD Sender: No OFD packet to send [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:36]OFD Sender: No OFD packet to send [08:33:41]OFD Sender: No OFD packet to send [08:33:46]OFD Sender: No OFD packet to send [08:33:51]OFD Sender: No OFD packet to send [08:33:56]OFD Sender: No OFD packet to send [08:34:01]OFD Sender: No OFD packet to send [08:34:06]OFD Sender: No OFD packet to send [08:34:11]OFD Sender: No OFD packet to send [08:34:16]OFD Sender: No OFD packet to send [08:34:21]OFD Sender: No OFD packet to send [08:34:26]OFD Sender: No OFD packet to send [08:34:31]OFD Sender: No OFD packet to send [08:34:36]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:37]OFD Sender: No OFD packet to send [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:27]OFD Sender: No OFD packet to send [08:49:32]OFD Sender: No OFD packet to send [08:49:37]OFD Sender: No OFD packet to send [08:49:42]OFD Sender: No OFD packet to send [08:49:47]OFD Sender: No OFD packet to send [08:49:52]OFD Sender: No OFD packet to send [08:49:57]OFD Sender: No OFD packet to send [08:50:02]OFD Sender: No OFD packet to send [08:50:07]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [08:59:38]OFD Sender: No OFD packet to send [08:59:43]OFD Sender: No OFD packet to send [08:59:48]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:23]OFD Sender: No OFD packet to send [09:04:28]OFD Sender: No OFD packet to send [09:04:33]OFD Sender: No OFD packet to send [09:04:38]OFD Sender: No OFD packet to send [09:04:43]OFD Sender: No OFD packet to send [09:04:48]OFD Sender: No OFD packet to send [09:04:53]OFD Sender: No OFD packet to send [09:04:57]accept exits with 7 [09:04:57]New connection [09:04:57]New thread 3066461540 created [09:04:57]Thread 3066604900 joined [09:04:57]Waiting for new connection... [09:04:57] Sock 7.Parse request [09:04:57]Sock 7.Check first char [09:04:57]Sock 7.First char is OK [09:04:57]request: POST /json_proto HTTP/1.0 [09:04:57]Method: POST [09:04:57]URL: /json_proto [09:04:57]Method is POST - this is cgi request [09:04:57]url: /json_proto [09:04:57]query_string will be loaded in cgi processing [09:04:57]execute_cgi json_proto POST (null) [09:04:57]execute_cgi path=json_proto method=POST [09:04:57]POST find Content-Length [09:04:57]Host: 172.17.35.196:8080 [09:04:57]Content-Length: 644 [09:04:57]Content-Type: application/json [09:04:57] [09:04:57]POST finish read [09:04:57]Found Content-Length = 644 [09:04:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169200", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:04:57]execute_script... [09:04: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)169200", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:04:57]POST & json_proto [09:04:57]process_json_proto [09:04:57]json parsed OK: [09:04:57]protocol is kg_v1.0 [09:04:57]action value=close_receipt [09:04:57]process_action close_receipt [09:04:57]cmd_close_receipt [09:04:57]MH_GetDate [09:04:57]Write to MH i2c: F0 00 00 F0 13 F2 [09:04:57]Write i2c OK [09:04:57]MH_I2C_Read... [09:04:57]Read from MH i2c: F0 [09:04:57]MH_I2C_Read... [09:04:57]Read from MH i2c: F0 09 00 [09:04:57]MH_I2C_Read... [09:04:57]Read from MH i2c: F0 09 00 F0 13 00 3E 43 92 66 AD 14 F4 65 8E [09:04:57]GetLastDocTimeStamp 1720857857 [09:04:57]current date 1720861502 [09:04:57]FM_GetShiftState [09:04:57]SAM_PROTO_GetShiftState [09:04:57]wFMCommunicate request_size=4 [09:04:57]MH_SAM_APDU [09:04:57]CAPDU: 80 13 01 00 [09:04:57]Write to MH i2c: E2 08 00 F1 13 80 13 01 00 00 00 00 00 81 [09:04:57]Write i2c OK [09:04:57]MH_I2C_Read... [09:04:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:04:57]Read from MH i2c: E2 [09:04:57]MH_I2C_Read... [09:04:57]Read from MH i2c: E2 0E 00 [09:04:57]MH_I2C_Read... [09:04:57]Read from MH i2c: E2 0E 00 F1 13 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 60 [09:04:57]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:04:57]wFMCommunicate OK [09:04:57]SAM_PROTO_GetShiftState done [09:04:57]FM_GetShiftState done [09:04:57]opened in 1720829207 [09:04:57]opened+sec_in_day 1720915607 [09:04:57]quantity*price = 11500 [09:04:57]sum+1 = 11501 [09:04:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 8 13.07.2024 09:05 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33389 ФПД: 70714919698833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T090502&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33389&fm=70714919698833&tin=02508201610067®Number=0000000000093033&sum=11500 0 [09:04:58]StoreToDocumentArchive [09:04:58]shift 434 fd 33389 [09:04:58]save to /storage/0434/doc_00033389 [09:04:58]save last doc name /storage/0434/doc_00033389 to /storage/kkm_last_doc_name [09:04:58]save OK [09:04:58]Clear old archive folders... [09:04:58]ProcessDocumentItem done err = 0, tmpTLVsize=280 [09:04:58]tlvbuf is 00A673D0 [09:04:58]SAM_PROTO_ClearQueue [09:04:58]wFMCommunicate request_size=4 [09:04:58]MH_SAM_APDU [09:04:58]CAPDU: 80 09 00 00 [09:04:58]Write to MH i2c: E2 08 00 FE 13 80 09 00 00 00 00 00 00 83 [09:04:58]Write i2c OK [09:04:58]MH_I2C_Read... [09:04:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:04:58]Read from MH i2c: E2 [09:04:58]MH_I2C_Read... [09:04:58]Read from MH i2c: E2 03 00 [09:04:58]MH_I2C_Read... [09:04:58]Read from MH i2c: E2 03 00 FE 13 00 90 00 85 [09:04:58]RAPDU: 90 00 [09:04:58]wFMCommunicate OK [09:04:58]SAM_PROTO_ClearQueue done [09:04:58]KKMCreateOFDPacket [09:04:58]OFDProtocolAddRootSTLVToBuf [09:04:58]FM_MakeSignedData [09:04:58]FM_MakeSignedData [09:04:58]SAM_PROTO_SignData [09:04:58]wFMCommunicate request_size=4 [09:04:58]MH_SAM_APDU [09:04:58]CAPDU: 80 0D 01 02 [09:04:58]Write to MH i2c: E2 08 00 FF 13 80 0D 01 02 00 00 00 00 8B [09:04:58]Write i2c OK [09:04:58]MH_I2C_Read... [09:04:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:04:58]Read from MH i2c: E2 [09:04:58]MH_I2C_Read... [09:04:58]Read from MH i2c: E2 03 00 [09:04:58]MH_I2C_Read... [09:04:58]Read from MH i2c: E2 03 00 FF 13 00 90 00 86 [09:04:58]RAPDU: 90 00 [09:04:58]wFMCommunicate OK [09:04:58]wFMCommunicate request_size=255 [09:04:58]MH_SAM_APDU [09:04:58]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3E 43 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [09:04:58]Write to MH i2c: E2 02 01 00 14 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3E 43 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 F9 [09:04:58]Write i2c OK [09:04:58]MH_I2C_Read... [09:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:04:59]Read from MH i2c: E2 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 03 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 03 00 00 14 00 90 00 88 [09:04:59]RAPDU: 90 00 [09:04:59]wFMCommunicate OK [09:04:59]wFMCommunicate request_size=39 [09:04:59]MH_SAM_APDU [09:04:59]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6D 82 00 00 35 04 06 00 40 50 99 AB 41 91 [09:04:59]Write to MH i2c: E2 2A 00 01 14 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6D 82 00 00 35 04 06 00 40 50 99 AB 41 91 00 00 D8 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:04:59]Read from MH i2c: E2 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 03 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 03 00 01 14 00 90 00 89 [09:04:59]RAPDU: 90 00 [09:04:59]wFMCommunicate OK [09:04:59]wFMCommunicate request_size=4 [09:04:59]MH_SAM_APDU [09:04:59]CAPDU: 80 0D 03 02 [09:04:59]Write to MH i2c: E2 08 00 02 14 80 0D 03 02 00 00 00 00 91 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:04:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:04:59]Read from MH i2c: E2 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 0B 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 0B 00 02 14 00 07 53 9C 82 79 A2 5D 6E 90 00 F0 [09:04:59]RAPDU: 07 53 9C 82 79 A2 5D 6E 90 00 [09:04:59]wFMCommunicate OK [09:04:59]SAM_PROTO_SignData done [09:04:59]FM_MakeSignedData done [09:04:59]CreateOFDProtocolMessage [09:04:59]wFMCommunicate request_size=4 [09:04:59]MH_SAM_APDU [09:04:59]CAPDU: 80 11 00 00 [09:04:59]Write to MH i2c: E2 08 00 03 14 80 11 00 00 00 00 00 00 91 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:04:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:04:59]Read from MH i2c: E2 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 17 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: E2 17 00 03 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DD [09:04:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:04:59]wFMCommunicate OK [09:04:59]CreateOFDProtocolMessage done [09:04:59]OFDSenderStorePacket 33389 [09:04:59]StoreOFDPacket docnum=33389 [09:04:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 09 EC 24 01 FC 92 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3E 43 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6D 82 00 00 35 04 06 00 40 50 99 AB 41 91 07 53 9C 82 79 A2 5D 6E [09:04:59]CheckFolder [09:04:59]dirname=/storage/ofd_packets [09:04:59]CheckFolder done [09:04:59]ProducePacketName [09:04:59]name=ofd_packets/00033389 [09:04:59]NVStorageSaveData ofd_packets/00033389 [09:04:59]File name is /storage/ofd_packets/00033389 [09:04:59]Write 330 bytes [09:04:59]NVStorageSaveData done [09:04:59]OFDSenderStorePacket done [09:04:59]KKMCreateOFDPacket done [09:04:59]NVStorageSaveData kkm_last_timestamp [09:04:59]File name is /storage/kkm_last_timestamp [09:04:59]Write 4 bytes [09:04:59]NVStorageSaveData done [09:04:59]ExternCall_PrintAddStr [09:04:59]wPrintStart [09:04:59]Write to MH i2c: 01 00 00 04 14 18 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: 01 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: 01 07 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: 01 07 00 04 14 00 00 00 00 00 FF 0F 2D [09:04:59]RasterBufferAndPrint [09:04:59]line Счет N : (3)169200 [09:04:59]line ИНН: 02508201610067 [09:04:59]line Контрольно-Кассовый Чек [09:04:59]line ПРОДАЖА [09:04:59]line Товар: 2000036210013 [09:04:59]line Кофе Капучино (GABB TRADE) [09:04:59]line 1.000 * 115.00 [09:04:59]line = 115.00 [09:04:59]line НДС 12% НСП 1% [09:04:59]line > о реализуемом товаре [09:04:59]line ИТОГО: 115.00 [09:04:59]line НСП 1% : 1.02 [09:04:59]line НДС 12% : 12.21 [09:04:59]line Наличными: 115.00 [09:04:59]line Безнал.: 0.00 [09:04:59]line Место: АЗС № 77 "Партнер Нефть" [09:04:59]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:04:59]line СНО: Общий режим [09:04:59]line Чек 8 13.07.2024 09:05 [09:04:59]line Смена: 434 ФФД: 1.0 [09:04:59]line ЗНМ: 0300000122 [09:04:59]line РНМ: 0000000000093033 [09:04:59]line Версия ККМ: 001 [09:04:59]line ФМ: 0000000000875104 [09:04:59]line ФД: 33389 [09:04:59]line ФПД: 70714919698833 [09:04:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T090502&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33389&fm=70714919698833&tin=02508201610067®Number=0000000000093033&sum=11500 [09:04:59]line 0 [09:04:59]OFD Sender: Processing packet 33389 [packets to send 6, broken 5] [09:04:59]ProducePacketName [09:04:59]name=ofd_packets/00033389 [09:04:59]OFD Sender: To server: pG, [09:04:59]CommunicateWithHost lk.salyk.kg:30040 [09:04:59]ConnectInit lk.salyk.kg [09:04:59]written 0, free lines is 4095 [09:04:59]Connected sock=10 [09:04:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 09 EC 24 01 FC 92 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3E 43 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6D 82 00 00 35 04 06 00 40 50 99 AB 41 91 07 53 9C 82 79 A2 5D 6E [09:04:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 56 AA 47 00 3A 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6D 82 00 00 F4 03 04 00 E9 ED 91 66 B6 04 01 00 00 14 CD 33 78 E8 D4 61 D7 [09:04:59]CommunicateWithHost err = 0 [09:04:59]CheckOFDResponse [09:04:59]1017 (14) - 77093643461234 [09:04:59]1041 (16) - 0000000000875104 [09:04:59]1040 (4) - 33389 [09:04:59]1012 (4) - 13.07.2024 03:00 [09:04:59]1206 (1) - 0 [09:04:59]OFD Sender: Remove packet 33389 [09:04:59]ProducePacketName [09:04:59]name=ofd_packets/00033389 [09:04:59]NVStorageDeleteData [09:04:59]Write to MH i2c: 01 00 00 2C 14 40 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: 01 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: 01 07 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: 01 07 00 2C 14 00 00 00 00 00 FE 0C 51 [09:04:59]RasterBufferAndPrint [09:04:59]line [09:04:59]line [09:04:59]line [09:04:59]line [09:04:59]line [09:04:59]written 0, free lines is 3332 [09:04:59]MH_Cut [09:04:59]Write to MH i2c: D1 01 00 33 14 01 19 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: D1 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: D1 01 00 [09:04:59]MH_I2C_Read... [09:04:59]Read from MH i2c: D1 01 00 33 14 00 18 [09:04:59]Write to MH i2c: 01 00 00 34 14 48 [09:04:59]Write i2c OK [09:04:59]MH_I2C_Read... [09:05:00]OFD Sender: No OFD packet to send [09:05:00]*** Cut start [09:05:00]*** Partial cut [09:05:00]*** CUTSNS_PIN = 1 [09:05:00]*** CUTSNS_PIN = 0 [09:05:00]*** Brake cut motor [09:05:01]Read from MH i2c: 01 [09:05:01]MH_I2C_Read... [09:05:01]*** Stop cut motor [09:05:01]*** Cut end [09:05:01]Read from MH i2c: 01 07 00 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: 01 07 00 34 14 00 00 00 00 00 FF 0F 5D [09:05:01]process_action close_receipt done [09:05:01]requested_data is exist [09:05:01]produce_requested_data [09:05:01]requested_item fm.sn is exist - process it [09:05:01]wFMCommunicate request_size=4 [09:05:01]MH_SAM_APDU [09:05:01]CAPDU: 80 11 00 00 [09:05:01]Write to MH i2c: E2 08 00 35 14 80 11 00 00 00 00 00 00 C3 [09:05:01]Write i2c OK [09:05:01]MH_I2C_Read... [09:05:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:05:01]Read from MH i2c: E2 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: E2 17 00 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: E2 17 00 35 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0F [09:05:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:05:01]wFMCommunicate OK [09:05:01]requested_item fd.num is exist - process it [09:05:01]SAM_PROTO_GetFieldsCounters [09:05:01]wFMCommunicate request_size=4 [09:05:01]MH_SAM_APDU [09:05:01]CAPDU: 80 13 00 00 [09:05:01]Write to MH i2c: E2 08 00 36 14 80 13 00 00 00 00 00 00 C6 [09:05:01]Write i2c OK [09:05:01]MH_I2C_Read... [09:05:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:05:01]Read from MH i2c: E2 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: E2 62 00 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: E2 62 00 36 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6D 82 00 00 0E 04 04 00 B2 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 93 [09:05:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6D 82 00 00 0E 04 04 00 B2 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 [09:05:01]wFMCommunicate OK [09:05:01]SAM_PROTO_GetFieldsCounters done [09:05:01]requested_item shift.num is exist - process it [09:05:01]requested_item shift.opened is exist - process it [09:05:01]req_shift_opened [09:05:01]FM_GetShiftState [09:05:01]SAM_PROTO_GetShiftState [09:05:01]wFMCommunicate request_size=4 [09:05:01]MH_SAM_APDU [09:05:01]CAPDU: 80 13 01 00 [09:05:01]Write to MH i2c: E2 08 00 37 14 80 13 01 00 00 00 00 00 C8 [09:05:01]Write i2c OK [09:05:01]MH_I2C_Read... [09:05:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:05:01]Read from MH i2c: E2 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: E2 0E 00 [09:05:01]MH_I2C_Read... [09:05:01]Read from MH i2c: E2 0E 00 37 14 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 A7 [09:05:01]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:05:01]wFMCommunicate OK [09:05:01]SAM_PROTO_GetShiftState done [09:05:01]FM_GetShiftState done [09:05:01]req_shift_opened done [09:05:01]requested_item shift.open_date is exist - process it [09:05:01]req_shift_open_date [09:05:01]req_shift_open_date done [09:05:01]produce_requested_data done [09:05:01]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33389,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [09:05:01]process_action_free close_receipt [09:05:01]json_value_free [09:05:01]json_value_free done [09:05:01]process_json_proto returns [09:05:01]Send response to host [09:05:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33389,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [09:05:01]free response buf [09:05:01]execute_script done [09:05:01]execute_script returns [09:05:01]free content buf [09:05:01]Sock 7.Close socket [09:05:01]Sock 7.Thread stoped [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:17]accept exits with 9 [09:11:17]New connection [09:11:17]New thread 3066604900 created [09:11:17]Thread 3066461540 joined [09:11:17]Waiting for new connection... [09:11:17] Sock 9.Parse request [09:11:17]Sock 9.Check first char [09:11:17]Sock 9.First char is OK [09:11:17]request: POST /json_proto HTTP/1.0 [09:11:17]Method: POST [09:11:17]URL: /json_proto [09:11:17]Method is POST - this is cgi request [09:11:17]url: /json_proto [09:11:17]query_string will be loaded in cgi processing [09:11:17]execute_cgi json_proto POST (null) [09:11:17]execute_cgi path=json_proto method=POST [09:11:17]POST find Content-Length [09:11:17]Host: 172.17.35.196:8080 [09:11:17]Content-Length: 640 [09:11:17]Content-Type: application/json [09:11:17] [09:11:17]POST finish read [09:11:17]Found Content-Length = 640 [09:11:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169201", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:11:17]execute_script... [09:11: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)169201", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:11:17]POST & json_proto [09:11:17]process_json_proto [09:11:17]json parsed OK: [09:11:17]protocol is kg_v1.0 [09:11:17]action value=close_receipt [09:11:17]process_action close_receipt [09:11:17]cmd_close_receipt [09:11:17]MH_GetDate [09:11:17]Write to MH i2c: F0 00 00 38 14 3B [09:11:17]Write i2c OK [09:11:17]MH_I2C_Read... [09:11:17]Read from MH i2c: F0 [09:11:17]MH_I2C_Read... [09:11:17]Read from MH i2c: F0 09 00 [09:11:17]MH_I2C_Read... [09:11:17]Read from MH i2c: F0 09 00 38 14 00 BA 44 92 66 AD 14 F4 65 54 [09:11:17]GetLastDocTimeStamp 1720861502 [09:11:17]current date 1720861882 [09:11:17]FM_GetShiftState [09:11:17]SAM_PROTO_GetShiftState [09:11:17]wFMCommunicate request_size=4 [09:11:17]MH_SAM_APDU [09:11:17]CAPDU: 80 13 01 00 [09:11:17]Write to MH i2c: E2 08 00 39 14 80 13 01 00 00 00 00 00 CA [09:11:17]Write i2c OK [09:11:17]MH_I2C_Read... [09:11:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:17]Read from MH i2c: E2 [09:11:17]MH_I2C_Read... [09:11:17]Read from MH i2c: E2 0E 00 [09:11:17]MH_I2C_Read... [09:11:17]Read from MH i2c: E2 0E 00 39 14 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 A9 [09:11:17]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:11:17]wFMCommunicate OK [09:11:17]SAM_PROTO_GetShiftState done [09:11:17]FM_GetShiftState done [09:11:17]opened in 1720829207 [09:11:17]opened+sec_in_day 1720915607 [09:11:17]quantity*price = 3500 [09:11:17]sum+1 = 3501 [09:11:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 9 13.07.2024 09:11 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33390 ФПД: 274701955653609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T091122&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33390&fm=274701955653609&tin=02508201610067®Number=0000000000093033&sum=3500 0 [09:11:18]StoreToDocumentArchive [09:11:18]shift 434 fd 33390 [09:11:18]save to /storage/0434/doc_00033390 [09:11:18]save last doc name /storage/0434/doc_00033390 to /storage/kkm_last_doc_name [09:11:18]save OK [09:11:18]Clear old archive folders... [09:11:18]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:11:18]tlvbuf is 00A3B670 [09:11:18]SAM_PROTO_ClearQueue [09:11:18]wFMCommunicate request_size=4 [09:11:18]MH_SAM_APDU [09:11:18]CAPDU: 80 09 00 00 [09:11:18]Write to MH i2c: E2 08 00 46 14 80 09 00 00 00 00 00 00 CC [09:11:18]Write i2c OK [09:11:18]MH_I2C_Read... [09:11:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:11:18]Read from MH i2c: E2 [09:11:18]MH_I2C_Read... [09:11:18]Read from MH i2c: E2 03 00 [09:11:18]MH_I2C_Read... [09:11:18]Read from MH i2c: E2 03 00 46 14 00 90 00 CE [09:11:18]RAPDU: 90 00 [09:11:18]wFMCommunicate OK [09:11:18]SAM_PROTO_ClearQueue done [09:11:18]KKMCreateOFDPacket [09:11:18]OFDProtocolAddRootSTLVToBuf [09:11:18]FM_MakeSignedData [09:11:18]FM_MakeSignedData [09:11:18]SAM_PROTO_SignData [09:11:18]wFMCommunicate request_size=4 [09:11:18]MH_SAM_APDU [09:11:18]CAPDU: 80 0D 01 02 [09:11:18]Write to MH i2c: E2 08 00 47 14 80 0D 01 02 00 00 00 00 D4 [09:11:18]Write i2c OK [09:11:18]MH_I2C_Read... [09:11:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:11:18]Read from MH i2c: E2 [09:11:18]MH_I2C_Read... [09:11:18]Read from MH i2c: E2 03 00 [09:11:18]MH_I2C_Read... [09:11:18]Read from MH i2c: E2 03 00 47 14 00 90 00 CF [09:11:18]RAPDU: 90 00 [09:11:18]wFMCommunicate OK [09:11:18]wFMCommunicate request_size=255 [09:11:18]MH_SAM_APDU [09:11:18]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BA 44 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [09:11:18]Write to MH i2c: E2 02 01 48 14 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BA 44 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 56 [09:11:18]Write i2c OK [09:11:18]MH_I2C_Read... [09:11:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:19]Read from MH i2c: E2 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 03 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 03 00 48 14 00 90 00 D0 [09:11:19]RAPDU: 90 00 [09:11:19]wFMCommunicate OK [09:11:19]wFMCommunicate request_size=34 [09:11:19]MH_SAM_APDU [09:11:19]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6E 82 00 00 35 04 06 00 F9 D7 08 7C 5F E9 [09:11:19]Write to MH i2c: E2 25 00 49 14 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6E 82 00 00 35 04 06 00 F9 D7 08 7C 5F E9 00 00 1D [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:19]Read from MH i2c: E2 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 03 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 03 00 49 14 00 90 00 D1 [09:11:19]RAPDU: 90 00 [09:11:19]wFMCommunicate OK [09:11:19]wFMCommunicate request_size=4 [09:11:19]MH_SAM_APDU [09:11:19]CAPDU: 80 0D 03 02 [09:11:19]Write to MH i2c: E2 08 00 4A 14 80 0D 03 02 00 00 00 00 D9 [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:11:19]Read from MH i2c: E2 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 0B 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 0B 00 4A 14 00 1E F4 EE 55 14 F9 81 F4 90 00 B1 [09:11:19]RAPDU: 1E F4 EE 55 14 F9 81 F4 90 00 [09:11:19]wFMCommunicate OK [09:11:19]SAM_PROTO_SignData done [09:11:19]FM_MakeSignedData done [09:11:19]CreateOFDProtocolMessage [09:11:19]wFMCommunicate request_size=4 [09:11:19]MH_SAM_APDU [09:11:19]CAPDU: 80 11 00 00 [09:11:19]Write to MH i2c: E2 08 00 4B 14 80 11 00 00 00 00 00 00 D9 [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:19]Read from MH i2c: E2 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 17 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 17 00 4B 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 25 [09:11:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:11:19]wFMCommunicate OK [09:11:19]CreateOFDProtocolMessage done [09:11:19]OFDSenderStorePacket 33390 [09:11:19]StoreOFDPacket docnum=33390 [09:11:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 F2 0E 1F 01 28 94 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BA 44 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6E 82 00 00 35 04 06 00 F9 D7 08 7C 5F E9 1E F4 EE 55 14 F9 81 F4 [09:11:19]CheckFolder [09:11:19]dirname=/storage/ofd_packets [09:11:19]CheckFolder done [09:11:19]ProducePacketName [09:11:19]name=ofd_packets/00033390 [09:11:19]NVStorageSaveData ofd_packets/00033390 [09:11:19]File name is /storage/ofd_packets/00033390 [09:11:19]Write 325 bytes [09:11:19]NVStorageSaveData done [09:11:19]OFDSenderStorePacket done [09:11:19]KKMCreateOFDPacket done [09:11:19]NVStorageSaveData kkm_last_timestamp [09:11:19]File name is /storage/kkm_last_timestamp [09:11:19]Write 4 bytes [09:11:19]NVStorageSaveData done [09:11:19]ExternCall_PrintAddStr [09:11:19]wPrintStart [09:11:19]Write to MH i2c: 01 00 00 4C 14 60 [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: 01 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: 01 07 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: 01 07 00 4C 14 00 00 00 00 00 FF 0F 75 [09:11:19]RasterBufferAndPrint [09:11:19]line Счет N : (3)169201 [09:11:19]line ИНН: 02508201610067 [09:11:19]line Контрольно-Кассовый Чек [09:11:19]line ПРОДАЖА [09:11:19]line Товар: 2000032710015 [09:11:19]line Сочник DC творог 75г [09:11:19]line 1.000 * 35.00 [09:11:19]line = 35.00 [09:11:19]line НДС 12% НСП 1% [09:11:19]line > о реализуемом товаре [09:11:19]line ИТОГО: 35.00 [09:11:19]line НСП 1% : 0.31 [09:11:19]line НДС 12% : 3.72 [09:11:19]line Наличными: 35.00 [09:11:19]line Безнал.: 0.00 [09:11:19]line Место: АЗС № 77 "Партнер Нефть" [09:11:19]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:11:19]line СНО: Общий режим [09:11:19]line Чек 9 13.07.2024 09:11 [09:11:19]line Смена: 434 ФФД: 1.0 [09:11:19]line ЗНМ: 0300000122 [09:11:19]line РНМ: 0000000000093033 [09:11:19]line Версия ККМ: 001 [09:11:19]line ФМ: 0000000000875104 [09:11:19]line ФД: 33390 [09:11:19]line ФПД: 274701955653609 [09:11:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T091122&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33390&fm=274701955653609&tin=02508201610067®Number=0000000000093033&sum=3500 [09:11:19]line 0 [09:11:19]OFD Sender: Processing packet 33390 [packets to send 6, broken 5] [09:11:19]ProducePacketName [09:11:19]name=ofd_packets/00033390 [09:11:19]OFD Sender: To server: pG, [09:11:19]CommunicateWithHost lk.salyk.kg:30040 [09:11:19]ConnectInit lk.salyk.kg [09:11:19]written 0, free lines is 4095 [09:11:19]Connected sock=10 [09:11:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 F2 0E 1F 01 28 94 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BA 44 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6E 82 00 00 35 04 06 00 F9 D7 08 7C 5F E9 1E F4 EE 55 14 F9 81 F4 [09:11:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 18 E7 47 00 A0 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6E 82 00 00 F4 03 04 00 65 EF 91 66 B6 04 01 00 00 1F 3A 87 79 E1 88 B2 60 [09:11:19]CommunicateWithHost err = 0 [09:11:19]CheckOFDResponse [09:11:19]1017 (14) - 77093643461234 [09:11:19]1041 (16) - 0000000000875104 [09:11:19]1040 (4) - 33390 [09:11:19]1012 (4) - 13.07.2024 03:07 [09:11:19]1206 (1) - 0 [09:11:19]OFD Sender: Remove packet 33390 [09:11:19]ProducePacketName [09:11:19]name=ofd_packets/00033390 [09:11:19]NVStorageDeleteData [09:11:20]Write to MH i2c: 01 00 00 74 14 88 [09:11:20]Write i2c OK [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: 01 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: 01 07 00 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: 01 07 00 74 14 00 00 00 00 00 EC 0C 87 [09:11:20]RasterBufferAndPrint [09:11:20]line [09:11:20]line [09:11:20]line [09:11:20]line [09:11:20]line [09:11:20]written 0, free lines is 3314 [09:11:20]MH_Cut [09:11:20]Write to MH i2c: D1 01 00 7B 14 01 61 [09:11:20]Write i2c OK [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: D1 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: D1 01 00 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: D1 01 00 7B 14 00 60 [09:11:20]Write to MH i2c: 01 00 00 7C 14 90 [09:11:20]Write i2c OK [09:11:20]MH_I2C_Read... [09:11:20]OFD Sender: No OFD packet to send [09:11:20]*** Cut start [09:11:20]*** Partial cut [09:11:20]*** CUTSNS_PIN = 1 [09:11:20]*** CUTSNS_PIN = 0 [09:11:21]*** Brake cut motor [09:11:21]Read from MH i2c: 01 [09:11:21]MH_I2C_Read... [09:11:21]*** Stop cut motor [09:11:21]*** Cut end [09:11:21]Read from MH i2c: 01 07 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: 01 07 00 7C 14 00 00 00 00 00 FF 0F A5 [09:11:21]process_action close_receipt done [09:11:21]requested_data is exist [09:11:21]produce_requested_data [09:11:21]requested_item fm.sn is exist - process it [09:11:21]wFMCommunicate request_size=4 [09:11:21]MH_SAM_APDU [09:11:21]CAPDU: 80 11 00 00 [09:11:21]Write to MH i2c: E2 08 00 7D 14 80 11 00 00 00 00 00 00 0B [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 17 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 17 00 7D 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 57 [09:11:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:11:21]wFMCommunicate OK [09:11:21]requested_item fd.num is exist - process it [09:11:21]SAM_PROTO_GetFieldsCounters [09:11:21]wFMCommunicate request_size=4 [09:11:21]MH_SAM_APDU [09:11:21]CAPDU: 80 13 00 00 [09:11:21]Write to MH i2c: E2 08 00 7E 14 80 13 00 00 00 00 00 00 0E [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 62 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 62 00 7E 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6E 82 00 00 0E 04 04 00 B2 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 DF [09:11:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6E 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:11:21]wFMCommunicate OK [09:11:21]SAM_PROTO_GetFieldsCounters done [09:11:21]requested_item shift.num is exist - process it [09:11:21]requested_item shift.opened is exist - process it [09:11:21]req_shift_opened [09:11:21]FM_GetShiftState [09:11:21]SAM_PROTO_GetShiftState [09:11:21]wFMCommunicate request_size=4 [09:11:21]MH_SAM_APDU [09:11:21]CAPDU: 80 13 01 00 [09:11:21]Write to MH i2c: E2 08 00 7F 14 80 13 01 00 00 00 00 00 10 [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 0E 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 0E 00 7F 14 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 EF [09:11:21]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:11:21]wFMCommunicate OK [09:11:21]SAM_PROTO_GetShiftState done [09:11:21]FM_GetShiftState done [09:11:21]req_shift_opened done [09:11:21]requested_item shift.open_date is exist - process it [09:11:21]req_shift_open_date [09:11:21]req_shift_open_date done [09:11:21]produce_requested_data done [09:11:21]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33390,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [09:11:21]process_action_free close_receipt [09:11:21]json_value_free [09:11:21]json_value_free done [09:11:21]process_json_proto returns [09:11:21]Send response to host [09:11:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33390,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [09:11:21]free response buf [09:11:21]execute_script done [09:11:21]execute_script returns [09:11:21]free content buf [09:11:21]Sock 9.Close socket [09:11:21]Sock 9.Thread stoped [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]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:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:06]OFD Sender: No OFD packet to send [09:42:11]OFD Sender: No OFD packet to send [09:42:16]OFD Sender: No OFD packet to send [09:42:21]OFD Sender: No OFD packet to send [09:42:26]OFD Sender: No OFD packet to send [09:42:31]OFD Sender: No OFD packet to send [09:42:36]OFD Sender: No OFD packet to send [09:42:41]OFD Sender: No OFD packet to send [09:42:46]OFD Sender: No OFD packet to send [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]accept exits with 7 [09:46:37]New connection [09:46:37]New thread 3066461540 created [09:46:37]Thread 3066604900 joined [09:46:37]Waiting for new connection... [09:46:37] Sock 7.Parse request [09:46:37]Sock 7.Check first char [09:46:37]Sock 7.First char is OK [09:46:37]request: POST /json_proto HTTP/1.0 [09:46:37]Method: POST [09:46:37]URL: /json_proto [09:46:37]Method is POST - this is cgi request [09:46:37]url: /json_proto [09:46:37]query_string will be loaded in cgi processing [09:46:37]execute_cgi json_proto POST (null) [09:46:37]execute_cgi path=json_proto method=POST [09:46:37]POST find Content-Length [09:46:37]Host: 172.17.35.196:8080 [09:46:37]Content-Length: 683 [09:46:37]Content-Type: application/json [09:46:37] [09:46:37]POST finish read [09:46:37]Found Content-Length = 683 [09:46:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670521", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 13.450, "sum" : 1000.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:37]execute_script... [09:46: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 : (1)5670521", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 13.450, "sum" : 1000.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:37]POST & json_proto [09:46:37]process_json_proto [09:46:37]json parsed OK: [09:46:37]protocol is kg_v1.0 [09:46:37]action value=close_receipt [09:46:37]process_action close_receipt [09:46:37]cmd_close_receipt [09:46:37]MH_GetDate [09:46:37]Write to MH i2c: F0 00 00 80 14 83 [09:46:37]Write i2c OK [09:46:37]MH_I2C_Read... [09:46:37]Read from MH i2c: F0 [09:46:37]MH_I2C_Read... [09:46:37]Read from MH i2c: F0 09 00 [09:46:37]MH_I2C_Read... [09:46:37]Read from MH i2c: F0 09 00 80 14 00 02 4D 92 66 AD 14 F4 65 ED [09:46:37]GetLastDocTimeStamp 1720861882 [09:46:37]current date 1720864002 [09:46:37]FM_GetShiftState [09:46:37]SAM_PROTO_GetShiftState [09:46:37]wFMCommunicate request_size=4 [09:46:37]MH_SAM_APDU [09:46:37]CAPDU: 80 13 01 00 [09:46:37]Write to MH i2c: E2 08 00 81 14 80 13 01 00 00 00 00 00 12 [09:46:37]Write i2c OK [09:46:37]MH_I2C_Read... [09:46:37]OFD Sender: No OFD packet to send [09:46:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:37]Read from MH i2c: E2 [09:46:37]MH_I2C_Read... [09:46:37]Read from MH i2c: E2 0E 00 [09:46:37]MH_I2C_Read... [09:46:37]Read from MH i2c: E2 0E 00 81 14 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 F1 [09:46:37]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:46:37]wFMCommunicate OK [09:46:37]SAM_PROTO_GetShiftState done [09:46:37]FM_GetShiftState done [09:46:37]opened in 1720829207 [09:46:37]opened+sec_in_day 1720915607 [09:46:37]quantity*price = 100068 [09:46:37]sum+1 = 100069 [09:46:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.68 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.86 НДС 12% : 106.27 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 10 13.07.2024 09:46 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33391 ФПД: 255359217238760 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094642&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33391&fm=255359217238760&tin=02508201610067®Number=0000000000093033&sum=100000 [09:46:38]StoreToDocumentArchive [09:46:38]shift 434 fd 33391 [09:46:38]save to /storage/0434/doc_00033391 [09:46:38]save last doc name /storage/0434/doc_00033391 to /storage/kkm_last_doc_name [09:46:38]save OK [09:46:38]Clear old archive folders... [09:46:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:46:38]tlvbuf is B6E6C340 [09:46:38]SAM_PROTO_ClearQueue [09:46:38]wFMCommunicate request_size=4 [09:46:38]MH_SAM_APDU [09:46:38]CAPDU: 80 09 00 00 [09:46:38]Write to MH i2c: E2 08 00 8E 14 80 09 00 00 00 00 00 00 14 [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:38]Read from MH i2c: E2 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 8E 14 00 90 00 16 [09:46:38]RAPDU: 90 00 [09:46:38]wFMCommunicate OK [09:46:38]SAM_PROTO_ClearQueue done [09:46:38]KKMCreateOFDPacket [09:46:38]OFDProtocolAddRootSTLVToBuf [09:46:38]FM_MakeSignedData [09:46:38]FM_MakeSignedData [09:46:38]SAM_PROTO_SignData [09:46:38]wFMCommunicate request_size=4 [09:46:38]MH_SAM_APDU [09:46:38]CAPDU: 80 0D 01 02 [09:46:38]Write to MH i2c: E2 08 00 8F 14 80 0D 01 02 00 00 00 00 1C [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:38]Read from MH i2c: E2 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 8F 14 00 90 00 17 [09:46:38]RAPDU: 90 00 [09:46:38]wFMCommunicate OK [09:46:38]wFMCommunicate request_size=255 [09:46:38]MH_SAM_APDU [09:46:38]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 02 4D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6F 82 00 00 35 04 06 00 E8 [09:46:38]Write to MH i2c: E2 02 01 90 14 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 02 4D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6F 82 00 00 35 04 06 00 E8 00 00 C2 [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:38]Read from MH i2c: E2 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 90 14 00 90 00 18 [09:46:38]RAPDU: 90 00 [09:46:38]wFMCommunicate OK [09:46:38]wFMCommunicate request_size=10 [09:46:38]MH_SAM_APDU [09:46:38]CAPDU: 80 0D 02 02 05 3F 73 6F 02 E8 [09:46:38]Write to MH i2c: E2 0D 00 91 14 80 0D 02 02 05 00 3F 73 6F 02 E8 00 00 34 [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:38]Read from MH i2c: E2 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 03 00 91 14 00 90 00 19 [09:46:38]RAPDU: 90 00 [09:46:38]wFMCommunicate OK [09:46:38]wFMCommunicate request_size=4 [09:46:38]MH_SAM_APDU [09:46:38]CAPDU: 80 0D 03 02 [09:46:38]Write to MH i2c: E2 08 00 92 14 80 0D 03 02 00 00 00 00 21 [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:38]Read from MH i2c: E2 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 0B 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 0B 00 92 14 00 2C 23 45 47 95 86 EE 1F 90 00 25 [09:46:38]RAPDU: 2C 23 45 47 95 86 EE 1F 90 00 [09:46:38]wFMCommunicate OK [09:46:38]SAM_PROTO_SignData done [09:46:38]FM_MakeSignedData done [09:46:38]CreateOFDProtocolMessage [09:46:38]wFMCommunicate request_size=4 [09:46:38]MH_SAM_APDU [09:46:38]CAPDU: 80 11 00 00 [09:46:38]Write to MH i2c: E2 08 00 93 14 80 11 00 00 00 00 00 00 21 [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:38]Read from MH i2c: E2 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 17 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: E2 17 00 93 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6D [09:46:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:46:38]wFMCommunicate OK [09:46:38]CreateOFDProtocolMessage done [09:46:38]OFDSenderStorePacket 33391 [09:46:38]StoreOFDPacket docnum=33391 [09:46:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 00 3C 07 01 F6 B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 02 4D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6F 82 00 00 35 04 06 00 E8 3F 73 6F 02 E8 2C 23 45 47 95 86 EE 1F [09:46:38]CheckFolder [09:46:38]dirname=/storage/ofd_packets [09:46:38]CheckFolder done [09:46:38]ProducePacketName [09:46:38]name=ofd_packets/00033391 [09:46:38]NVStorageSaveData ofd_packets/00033391 [09:46:38]File name is /storage/ofd_packets/00033391 [09:46:38]Write 301 bytes [09:46:38]NVStorageSaveData done [09:46:38]OFDSenderStorePacket done [09:46:38]KKMCreateOFDPacket done [09:46:38]NVStorageSaveData kkm_last_timestamp [09:46:38]File name is /storage/kkm_last_timestamp [09:46:38]Write 4 bytes [09:46:38]NVStorageSaveData done [09:46:38]ExternCall_PrintAddStr [09:46:38]wPrintStart [09:46:38]Write to MH i2c: 01 00 00 94 14 A8 [09:46:38]Write i2c OK [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: 01 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: 01 07 00 [09:46:38]MH_I2C_Read... [09:46:38]Read from MH i2c: 01 07 00 94 14 00 00 00 00 00 FF 0F BD [09:46:38]RasterBufferAndPrint [09:46:38]line Счет N : (1)5670521 [09:46:38]line ИНН: 02508201610067 [09:46:38]line Контрольно-Кассовый Чек [09:46:38]line ПРОДАЖА [09:46:38]line ТРК (МРК, ГНК) : 22 [09:46:38]line Товар: 2710124500 [09:46:38]line Аи-95-К-5 [09:46:38]line 13.450 * 74.40 [09:46:38]line = 1000.68 [09:46:38]line НДС 12% НСП 1% [09:46:38]line > о реализуемом товаре [09:46:38]line ОКРУГЛЕНИЕ: -0.68 [09:46:38]line ИТОГО: 1000.00 [09:46:38]line Внесено: 1000.00 [09:46:38]line СДАЧА: 0.00 [09:46:38]line НСП 1% : 8.86 [09:46:38]line НДС 12% : 106.27 [09:46:38]line Наличными: 1000.00 [09:46:38]line Безнал.: 0.00 [09:46:38]line Место: АЗС № 77 "Партнер Нефть" [09:46:38]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:46:38]line СНО: Общий режим [09:46:38]line Чек 10 13.07.2024 09:46 [09:46:38]line Смена: 434 ФФД: 1.0 [09:46:38]line ЗНМ: 0300000122 [09:46:38]line РНМ: 0000000000093033 [09:46:38]line Версия ККМ: 001 [09:46:38]line ФМ: 0000000000875104 [09:46:38]line ФД: 33391 [09:46:38]line ФПД: 255359217238760 [09:46:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094642&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33391&fm=255359217238760&tin=02508201610067®Number=0000000000093033&sum=100000 [09:46:39]OFD Sender: Processing packet 33391 [packets to send 6, broken 5] [09:46:39]ProducePacketName [09:46:39]name=ofd_packets/00033391 [09:46:39]OFD Sender: To server: pG, [09:46:39]CommunicateWithHost lk.salyk.kg:30040 [09:46:39]ConnectInit lk.salyk.kg [09:46:39]written 0, free lines is 4095 [09:46:39]Connected sock=10 [09:46:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 00 3C 07 01 F6 B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8A 34 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 E4 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 02 4D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6F 82 00 00 35 04 06 00 E8 3F 73 6F 02 E8 2C 23 45 47 95 86 EE 1F [09:46:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 29 98 47 00 AD B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 6F 82 00 00 F4 03 04 00 AD F7 91 66 B6 04 01 00 00 0E 4F B7 B4 8B DA 46 98 [09:46:39]CommunicateWithHost err = 0 [09:46:39]CheckOFDResponse [09:46:39]1017 (14) - 77093643461234 [09:46:39]1041 (16) - 0000000000875104 [09:46:39]1040 (4) - 33391 [09:46:39]1012 (4) - 13.07.2024 03:42 [09:46:39]1206 (1) - 0 [09:46:39]OFD Sender: Remove packet 33391 [09:46:39]ProducePacketName [09:46:39]name=ofd_packets/00033391 [09:46:39]NVStorageDeleteData [09:46:39]Write to MH i2c: 01 00 00 BF 14 D3 [09:46:39]Write i2c OK [09:46:39]MH_I2C_Read... [09:46:39]Read from MH i2c: 01 [09:46:39]MH_I2C_Read... [09:46:39]Read from MH i2c: 01 07 00 [09:46:39]MH_I2C_Read... [09:46:39]Read from MH i2c: 01 07 00 BF 14 00 00 00 00 00 D8 0C BE [09:46:39]RasterBufferAndPrint [09:46:39]line [09:46:39]line [09:46:39]line [09:46:39]line [09:46:39]line [09:46:39]written 0, free lines is 3296 [09:46:39]MH_Cut [09:46:39]Write to MH i2c: D1 01 00 C6 14 01 AC [09:46:39]Write i2c OK [09:46:39]MH_I2C_Read... [09:46:39]Read from MH i2c: D1 [09:46:39]MH_I2C_Read... [09:46:39]Read from MH i2c: D1 01 00 [09:46:39]MH_I2C_Read... [09:46:39]Read from MH i2c: D1 01 00 C6 14 00 AB [09:46:39]Write to MH i2c: 01 00 00 C7 14 DB [09:46:39]Write i2c OK [09:46:39]MH_I2C_Read... [09:46:39]OFD Sender: No OFD packet to send [09:46:40]*** Cut start [09:46:40]*** Partial cut [09:46:40]*** CUTSNS_PIN = 1 [09:46:40]*** CUTSNS_PIN = 0 [09:46:40]*** Brake cut motor [09:46:40]Read from MH i2c: 01 [09:46:40]MH_I2C_Read... [09:46:40]*** Stop cut motor [09:46:40]*** Cut end [09:46:40]Read from MH i2c: 01 07 00 [09:46:40]MH_I2C_Read... [09:46:40]Read from MH i2c: 01 07 00 C7 14 00 00 00 00 00 FF 0F F0 [09:46:40]process_action close_receipt done [09:46:40]requested_data is exist [09:46:40]produce_requested_data [09:46:40]requested_item fm.sn is exist - process it [09:46:40]wFMCommunicate request_size=4 [09:46:40]MH_SAM_APDU [09:46:40]CAPDU: 80 11 00 00 [09:46:40]Write to MH i2c: E2 08 00 C8 14 80 11 00 00 00 00 00 00 56 [09:46:40]Write i2c OK [09:46:40]MH_I2C_Read... [09:46:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:40]Read from MH i2c: E2 [09:46:40]MH_I2C_Read... [09:46:40]Read from MH i2c: E2 17 00 [09:46:40]MH_I2C_Read... [09:46:40]Read from MH i2c: E2 17 00 C8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A2 [09:46:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:46:40]wFMCommunicate OK [09:46:40]requested_item fd.num is exist - process it [09:46:40]SAM_PROTO_GetFieldsCounters [09:46:40]wFMCommunicate request_size=4 [09:46:40]MH_SAM_APDU [09:46:40]CAPDU: 80 13 00 00 [09:46:40]Write to MH i2c: E2 08 00 C9 14 80 13 00 00 00 00 00 00 59 [09:46:40]Write i2c OK [09:46:40]MH_I2C_Read... [09:46:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:41]Read from MH i2c: E2 [09:46:41]MH_I2C_Read... [09:46:41]Read from MH i2c: E2 62 00 [09:46:41]MH_I2C_Read... [09:46:41]Read from MH i2c: E2 62 00 C9 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6F 82 00 00 0E 04 04 00 B2 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 2E [09:46:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 6F 82 00 00 0E 04 04 00 B2 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:46:41]wFMCommunicate OK [09:46:41]SAM_PROTO_GetFieldsCounters done [09:46:41]requested_item shift.num is exist - process it [09:46:41]requested_item shift.opened is exist - process it [09:46:41]req_shift_opened [09:46:41]FM_GetShiftState [09:46:41]SAM_PROTO_GetShiftState [09:46:41]wFMCommunicate request_size=4 [09:46:41]MH_SAM_APDU [09:46:41]CAPDU: 80 13 01 00 [09:46:41]Write to MH i2c: E2 08 00 CA 14 80 13 01 00 00 00 00 00 5B [09:46:41]Write i2c OK [09:46:41]MH_I2C_Read... [09:46:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:41]Read from MH i2c: E2 [09:46:41]MH_I2C_Read... [09:46:41]Read from MH i2c: E2 0E 00 [09:46:41]MH_I2C_Read... [09:46:41]Read from MH i2c: E2 0E 00 CA 14 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 3A [09:46:41]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:46:41]wFMCommunicate OK [09:46:41]SAM_PROTO_GetShiftState done [09:46:41]FM_GetShiftState done [09:46:41]req_shift_opened done [09:46:41]requested_item shift.open_date is exist - process it [09:46:41]req_shift_open_date [09:46:41]req_shift_open_date done [09:46:41]produce_requested_data done [09:46:41]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33391,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [09:46:41]process_action_free close_receipt [09:46:41]json_value_free [09:46:41]json_value_free done [09:46:41]process_json_proto returns [09:46:41]Send response to host [09:46:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33391,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [09:46:41]free response buf [09:46:41]execute_script done [09:46:41]execute_script returns [09:46:41]free content buf [09:46:41]Sock 7.Close socket [09:46:41]Sock 7.Thread stoped [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:15]OFD Sender: No OFD packet to send [09:51:20]OFD Sender: No OFD packet to send [09:51:25]OFD Sender: No OFD packet to send [09:51:30]OFD Sender: No OFD packet to send [09:51:35]OFD Sender: No OFD packet to send [09:51:40]OFD Sender: No OFD packet to send [09:51:45]OFD Sender: No OFD packet to send [09:51:50]OFD Sender: No OFD packet to send [09:51:55]OFD Sender: No OFD packet to send [09:52:00]OFD Sender: No OFD packet to send [09:52:05]OFD Sender: No OFD packet to send [09:52:10]OFD Sender: No OFD packet to send [09:52:15]OFD Sender: No OFD packet to send [09:52:20]OFD Sender: No OFD packet to send [09:52:25]OFD Sender: No OFD packet to send [09:52:30]OFD Sender: No OFD packet to send [09:52:35]OFD Sender: No OFD packet to send [09:52:40]OFD Sender: No OFD packet to send [09:52:45]OFD Sender: No OFD packet to send [09:52:50]OFD Sender: No OFD packet to send [09:52:55]OFD Sender: No OFD packet to send [09:53:00]OFD Sender: No OFD packet to send [09:53:05]OFD Sender: No OFD packet to send [09:53:10]OFD Sender: No OFD packet to send [09:53:15]OFD Sender: No OFD packet to send [09:53:20]OFD Sender: No OFD packet to send [09:53:25]OFD Sender: No OFD packet to send [09:53:30]OFD Sender: No OFD packet to send [09:53:35]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:47]accept exits with 9 [09:58:47]New connection [09:58:47]New thread 3066604900 created [09:58:47]Thread 3066461540 joined [09:58:47]Waiting for new connection... [09:58:47] Sock 9.Parse request [09:58:47]Sock 9.Check first char [09:58:47]Sock 9.First char is OK [09:58:47]request: POST /json_proto HTTP/1.0 [09:58:47]Method: POST [09:58:47]URL: /json_proto [09:58:47]Method is POST - this is cgi request [09:58:47]url: /json_proto [09:58:47]query_string will be loaded in cgi processing [09:58:47]execute_cgi json_proto POST (null) [09:58:47]execute_cgi path=json_proto method=POST [09:58:47]POST find Content-Length [09:58:47]Host: 172.17.35.196:8080 [09:58:47]Content-Length: 628 [09:58:47]Content-Type: application/json [09:58:47] [09:58:47]POST finish read [09:58:47]Found Content-Length = 628 [09:58:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169202", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:47]execute_script... [09:58: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)169202", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:47]POST & json_proto [09:58:47]process_json_proto [09:58:47]json parsed OK: [09:58:47]protocol is kg_v1.0 [09:58:47]action value=close_receipt [09:58:47]process_action close_receipt [09:58:47]cmd_close_receipt [09:58:47]MH_GetDate [09:58:47]Write to MH i2c: F0 00 00 CB 14 CE [09:58:47]Write i2c OK [09:58:47]MH_I2C_Read... [09:58:47]Read from MH i2c: F0 [09:58:47]MH_I2C_Read... [09:58:47]Read from MH i2c: F0 09 00 [09:58:47]MH_I2C_Read... [09:58:47]Read from MH i2c: F0 09 00 CB 14 00 DC 4F 92 66 AD 14 F4 65 14 [09:58:47]GetLastDocTimeStamp 1720864002 [09:58:47]current date 1720864732 [09:58:47]FM_GetShiftState [09:58:47]SAM_PROTO_GetShiftState [09:58:47]wFMCommunicate request_size=4 [09:58:47]MH_SAM_APDU [09:58:47]CAPDU: 80 13 01 00 [09:58:47]Write to MH i2c: E2 08 00 CC 14 80 13 01 00 00 00 00 00 5D [09:58:47]Write i2c OK [09:58:47]MH_I2C_Read... [09:58:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:47]Read from MH i2c: E2 [09:58:47]MH_I2C_Read... [09:58:47]Read from MH i2c: E2 0E 00 [09:58:47]MH_I2C_Read... [09:58:47]Read from MH i2c: E2 0E 00 CC 14 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 3C [09:58:47]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:58:47]wFMCommunicate OK [09:58:47]SAM_PROTO_GetShiftState done [09:58:47]FM_GetShiftState done [09:58:47]opened in 1720829207 [09:58:47]opened+sec_in_day 1720915607 [09:58:47]quantity*price = 13000 [09:58:47]sum+1 = 13001 [09:58:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 11 13.07.2024 09:58 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33392 ФПД: 71570392778774 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095852&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33392&fm=71570392778774&tin=02508201610067®Number=0000000000093033&sum=13000 0 [09:58:48]StoreToDocumentArchive [09:58:48]shift 434 fd 33392 [09:58:48]save to /storage/0434/doc_00033392 [09:58:48]save last doc name /storage/0434/doc_00033392 to /storage/kkm_last_doc_name [09:58:48]save OK [09:58:48]Clear old archive folders... [09:58:48]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:58:48]tlvbuf is 00A90520 [09:58:48]SAM_PROTO_ClearQueue [09:58:48]wFMCommunicate request_size=4 [09:58:48]MH_SAM_APDU [09:58:48]CAPDU: 80 09 00 00 [09:58:48]Write to MH i2c: E2 08 00 D9 14 80 09 00 00 00 00 00 00 5F [09:58:48]Write i2c OK [09:58:48]MH_I2C_Read... [09:58:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:58:48]Read from MH i2c: E2 [09:58:48]MH_I2C_Read... [09:58:48]Read from MH i2c: E2 03 00 [09:58:48]MH_I2C_Read... [09:58:48]Read from MH i2c: E2 03 00 D9 14 00 90 00 61 [09:58:48]RAPDU: 90 00 [09:58:48]wFMCommunicate OK [09:58:48]SAM_PROTO_ClearQueue done [09:58:48]KKMCreateOFDPacket [09:58:48]OFDProtocolAddRootSTLVToBuf [09:58:48]FM_MakeSignedData [09:58:48]FM_MakeSignedData [09:58:48]SAM_PROTO_SignData [09:58:48]wFMCommunicate request_size=4 [09:58:48]MH_SAM_APDU [09:58:48]CAPDU: 80 0D 01 02 [09:58:48]Write to MH i2c: E2 08 00 DA 14 80 0D 01 02 00 00 00 00 67 [09:58:48]Write i2c OK [09:58:48]MH_I2C_Read... [09:58:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:58:48]Read from MH i2c: E2 [09:58:48]MH_I2C_Read... [09:58:48]Read from MH i2c: E2 03 00 [09:58:48]MH_I2C_Read... [09:58:48]Read from MH i2c: E2 03 00 DA 14 00 90 00 62 [09:58:48]RAPDU: 90 00 [09:58:48]wFMCommunicate OK [09:58:48]wFMCommunicate request_size=255 [09:58:48]MH_SAM_APDU [09:58:48]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 0B 00 00 00 F4 03 04 00 DC 4F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 [09:58:48]Write to MH i2c: E2 02 01 DB 14 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 0B 00 00 00 F4 03 04 00 DC 4F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 00 00 5C [09:58:48]Write i2c OK [09:58:48]MH_I2C_Read... [09:58:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:58:48]Read from MH i2c: E2 [09:58:48]MH_I2C_Read... [09:58:48]Read from MH i2c: E2 03 00 [09:58:48]MH_I2C_Read... [09:58:48]Read from MH i2c: E2 03 00 DB 14 00 90 00 63 [09:58:48]RAPDU: 90 00 [09:58:48]wFMCommunicate OK [09:58:48]wFMCommunicate request_size=35 [09:58:48]MH_SAM_APDU [09:58:48]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 70 82 00 00 35 04 06 00 41 17 C7 D6 88 16 [09:58:48]Write to MH i2c: E2 26 00 DC 14 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 70 82 00 00 35 04 06 00 41 17 C7 D6 88 16 00 00 DB [09:58:48]Write i2c OK [09:58:48]MH_I2C_Read... [09:58:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:58:49]Read from MH i2c: E2 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: E2 03 00 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: E2 03 00 DC 14 00 90 00 64 [09:58:49]RAPDU: 90 00 [09:58:49]wFMCommunicate OK [09:58:49]wFMCommunicate request_size=4 [09:58:49]MH_SAM_APDU [09:58:49]CAPDU: 80 0D 03 02 [09:58:49]Write to MH i2c: E2 08 00 DD 14 80 0D 03 02 00 00 00 00 6C [09:58:49]Write i2c OK [09:58:49]MH_I2C_Read... [09:58:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:58:49]Read from MH i2c: E2 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: E2 0B 00 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: E2 0B 00 DD 14 00 43 AC DF 1A 31 7A 53 C4 90 00 17 [09:58:49]RAPDU: 43 AC DF 1A 31 7A 53 C4 90 00 [09:58:49]wFMCommunicate OK [09:58:49]SAM_PROTO_SignData done [09:58:49]FM_MakeSignedData done [09:58:49]CreateOFDProtocolMessage [09:58:49]wFMCommunicate request_size=4 [09:58:49]MH_SAM_APDU [09:58:49]CAPDU: 80 11 00 00 [09:58:49]Write to MH i2c: E2 08 00 DE 14 80 11 00 00 00 00 00 00 6C [09:58:49]Write i2c OK [09:58:49]MH_I2C_Read... [09:58:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:49]Read from MH i2c: E2 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: E2 17 00 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: E2 17 00 DE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B8 [09:58:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:58:49]wFMCommunicate OK [09:58:49]CreateOFDProtocolMessage done [09:58:49]OFDSenderStorePacket 33392 [09:58:49]StoreOFDPacket docnum=33392 [09:58:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 22 9A 20 01 AC 17 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 0B 00 00 00 F4 03 04 00 DC 4F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 70 82 00 00 35 04 06 00 41 17 C7 D6 88 16 43 AC DF 1A 31 7A 53 C4 [09:58:49]CheckFolder [09:58:49]dirname=/storage/ofd_packets [09:58:49]CheckFolder done [09:58:49]ProducePacketName [09:58:49]name=ofd_packets/00033392 [09:58:49]NVStorageSaveData ofd_packets/00033392 [09:58:49]File name is /storage/ofd_packets/00033392 [09:58:49]Write 326 bytes [09:58:49]NVStorageSaveData done [09:58:49]OFDSenderStorePacket done [09:58:49]KKMCreateOFDPacket done [09:58:49]NVStorageSaveData kkm_last_timestamp [09:58:49]File name is /storage/kkm_last_timestamp [09:58:49]Write 4 bytes [09:58:49]NVStorageSaveData done [09:58:49]ExternCall_PrintAddStr [09:58:49]wPrintStart [09:58:49]Write to MH i2c: 01 00 00 DF 14 F3 [09:58:49]Write i2c OK [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: 01 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: 01 07 00 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: 01 07 00 DF 14 00 00 00 00 00 FF 0F 08 [09:58:49]RasterBufferAndPrint [09:58:49]line Счет N : (3)169202 [09:58:49]line ИНН: 02508201610067 [09:58:49]line Контрольно-Кассовый Чек [09:58:49]line ПРОДАЖА [09:58:49]line Товар: 2000036230011 [09:58:49]line Кофе Латте XL(GABB TRADE) [09:58:49]line 1.000 * 130.00 [09:58:49]line = 130.00 [09:58:49]line НДС 12% НСП 1% [09:58:49]line > о реализуемом товаре [09:58:49]line ИТОГО: 130.00 [09:58:49]line НСП 1% : 1.15 [09:58:49]line НДС 12% : 13.80 [09:58:49]line Наличными: 130.00 [09:58:49]line Безнал.: 0.00 [09:58:49]line Место: АЗС № 77 "Партнер Нефть" [09:58:49]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:58:49]line СНО: Общий режим [09:58:49]line Чек 11 13.07.2024 09:58 [09:58:49]line Смена: 434 ФФД: 1.0 [09:58:49]line ЗНМ: 0300000122 [09:58:49]line РНМ: 0000000000093033 [09:58:49]line Версия ККМ: 001 [09:58:49]line ФМ: 0000000000875104 [09:58:49]line ФД: 33392 [09:58:49]line ФПД: 71570392778774 [09:58:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095852&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33392&fm=71570392778774&tin=02508201610067®Number=0000000000093033&sum=13000 [09:58:49]line 0 [09:58:49]written 0, free lines is 4095 [09:58:49]OFD Sender: Processing packet 33392 [packets to send 6, broken 5] [09:58:49]ProducePacketName [09:58:49]name=ofd_packets/00033392 [09:58:49]OFD Sender: To server: pG, [09:58:49]CommunicateWithHost lk.salyk.kg:30040 [09:58:49]ConnectInit lk.salyk.kg [09:58:49]Write to MH i2c: 01 00 00 07 15 1C [09:58:49]Write i2c OK [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: 01 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: 01 07 00 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: 01 07 00 07 15 00 00 00 00 00 F8 0C 27 [09:58:49]RasterBufferAndPrint [09:58:49]line [09:58:49]line [09:58:49]line [09:58:49]line [09:58:49]line [09:58:49]written 0, free lines is 3324 [09:58:49]MH_Cut [09:58:49]Write to MH i2c: D1 01 00 0E 15 01 F5 [09:58:49]Write i2c OK [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: D1 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: D1 01 00 [09:58:49]MH_I2C_Read... [09:58:49]Read from MH i2c: D1 01 00 0E 15 00 F4 [09:58:49]Write to MH i2c: 01 00 00 0F 15 24 [09:58:49]Write i2c OK [09:58:49]MH_I2C_Read... [09:58:49]Connected sock=10 [09:58:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 22 9A 20 01 AC 17 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 0B 00 00 00 F4 03 04 00 DC 4F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 70 82 00 00 35 04 06 00 41 17 C7 D6 88 16 43 AC DF 1A 31 7A 53 C4 [09:58:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 76 07 47 00 F5 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 70 82 00 00 F4 03 04 00 87 FA 91 66 B6 04 01 00 00 A2 B1 42 52 A5 AC 2E 46 [09:58:49]CommunicateWithHost err = 0 [09:58:49]CheckOFDResponse [09:58:49]1017 (14) - 77093643461234 [09:58:49]1041 (16) - 0000000000875104 [09:58:49]1040 (4) - 33392 [09:58:49]1012 (4) - 13.07.2024 03:54 [09:58:49]1206 (1) - 0 [09:58:49]OFD Sender: Remove packet 33392 [09:58:49]ProducePacketName [09:58:49]name=ofd_packets/00033392 [09:58:49]NVStorageDeleteData [09:58:50]*** Cut start [09:58:50]*** Partial cut [09:58:50]*** CUTSNS_PIN = 1 [09:58:50]*** CUTSNS_PIN = 0 [09:58:50]OFD Sender: No OFD packet to send [09:58:50]*** Brake cut motor [09:58:50]Read from MH i2c: 01 [09:58:50]MH_I2C_Read... [09:58:50]*** Stop cut motor [09:58:50]*** Cut end [09:58:50]Read from MH i2c: 01 07 00 [09:58:50]MH_I2C_Read... [09:58:50]Read from MH i2c: 01 07 00 0F 15 00 00 00 00 00 FF 0F 39 [09:58:50]process_action close_receipt done [09:58:50]requested_data is exist [09:58:50]produce_requested_data [09:58:50]requested_item fm.sn is exist - process it [09:58:50]wFMCommunicate request_size=4 [09:58:50]MH_SAM_APDU [09:58:50]CAPDU: 80 11 00 00 [09:58:50]Write to MH i2c: E2 08 00 10 15 80 11 00 00 00 00 00 00 9F [09:58:50]Write i2c OK [09:58:50]MH_I2C_Read... [09:58:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:51]Read from MH i2c: E2 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 17 00 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 17 00 10 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EB [09:58:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:58:51]wFMCommunicate OK [09:58:51]requested_item fd.num is exist - process it [09:58:51]SAM_PROTO_GetFieldsCounters [09:58:51]wFMCommunicate request_size=4 [09:58:51]MH_SAM_APDU [09:58:51]CAPDU: 80 13 00 00 [09:58:51]Write to MH i2c: E2 08 00 11 15 80 13 00 00 00 00 00 00 A2 [09:58:51]Write i2c OK [09:58:51]MH_I2C_Read... [09:58:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:58:51]Read from MH i2c: E2 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 62 00 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 62 00 11 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 70 82 00 00 0E 04 04 00 B2 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 7B [09:58:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 70 82 00 00 0E 04 04 00 B2 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:58:51]wFMCommunicate OK [09:58:51]SAM_PROTO_GetFieldsCounters done [09:58:51]requested_item shift.num is exist - process it [09:58:51]requested_item shift.opened is exist - process it [09:58:51]req_shift_opened [09:58:51]FM_GetShiftState [09:58:51]SAM_PROTO_GetShiftState [09:58:51]wFMCommunicate request_size=4 [09:58:51]MH_SAM_APDU [09:58:51]CAPDU: 80 13 01 00 [09:58:51]Write to MH i2c: E2 08 00 12 15 80 13 01 00 00 00 00 00 A4 [09:58:51]Write i2c OK [09:58:51]MH_I2C_Read... [09:58:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:51]Read from MH i2c: E2 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 0E 00 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 0E 00 12 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 83 [09:58:51]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [09:58:51]wFMCommunicate OK [09:58:51]SAM_PROTO_GetShiftState done [09:58:51]FM_GetShiftState done [09:58:51]req_shift_opened done [09:58:51]requested_item shift.open_date is exist - process it [09:58:51]req_shift_open_date [09:58:51]req_shift_open_date done [09:58:51]produce_requested_data done [09:58:51]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33392,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [09:58:51]process_action_free close_receipt [09:58:51]json_value_free [09:58:51]json_value_free done [09:58:51]process_json_proto returns [09:58:51]Send response to host [09:58:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33392,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [09:58:51]free response buf [09:58:51]execute_script done [09:58:51]execute_script returns [09:58:51]free content buf [09:58:51]Sock 9.Close socket [09:58:51]Sock 9.Thread stoped [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:07]accept exits with 7 [10:10:07]New connection [10:10:07]New thread 3066461540 created [10:10:07]Thread 3066604900 joined [10:10:07]Waiting for new connection... [10:10:07] Sock 7.Parse request [10:10:07]Sock 7.Check first char [10:10:07]Sock 7.First char is OK [10:10:07]request: POST /json_proto HTTP/1.0 [10:10:07]Method: POST [10:10:07]URL: /json_proto [10:10:07]Method is POST - this is cgi request [10:10:07]url: /json_proto [10:10:07]query_string will be loaded in cgi processing [10:10:07]execute_cgi json_proto POST (null) [10:10:07]execute_cgi path=json_proto method=POST [10:10:07]POST find Content-Length [10:10:07]Host: 172.17.35.196:8080 [10:10:07]Content-Length: 1068 [10:10:07]Content-Type: application/json [10:10:07] [10:10:07]POST finish read [10:10:07]Found Content-Length = 1068 [10:10:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169203", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:07]execute_script... [10:10:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169203", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:07]POST & json_proto [10:10:07]process_json_proto [10:10:07]json parsed OK: [10:10:07]protocol is kg_v1.0 [10:10:07]action value=close_receipt [10:10:07]process_action close_receipt [10:10:07]cmd_close_receipt [10:10:07]MH_GetDate [10:10:07]Write to MH i2c: F0 00 00 13 15 17 [10:10:07]Write i2c OK [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: F0 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: F0 09 00 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: F0 09 00 13 15 00 85 52 92 66 AD 14 F4 65 09 [10:10:07]GetLastDocTimeStamp 1720864732 [10:10:07]current date 1720865413 [10:10:07]FM_GetShiftState [10:10:07]SAM_PROTO_GetShiftState [10:10:07]wFMCommunicate request_size=4 [10:10:07]MH_SAM_APDU [10:10:07]CAPDU: 80 13 01 00 [10:10:07]Write to MH i2c: E2 08 00 14 15 80 13 01 00 00 00 00 00 A6 [10:10:07]Write i2c OK [10:10:07]MH_I2C_Read... [10:10:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:07]Read from MH i2c: E2 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 0E 00 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 0E 00 14 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 85 [10:10:07]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:10:07]wFMCommunicate OK [10:10:07]SAM_PROTO_GetShiftState done [10:10:07]FM_GetShiftState done [10:10:07]opened in 1720829207 [10:10:07]opened+sec_in_day 1720915607 [10:10:07]quantity*price = 23000 [10:10:07]sum+1 = 23001 [10:10:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100091108 Шок Батончик Марс 50г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 289.00 НСП 1% : 2.55 НДС 12% : 30.68 Наличными: 0.00 Безнал.: 289.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 12 13.07.2024 10:10 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000875104 ФД: 33393 ФПД: 104074682671153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T101013&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33393&fm=104074682671153&tin=02508201610067®Number=0000000000093033&sum=28900 0 [10:10:08]StoreToDocumentArchive [10:10:08]shift 434 fd 33393 [10:10:08]save to /storage/0434/doc_00033393 [10:10:08]save last doc name /storage/0434/doc_00033393 to /storage/kkm_last_doc_name [10:10:08]save OK [10:10:08]Clear old archive folders... [10:10:08]ProcessDocumentItem done err = 0, tmpTLVsize=389 [10:10:08]tlvbuf is 00A66D10 [10:10:08]SAM_PROTO_ClearQueue [10:10:08]wFMCommunicate request_size=4 [10:10:08]MH_SAM_APDU [10:10:08]CAPDU: 80 09 00 00 [10:10:08]Write to MH i2c: E2 08 00 21 15 80 09 00 00 00 00 00 00 A8 [10:10:08]Write i2c OK [10:10:08]MH_I2C_Read... [10:10:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:10:08]Read from MH i2c: E2 [10:10:08]MH_I2C_Read... [10:10:08]Read from MH i2c: E2 03 00 [10:10:08]MH_I2C_Read... [10:10:08]Read from MH i2c: E2 03 00 21 15 00 90 00 AA [10:10:08]RAPDU: 90 00 [10:10:08]wFMCommunicate OK [10:10:08]SAM_PROTO_ClearQueue done [10:10:08]KKMCreateOFDPacket [10:10:08]OFDProtocolAddRootSTLVToBuf [10:10:08]FM_MakeSignedData [10:10:08]FM_MakeSignedData [10:10:08]SAM_PROTO_SignData [10:10:08]wFMCommunicate request_size=4 [10:10:08]MH_SAM_APDU [10:10:08]CAPDU: 80 0D 01 02 [10:10:08]Write to MH i2c: E2 08 00 22 15 80 0D 01 02 00 00 00 00 B0 [10:10:08]Write i2c OK [10:10:08]MH_I2C_Read... [10:10:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:10:08]Read from MH i2c: E2 [10:10:08]MH_I2C_Read... [10:10:08]Read from MH i2c: E2 03 00 [10:10:08]MH_I2C_Read... [10:10:08]Read from MH i2c: E2 03 00 22 15 00 90 00 AB [10:10:08]RAPDU: 90 00 [10:10:08]wFMCommunicate OK [10:10:08]wFMCommunicate request_size=255 [10:10:08]MH_SAM_APDU [10:10:08]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [10:10:08]Write to MH i2c: E2 02 01 23 15 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 F4 [10:10:08]Write i2c OK [10:10:08]MH_I2C_Read... [10:10:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:09]Read from MH i2c: E2 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 03 00 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 03 00 23 15 00 90 00 AC [10:10:09]RAPDU: 90 00 [10:10:09]wFMCommunicate OK [10:10:09]wFMCommunicate request_size=148 [10:10:09]MH_SAM_APDU [10:10:09]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 85 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 71 82 00 00 35 04 06 00 5E A7 C6 7D A0 31 [10:10:09]Write to MH i2c: E2 97 00 24 15 80 0D 02 02 8F 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 85 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 71 82 00 00 35 04 06 00 5E A7 C6 7D A0 31 00 00 E5 [10:10:09]Write i2c OK [10:10:09]MH_I2C_Read... [10:10:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:09]Read from MH i2c: E2 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 03 00 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 03 00 24 15 00 90 00 AD [10:10:09]RAPDU: 90 00 [10:10:09]wFMCommunicate OK [10:10:09]wFMCommunicate request_size=4 [10:10:09]MH_SAM_APDU [10:10:09]CAPDU: 80 0D 03 02 [10:10:09]Write to MH i2c: E2 08 00 25 15 80 0D 03 02 00 00 00 00 B5 [10:10:09]Write i2c OK [10:10:09]MH_I2C_Read... [10:10:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:10:09]Read from MH i2c: E2 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 0B 00 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 0B 00 25 15 00 D1 DA A3 35 64 FB 55 E6 90 00 D3 [10:10:09]RAPDU: D1 DA A3 35 64 FB 55 E6 90 00 [10:10:09]wFMCommunicate OK [10:10:09]SAM_PROTO_SignData done [10:10:09]FM_MakeSignedData done [10:10:09]CreateOFDProtocolMessage [10:10:09]wFMCommunicate request_size=4 [10:10:09]MH_SAM_APDU [10:10:09]CAPDU: 80 11 00 00 [10:10:09]Write to MH i2c: E2 08 00 26 15 80 11 00 00 00 00 00 00 B5 [10:10:09]Write i2c OK [10:10:09]MH_I2C_Read... [10:10:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:09]Read from MH i2c: E2 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 17 00 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: E2 17 00 26 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 01 [10:10:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:10:09]wFMCommunicate OK [10:10:09]CreateOFDProtocolMessage done [10:10:09]OFDSenderStorePacket 33393 [10:10:09]StoreOFDPacket docnum=33393 [10:10:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 99 01 00 00 84 D4 91 01 E5 33 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 85 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 71 82 00 00 35 04 06 00 5E A7 C6 7D A0 31 D1 DA A3 35 64 FB 55 E6 [10:10:09]CheckFolder [10:10:09]dirname=/storage/ofd_packets [10:10:09]CheckFolder done [10:10:09]ProducePacketName [10:10:09]name=ofd_packets/00033393 [10:10:09]NVStorageSaveData ofd_packets/00033393 [10:10:09]File name is /storage/ofd_packets/00033393 [10:10:09]Write 439 bytes [10:10:09]NVStorageSaveData done [10:10:09]OFDSenderStorePacket done [10:10:09]KKMCreateOFDPacket done [10:10:09]NVStorageSaveData kkm_last_timestamp [10:10:09]File name is /storage/kkm_last_timestamp [10:10:09]Write 4 bytes [10:10:09]NVStorageSaveData done [10:10:09]ExternCall_PrintAddStr [10:10:09]wPrintStart [10:10:09]Write to MH i2c: 01 00 00 27 15 3C [10:10:09]Write i2c OK [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: 01 [10:10:09]MH_I2C_Read... [10:10:09]Read from MH i2c: 01 07 00 [10:10:09]MH_I2C_Read... [10:10:09]OFD Sender: Processing packet 33393 [packets to send 6, broken 5] [10:10:09]ProducePacketName [10:10:09]name=ofd_packets/00033393 [10:10:09]Read from MH i2c: OFD Sender: To server: pG, [10:10:09]01 CommunicateWithHost lk.salyk.kg:30040 [10:10:09]07 ConnectInit lk.salyk.kg [10:10:09]00 27 15 00 00 00 00 00 FF 0F 51 [10:10:09]RasterBufferAndPrint [10:10:09]line Счет N : (3)169203 [10:10:09]line ИНН: 02508201610067 [10:10:09]line Контрольно-Кассовый Чек [10:10:09]line ПРОДАЖА [10:10:09]line Товар: 2000036210013 [10:10:09]line Кофе Капучино (GABB TRADE) [10:10:09]line 2.000 * 115.00 [10:10:09]line = 230.00 [10:10:09]line НДС 12% НСП 1% [10:10:09]line > о реализуемом товаре [10:10:09]line Товар: 4011100091108 [10:10:09]line Шок Батончик Марс 50г [10:10:09]line 1.000 * 59.00 [10:10:09]line = 59.00 [10:10:09]line НДС 12% НСП 1% [10:10:09]line > о реализуемом товаре [10:10:09]line ИТОГО: 289.00 [10:10:09]line НСП 1% : 2.55 [10:10:09]line НДС 12% : 30.68 [10:10:09]line Наличными: 0.00 [10:10:09]line Безнал.: 289.00 [10:10:09]line Место: АЗС № 77 "Партнер Нефть" [10:10:09]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:10:09]line СНО: Общий режим [10:10:09]line Чек 12 13.07.2024 10:10 [10:10:09]line Смена: 434 ФФД: 1.0 [10:10:09]line ЗНМ: 0300000122 [10:10:09]line РНМ: 0000000000093033 [10:10:09]line Версия ККМ: 001 [10:10:09]line Платежная система: KICB Банк [10:10:09]line ФМ: 0000000000875104 [10:10:09]line ФД: 33393 [10:10:09]line ФПД: 104074682671153 [10:10:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T101013&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33393&fm=104074682671153&tin=02508201610067®Number=0000000000093033&sum=28900 [10:10:09]line 0 [10:10:09]written 0, free lines is 4095 [10:10:09]Connected sock=10 [10:10:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 99 01 00 00 84 D4 91 01 E5 33 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 85 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 71 82 00 00 35 04 06 00 5E A7 C6 7D A0 31 D1 DA A3 35 64 FB 55 E6 [10:10:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D0 0B 47 00 43 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 35 31 30 34 10 04 04 00 71 82 00 00 F4 03 04 00 2F FD 91 66 B6 04 01 00 00 C4 94 2B EC 7B 82 B3 A8 [10:10:10]CommunicateWithHost err = 0 [10:10:10]CheckOFDResponse [10:10:10]1017 (14) - 77093643461234 [10:10:10]1041 (16) - 0000000000875104 [10:10:10]1040 (4) - 33393 [10:10:10]1012 (4) - 13.07.2024 04:06 [10:10:10]1206 (1) - 0 [10:10:10]OFD Sender: Remove packet 33393 [10:10:10]ProducePacketName [10:10:10]name=ofd_packets/00033393 [10:10:10]NVStorageDeleteData [10:10:10]Write to MH i2c: 01 00 00 57 15 6C [10:10:10]Write i2c OK [10:10:10]MH_I2C_Read... [10:10:10]Read from MH i2c: 01 [10:10:10]MH_I2C_Read... [10:10:10]Read from MH i2c: 01 07 00 [10:10:10]MH_I2C_Read... [10:10:10]Read from MH i2c: 01 07 00 57 15 00 00 00 00 00 87 0C 06 [10:10:10]RasterBufferAndPrint [10:10:10]line [10:10:10]line [10:10:10]line [10:10:10]line [10:10:10]line [10:10:10]written 0, free lines is 3212 [10:10:10]MH_Cut [10:10:10]Write to MH i2c: D1 01 00 5E 15 01 45 [10:10:10]Write i2c OK [10:10:10]MH_I2C_Read... [10:10:10]Read from MH i2c: D1 [10:10:10]MH_I2C_Read... [10:10:10]Read from MH i2c: D1 01 00 [10:10:10]MH_I2C_Read... [10:10:10]Read from MH i2c: D1 01 00 5E 15 00 44 [10:10:10]Write to MH i2c: 01 00 00 5F 15 74 [10:10:10]Write i2c OK [10:10:10]MH_I2C_Read... [10:10:10]OFD Sender: No OFD packet to send [10:10:11]*** Cut start [10:10:11]*** Partial cut [10:10:11]*** CUTSNS_PIN = 1 [10:10:11]*** CUTSNS_PIN = 0 [10:10:11]*** Brake cut motor [10:10:11]Read from MH i2c: 01 [10:10:11]MH_I2C_Read... [10:10:11]*** Stop cut motor [10:10:11]*** Cut end [10:10:11]Read from MH i2c: 01 07 00 [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: 01 07 00 5F 15 00 00 00 00 00 FF 0F 89 [10:10:11]process_action close_receipt done [10:10:11]requested_data is exist [10:10:11]produce_requested_data [10:10:11]requested_item fm.sn is exist - process it [10:10:11]wFMCommunicate request_size=4 [10:10:11]MH_SAM_APDU [10:10:11]CAPDU: 80 11 00 00 [10:10:11]Write to MH i2c: E2 08 00 60 15 80 11 00 00 00 00 00 00 EF [10:10:11]Write i2c OK [10:10:11]MH_I2C_Read... [10:10:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:11]Read from MH i2c: E2 [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: E2 17 00 [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: E2 17 00 60 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 3B [10:10:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:10:11]wFMCommunicate OK [10:10:11]requested_item fd.num is exist - process it [10:10:11]SAM_PROTO_GetFieldsCounters [10:10:11]wFMCommunicate request_size=4 [10:10:11]MH_SAM_APDU [10:10:11]CAPDU: 80 13 00 00 [10:10:11]Write to MH i2c: E2 08 00 61 15 80 13 00 00 00 00 00 00 F2 [10:10:11]Write i2c OK [10:10:11]MH_I2C_Read... [10:10:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:10:11]Read from MH i2c: E2 [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: E2 62 00 [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: E2 62 00 61 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 71 82 00 00 0E 04 04 00 B2 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 CF [10:10:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 71 82 00 00 0E 04 04 00 B2 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 [10:10:11]wFMCommunicate OK [10:10:11]SAM_PROTO_GetFieldsCounters done [10:10:11]requested_item shift.num is exist - process it [10:10:11]requested_item shift.opened is exist - process it [10:10:11]req_shift_opened [10:10:11]FM_GetShiftState [10:10:11]SAM_PROTO_GetShiftState [10:10:11]wFMCommunicate request_size=4 [10:10:11]MH_SAM_APDU [10:10:11]CAPDU: 80 13 01 00 [10:10:11]Write to MH i2c: E2 08 00 62 15 80 13 01 00 00 00 00 00 F4 [10:10:11]Write i2c OK [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: E2 [10:10:11]MH_I2C_Read... [10:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:11]Read from MH i2c: E2 0E 00 [10:10:11]MH_I2C_Read... [10:10:11]Read from MH i2c: E2 0E 00 62 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 D3 [10:10:11]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:10:11]wFMCommunicate OK [10:10:11]SAM_PROTO_GetShiftState done [10:10:11]FM_GetShiftState done [10:10:11]req_shift_opened done [10:10:11]requested_item shift.open_date is exist - process it [10:10:11]req_shift_open_date [10:10:11]req_shift_open_date done [10:10:11]produce_requested_data done [10:10:11]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33393,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [10:10:11]process_action_free close_receipt [10:10:11]json_value_free [10:10:11]json_value_free done [10:10:11]process_json_proto returns [10:10:11]Send response to host [10:10:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33393,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [10:10:11]free response buf [10:10:11]execute_script done [10:10:11]execute_script returns [10:10:11]free content buf [10:10:11]Sock 7.Close socket [10:10:11]Sock 7.Thread stoped [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]accept exits with 9 [10:10:30]New connection [10:10:30]New thread 3066604900 created [10:10:30]Thread 3066461540 joined [10:10:30]Waiting for new connection... [10:10:30] Sock 9.Parse request [10:10:30]Sock 9.Check first char [10:10:30]Sock 9.First char is OK [10:10:30]request: POST /json_proto HTTP/1.0 [10:10:30]Method: POST [10:10:30]URL: /json_proto [10:10:30]Method is POST - this is cgi request [10:10:30]url: /json_proto [10:10:30]query_string will be loaded in cgi processing [10:10:30]execute_cgi json_proto POST (null) [10:10:30]execute_cgi path=json_proto method=POST [10:10:30]POST find Content-Length [10:10:30]Host: 172.17.35.196:8080 [10:10:30]Content-Length: 652 [10:10:30]Content-Type: application/json [10:10:30] [10:10:30]POST finish read [10:10:30]Found Content-Length = 652 [10:10:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169204", "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" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:30]execute_script... [10:10: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)169204", "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" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:30]POST & json_proto [10:10:30]process_json_proto [10:10:30]json parsed OK: [10:10:30]protocol is kg_v1.0 [10:10:30]action value=close_receipt [10:10:30]process_action close_receipt [10:10:30]cmd_close_receipt [10:10:30]MH_GetDate [10:10:30]Write to MH i2c: F0 00 00 63 15 67 [10:10:30]Write i2c OK [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: F0 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: F0 09 00 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: F0 09 00 63 15 00 9B 52 92 66 AD 14 F4 65 6F [10:10:30]GetLastDocTimeStamp 1720865413 [10:10:30]current date 1720865435 [10:10:30]FM_GetShiftState [10:10:30]SAM_PROTO_GetShiftState [10:10:30]wFMCommunicate request_size=4 [10:10:30]MH_SAM_APDU [10:10:30]CAPDU: 80 13 01 00 [10:10:30]Write to MH i2c: E2 08 00 64 15 80 13 01 00 00 00 00 00 F6 [10:10:30]Write i2c OK [10:10:30]MH_I2C_Read... [10:10:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:30]Read from MH i2c: E2 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: E2 0E 00 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: E2 0E 00 64 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 D5 [10:10:30]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:10:30]wFMCommunicate OK [10:10:30]SAM_PROTO_GetShiftState done [10:10:30]FM_GetShiftState done [10:10:30]opened in 1720829207 [10:10:30]opened+sec_in_day 1720915607 [10:10:30]quantity*price = 7500 [10:10:30]sum+1 = 7501 [10:10:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 13 13.07.2024 10:10 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33394 ФПД: 85431882395278 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T101036&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33394&fm=85431882395278&tin=02508201610067®Number=0000000000093033&sum=7500 0 [10:10:31]StoreToDocumentArchive [10:10:31]shift 434 fd 33394 [10:10:31]save to /storage/0434/doc_00033394 [10:10:31]save last doc name /storage/0434/doc_00033394 to /storage/kkm_last_doc_name [10:10:31]save OK [10:10:31]Clear old archive folders... [10:10:31]ProcessDocumentItem done err = 0, tmpTLVsize=275 [10:10:31]tlvbuf is 00ABC400 [10:10:31]SAM_PROTO_ClearQueue [10:10:31]wFMCommunicate request_size=4 [10:10:31]MH_SAM_APDU [10:10:31]CAPDU: 80 09 00 00 [10:10:31]Write to MH i2c: E2 08 00 71 15 80 09 00 00 00 00 00 00 F8 [10:10:31]Write i2c OK [10:10:31]MH_I2C_Read... [10:10:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:10:31]Read from MH i2c: E2 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 71 15 00 90 00 FA [10:10:31]RAPDU: 90 00 [10:10:31]wFMCommunicate OK [10:10:31]SAM_PROTO_ClearQueue done [10:10:31]KKMCreateOFDPacket [10:10:31]OFDProtocolAddRootSTLVToBuf [10:10:31]FM_MakeSignedData [10:10:31]FM_MakeSignedData [10:10:31]SAM_PROTO_SignData [10:10:31]wFMCommunicate request_size=4 [10:10:31]MH_SAM_APDU [10:10:31]CAPDU: 80 0D 01 02 [10:10:31]Write to MH i2c: E2 08 00 72 15 80 0D 01 02 00 00 00 00 00 [10:10:31]Write i2c OK [10:10:31]MH_I2C_Read... [10:10:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:10:31]Read from MH i2c: E2 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 72 15 00 90 00 FB [10:10:31]RAPDU: 90 00 [10:10:31]wFMCommunicate OK [10:10:31]wFMCommunicate request_size=255 [10:10:31]MH_SAM_APDU [10:10:31]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 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 9C 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [10:10:31]Write to MH i2c: E2 02 01 73 15 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 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 9C 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 8E [10:10:31]Write i2c OK [10:10:31]MH_I2C_Read... [10:10:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 73 15 00 90 00 FC [10:10:32]RAPDU: 90 00 [10:10:32]wFMCommunicate OK [10:10:32]wFMCommunicate request_size=34 [10:10:32]MH_SAM_APDU [10:10:32]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 72 82 00 00 35 04 06 00 4D B3 29 00 AE 8E [10:10:32]Write to MH i2c: E2 25 00 74 15 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 72 82 00 00 35 04 06 00 4D B3 29 00 AE 8E 00 00 16 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 74 15 00 90 00 FD [10:10:32]RAPDU: 90 00 [10:10:32]wFMCommunicate OK [10:10:32]wFMCommunicate request_size=4 [10:10:32]MH_SAM_APDU [10:10:32]CAPDU: 80 0D 03 02 [10:10:32]Write to MH i2c: E2 08 00 75 15 80 0D 03 02 00 00 00 00 05 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 0B 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 0B 00 75 15 00 71 11 85 F2 4B 38 92 1D 90 00 31 [10:10:32]RAPDU: 71 11 85 F2 4B 38 92 1D 90 00 [10:10:32]wFMCommunicate OK [10:10:32]SAM_PROTO_SignData done [10:10:32]FM_MakeSignedData done [10:10:32]CreateOFDProtocolMessage [10:10:32]wFMCommunicate request_size=4 [10:10:32]MH_SAM_APDU [10:10:32]CAPDU: 80 11 00 00 [10:10:32]Write to MH i2c: E2 08 00 76 15 80 11 00 00 00 00 00 00 05 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 17 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 17 00 76 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 51 [10:10:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:10:32]wFMCommunicate OK [10:10:32]CreateOFDProtocolMessage done [10:10:32]OFDSenderStorePacket 33394 [10:10:32]StoreOFDPacket docnum=33394 [10:10:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 3F BD 1F 01 E3 12 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 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 9C 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 72 82 00 00 35 04 06 00 4D B3 29 00 AE 8E 71 11 85 F2 4B 38 92 1D [10:10:32]CheckFolder [10:10:32]dirname=/storage/ofd_packets [10:10:32]CheckFolder done [10:10:32]ProducePacketName [10:10:32]name=ofd_packets/00033394 [10:10:32]NVStorageSaveData ofd_packets/00033394 [10:10:32]File name is /storage/ofd_packets/00033394 [10:10:32]Write 325 bytes [10:10:32]NVStorageSaveData done [10:10:32]OFDSenderStorePacket done [10:10:32]KKMCreateOFDPacket done [10:10:32]NVStorageSaveData kkm_last_timestamp [10:10:32]File name is /storage/kkm_last_timestamp [10:10:32]Write 4 bytes [10:10:32]NVStorageSaveData done [10:10:32]ExternCall_PrintAddStr [10:10:32]wPrintStart [10:10:32]Write to MH i2c: 01 00 00 77 15 8C [10:10:32]OFD Sender: Processing packet 33394 [packets to send 6, broken 5] [10:10:32]ProducePacketName [10:10:32]name=ofd_packets/00033394 [10:10:32]OFD Sender: To server: pG, [10:10:32]CommunicateWithHost lk.salyk.kg:30040 [10:10:32]ConnectInit lk.salyk.kg [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 07 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 07 00 77 15 00 00 00 00 00 FF 0F A1 [10:10:32]RasterBufferAndPrint [10:10:32]line Счет N : (3)169204 [10:10:32]line ИНН: 02508201610067 [10:10:32]line Контрольно-Кассовый Чек [10:10:32]line ПРОДАЖА [10:10:32]line Товар: 54491472 [10:10:32]line Напиток Кока-Кола 0,5л [10:10:32]line 1.000 * 75.00 [10:10:32]line = 75.00 [10:10:32]line НДС 12% НСП 1% [10:10:32]line > о реализуемом товаре [10:10:32]line ИТОГО: 75.00 [10:10:32]line НСП 1% : 0.66 [10:10:32]line НДС 12% : 7.96 [10:10:32]line Наличными: 75.00 [10:10:32]line Безнал.: 0.00 [10:10:32]line Место: АЗС № 77 "Партнер Нефть" [10:10:32]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:10:32]line СНО: Общий режим [10:10:32]line Чек 13 13.07.2024 10:10 [10:10:32]line Смена: 434 ФФД: 1.0 [10:10:32]line ЗНМ: 0300000122 [10:10:32]line РНМ: 0000000000093033 [10:10:32]line Версия ККМ: 001 [10:10:32]line ФМ: 0000000000875104 [10:10:32]line ФД: 33394 [10:10:32]line ФПД: 85431882395278 [10:10:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T101036&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33394&fm=85431882395278&tin=02508201610067®Number=0000000000093033&sum=7500 [10:10:32]line 0 [10:10:32]written 0, free lines is 4095 [10:10:32]Connected sock=10 [10:10:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 3F BD 1F 01 E3 12 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 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 9C 52 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 72 82 00 00 35 04 06 00 4D B3 29 00 AE 8E 71 11 85 F2 4B 38 92 1D [10:10:32]Write to MH i2c: 01 00 00 9F 15 B4 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 07 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 07 00 9F 15 00 00 00 00 00 0F 0D D7 [10:10:32]RasterBufferAndPrint [10:10:32]line [10:10:32]line [10:10:32]line [10:10:32]line [10:10:32]line [10:10:32]written 0, free lines is 3349 [10:10:32]MH_Cut [10:10:32]Write to MH i2c: D1 01 00 A6 15 01 8D [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: D1 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: D1 01 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: D1 01 00 A6 15 00 8C [10:10:32]Write to MH i2c: 01 00 00 A7 15 BC [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 68 BF 47 00 29 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 72 82 00 00 F4 03 04 00 46 FD 91 66 B6 04 01 00 00 7C 1B AC 18 89 BF 0C 62 [10:10:32]CommunicateWithHost err = 0 [10:10:32]CheckOFDResponse [10:10:32]1017 (14) - 77093643461234 [10:10:32]1041 (16) - 0000000000875104 [10:10:32]1040 (4) - 33394 [10:10:32]1012 (4) - 13.07.2024 04:06 [10:10:32]1206 (1) - 0 [10:10:32]OFD Sender: Remove packet 33394 [10:10:32]ProducePacketName [10:10:32]name=ofd_packets/00033394 [10:10:32]NVStorageDeleteData [10:10:33]OFD Sender: No OFD packet to send [10:10:33]*** Cut start [10:10:33]*** Partial cut [10:10:33]*** CUTSNS_PIN = 1 [10:10:33]*** CUTSNS_PIN = 0 [10:10:33]*** Brake cut motor [10:10:33]Read from MH i2c: 01 [10:10:34]MH_I2C_Read... [10:10:34]*** Stop cut motor [10:10:34]*** Cut end [10:10:34]Read from MH i2c: 01 07 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: 01 07 00 A7 15 00 00 00 00 00 FF 0F D1 [10:10:34]process_action close_receipt done [10:10:34]requested_data is exist [10:10:34]produce_requested_data [10:10:34]requested_item fm.sn is exist - process it [10:10:34]wFMCommunicate request_size=4 [10:10:34]MH_SAM_APDU [10:10:34]CAPDU: 80 11 00 00 [10:10:34]Write to MH i2c: E2 08 00 A8 15 80 11 00 00 00 00 00 00 37 [10:10:34]Write i2c OK [10:10:34]MH_I2C_Read... [10:10:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:34]Read from MH i2c: E2 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 17 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 17 00 A8 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 83 [10:10:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:10:34]wFMCommunicate OK [10:10:34]requested_item fd.num is exist - process it [10:10:34]SAM_PROTO_GetFieldsCounters [10:10:34]wFMCommunicate request_size=4 [10:10:34]MH_SAM_APDU [10:10:34]CAPDU: 80 13 00 00 [10:10:34]Write to MH i2c: E2 08 00 A9 15 80 13 00 00 00 00 00 00 3A [10:10:34]Write i2c OK [10:10:34]MH_I2C_Read... [10:10:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:10:34]Read from MH i2c: E2 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 62 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 62 00 A9 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 72 82 00 00 0E 04 04 00 B2 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 1B [10:10:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 72 82 00 00 0E 04 04 00 B2 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:10:34]wFMCommunicate OK [10:10:34]SAM_PROTO_GetFieldsCounters done [10:10:34]requested_item shift.num is exist - process it [10:10:34]requested_item shift.opened is exist - process it [10:10:34]req_shift_opened [10:10:34]FM_GetShiftState [10:10:34]SAM_PROTO_GetShiftState [10:10:34]wFMCommunicate request_size=4 [10:10:34]MH_SAM_APDU [10:10:34]CAPDU: 80 13 01 00 [10:10:34]Write to MH i2c: E2 08 00 AA 15 80 13 01 00 00 00 00 00 3C [10:10:34]Write i2c OK [10:10:34]MH_I2C_Read... [10:10:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:34]Read from MH i2c: E2 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 0E 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 0E 00 AA 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 1B [10:10:34]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:10:34]wFMCommunicate OK [10:10:34]SAM_PROTO_GetShiftState done [10:10:34]FM_GetShiftState done [10:10:34]req_shift_opened done [10:10:34]requested_item shift.open_date is exist - process it [10:10:34]req_shift_open_date [10:10:34]req_shift_open_date done [10:10:34]produce_requested_data done [10:10:34]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33394,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [10:10:34]process_action_free close_receipt [10:10:34]json_value_free [10:10:34]json_value_free done [10:10:34]process_json_proto returns [10:10:34]Send response to host [10:10:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33394,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [10:10:34]free response buf [10:10:34]execute_script done [10:10:34]execute_script returns [10:10:34]free content buf [10:10:34]Sock 9.Close socket [10:10:34]Sock 9.Thread stoped [10:10:38]OFD Sender: No OFD packet to send [10:10:43]OFD Sender: No OFD packet to send [10:10:48]OFD Sender: No OFD packet to send [10:10:53]OFD Sender: No OFD packet to send [10:10:58]OFD Sender: No OFD packet to send [10:11:03]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:25]accept exits with 7 [10:24:25]New connection [10:24:25]New thread 3066461540 created [10:24:25]Thread 3066604900 joined [10:24:25]Waiting for new connection... [10:24:25] Sock 7.Parse request [10:24:25]Sock 7.Check first char [10:24:25]Sock 7.First char is OK [10:24:25]request: POST /json_proto HTTP/1.0 [10:24:25]Method: POST [10:24:25]URL: /json_proto [10:24:25]Method is POST - this is cgi request [10:24:25]url: /json_proto [10:24:25]query_string will be loaded in cgi processing [10:24:25]execute_cgi json_proto POST (null) [10:24:25]execute_cgi path=json_proto method=POST [10:24:25]POST find Content-Length [10:24:25]Host: 172.17.35.196:8080 [10:24:25]Content-Length: 624 [10:24:25]Content-Type: application/json [10:24:25] [10:24:25]POST finish read [10:24:25]Found Content-Length = 624 [10:24:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169205", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:24:25]execute_script... [10:24: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)169205", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:24:25]POST & json_proto [10:24:25]process_json_proto [10:24:25]json parsed OK: [10:24:25]protocol is kg_v1.0 [10:24:25]action value=close_receipt [10:24:25]process_action close_receipt [10:24:25]cmd_close_receipt [10:24:25]MH_GetDate [10:24:25]Write to MH i2c: F0 00 00 AB 15 AF [10:24:25]Write i2c OK [10:24:25]MH_I2C_Read... [10:24:25]Read from MH i2c: F0 [10:24:25]MH_I2C_Read... [10:24:25]Read from MH i2c: F0 09 00 [10:24:25]MH_I2C_Read... [10:24:25]Read from MH i2c: F0 09 00 AB 15 00 DE 55 92 66 AD 14 F4 65 FD [10:24:25]GetLastDocTimeStamp 1720865436 [10:24:25]current date 1720866270 [10:24:25]FM_GetShiftState [10:24:25]SAM_PROTO_GetShiftState [10:24:25]wFMCommunicate request_size=4 [10:24:25]MH_SAM_APDU [10:24:25]CAPDU: 80 13 01 00 [10:24:25]Write to MH i2c: E2 08 00 AC 15 80 13 01 00 00 00 00 00 3E [10:24:25]Write i2c OK [10:24:25]MH_I2C_Read... [10:24:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:24:25]Read from MH i2c: E2 [10:24:25]MH_I2C_Read... [10:24:25]Read from MH i2c: E2 0E 00 [10:24:25]MH_I2C_Read... [10:24:25]Read from MH i2c: E2 0E 00 AC 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 1D [10:24:25]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:24:25]wFMCommunicate OK [10:24:25]SAM_PROTO_GetShiftState done [10:24:25]FM_GetShiftState done [10:24:25]opened in 1720829207 [10:24:25]opened+sec_in_day 1720915607 [10:24:25]quantity*price = 14300 [10:24:25]sum+1 = 14301 [10:24:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 14 13.07.2024 10:24 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33395 ФПД: 246327942471670 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T102431&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33395&fm=246327942471670&tin=02508201610067®Number=0000000000093033&sum=14300 0 [10:24:26]StoreToDocumentArchive [10:24:26]shift 434 fd 33395 [10:24:26]save to /storage/0434/doc_00033395 [10:24:26]save last doc name /storage/0434/doc_00033395 to /storage/kkm_last_doc_name [10:24:26]save OK [10:24:26]Clear old archive folders... [10:24:26]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:24:26]tlvbuf is 00A5E770 [10:24:26]SAM_PROTO_ClearQueue [10:24:26]wFMCommunicate request_size=4 [10:24:26]MH_SAM_APDU [10:24:26]CAPDU: 80 09 00 00 [10:24:26]Write to MH i2c: E2 08 00 B9 15 80 09 00 00 00 00 00 00 40 [10:24:26]Write i2c OK [10:24:26]MH_I2C_Read... [10:24:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:24:26]Read from MH i2c: E2 [10:24:26]MH_I2C_Read... [10:24:26]Read from MH i2c: E2 03 00 [10:24:26]MH_I2C_Read... [10:24:26]Read from MH i2c: E2 03 00 B9 15 00 90 00 42 [10:24:26]RAPDU: 90 00 [10:24:26]wFMCommunicate OK [10:24:26]SAM_PROTO_ClearQueue done [10:24:26]KKMCreateOFDPacket [10:24:26]OFDProtocolAddRootSTLVToBuf [10:24:26]FM_MakeSignedData [10:24:26]FM_MakeSignedData [10:24:26]SAM_PROTO_SignData [10:24:26]wFMCommunicate request_size=4 [10:24:26]MH_SAM_APDU [10:24:26]CAPDU: 80 0D 01 02 [10:24:26]Write to MH i2c: E2 08 00 BA 15 80 0D 01 02 00 00 00 00 48 [10:24:26]Write i2c OK [10:24:26]MH_I2C_Read... [10:24:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:24:26]Read from MH i2c: E2 [10:24:26]MH_I2C_Read... [10:24:26]Read from MH i2c: E2 03 00 [10:24:26]MH_I2C_Read... [10:24:26]Read from MH i2c: E2 03 00 BA 15 00 90 00 43 [10:24:26]RAPDU: 90 00 [10:24:26]wFMCommunicate OK [10:24:26]wFMCommunicate request_size=255 [10:24:26]MH_SAM_APDU [10:24:26]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DF 55 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 [10:24:26]Write to MH i2c: E2 02 01 BB 15 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DF 55 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 00 00 7D [10:24:26]Write i2c OK [10:24:26]MH_I2C_Read... [10:24:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:24:26]Read from MH i2c: E2 [10:24:26]MH_I2C_Read... [10:24:26]Read from MH i2c: E2 03 00 [10:24:26]MH_I2C_Read... [10:24:26]Read from MH i2c: E2 03 00 BB 15 00 90 00 44 [10:24:26]RAPDU: 90 00 [10:24:26]wFMCommunicate OK [10:24:26]wFMCommunicate request_size=35 [10:24:26]MH_SAM_APDU [10:24:26]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 73 82 00 00 35 04 06 00 E0 08 B1 82 5F F6 [10:24:26]Write to MH i2c: E2 26 00 BC 15 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 73 82 00 00 35 04 06 00 E0 08 B1 82 5F F6 00 00 9C [10:24:26]Write i2c OK [10:24:26]MH_I2C_Read... [10:24:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:24:27]Read from MH i2c: E2 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: E2 03 00 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: E2 03 00 BC 15 00 90 00 45 [10:24:27]RAPDU: 90 00 [10:24:27]wFMCommunicate OK [10:24:27]wFMCommunicate request_size=4 [10:24:27]MH_SAM_APDU [10:24:27]CAPDU: 80 0D 03 02 [10:24:27]Write to MH i2c: E2 08 00 BD 15 80 0D 03 02 00 00 00 00 4D [10:24:27]Write i2c OK [10:24:27]MH_I2C_Read... [10:24:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:24:27]Read from MH i2c: E2 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: E2 0B 00 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: E2 0B 00 BD 15 00 B5 0A 49 B4 B7 6C 7D 74 90 00 1E [10:24:27]RAPDU: B5 0A 49 B4 B7 6C 7D 74 90 00 [10:24:27]wFMCommunicate OK [10:24:27]SAM_PROTO_SignData done [10:24:27]FM_MakeSignedData done [10:24:27]CreateOFDProtocolMessage [10:24:27]wFMCommunicate request_size=4 [10:24:27]MH_SAM_APDU [10:24:27]CAPDU: 80 11 00 00 [10:24:27]Write to MH i2c: E2 08 00 BE 15 80 11 00 00 00 00 00 00 4D [10:24:27]Write i2c OK [10:24:27]MH_I2C_Read... [10:24:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:24:27]Read from MH i2c: E2 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: E2 17 00 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: E2 17 00 BE 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 99 [10:24:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:24:27]wFMCommunicate OK [10:24:27]CreateOFDProtocolMessage done [10:24:27]OFDSenderStorePacket 33395 [10:24:27]StoreOFDPacket docnum=33395 [10:24:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 BF 19 20 01 09 9C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DF 55 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 73 82 00 00 35 04 06 00 E0 08 B1 82 5F F6 B5 0A 49 B4 B7 6C 7D 74 [10:24:27]CheckFolder [10:24:27]dirname=/storage/ofd_packets [10:24:27]CheckFolder done [10:24:27]ProducePacketName [10:24:27]name=ofd_packets/00033395 [10:24:27]NVStorageSaveData ofd_packets/00033395 [10:24:27]File name is /storage/ofd_packets/00033395 [10:24:27]Write 326 bytes [10:24:27]NVStorageSaveData done [10:24:27]OFDSenderStorePacket done [10:24:27]KKMCreateOFDPacket done [10:24:27]NVStorageSaveData kkm_last_timestamp [10:24:27]File name is /storage/kkm_last_timestamp [10:24:27]Write 4 bytes [10:24:27]NVStorageSaveData done [10:24:27]ExternCall_PrintAddStr [10:24:27]wPrintStart [10:24:27]Write to MH i2c: 01 00 00 BF 15 D4 [10:24:27]Write i2c OK [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: 01 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: 01 07 00 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: 01 07 00 BF 15 00 00 00 00 00 FF 0F E9 [10:24:27]RasterBufferAndPrint [10:24:27]line Счет N : (3)169205 [10:24:27]line ИНН: 02508201610067 [10:24:27]line Контрольно-Кассовый Чек [10:24:27]line ПРОДАЖА [10:24:27]line Товар: 48744683 [10:24:27]line Сигареты Winston XStyle Caster+ [10:24:27]line 1.000 * 143.00 [10:24:27]line = 143.00 [10:24:27]line НДС 12% НСП 1% [10:24:27]line > о реализуемом товаре [10:24:27]line ИТОГО: 143.00 [10:24:27]line НСП 1% : 1.26 [10:24:27]line НДС 12% : 15.19 [10:24:27]line Наличными: 143.00 [10:24:27]line Безнал.: 0.00 [10:24:27]line Место: АЗС № 77 "Партнер Нефть" [10:24:27]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:24:27]line СНО: Общий режим [10:24:27]line Чек 14 13.07.2024 10:24 [10:24:27]line Смена: 434 ФФД: 1.0 [10:24:27]line ЗНМ: 0300000122 [10:24:27]line РНМ: 0000000000093033 [10:24:27]line Версия ККМ: 001 [10:24:27]line ФМ: 0000000000875104 [10:24:27]line ФД: 33395 [10:24:27]line ФПД: 246327942471670 [10:24:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T102431&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33395&fm=246327942471670&tin=02508201610067®Number=0000000000093033&sum=14300 [10:24:27]OFD Sender: Processing packet 33395 [packets to send 6, broken 5] [10:24:27]ProducePacketName [10:24:27]name=ofd_packets/00033395 [10:24:27]OFD Sender: To server: pG, [10:24:27]CommunicateWithHost lk.salyk.kg:30040 [10:24:27]ConnectInit lk.salyk.kg [10:24:27]line 0 [10:24:27]written 0, free lines is 4095 [10:24:27]Connected sock=10 [10:24:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 BF 19 20 01 09 9C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DF 55 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 73 82 00 00 35 04 06 00 E0 08 B1 82 5F F6 B5 0A 49 B4 B7 6C 7D 74 [10:24:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 80 E6 47 00 10 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 35 31 30 34 10 04 04 00 73 82 00 00 F4 03 04 00 89 00 92 66 B6 04 01 00 00 1F 8F 1B B4 AB 67 3A EF [10:24:27]CommunicateWithHost err = 0 [10:24:27]CheckOFDResponse [10:24:27]1017 (14) - 77093643461234 [10:24:27]1041 (16) - 0000000000875104 [10:24:27]1040 (4) - 33395 [10:24:27]1012 (4) - 13.07.2024 04:20 [10:24:27]1206 (1) - 0 [10:24:27]OFD Sender: Remove packet 33395 [10:24:27]ProducePacketName [10:24:27]name=ofd_packets/00033395 [10:24:27]NVStorageDeleteData [10:24:27]Write to MH i2c: 01 00 00 E8 15 FD [10:24:27]Write i2c OK [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: 01 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: 01 07 00 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: 01 07 00 E8 15 00 00 00 00 00 D9 0C E9 [10:24:27]RasterBufferAndPrint [10:24:27]line [10:24:27]line [10:24:27]line [10:24:27]line [10:24:27]line [10:24:27]written 0, free lines is 3296 [10:24:27]MH_Cut [10:24:27]Write to MH i2c: D1 01 00 EF 15 01 D6 [10:24:27]Write i2c OK [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: D1 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: D1 01 00 [10:24:27]MH_I2C_Read... [10:24:27]Read from MH i2c: D1 01 00 EF 15 00 D5 [10:24:27]Write to MH i2c: 01 00 00 F0 15 05 [10:24:27]Write i2c OK [10:24:27]MH_I2C_Read... [10:24:28]OFD Sender: No OFD packet to send [10:24:28]*** Cut start [10:24:28]*** Partial cut [10:24:28]*** CUTSNS_PIN = 1 [10:24:28]*** CUTSNS_PIN = 0 [10:24:28]*** Brake cut motor [10:24:29]Read from MH i2c: 01 [10:24:29]MH_I2C_Read... [10:24:29]*** Stop cut motor [10:24:29]*** Cut end [10:24:29]Read from MH i2c: 01 07 00 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: 01 07 00 F0 15 00 00 00 00 00 FF 0F 1A [10:24:29]process_action close_receipt done [10:24:29]requested_data is exist [10:24:29]produce_requested_data [10:24:29]requested_item fm.sn is exist - process it [10:24:29]wFMCommunicate request_size=4 [10:24:29]MH_SAM_APDU [10:24:29]CAPDU: 80 11 00 00 [10:24:29]Write to MH i2c: E2 08 00 F1 15 80 11 00 00 00 00 00 00 80 [10:24:29]Write i2c OK [10:24:29]MH_I2C_Read... [10:24:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:24:29]Read from MH i2c: E2 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: E2 17 00 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: E2 17 00 F1 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CC [10:24:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:24:29]wFMCommunicate OK [10:24:29]requested_item fd.num is exist - process it [10:24:29]SAM_PROTO_GetFieldsCounters [10:24:29]wFMCommunicate request_size=4 [10:24:29]MH_SAM_APDU [10:24:29]CAPDU: 80 13 00 00 [10:24:29]Write to MH i2c: E2 08 00 F2 15 80 13 00 00 00 00 00 00 83 [10:24:29]Write i2c OK [10:24:29]MH_I2C_Read... [10:24:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:24:29]Read from MH i2c: E2 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: E2 62 00 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: E2 62 00 F2 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 73 82 00 00 0E 04 04 00 B2 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 68 [10:24:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 73 82 00 00 0E 04 04 00 B2 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:24:29]wFMCommunicate OK [10:24:29]SAM_PROTO_GetFieldsCounters done [10:24:29]requested_item shift.num is exist - process it [10:24:29]requested_item shift.opened is exist - process it [10:24:29]req_shift_opened [10:24:29]FM_GetShiftState [10:24:29]SAM_PROTO_GetShiftState [10:24:29]wFMCommunicate request_size=4 [10:24:29]MH_SAM_APDU [10:24:29]CAPDU: 80 13 01 00 [10:24:29]Write to MH i2c: E2 08 00 F3 15 80 13 01 00 00 00 00 00 85 [10:24:29]Write i2c OK [10:24:29]MH_I2C_Read... [10:24:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:24:29]Read from MH i2c: E2 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: E2 0E 00 [10:24:29]MH_I2C_Read... [10:24:29]Read from MH i2c: E2 0E 00 F3 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 64 [10:24:29]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:24:29]wFMCommunicate OK [10:24:29]SAM_PROTO_GetShiftState done [10:24:29]FM_GetShiftState done [10:24:29]req_shift_opened done [10:24:29]requested_item shift.open_date is exist - process it [10:24:29]req_shift_open_date [10:24:29]req_shift_open_date done [10:24:29]produce_requested_data done [10:24:29]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33395,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [10:24:29]process_action_free close_receipt [10:24:29]json_value_free [10:24:29]json_value_free done [10:24:29]process_json_proto returns [10:24:29]Send response to host [10:24:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33395,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [10:24:29]free response buf [10:24:29]execute_script done [10:24:29]execute_script returns [10:24:29]free content buf [10:24:29]Sock 7.Close socket [10:24:29]Sock 7.Thread stoped [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:25]accept exits with 9 [10:30:25]New connection [10:30:25]New thread 3066604900 created [10:30:25]Thread 3066461540 joined [10:30:25]Waiting for new connection... [10:30:25] Sock 9.Parse request [10:30:25]Sock 9.Check first char [10:30:25]Sock 9.First char is OK [10:30:25]request: POST /json_proto HTTP/1.0 [10:30:25]Method: POST [10:30:25]URL: /json_proto [10:30:25]Method is POST - this is cgi request [10:30:25]url: /json_proto [10:30:25]query_string will be loaded in cgi processing [10:30:25]execute_cgi json_proto POST (null) [10:30:25]execute_cgi path=json_proto method=POST [10:30:25]POST find Content-Length [10:30:25]Host: 172.17.35.196:8080 [10:30:25]Content-Length: 847 [10:30:25]Content-Type: application/json [10:30:25] [10:30:25]POST finish read [10:30:25]Found Content-Length = 847 [10:30:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169206", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:25]execute_script... [10:30: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)169206", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:25]POST & json_proto [10:30:25]process_json_proto [10:30:25]json parsed OK: [10:30:25]protocol is kg_v1.0 [10:30:25]action value=close_receipt [10:30:25]process_action close_receipt [10:30:25]cmd_close_receipt [10:30:25]MH_GetDate [10:30:25]Write to MH i2c: F0 00 00 F4 15 F8 [10:30:25]Write i2c OK [10:30:25]MH_I2C_Read... [10:30:25]Read from MH i2c: F0 [10:30:25]MH_I2C_Read... [10:30:25]Read from MH i2c: F0 09 00 [10:30:25]MH_I2C_Read... [10:30:25]Read from MH i2c: F0 09 00 F4 15 00 46 57 92 66 AD 14 F4 65 B0 [10:30:25]GetLastDocTimeStamp 1720866271 [10:30:25]current date 1720866630 [10:30:25]FM_GetShiftState [10:30:25]SAM_PROTO_GetShiftState [10:30:25]wFMCommunicate request_size=4 [10:30:25]MH_SAM_APDU [10:30:25]CAPDU: 80 13 01 00 [10:30:25]Write to MH i2c: E2 08 00 F5 15 80 13 01 00 00 00 00 00 87 [10:30:25]Write i2c OK [10:30:25]MH_I2C_Read... [10:30:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:25]Read from MH i2c: E2 [10:30:25]MH_I2C_Read... [10:30:25]Read from MH i2c: E2 0E 00 [10:30:25]MH_I2C_Read... [10:30:25]Read from MH i2c: E2 0E 00 F5 15 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 66 [10:30:25]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:30:25]wFMCommunicate OK [10:30:25]SAM_PROTO_GetShiftState done [10:30:25]FM_GetShiftState done [10:30:25]opened in 1720829207 [10:30:25]opened+sec_in_day 1720915607 [10:30:25]quantity*price = 13000 [10:30:25]sum+1 = 13001 [10:30:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 15 13.07.2024 10:30 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33396 ФПД: 133661965064038 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T103031&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33396&fm=133661965064038&tin=02508201610067®Number=0000000000093033&sum=13000 0 [10:30:26]StoreToDocumentArchive [10:30:26]shift 434 fd 33396 [10:30:26]save to /storage/0434/doc_00033396 [10:30:26]save last doc name /storage/0434/doc_00033396 to /storage/kkm_last_doc_name [10:30:26]save OK [10:30:26]Clear old archive folders... [10:30:26]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:30:26]tlvbuf is 00A85DF0 [10:30:26]SAM_PROTO_ClearQueue [10:30:26]wFMCommunicate request_size=4 [10:30:26]MH_SAM_APDU [10:30:26]CAPDU: 80 09 00 00 [10:30:26]Write to MH i2c: E2 08 00 02 16 80 09 00 00 00 00 00 00 8A [10:30:26]Write i2c OK [10:30:26]MH_I2C_Read... [10:30:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:30:26]Read from MH i2c: E2 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 02 16 00 90 00 8C [10:30:26]RAPDU: 90 00 [10:30:26]wFMCommunicate OK [10:30:26]SAM_PROTO_ClearQueue done [10:30:26]KKMCreateOFDPacket [10:30:26]OFDProtocolAddRootSTLVToBuf [10:30:26]FM_MakeSignedData [10:30:26]FM_MakeSignedData [10:30:26]SAM_PROTO_SignData [10:30:26]wFMCommunicate request_size=4 [10:30:26]MH_SAM_APDU [10:30:26]CAPDU: 80 0D 01 02 [10:30:26]Write to MH i2c: E2 08 00 03 16 80 0D 01 02 00 00 00 00 92 [10:30:26]Write i2c OK [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 [10:30:26]MH_I2C_Read... [10:30:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:30:26]Read from MH i2c: E2 03 00 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 03 16 00 90 00 8D [10:30:26]RAPDU: 90 00 [10:30:26]wFMCommunicate OK [10:30:26]wFMCommunicate request_size=255 [10:30:26]MH_SAM_APDU [10:30:26]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 47 57 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [10:30:26]Write to MH i2c: E2 02 01 04 16 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 47 57 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 F2 [10:30:26]Write i2c OK [10:30:26]MH_I2C_Read... [10:30:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:30:26]Read from MH i2c: E2 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 04 16 00 90 00 8E [10:30:26]RAPDU: 90 00 [10:30:26]wFMCommunicate OK [10:30:26]wFMCommunicate request_size=41 [10:30:26]MH_SAM_APDU [10:30:26]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 74 82 00 00 35 04 06 00 79 90 99 F2 97 66 [10:30:26]Write to MH i2c: E2 2C 00 05 16 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 74 82 00 00 35 04 06 00 79 90 99 F2 97 66 00 00 E4 [10:30:26]Write i2c OK [10:30:26]MH_I2C_Read... [10:30:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:30:26]Read from MH i2c: E2 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 [10:30:26]MH_I2C_Read... [10:30:26]Read from MH i2c: E2 03 00 05 16 00 90 00 8F [10:30:26]RAPDU: 90 00 [10:30:26]wFMCommunicate OK [10:30:26]wFMCommunicate request_size=4 [10:30:26]MH_SAM_APDU [10:30:26]CAPDU: 80 0D 03 02 [10:30:26]Write to MH i2c: E2 08 00 06 16 80 0D 03 02 00 00 00 00 97 [10:30:26]Write i2c OK [10:30:26]MH_I2C_Read... [10:30:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:30:27]Read from MH i2c: E2 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: E2 0B 00 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: E2 0B 00 06 16 00 3B 34 FE CF 2E AE 9B 6F 90 00 BA [10:30:27]RAPDU: 3B 34 FE CF 2E AE 9B 6F 90 00 [10:30:27]wFMCommunicate OK [10:30:27]SAM_PROTO_SignData done [10:30:27]FM_MakeSignedData done [10:30:27]CreateOFDProtocolMessage [10:30:27]wFMCommunicate request_size=4 [10:30:27]MH_SAM_APDU [10:30:27]CAPDU: 80 11 00 00 [10:30:27]Write to MH i2c: E2 08 00 07 16 80 11 00 00 00 00 00 00 97 [10:30:27]Write i2c OK [10:30:27]MH_I2C_Read... [10:30:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:27]Read from MH i2c: E2 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: E2 17 00 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: E2 17 00 07 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E3 [10:30:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:30:27]wFMCommunicate OK [10:30:27]CreateOFDProtocolMessage done [10:30:27]OFDSenderStorePacket 33396 [10:30:27]StoreOFDPacket docnum=33396 [10:30:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 98 45 26 01 0B 55 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 47 57 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 74 82 00 00 35 04 06 00 79 90 99 F2 97 66 3B 34 FE CF 2E AE 9B 6F [10:30:27]CheckFolder [10:30:27]dirname=/storage/ofd_packets [10:30:27]CheckFolder done [10:30:27]ProducePacketName [10:30:27]name=ofd_packets/00033396 [10:30:27]NVStorageSaveData ofd_packets/00033396 [10:30:27]File name is /storage/ofd_packets/00033396 [10:30:27]Write 332 bytes [10:30:27]NVStorageSaveData done [10:30:27]OFDSenderStorePacket done [10:30:27]KKMCreateOFDPacket done [10:30:27]NVStorageSaveData kkm_last_timestamp [10:30:27]File name is /storage/kkm_last_timestamp [10:30:27]Write 4 bytes [10:30:27]NVStorageSaveData done [10:30:27]ExternCall_PrintAddStr [10:30:27]wPrintStart [10:30:27]Write to MH i2c: 01 00 00 08 16 1E [10:30:27]Write i2c OK [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: 01 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: 01 07 00 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: 01 07 00 08 16 00 00 00 00 00 FF 0F 33 [10:30:27]RasterBufferAndPrint [10:30:27]line Счет N : (3)169206 [10:30:27]line ИНН: 02508201610067 [10:30:27]line Контрольно-Кассовый Чек [10:30:27]line ПРОДАЖА [10:30:27]line Товар: 2000036220012 [10:30:27]line Кофе Капучино XL(GABB TRADE) [10:30:27]line 1.000 * 130.00 [10:30:27]line = 130.00 [10:30:27]line НДС 12% НСП 1% [10:30:27]line > о реализуемом товаре [10:30:27]line ИТОГО: 130.00 [10:30:27]line НСП 1% : 1.15 [10:30:27]line НДС 12% : 13.80 [10:30:27]line Наличными: 0.00 [10:30:27]line Безнал.: 130.00 [10:30:27]line Место: АЗС № 77 "Партнер Нефть" [10:30:27]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:30:27]line СНО: Общий режим [10:30:27]line Чек 15 13.07.2024 10:30 [10:30:27]line Смена: 434 ФФД: 1.0 [10:30:27]line ЗНМ: 0300000122 [10:30:27]line РНМ: 0000000000093033 [10:30:27]line Версия ККМ: 001 [10:30:27]line Платежная система: АКБ Кыргызстан [10:30:27]line ФМ: 0000000000875104 [10:30:27]line ФД: 33396 [10:30:27]line ФПД: 133661965064038 [10:30:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T103031&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33396&fm=133661965064038&tin=02508201610067®Number=0000000000093033&sum=13000 [10:30:27]line 0 [10:30:27]OFD Sender: Processing packet 33396 [packets to send 6, broken 5] [10:30:27]ProducePacketName [10:30:27]name=ofd_packets/00033396 [10:30:27]OFD Sender: To server: pG, [10:30:27]CommunicateWithHost lk.salyk.kg:30040 [10:30:27]ConnectInit lk.salyk.kg [10:30:27]written 0, free lines is 4095 [10:30:27]Connected sock=10 [10:30:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 98 45 26 01 0B 55 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 47 57 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 74 82 00 00 35 04 06 00 79 90 99 F2 97 66 3B 34 FE CF 2E AE 9B 6F [10:30:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 15 E3 47 00 3E 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 74 82 00 00 F4 03 04 00 F1 01 92 66 B6 04 01 00 00 E2 A4 8B 0F CC 64 E7 77 [10:30:27]CommunicateWithHost err = 0 [10:30:27]CheckOFDResponse [10:30:27]1017 (14) - 77093643461234 [10:30:27]1041 (16) - 0000000000875104 [10:30:27]1040 (4) - 33396 [10:30:27]1012 (4) - 13.07.2024 04:26 [10:30:27]1206 (1) - 0 [10:30:27]OFD Sender: Remove packet 33396 [10:30:27]ProducePacketName [10:30:27]name=ofd_packets/00033396 [10:30:27]NVStorageDeleteData [10:30:27]Write to MH i2c: 01 00 00 33 16 49 [10:30:27]Write i2c OK [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: 01 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: 01 07 00 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: 01 07 00 33 16 00 00 00 00 00 D5 0C 31 [10:30:27]RasterBufferAndPrint [10:30:27]line [10:30:27]line [10:30:27]line [10:30:27]line [10:30:27]line [10:30:27]written 0, free lines is 3291 [10:30:27]MH_Cut [10:30:27]Write to MH i2c: D1 01 00 3A 16 01 22 [10:30:27]Write i2c OK [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: D1 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: D1 01 00 [10:30:27]MH_I2C_Read... [10:30:27]Read from MH i2c: D1 01 00 3A 16 00 21 [10:30:27]Write to MH i2c: 01 00 00 3B 16 51 [10:30:27]Write i2c OK [10:30:27]MH_I2C_Read... [10:30:28]OFD Sender: No OFD packet to send [10:30:28]*** Cut start [10:30:28]*** Partial cut [10:30:28]*** CUTSNS_PIN = 1 [10:30:28]*** CUTSNS_PIN = 0 [10:30:28]*** Brake cut motor [10:30:29]Read from MH i2c: 01 [10:30:29]MH_I2C_Read... [10:30:29]*** Stop cut motor [10:30:29]*** Cut end [10:30:29]Read from MH i2c: 01 07 00 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: 01 07 00 3B 16 00 00 00 00 00 FF 0F 66 [10:30:29]process_action close_receipt done [10:30:29]requested_data is exist [10:30:29]produce_requested_data [10:30:29]requested_item fm.sn is exist - process it [10:30:29]wFMCommunicate request_size=4 [10:30:29]MH_SAM_APDU [10:30:29]CAPDU: 80 11 00 00 [10:30:29]Write to MH i2c: E2 08 00 3C 16 80 11 00 00 00 00 00 00 CC [10:30:29]Write i2c OK [10:30:29]MH_I2C_Read... [10:30:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:29]Read from MH i2c: E2 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 17 00 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 17 00 3C 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 18 [10:30:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:30:29]wFMCommunicate OK [10:30:29]requested_item fd.num is exist - process it [10:30:29]SAM_PROTO_GetFieldsCounters [10:30:29]wFMCommunicate request_size=4 [10:30:29]MH_SAM_APDU [10:30:29]CAPDU: 80 13 00 00 [10:30:29]Write to MH i2c: E2 08 00 3D 16 80 13 00 00 00 00 00 00 CF [10:30:29]Write i2c OK [10:30:29]MH_I2C_Read... [10:30:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:30:29]Read from MH i2c: E2 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 62 00 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 62 00 3D 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 74 82 00 00 0E 04 04 00 B2 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 B8 [10:30:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 74 82 00 00 0E 04 04 00 B2 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 [10:30:29]wFMCommunicate OK [10:30:29]SAM_PROTO_GetFieldsCounters done [10:30:29]requested_item shift.num is exist - process it [10:30:29]requested_item shift.opened is exist - process it [10:30:29]req_shift_opened [10:30:29]FM_GetShiftState [10:30:29]SAM_PROTO_GetShiftState [10:30:29]wFMCommunicate request_size=4 [10:30:29]MH_SAM_APDU [10:30:29]CAPDU: 80 13 01 00 [10:30:29]Write to MH i2c: E2 08 00 3E 16 80 13 01 00 00 00 00 00 D1 [10:30:29]Write i2c OK [10:30:29]MH_I2C_Read... [10:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:29]Read from MH i2c: E2 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 0E 00 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 0E 00 3E 16 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 B0 [10:30:29]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:30:29]wFMCommunicate OK [10:30:29]SAM_PROTO_GetShiftState done [10:30:29]FM_GetShiftState done [10:30:29]req_shift_opened done [10:30:29]requested_item shift.open_date is exist - process it [10:30:29]req_shift_open_date [10:30:29]req_shift_open_date done [10:30:29]produce_requested_data done [10:30:29]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33396,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [10:30:29]process_action_free close_receipt [10:30:29]json_value_free [10:30:29]json_value_free done [10:30:29]process_json_proto returns [10:30:29]Send response to host [10:30:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33396,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [10:30:29]free response buf [10:30:29]execute_script done [10:30:29]execute_script returns [10:30:29]free content buf [10:30:29]Sock 9.Close socket [10:30:29]Sock 9.Thread stoped [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:15]accept exits with 7 [10:52:15]New connection [10:52:15]New thread 3066461540 created [10:52:15]Thread 3066604900 joined [10:52:15]Waiting for new connection... [10:52:15] Sock 7.Parse request [10:52:15]Sock 7.Check first char [10:52:15]Sock 7.First char is OK [10:52:15]request: POST /json_proto HTTP/1.0 [10:52:15]Method: POST [10:52:15]URL: /json_proto [10:52:15]Method is POST - this is cgi request [10:52:15]url: /json_proto [10:52:15]query_string will be loaded in cgi processing [10:52:15]execute_cgi json_proto POST (null) [10:52:15]execute_cgi path=json_proto method=POST [10:52:15]POST find Content-Length [10:52:15]Host: 172.17.35.196:8080 [10:52:15]Content-Length: 623 [10:52:15]Content-Type: application/json [10:52:15] [10:52:15]POST finish read [10:52:15]Found Content-Length = 623 [10:52:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169207", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:15]execute_script... [10:52:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169207", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:15]POST & json_proto [10:52:15]process_json_proto [10:52:15]json parsed OK: [10:52:15]protocol is kg_v1.0 [10:52:15]action value=close_receipt [10:52:15]process_action close_receipt [10:52:15]cmd_close_receipt [10:52:15]MH_GetDate [10:52:15]Write to MH i2c: F0 00 00 3F 16 44 [10:52:15]Write i2c OK [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: F0 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: F0 09 00 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: F0 09 00 3F 16 00 65 5C 92 66 AD 14 F4 65 20 [10:52:15]GetLastDocTimeStamp 1720866631 [10:52:15]current date 1720867941 [10:52:15]FM_GetShiftState [10:52:15]SAM_PROTO_GetShiftState [10:52:15]wFMCommunicate request_size=4 [10:52:15]MH_SAM_APDU [10:52:15]CAPDU: 80 13 01 00 [10:52:15]Write to MH i2c: E2 08 00 40 16 80 13 01 00 00 00 00 00 D3 [10:52:15]Write i2c OK [10:52:15]MH_I2C_Read... [10:52:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:15]Read from MH i2c: E2 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: E2 0E 00 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: E2 0E 00 40 16 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 B2 [10:52:15]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:52:15]wFMCommunicate OK [10:52:15]SAM_PROTO_GetShiftState done [10:52:15]FM_GetShiftState done [10:52:15]opened in 1720829207 [10:52:15]opened+sec_in_day 1720915607 [10:52:15]quantity*price = 14000 [10:52:15]sum+1 = 14001 [10:52:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 16 13.07.2024 10:52 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33397 ФПД: 220316973405194 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T105221&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33397&fm=220316973405194&tin=02508201610067®Number=0000000000093033&sum=14000 0 [10:52:16]StoreToDocumentArchive [10:52:16]shift 434 fd 33397 [10:52:16]save to /storage/0434/doc_00033397 [10:52:16]save last doc name /storage/0434/doc_00033397 to /storage/kkm_last_doc_name [10:52:16]save OK [10:52:16]Clear old archive folders... [10:52:16]ProcessDocumentItem done err = 0, tmpTLVsize=275 [10:52:16]tlvbuf is 00A79180 [10:52:16]SAM_PROTO_ClearQueue [10:52:16]wFMCommunicate request_size=4 [10:52:16]MH_SAM_APDU [10:52:16]CAPDU: 80 09 00 00 [10:52:16]Write to MH i2c: E2 08 00 4D 16 80 09 00 00 00 00 00 00 D5 [10:52:16]Write i2c OK [10:52:16]MH_I2C_Read... [10:52:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:52:16]Read from MH i2c: E2 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 4D 16 00 90 00 D7 [10:52:16]RAPDU: 90 00 [10:52:16]wFMCommunicate OK [10:52:16]SAM_PROTO_ClearQueue done [10:52:16]KKMCreateOFDPacket [10:52:16]OFDProtocolAddRootSTLVToBuf [10:52:16]FM_MakeSignedData [10:52:16]FM_MakeSignedData [10:52:16]SAM_PROTO_SignData [10:52:16]wFMCommunicate request_size=4 [10:52:16]MH_SAM_APDU [10:52:16]CAPDU: 80 0D 01 02 [10:52:16]Write to MH i2c: E2 08 00 4E 16 80 0D 01 02 00 00 00 00 DD [10:52:16]Write i2c OK [10:52:16]MH_I2C_Read... [10:52:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:52:16]Read from MH i2c: E2 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 4E 16 00 90 00 D8 [10:52:16]RAPDU: 90 00 [10:52:16]wFMCommunicate OK [10:52:16]wFMCommunicate request_size=255 [10:52:16]MH_SAM_APDU [10:52:16]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 65 5C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [10:52:16]Write to MH i2c: E2 02 01 4F 16 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 65 5C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 E2 [10:52:16]Write i2c OK [10:52:16]MH_I2C_Read... [10:52:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:16]Read from MH i2c: E2 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 4F 16 00 90 00 D9 [10:52:16]RAPDU: 90 00 [10:52:16]wFMCommunicate OK [10:52:16]wFMCommunicate request_size=34 [10:52:16]MH_SAM_APDU [10:52:16]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 75 82 00 00 35 04 06 00 C8 60 8A F0 14 0A [10:52:16]Write to MH i2c: E2 25 00 50 16 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 75 82 00 00 35 04 06 00 C8 60 8A F0 14 0A 00 00 51 [10:52:16]Write i2c OK [10:52:16]MH_I2C_Read... [10:52:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:16]Read from MH i2c: E2 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 [10:52:16]MH_I2C_Read... [10:52:16]Read from MH i2c: E2 03 00 50 16 00 90 00 DA [10:52:16]RAPDU: 90 00 [10:52:16]wFMCommunicate OK [10:52:16]wFMCommunicate request_size=4 [10:52:16]MH_SAM_APDU [10:52:16]CAPDU: 80 0D 03 02 [10:52:16]Write to MH i2c: E2 08 00 51 16 80 0D 03 02 00 00 00 00 E2 [10:52:16]Write i2c OK [10:52:16]MH_I2C_Read... [10:52:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:52:17]Read from MH i2c: E2 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 0B 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 0B 00 51 16 00 65 DC 2C 2A 5E 9F EE 36 90 00 9B [10:52:17]RAPDU: 65 DC 2C 2A 5E 9F EE 36 90 00 [10:52:17]wFMCommunicate OK [10:52:17]SAM_PROTO_SignData done [10:52:17]FM_MakeSignedData done [10:52:17]CreateOFDProtocolMessage [10:52:17]wFMCommunicate request_size=4 [10:52:17]MH_SAM_APDU [10:52:17]CAPDU: 80 11 00 00 [10:52:17]Write to MH i2c: E2 08 00 52 16 80 11 00 00 00 00 00 00 E2 [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:17]Read from MH i2c: E2 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 17 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 17 00 52 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2E [10:52:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:52:17]wFMCommunicate OK [10:52:17]CreateOFDProtocolMessage done [10:52:17]OFDSenderStorePacket 33397 [10:52:17]StoreOFDPacket docnum=33397 [10:52:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 23 A8 1F 01 AA 32 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 65 5C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 75 82 00 00 35 04 06 00 C8 60 8A F0 14 0A 65 DC 2C 2A 5E 9F EE 36 [10:52:17]CheckFolder [10:52:17]dirname=/storage/ofd_packets [10:52:17]CheckFolder done [10:52:17]ProducePacketName [10:52:17]name=ofd_packets/00033397 [10:52:17]NVStorageSaveData ofd_packets/00033397 [10:52:17]File name is /storage/ofd_packets/00033397 [10:52:17]Write 325 bytes [10:52:17]NVStorageSaveData done [10:52:17]OFDSenderStorePacket done [10:52:17]KKMCreateOFDPacket done [10:52:17]NVStorageSaveData kkm_last_timestamp [10:52:17]File name is /storage/kkm_last_timestamp [10:52:17]Write 4 bytes [10:52:17]NVStorageSaveData done [10:52:17]ExternCall_PrintAddStr [10:52:17]wPrintStart [10:52:17]Write to MH i2c: 01 00 00 53 16 69 [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 07 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 07 00 53 16 00 00 00 00 00 FF 0F 7E [10:52:17]RasterBufferAndPrint [10:52:17]line Счет N : (3)169207 [10:52:17]line ИНН: 02508201610067 [10:52:17]line Контрольно-Кассовый Чек [10:52:17]line ПРОДАЖА [10:52:17]line Товар: 48743587 [10:52:17]line Сигареты Winston XStyle Silver [10:52:17]line 1.000 * 140.00 [10:52:17]line = 140.00 [10:52:17]line НДС 12% НСП 1% [10:52:17]line > о реализуемом товаре [10:52:17]line ИТОГО: 140.00 [10:52:17]line НСП 1% : 1.24 [10:52:17]line НДС 12% : 14.87 [10:52:17]line Наличными: 140.00 [10:52:17]line Безнал.: 0.00 [10:52:17]line Место: АЗС № 77 "Партнер Нефть" [10:52:17]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:52:17]line СНО: Общий режим [10:52:17]line Чек 16 13.07.2024 10:52 [10:52:17]line Смена: 434 ФФД: 1.0 [10:52:17]line ЗНМ: 0300000122 [10:52:17]line РНМ: 0000000000093033 [10:52:17]line Версия ККМ: 001 [10:52:17]line ФМ: 0000000000875104 [10:52:17]line ФД: 33397 [10:52:17]line ФПД: 220316973405194 [10:52:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T105221&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33397&fm=220316973405194&tin=02508201610067®Number=0000000000093033&sum=14000 [10:52:17]line 0 [10:52:17]OFD Sender: Processing packet 33397 [packets to send 6, broken 5] [10:52:17]ProducePacketName [10:52:17]name=ofd_packets/00033397 [10:52:17]OFD Sender: To server: pG, [10:52:17]CommunicateWithHost lk.salyk.kg:30040 [10:52:17]ConnectInit lk.salyk.kg [10:52:17]written 0, free lines is 4095 [10:52:17]Connected sock=10 [10:52:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 23 A8 1F 01 AA 32 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 65 5C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 75 82 00 00 35 04 06 00 C8 60 8A F0 14 0A 65 DC 2C 2A 5E 9F EE 36 [10:52:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 7A AB 47 00 51 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 75 82 00 00 F4 03 04 00 0F 07 92 66 B6 04 01 00 00 19 52 43 E6 03 F8 FC EB [10:52:17]CommunicateWithHost err = 0 [10:52:17]CheckOFDResponse [10:52:17]1017 (14) - 77093643461234 [10:52:17]1041 (16) - 0000000000875104 [10:52:17]1040 (4) - 33397 [10:52:17]1012 (4) - 13.07.2024 04:48 [10:52:17]1206 (1) - 0 [10:52:17]OFD Sender: Remove packet 33397 [10:52:17]ProducePacketName [10:52:17]name=ofd_packets/00033397 [10:52:17]NVStorageDeleteData [10:52:17]Write to MH i2c: 01 00 00 7C 16 92 [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 07 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 07 00 7C 16 00 00 00 00 00 D6 0C 7B [10:52:17]RasterBufferAndPrint [10:52:17]line [10:52:17]line [10:52:17]line [10:52:17]line [10:52:17]line [10:52:17]written 0, free lines is 3293 [10:52:17]MH_Cut [10:52:17]Write to MH i2c: D1 01 00 83 16 01 6B [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: D1 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: D1 01 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: D1 01 00 83 16 00 6A [10:52:17]Write to MH i2c: 01 00 00 84 16 9A [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:18]OFD Sender: No OFD packet to send [10:52:18]*** Cut start [10:52:18]*** Partial cut [10:52:18]*** CUTSNS_PIN = 1 [10:52:18]*** CUTSNS_PIN = 0 [10:52:18]*** Brake cut motor [10:52:19]Read from MH i2c: 01 [10:52:19]MH_I2C_Read... [10:52:19]*** Stop cut motor [10:52:19]*** Cut end [10:52:19]Read from MH i2c: 01 07 00 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: 01 07 00 84 16 00 00 00 00 00 FF 0F AF [10:52:19]process_action close_receipt done [10:52:19]requested_data is exist [10:52:19]produce_requested_data [10:52:19]requested_item fm.sn is exist - process it [10:52:19]wFMCommunicate request_size=4 [10:52:19]MH_SAM_APDU [10:52:19]CAPDU: 80 11 00 00 [10:52:19]Write to MH i2c: E2 08 00 85 16 80 11 00 00 00 00 00 00 15 [10:52:19]Write i2c OK [10:52:19]MH_I2C_Read... [10:52:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:19]Read from MH i2c: E2 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 17 00 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 17 00 85 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 61 [10:52:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:52:19]wFMCommunicate OK [10:52:19]requested_item fd.num is exist - process it [10:52:19]SAM_PROTO_GetFieldsCounters [10:52:19]wFMCommunicate request_size=4 [10:52:19]MH_SAM_APDU [10:52:19]CAPDU: 80 13 00 00 [10:52:19]Write to MH i2c: E2 08 00 86 16 80 13 00 00 00 00 00 00 18 [10:52:19]Write i2c OK [10:52:19]MH_I2C_Read... [10:52:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:52:19]Read from MH i2c: E2 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 62 00 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 62 00 86 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 75 82 00 00 0E 04 04 00 B2 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 05 [10:52:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 75 82 00 00 0E 04 04 00 B2 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 [10:52:19]wFMCommunicate OK [10:52:19]SAM_PROTO_GetFieldsCounters done [10:52:19]requested_item shift.num is exist - process it [10:52:19]requested_item shift.opened is exist - process it [10:52:19]req_shift_opened [10:52:19]FM_GetShiftState [10:52:19]SAM_PROTO_GetShiftState [10:52:19]wFMCommunicate request_size=4 [10:52:19]MH_SAM_APDU [10:52:19]CAPDU: 80 13 01 00 [10:52:19]Write to MH i2c: E2 08 00 87 16 80 13 01 00 00 00 00 00 1A [10:52:19]Write i2c OK [10:52:19]MH_I2C_Read... [10:52:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:19]Read from MH i2c: E2 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 0E 00 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 0E 00 87 16 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 F9 [10:52:19]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [10:52:19]wFMCommunicate OK [10:52:19]SAM_PROTO_GetShiftState done [10:52:19]FM_GetShiftState done [10:52:19]req_shift_opened done [10:52:19]requested_item shift.open_date is exist - process it [10:52:19]req_shift_open_date [10:52:19]req_shift_open_date done [10:52:19]produce_requested_data done [10:52:19]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33397,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [10:52:19]process_action_free close_receipt [10:52:19]json_value_free [10:52:19]json_value_free done [10:52:19]process_json_proto returns [10:52:19]Send response to host [10:52:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33397,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [10:52:19]free response buf [10:52:19]execute_script done [10:52:19]execute_script returns [10:52:19]free content buf [10:52:19]Sock 7.Close socket [10:52:19]Sock 7.Thread stoped [10:52:23]OFD Sender: No OFD packet to send [10:52:28]OFD Sender: No OFD packet to send [10:52:33]OFD Sender: No OFD packet to send [10:52:38]OFD Sender: No OFD packet to send [10:52:43]OFD Sender: No OFD packet to send [10:52:48]OFD Sender: No OFD packet to send [10:52:53]OFD Sender: No OFD packet to send [10:52:58]OFD Sender: No OFD packet to send [10:53:03]OFD Sender: No OFD packet to send [10:53:08]OFD Sender: No OFD packet to send [10:53:13]OFD Sender: No OFD packet to send [10:53:18]OFD Sender: No OFD packet to send [10:53:23]OFD Sender: No OFD packet to send [10:53:28]OFD Sender: No OFD packet to send [10:53:33]OFD Sender: No OFD packet to send [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:53]OFD Sender: No OFD packet to send [10:54:58]OFD Sender: No OFD packet to send [10:55:03]OFD Sender: No OFD packet to send [10:55:08]OFD Sender: No OFD packet to send [10:55:13]OFD Sender: No OFD packet to send [10:55:18]OFD Sender: No OFD packet to send [10:55:23]OFD Sender: No OFD packet to send [10:55:28]OFD Sender: No OFD packet to send [10:55:33]OFD Sender: No OFD packet to send [10:55:38]OFD Sender: No OFD packet to send [10:55:43]OFD Sender: No OFD packet to send [10:55:48]OFD Sender: No OFD packet to send [10:55:53]OFD Sender: No OFD packet to send [10:55:58]OFD Sender: No OFD packet to send [10:56:03]OFD Sender: No OFD packet to send [10:56:08]OFD Sender: No OFD packet to send [10:56:13]OFD Sender: No OFD packet to send [10:56:18]OFD Sender: No OFD packet to send [10:56:23]OFD Sender: No OFD packet to send [10:56:28]OFD Sender: No OFD packet to send [10:56:33]OFD Sender: No OFD packet to send [10:56:38]OFD Sender: No OFD packet to send [10:56:43]OFD Sender: No OFD packet to send [10:56:48]OFD Sender: No OFD packet to send [10:56:53]OFD Sender: No OFD packet to send [10:56:58]OFD Sender: No OFD packet to send [10:57:03]OFD Sender: No OFD packet to send [10:57:08]OFD Sender: No OFD packet to send [10:57:13]OFD Sender: No OFD packet to send [10:57:18]OFD Sender: No OFD packet to send [10:57:23]OFD Sender: No OFD packet to send [10:57:28]OFD Sender: No OFD packet to send [10:57:33]OFD Sender: No OFD packet to send [10:57:38]OFD Sender: No OFD packet to send [10:57:43]OFD Sender: No OFD packet to send [10:57:48]OFD Sender: No OFD packet to send [10:57:53]OFD Sender: No OFD packet to send [10:57:58]OFD Sender: No OFD packet to send [10:58:03]OFD Sender: No OFD packet to send [10:58:08]OFD Sender: No OFD packet to send [10:58:13]OFD Sender: No OFD packet to send [10:58:18]OFD Sender: No OFD packet to send [10:58:23]OFD Sender: No OFD packet to send [10:58:28]OFD Sender: No OFD packet to send [10:58:33]OFD Sender: No OFD packet to send [10:58:38]OFD Sender: No OFD packet to send [10:58:43]OFD Sender: No OFD packet to send [10:58:48]OFD Sender: No OFD packet to send [10:58:53]OFD Sender: No OFD packet to send [10:58:58]OFD Sender: No OFD packet to send [10:59:03]OFD Sender: No OFD packet to send [10:59:08]OFD Sender: No OFD packet to send [10:59:13]OFD Sender: No OFD packet to send [10:59:18]OFD Sender: No OFD packet to send [10:59:23]OFD Sender: No OFD packet to send [10:59:28]OFD Sender: No OFD packet to send [10:59:33]OFD Sender: No OFD packet to send [10:59:38]OFD Sender: No OFD packet to send [10:59:43]OFD Sender: No OFD packet to send [10:59:48]OFD Sender: No OFD packet to send [10:59:53]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:46]accept exits with 9 [11:05:46]New connection [11:05:46]New thread 3066604900 created [11:05:46]Thread 3066461540 joined [11:05:46]Waiting for new connection... [11:05:46] Sock 9.Parse request [11:05:46]Sock 9.Check first char [11:05:46]Sock 9.First char is OK [11:05:46]request: POST /json_proto HTTP/1.0 [11:05:46]Method: POST [11:05:46]URL: /json_proto [11:05:46]Method is POST - this is cgi request [11:05:46]url: /json_proto [11:05:46]query_string will be loaded in cgi processing [11:05:46]execute_cgi json_proto POST (null) [11:05:46]execute_cgi path=json_proto method=POST [11:05:46]POST find Content-Length [11:05:46]Host: 172.17.35.196:8080 [11:05:46]Content-Length: 823 [11:05:46]Content-Type: application/json [11:05:46] [11:05:46]POST finish read [11:05:46]Found Content-Length = 823 [11:05:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169208", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:46]execute_script... [11:05:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169208", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:46]POST & json_proto [11:05:46]process_json_proto [11:05:46]json parsed OK: [11:05:46]protocol is kg_v1.0 [11:05:46]action value=close_receipt [11:05:46]process_action close_receipt [11:05:46]cmd_close_receipt [11:05:46]MH_GetDate [11:05:46]Write to MH i2c: F0 00 00 88 16 8D [11:05:46]Write i2c OK [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: F0 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: F0 09 00 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: F0 09 00 88 16 00 90 5F 92 66 AD 14 F4 65 97 [11:05:46]GetLastDocTimeStamp 1720867941 [11:05:46]current date 1720868752 [11:05:46]FM_GetShiftState [11:05:46]SAM_PROTO_GetShiftState [11:05:46]wFMCommunicate request_size=4 [11:05:46]MH_SAM_APDU [11:05:46]CAPDU: 80 13 01 00 [11:05:46]Write to MH i2c: E2 08 00 89 16 80 13 01 00 00 00 00 00 1C [11:05:46]Write i2c OK [11:05:46]MH_I2C_Read... [11:05:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:46]Read from MH i2c: E2 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: E2 0E 00 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: E2 0E 00 89 16 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 FB [11:05:46]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:05:46]wFMCommunicate OK [11:05:46]SAM_PROTO_GetShiftState done [11:05:46]FM_GetShiftState done [11:05:46]opened in 1720829207 [11:05:46]opened+sec_in_day 1720915607 [11:05:46]quantity*price = 15100 [11:05:46]sum+1 = 15101 [11:05:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 0.00 Безнал.: 151.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 17 13.07.2024 11:05 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33398 ФПД: 143250717031298 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T110552&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33398&fm=143250717031298&tin=02508201610067®Number=0000000000093033&sum=15100 0 [11:05:47]StoreToDocumentArchive [11:05:47]shift 434 fd 33398 [11:05:47]save to /storage/0434/doc_00033398 [11:05:47]save last doc name /storage/0434/doc_00033398 to /storage/kkm_last_doc_name [11:05:47]save OK [11:05:47]Clear old archive folders... [11:05:47]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:05:47]tlvbuf is B6E6C930 [11:05:47]SAM_PROTO_ClearQueue [11:05:47]wFMCommunicate request_size=4 [11:05:47]MH_SAM_APDU [11:05:47]CAPDU: 80 09 00 00 [11:05:47]Write to MH i2c: E2 08 00 96 16 80 09 00 00 00 00 00 00 1E [11:05:47]Write i2c OK [11:05:47]MH_I2C_Read... [11:05:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:47]Read from MH i2c: E2 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 96 16 00 90 00 20 [11:05:47]RAPDU: 90 00 [11:05:47]wFMCommunicate OK [11:05:47]SAM_PROTO_ClearQueue done [11:05:47]KKMCreateOFDPacket [11:05:47]OFDProtocolAddRootSTLVToBuf [11:05:47]FM_MakeSignedData [11:05:47]FM_MakeSignedData [11:05:47]SAM_PROTO_SignData [11:05:47]wFMCommunicate request_size=4 [11:05:47]MH_SAM_APDU [11:05:47]CAPDU: 80 0D 01 02 [11:05:47]Write to MH i2c: E2 08 00 97 16 80 0D 01 02 00 00 00 00 26 [11:05:47]Write i2c OK [11:05:47]MH_I2C_Read... [11:05:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:47]Read from MH i2c: E2 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 97 16 00 90 00 21 [11:05:47]RAPDU: 90 00 [11:05:47]wFMCommunicate OK [11:05:47]wFMCommunicate request_size=255 [11:05:47]MH_SAM_APDU [11:05:47]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 90 5F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 [11:05:47]Write to MH i2c: E2 02 01 98 16 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 90 5F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 00 00 93 [11:05:47]Write i2c OK [11:05:47]MH_I2C_Read... [11:05:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:47]Read from MH i2c: E2 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 98 16 00 90 00 22 [11:05:47]RAPDU: 90 00 [11:05:47]wFMCommunicate OK [11:05:47]wFMCommunicate request_size=33 [11:05:47]MH_SAM_APDU [11:05:47]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 31 30 34 10 04 04 00 76 82 00 00 35 04 06 00 82 49 28 1A 3B 82 [11:05:47]Write to MH i2c: E2 24 00 99 16 80 0D 02 02 1C 00 30 30 30 30 38 37 35 31 30 34 10 04 04 00 76 82 00 00 35 04 06 00 82 49 28 1A 3B 82 00 00 73 [11:05:47]Write i2c OK [11:05:47]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 99 16 00 90 00 23 [11:05:48]RAPDU: 90 00 [11:05:48]wFMCommunicate OK [11:05:48]wFMCommunicate request_size=4 [11:05:48]MH_SAM_APDU [11:05:48]CAPDU: 80 0D 03 02 [11:05:48]Write to MH i2c: E2 08 00 9A 16 80 0D 03 02 00 00 00 00 2B [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 0B 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 0B 00 9A 16 00 47 D1 62 E5 CF 14 15 AF 90 00 32 [11:05:48]RAPDU: 47 D1 62 E5 CF 14 15 AF 90 00 [11:05:48]wFMCommunicate OK [11:05:48]SAM_PROTO_SignData done [11:05:48]FM_MakeSignedData done [11:05:48]CreateOFDProtocolMessage [11:05:48]wFMCommunicate request_size=4 [11:05:48]MH_SAM_APDU [11:05:48]CAPDU: 80 11 00 00 [11:05:48]Write to MH i2c: E2 08 00 9B 16 80 11 00 00 00 00 00 00 2B [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 17 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 17 00 9B 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 77 [11:05:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:05:48]wFMCommunicate OK [11:05:48]CreateOFDProtocolMessage done [11:05:48]OFDSenderStorePacket 33398 [11:05:48]StoreOFDPacket docnum=33398 [11:05:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 26 01 00 00 9E E7 1E 01 30 B8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 90 5F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 76 82 00 00 35 04 06 00 82 49 28 1A 3B 82 47 D1 62 E5 CF 14 15 AF [11:05:48]CheckFolder [11:05:48]dirname=/storage/ofd_packets [11:05:48]CheckFolder done [11:05:48]ProducePacketName [11:05:48]name=ofd_packets/00033398 [11:05:48]NVStorageSaveData ofd_packets/00033398 [11:05:48]File name is /storage/ofd_packets/00033398 [11:05:48]Write 324 bytes [11:05:48]NVStorageSaveData done [11:05:48]OFDSenderStorePacket done [11:05:48]KKMCreateOFDPacket done [11:05:48]NVStorageSaveData kkm_last_timestamp [11:05:48]File name is /storage/kkm_last_timestamp [11:05:48]Write 4 bytes [11:05:48]NVStorageSaveData done [11:05:48]ExternCall_PrintAddStr [11:05:48]wPrintStart [11:05:48]Write to MH i2c: 01 00 00 9C 16 B2 [11:05:48]OFD Sender: Processing packet 33398 [packets to send 6, broken 5] [11:05:48]ProducePacketName [11:05:48]name=ofd_packets/00033398 [11:05:48]OFD Sender: To server: pG, [11:05:48]CommunicateWithHost lk.salyk.kg:30040 [11:05:48]ConnectInit lk.salyk.kg [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 07 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 07 00 9C 16 00 00 00 00 00 FF 0F C7 [11:05:48]RasterBufferAndPrint [11:05:48]line Счет N : (3)169208 [11:05:48]line ИНН: 02508201610067 [11:05:48]line Контрольно-Кассовый Чек [11:05:48]line ПРОДАЖА [11:05:48]line Товар: 48741958 [11:05:48]line Сигареты Parliament Aqua Blue [11:05:48]line 1.000 * 151.00 [11:05:48]line = 151.00 [11:05:48]line НДС 12% НСП 1% [11:05:48]line > о реализуемом товаре [11:05:48]line ИТОГО: 151.00 [11:05:48]line НСП 1% : 1.34 [11:05:48]line НДС 12% : 16.03 [11:05:48]line Наличными: 0.00 [11:05:48]line Безнал.: 151.00 [11:05:48]line Место: АЗС № 77 "Партнер Нефть" [11:05:48]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:05:48]line СНО: Общий режим [11:05:48]line Чек 17 13.07.2024 11:05 [11:05:48]line Смена: 434 ФФД: 1.0 [11:05:48]line ЗНМ: 0300000122 [11:05:48]line РНМ: 0000000000093033 [11:05:48]line Версия ККМ: 001 [11:05:48]line Платежная система: АКБ Кыргызстан [11:05:48]line ФМ: 0000000000875104 [11:05:48]line ФД: 33398 [11:05:48]line ФПД: 143250717031298 [11:05:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T110552&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33398&fm=143250717031298&tin=02508201610067®Number=0000000000093033&sum=15100 [11:05:48]line 0 [11:05:48]Connected sock=10 [11:05:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 26 01 00 00 9E E7 1E 01 30 B8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 90 5F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 76 82 00 00 35 04 06 00 82 49 28 1A 3B 82 47 D1 62 E5 CF 14 15 AF [11:05:48]written 0, free lines is 4095 [11:05:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 22 ED 47 00 F7 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 76 82 00 00 F4 03 04 00 3A 0A 92 66 B6 04 01 00 00 1F AF 15 3A 66 A1 64 0A [11:05:48]CommunicateWithHost err = 0 [11:05:48]CheckOFDResponse [11:05:48]1017 (14) - 77093643461234 [11:05:48]1041 (16) - 0000000000875104 [11:05:48]1040 (4) - 33398 [11:05:48]1012 (4) - 13.07.2024 05:01 [11:05:48]1206 (1) - 0 [11:05:48]OFD Sender: Remove packet 33398 [11:05:48]ProducePacketName [11:05:48]name=ofd_packets/00033398 [11:05:48]NVStorageDeleteData [11:05:48]Write to MH i2c: 01 00 00 C7 16 DD [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 07 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 07 00 C7 16 00 00 00 00 00 BF 0C AF [11:05:48]RasterBufferAndPrint [11:05:48]line [11:05:48]line [11:05:48]line [11:05:48]line [11:05:48]line [11:05:48]written 0, free lines is 3269 [11:05:48]MH_Cut [11:05:48]Write to MH i2c: D1 01 00 CE 16 01 B6 [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: D1 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: D1 01 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: D1 01 00 CE 16 00 B5 [11:05:48]Write to MH i2c: 01 00 00 CF 16 E5 [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:49]OFD Sender: No OFD packet to send [11:05:49]*** Cut start [11:05:49]*** Partial cut [11:05:49]*** CUTSNS_PIN = 1 [11:05:49]*** CUTSNS_PIN = 0 [11:05:49]*** Brake cut motor [11:05:50]Read from MH i2c: 01 [11:05:50]MH_I2C_Read... [11:05:50]*** Stop cut motor [11:05:50]*** Cut end [11:05:50]Read from MH i2c: 01 07 00 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: 01 07 00 CF 16 00 00 00 00 00 FF 0F FA [11:05:50]process_action close_receipt done [11:05:50]requested_data is exist [11:05:50]produce_requested_data [11:05:50]requested_item fm.sn is exist - process it [11:05:50]wFMCommunicate request_size=4 [11:05:50]MH_SAM_APDU [11:05:50]CAPDU: 80 11 00 00 [11:05:50]Write to MH i2c: E2 08 00 D0 16 80 11 00 00 00 00 00 00 60 [11:05:50]Write i2c OK [11:05:50]MH_I2C_Read... [11:05:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:50]Read from MH i2c: E2 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: E2 17 00 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: E2 17 00 D0 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AC [11:05:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:05:50]wFMCommunicate OK [11:05:50]requested_item fd.num is exist - process it [11:05:50]SAM_PROTO_GetFieldsCounters [11:05:50]wFMCommunicate request_size=4 [11:05:50]MH_SAM_APDU [11:05:50]CAPDU: 80 13 00 00 [11:05:50]Write to MH i2c: E2 08 00 D1 16 80 13 00 00 00 00 00 00 63 [11:05:50]Write i2c OK [11:05:50]MH_I2C_Read... [11:05:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:50]Read from MH i2c: E2 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: E2 62 00 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: E2 62 00 D1 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 76 82 00 00 0E 04 04 00 B2 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 54 [11:05:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 76 82 00 00 0E 04 04 00 B2 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:05:50]wFMCommunicate OK [11:05:50]SAM_PROTO_GetFieldsCounters done [11:05:50]requested_item shift.num is exist - process it [11:05:50]requested_item shift.opened is exist - process it [11:05:50]req_shift_opened [11:05:50]FM_GetShiftState [11:05:50]SAM_PROTO_GetShiftState [11:05:50]wFMCommunicate request_size=4 [11:05:50]MH_SAM_APDU [11:05:50]CAPDU: 80 13 01 00 [11:05:50]Write to MH i2c: E2 08 00 D2 16 80 13 01 00 00 00 00 00 65 [11:05:50]Write i2c OK [11:05:50]MH_I2C_Read... [11:05:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:50]Read from MH i2c: E2 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: E2 0E 00 [11:05:50]MH_I2C_Read... [11:05:50]Read from MH i2c: E2 0E 00 D2 16 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 44 [11:05:50]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:05:50]wFMCommunicate OK [11:05:50]SAM_PROTO_GetShiftState done [11:05:50]FM_GetShiftState done [11:05:50]req_shift_opened done [11:05:50]requested_item shift.open_date is exist - process it [11:05:50]req_shift_open_date [11:05:50]req_shift_open_date done [11:05:50]produce_requested_data done [11:05:50]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33398,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [11:05:50]process_action_free close_receipt [11:05:50]json_value_free [11:05:50]json_value_free done [11:05:50]process_json_proto returns [11:05:50]Send response to host [11:05:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33398,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [11:05:50]free response buf [11:05:50]execute_script done [11:05:50]execute_script returns [11:05:50]free content buf [11:05:50]Sock 9.Close socket [11:05:50]Sock 9.Thread stoped [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:33]accept exits with 7 [11:15:33]New connection [11:15:33]New thread 3066461540 created [11:15:33]Thread 3066604900 joined [11:15:33]Waiting for new connection... [11:15:33] Sock 7.Parse request [11:15:33]Sock 7.Check first char [11:15:33]Sock 7.First char is OK [11:15:33]request: POST /json_proto HTTP/1.0 [11:15:33]Method: POST [11:15:33]URL: /json_proto [11:15:33]Method is POST - this is cgi request [11:15:33]url: /json_proto [11:15:33]query_string will be loaded in cgi processing [11:15:33]execute_cgi json_proto POST (null) [11:15:33]execute_cgi path=json_proto method=POST [11:15:33]POST find Content-Length [11:15:33]Host: 172.17.35.196:8080 [11:15:33]Content-Length: 705 [11:15:33]Content-Type: application/json [11:15:33] [11:15:33]POST finish read [11:15:33]Found Content-Length = 705 [11:15:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169209", "tax_sys" : 0, "items" : [ { "code": "4601025117702", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:33]execute_script... [11:15: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)169209", "tax_sys" : 0, "items" : [ { "code": "4601025117702", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:33]POST & json_proto [11:15:33]process_json_proto [11:15:33]json parsed OK: [11:15:33]protocol is kg_v1.0 [11:15:33]action value=close_receipt [11:15:33]process_action close_receipt [11:15:33]cmd_close_receipt [11:15:33]MH_GetDate [11:15:33]Write to MH i2c: F0 00 00 D3 16 D8 [11:15:33]Write i2c OK [11:15:33]MH_I2C_Read... [11:15:33]Read from MH i2c: F0 [11:15:33]MH_I2C_Read... [11:15:33]Read from MH i2c: F0 09 00 [11:15:33]MH_I2C_Read... [11:15:33]Read from MH i2c: F0 09 00 D3 16 00 DB 61 92 66 AD 14 F4 65 2F [11:15:33]GetLastDocTimeStamp 1720868752 [11:15:33]current date 1720869339 [11:15:33]FM_GetShiftState [11:15:33]SAM_PROTO_GetShiftState [11:15:33]wFMCommunicate request_size=4 [11:15:33]MH_SAM_APDU [11:15:33]CAPDU: 80 13 01 00 [11:15:33]Write to MH i2c: E2 08 00 D4 16 80 13 01 00 00 00 00 00 67 [11:15:33]Write i2c OK [11:15:33]MH_I2C_Read... [11:15:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:33]Read from MH i2c: E2 [11:15:33]MH_I2C_Read... [11:15:33]Read from MH i2c: E2 0E 00 [11:15:33]MH_I2C_Read... [11:15:33]Read from MH i2c: E2 0E 00 D4 16 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 46 [11:15:33]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:15:33]wFMCommunicate OK [11:15:33]SAM_PROTO_GetShiftState done [11:15:33]FM_GetShiftState done [11:15:33]opened in 1720829207 [11:15:33]opened+sec_in_day 1720915607 [11:15:33]quantity*price = 8500 [11:15:33]sum+1 = 8501 [11:15:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 18 13.07.2024 11:15 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33399 ФПД: 214301888292724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T111539&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33399&fm=214301888292724&tin=02508201610067®Number=0000000000093033&sum=8500 0 [11:15:34]StoreToDocumentArchive [11:15:34]shift 434 fd 33399 [11:15:34]save to /storage/0434/doc_00033399 [11:15:34]save last doc name /storage/0434/doc_00033399 to /storage/kkm_last_doc_name [11:15:34]save OK [11:15:34]Clear old archive folders... [11:15:34]ProcessDocumentItem done err = 0, tmpTLVsize=296 [11:15:34]tlvbuf is 00A90580 [11:15:34]SAM_PROTO_ClearQueue [11:15:34]wFMCommunicate request_size=4 [11:15:34]MH_SAM_APDU [11:15:34]CAPDU: 80 09 00 00 [11:15:34]Write to MH i2c: E2 08 00 E1 16 80 09 00 00 00 00 00 00 69 [11:15:34]Write i2c OK [11:15:34]MH_I2C_Read... [11:15:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:15:34]Read from MH i2c: E2 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 E1 16 00 90 00 6B [11:15:34]RAPDU: 90 00 [11:15:34]wFMCommunicate OK [11:15:34]SAM_PROTO_ClearQueue done [11:15:34]KKMCreateOFDPacket [11:15:34]OFDProtocolAddRootSTLVToBuf [11:15:34]FM_MakeSignedData [11:15:34]FM_MakeSignedData [11:15:34]SAM_PROTO_SignData [11:15:34]wFMCommunicate request_size=4 [11:15:34]MH_SAM_APDU [11:15:34]CAPDU: 80 0D 01 02 [11:15:34]Write to MH i2c: E2 08 00 E2 16 80 0D 01 02 00 00 00 00 71 [11:15:34]Write i2c OK [11:15:34]MH_I2C_Read... [11:15:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:15:34]Read from MH i2c: E2 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 E2 16 00 90 00 6C [11:15:34]RAPDU: 90 00 [11:15:34]wFMCommunicate OK [11:15:34]wFMCommunicate request_size=255 [11:15:34]MH_SAM_APDU [11:15:34]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DB 61 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [11:15:34]Write to MH i2c: E2 02 01 E3 16 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DB 61 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 67 [11:15:34]Write i2c OK [11:15:34]MH_I2C_Read... [11:15:34]OFD Sender: No OFD packet to send [11:15:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:15:34]Read from MH i2c: E2 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 E3 16 00 90 00 6D [11:15:34]RAPDU: 90 00 [11:15:34]wFMCommunicate OK [11:15:34]wFMCommunicate request_size=55 [11:15:34]MH_SAM_APDU [11:15:34]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 77 82 00 00 35 04 06 00 C2 E8 0B ED 27 74 [11:15:34]Write to MH i2c: E2 3A 00 E4 16 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 77 82 00 00 35 04 06 00 C2 E8 0B ED 27 74 00 00 F5 [11:15:34]Write i2c OK [11:15:34]MH_I2C_Read... [11:15:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:15:34]Read from MH i2c: E2 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 03 00 E4 16 00 90 00 6E [11:15:34]RAPDU: 90 00 [11:15:34]wFMCommunicate OK [11:15:34]wFMCommunicate request_size=4 [11:15:34]MH_SAM_APDU [11:15:34]CAPDU: 80 0D 03 02 [11:15:34]Write to MH i2c: E2 08 00 E5 16 80 0D 03 02 00 00 00 00 76 [11:15:34]Write i2c OK [11:15:34]MH_I2C_Read... [11:15:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:15:34]Read from MH i2c: E2 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 0B 00 [11:15:34]MH_I2C_Read... [11:15:34]Read from MH i2c: E2 0B 00 E5 16 00 17 ED 44 07 AA 62 76 4C 90 00 94 [11:15:34]RAPDU: 17 ED 44 07 AA 62 76 4C 90 00 [11:15:34]wFMCommunicate OK [11:15:34]SAM_PROTO_SignData done [11:15:34]FM_MakeSignedData done [11:15:34]CreateOFDProtocolMessage [11:15:34]wFMCommunicate request_size=4 [11:15:34]MH_SAM_APDU [11:15:34]CAPDU: 80 11 00 00 [11:15:34]Write to MH i2c: E2 08 00 E6 16 80 11 00 00 00 00 00 00 76 [11:15:34]Write i2c OK [11:15:34]MH_I2C_Read... [11:15:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:15:35]Read from MH i2c: E2 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: E2 17 00 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: E2 17 00 E6 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C2 [11:15:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:15:35]wFMCommunicate OK [11:15:35]CreateOFDProtocolMessage done [11:15:35]OFDSenderStorePacket 33399 [11:15:35]StoreOFDPacket docnum=33399 [11:15:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3C 01 00 00 15 4A 34 01 F9 4F 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DB 61 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 77 82 00 00 35 04 06 00 C2 E8 0B ED 27 74 17 ED 44 07 AA 62 76 4C [11:15:35]CheckFolder [11:15:35]dirname=/storage/ofd_packets [11:15:35]CheckFolder done [11:15:35]ProducePacketName [11:15:35]name=ofd_packets/00033399 [11:15:35]NVStorageSaveData ofd_packets/00033399 [11:15:35]File name is /storage/ofd_packets/00033399 [11:15:35]Write 346 bytes [11:15:35]NVStorageSaveData done [11:15:35]OFDSenderStorePacket done [11:15:35]KKMCreateOFDPacket done [11:15:35]NVStorageSaveData kkm_last_timestamp [11:15:35]File name is /storage/kkm_last_timestamp [11:15:35]Write 4 bytes [11:15:35]NVStorageSaveData done [11:15:35]ExternCall_PrintAddStr [11:15:35]wPrintStart [11:15:35]Write to MH i2c: 01 00 00 E7 16 FD [11:15:35]Write i2c OK [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: 01 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: 01 07 00 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: 01 07 00 E7 16 00 00 00 00 00 FF 0F 12 [11:15:35]RasterBufferAndPrint [11:15:35]line Счет N : (3)169209 [11:15:35]line ИНН: 02508201610067 [11:15:35]line Контрольно-Кассовый Чек [11:15:35]line ПРОДАЖА [11:15:35]line Товар: 4601025117702 [11:15:35]line Напиток Фрутмотив апельсин 0,5 [11:15:35]line 1.000 * 85.00 [11:15:35]line = 85.00 [11:15:35]line НДС 12% НСП 1% [11:15:35]line > о реализуемом товаре [11:15:35]line ИТОГО: 85.00 [11:15:35]line НСП 1% : 0.75 [11:15:35]line НДС 12% : 9.03 [11:15:35]line Наличными: 85.00 [11:15:35]line Безнал.: 0.00 [11:15:35]line Место: АЗС № 77 "Партнер Нефть" [11:15:35]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:15:35]line СНО: Общий режим [11:15:35]line Чек 18 13.07.2024 11:15 [11:15:35]line Смена: 434 ФФД: 1.0 [11:15:35]line ЗНМ: 0300000122 [11:15:35]line РНМ: 0000000000093033 [11:15:35]line Версия ККМ: 001 [11:15:35]line ФМ: 0000000000875104 [11:15:35]line ФД: 33399 [11:15:35]line ФПД: 214301888292724 [11:15:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T111539&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33399&fm=214301888292724&tin=02508201610067®Number=0000000000093033&sum=8500 [11:15:35]line 0 [11:15:35]OFD Sender: Processing packet 33399 [packets to send 6, broken 5] [11:15:35]ProducePacketName [11:15:35]name=ofd_packets/00033399 [11:15:35]OFD Sender: To server: pG, [11:15:35]CommunicateWithHost lk.salyk.kg:30040 [11:15:35]ConnectInit lk.salyk.kg [11:15:35]written 0, free lines is 4095 [11:15:35]Write to MH i2c: 01 00 00 10 17 27 [11:15:35]Write i2c OK [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: 01 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: 01 07 00 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: 01 07 00 10 17 00 00 00 00 00 C7 0C 01 [11:15:35]RasterBufferAndPrint [11:15:35]line [11:15:35]line [11:15:35]line [11:15:35]line [11:15:35]line [11:15:35]written 0, free lines is 3276 [11:15:35]MH_Cut [11:15:35]Write to MH i2c: D1 01 00 17 17 01 00 [11:15:35]Write i2c OK [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: D1 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: D1 01 00 [11:15:35]MH_I2C_Read... [11:15:35]Read from MH i2c: D1 01 00 17 17 00 FF [11:15:35]Write to MH i2c: 01 00 00 18 17 2F [11:15:35]Write i2c OK [11:15:35]MH_I2C_Read... [11:15:36]*** Cut start [11:15:36]*** Partial cut [11:15:36]*** CUTSNS_PIN = 1 [11:15:36]*** CUTSNS_PIN = 0 [11:15:36]*** Brake cut motor [11:15:37]Read from MH i2c: 01 [11:15:37]MH_I2C_Read... [11:15:37]*** Stop cut motor [11:15:37]*** Cut end [11:15:37]Read from MH i2c: 01 07 00 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: 01 07 00 18 17 00 00 00 00 00 FF 0F 44 [11:15:37]process_action close_receipt done [11:15:37]requested_data is exist [11:15:37]produce_requested_data [11:15:37]requested_item fm.sn is exist - process it [11:15:37]wFMCommunicate request_size=4 [11:15:37]MH_SAM_APDU [11:15:37]CAPDU: 80 11 00 00 [11:15:37]Write to MH i2c: E2 08 00 19 17 80 11 00 00 00 00 00 00 AA [11:15:37]Write i2c OK [11:15:37]MH_I2C_Read... [11:15:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:15:37]Read from MH i2c: E2 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: E2 17 00 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: E2 17 00 19 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F6 [11:15:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:15:37]wFMCommunicate OK [11:15:37]requested_item fd.num is exist - process it [11:15:37]SAM_PROTO_GetFieldsCounters [11:15:37]wFMCommunicate request_size=4 [11:15:37]MH_SAM_APDU [11:15:37]CAPDU: 80 13 00 00 [11:15:37]Write to MH i2c: E2 08 00 1A 17 80 13 00 00 00 00 00 00 AD [11:15:37]Write i2c OK [11:15:37]MH_I2C_Read... [11:15:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:15:37]Read from MH i2c: E2 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: E2 62 00 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: E2 62 00 1A 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 77 82 00 00 0E 04 04 00 B2 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 A2 [11:15:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 77 82 00 00 0E 04 04 00 B2 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:15:37]wFMCommunicate OK [11:15:37]SAM_PROTO_GetFieldsCounters done [11:15:37]requested_item shift.num is exist - process it [11:15:37]requested_item shift.opened is exist - process it [11:15:37]req_shift_opened [11:15:37]FM_GetShiftState [11:15:37]SAM_PROTO_GetShiftState [11:15:37]wFMCommunicate request_size=4 [11:15:37]MH_SAM_APDU [11:15:37]CAPDU: 80 13 01 00 [11:15:37]Write to MH i2c: E2 08 00 1B 17 80 13 01 00 00 00 00 00 AF [11:15:37]Write i2c OK [11:15:37]MH_I2C_Read... [11:15:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:37]Read from MH i2c: E2 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: E2 0E 00 [11:15:37]MH_I2C_Read... [11:15:37]Read from MH i2c: E2 0E 00 1B 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 8E [11:15:37]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:15:37]wFMCommunicate OK [11:15:37]SAM_PROTO_GetShiftState done [11:15:37]FM_GetShiftState done [11:15:37]req_shift_opened done [11:15:37]requested_item shift.open_date is exist - process it [11:15:37]req_shift_open_date [11:15:37]req_shift_open_date done [11:15:37]produce_requested_data done [11:15:37]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33399,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [11:15:37]process_action_free close_receipt [11:15:37]json_value_free [11:15:37]json_value_free done [11:15:37]process_json_proto returns [11:15:37]Send response to host [11:15:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33399,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [11:15:37]free response buf [11:15:37]execute_script done [11:15:37]execute_script returns [11:15:37]free content buf [11:15:37]Sock 7.Close socket [11:15:37]Sock 7.Thread stoped [11:17:45]ConnectInit Can't connect to host [11:17:45]CommunicateWithHost connect error [11:17:45]CommunicateWithHost err = -1 [11:17:45]OFD Sender: Server communicate error [11:17:50]OFD Sender: Processing packet 33399 [packets to send 6, broken 5] [11:17:50]ProducePacketName [11:17:50]name=ofd_packets/00033399 [11:17:50]OFD Sender: To server: pG, [11:17:50]CommunicateWithHost lk.salyk.kg:30040 [11:17:50]ConnectInit lk.salyk.kg [11:17:50]Connected sock=7 [11:17:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3C 01 00 00 15 4A 34 01 F9 4F 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DB 61 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 77 82 00 00 35 04 06 00 C2 E8 0B ED 27 74 17 ED 44 07 AA 62 76 4C [11:17:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 B7 B4 47 00 76 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 77 82 00 00 F4 03 04 00 0C 0D 92 66 B6 04 01 00 00 44 62 8E 83 88 CE C8 06 [11:17:50]CommunicateWithHost err = 0 [11:17:50]CheckOFDResponse [11:17:50]1017 (14) - 77093643461234 [11:17:50]1041 (16) - 0000000000875104 [11:17:50]1040 (4) - 33399 [11:17:50]1012 (4) - 13.07.2024 05:13 [11:17:50]1206 (1) - 0 [11:17:50]OFD Sender: Remove packet 33399 [11:17:50]ProducePacketName [11:17:50]name=ofd_packets/00033399 [11:17:50]NVStorageDeleteData [11:17:51]OFD Sender: No OFD packet to send [11:17:56]OFD Sender: No OFD packet to send [11:18:01]OFD Sender: No OFD packet to send [11:18:06]OFD Sender: No OFD packet to send [11:18:11]OFD Sender: No OFD packet to send [11:18:16]OFD Sender: No OFD packet to send [11:18:21]OFD Sender: No OFD packet to send [11:18:26]OFD Sender: No OFD packet to send [11:18:31]OFD Sender: No OFD packet to send [11:18:36]OFD Sender: No OFD packet to send [11:18:41]OFD Sender: No OFD packet to send [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:38]accept exits with 9 [11:20:38]New connection [11:20:38]New thread 3066604900 created [11:20:38]Thread 3066461540 joined [11:20:38]Waiting for new connection... [11:20:38] Sock 9.Parse request [11:20:38]Sock 9.Check first char [11:20:38]Sock 9.First char is OK [11:20:38]request: POST /json_proto HTTP/1.0 [11:20:38]Method: POST [11:20:38]URL: /json_proto [11:20:38]Method is POST - this is cgi request [11:20:38]url: /json_proto [11:20:38]query_string will be loaded in cgi processing [11:20:38]execute_cgi json_proto POST (null) [11:20:38]execute_cgi path=json_proto method=POST [11:20:38]POST find Content-Length [11:20:38]Host: 172.17.35.196:8080 [11:20:38]Content-Length: 678 [11:20:38]Content-Type: application/json [11:20:38] [11:20:38]POST finish read [11:20:38]Found Content-Length = 678 [11:20:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670580", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 9.050, "sum" : 600.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:20:38]execute_script... [11:20: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 : (1)5670580", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 9.050, "sum" : 600.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:20:38]POST & json_proto [11:20:38]process_json_proto [11:20:38]json parsed OK: [11:20:38]protocol is kg_v1.0 [11:20:38]action value=close_receipt [11:20:38]process_action close_receipt [11:20:38]cmd_close_receipt [11:20:38]MH_GetDate [11:20:38]Write to MH i2c: F0 00 00 1C 17 22 [11:20:38]Write i2c OK [11:20:38]MH_I2C_Read... [11:20:38]Read from MH i2c: F0 [11:20:38]MH_I2C_Read... [11:20:38]Read from MH i2c: F0 09 00 [11:20:38]MH_I2C_Read... [11:20:38]Read from MH i2c: F0 09 00 1C 17 00 0C 63 92 66 AD 14 F4 65 AC [11:20:38]GetLastDocTimeStamp 1720869339 [11:20:38]current date 1720869644 [11:20:38]FM_GetShiftState [11:20:38]SAM_PROTO_GetShiftState [11:20:38]wFMCommunicate request_size=4 [11:20:38]MH_SAM_APDU [11:20:38]CAPDU: 80 13 01 00 [11:20:38]Write to MH i2c: E2 08 00 1D 17 80 13 01 00 00 00 00 00 B1 [11:20:38]Write i2c OK [11:20:38]MH_I2C_Read... [11:20:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:38]Read from MH i2c: E2 [11:20:38]MH_I2C_Read... [11:20:38]Read from MH i2c: E2 0E 00 [11:20:38]MH_I2C_Read... [11:20:38]Read from MH i2c: E2 0E 00 1D 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 90 [11:20:38]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:20:38]wFMCommunicate OK [11:20:38]SAM_PROTO_GetShiftState done [11:20:38]FM_GetShiftState done [11:20:38]opened in 1720829207 [11:20:38]opened+sec_in_day 1720915607 [11:20:38]quantity*price = 60001 [11:20:38]sum+1 = 60003 [11:20:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.72 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 19 13.07.2024 11:20 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33400 ФПД: 54023991064487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T112044&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33400&fm=54023991064487&tin=02508201610067®Number=0000000000093033&sum=60000 [11:20:40]StoreToDocumentArchive [11:20:40]shift 434 fd 33400 [11:20:40]save to /storage/0434/doc_00033400 [11:20:40]save last doc name /storage/0434/doc_00033400 to /storage/kkm_last_doc_name [11:20:40]save OK [11:20:40]Clear old archive folders... [11:20:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:20:40]tlvbuf is 00A8FD30 [11:20:40]SAM_PROTO_ClearQueue [11:20:40]wFMCommunicate request_size=4 [11:20:40]MH_SAM_APDU [11:20:40]CAPDU: 80 09 00 00 [11:20:40]Write to MH i2c: E2 08 00 2A 17 80 09 00 00 00 00 00 00 B3 [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:20:40]Read from MH i2c: E2 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 2A 17 00 90 00 B5 [11:20:40]RAPDU: 90 00 [11:20:40]wFMCommunicate OK [11:20:40]SAM_PROTO_ClearQueue done [11:20:40]KKMCreateOFDPacket [11:20:40]OFDProtocolAddRootSTLVToBuf [11:20:40]FM_MakeSignedData [11:20:40]FM_MakeSignedData [11:20:40]SAM_PROTO_SignData [11:20:40]wFMCommunicate request_size=4 [11:20:40]MH_SAM_APDU [11:20:40]CAPDU: 80 0D 01 02 [11:20:40]Write to MH i2c: E2 08 00 2B 17 80 0D 01 02 00 00 00 00 BB [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:20:40]Read from MH i2c: E2 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 2B 17 00 90 00 B6 [11:20:40]RAPDU: 90 00 [11:20:40]wFMCommunicate OK [11:20:40]wFMCommunicate request_size=255 [11:20:40]MH_SAM_APDU [11:20:40]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 23 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 62 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 0C 63 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 78 82 00 00 35 04 06 00 31 [11:20:40]Write to MH i2c: E2 02 01 2C 17 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 5A 23 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 62 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 0C 63 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 78 82 00 00 35 04 06 00 31 00 00 7C [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:40]Read from MH i2c: E2 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 2C 17 00 90 00 B7 [11:20:40]RAPDU: 90 00 [11:20:40]wFMCommunicate OK [11:20:40]wFMCommunicate request_size=10 [11:20:40]MH_SAM_APDU [11:20:40]CAPDU: 80 0D 02 02 05 22 70 CB F7 A7 [11:20:40]Write to MH i2c: E2 0D 00 2D 17 80 0D 02 02 05 00 22 70 CB F7 A7 00 00 C3 [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:40]Read from MH i2c: E2 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 03 00 2D 17 00 90 00 B8 [11:20:40]RAPDU: 90 00 [11:20:40]wFMCommunicate OK [11:20:40]wFMCommunicate request_size=4 [11:20:40]MH_SAM_APDU [11:20:40]CAPDU: 80 0D 03 02 [11:20:40]Write to MH i2c: E2 08 00 2E 17 80 0D 03 02 00 00 00 00 C0 [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:20:40]Read from MH i2c: E2 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 0B 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 0B 00 2E 17 00 0C 94 1C 78 DD C6 98 CB 90 00 FB [11:20:40]RAPDU: 0C 94 1C 78 DD C6 98 CB 90 00 [11:20:40]wFMCommunicate OK [11:20:40]SAM_PROTO_SignData done [11:20:40]FM_MakeSignedData done [11:20:40]CreateOFDProtocolMessage [11:20:40]wFMCommunicate request_size=4 [11:20:40]MH_SAM_APDU [11:20:40]CAPDU: 80 11 00 00 [11:20:40]Write to MH i2c: E2 08 00 2F 17 80 11 00 00 00 00 00 00 C0 [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:40]Read from MH i2c: E2 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 17 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: E2 17 00 2F 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0C [11:20:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:20:40]wFMCommunicate OK [11:20:40]CreateOFDProtocolMessage done [11:20:40]OFDSenderStorePacket 33400 [11:20:40]StoreOFDPacket docnum=33400 [11:20:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 58 85 07 01 0C 2F 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 5A 23 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 62 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 0C 63 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 78 82 00 00 35 04 06 00 31 22 70 CB F7 A7 0C 94 1C 78 DD C6 98 CB [11:20:40]CheckFolder [11:20:40]dirname=/storage/ofd_packets [11:20:40]CheckFolder done [11:20:40]ProducePacketName [11:20:40]name=ofd_packets/00033400 [11:20:40]NVStorageSaveData ofd_packets/00033400 [11:20:40]File name is /storage/ofd_packets/00033400 [11:20:40]Write 301 bytes [11:20:40]NVStorageSaveData done [11:20:40]OFDSenderStorePacket done [11:20:40]KKMCreateOFDPacket done [11:20:40]NVStorageSaveData kkm_last_timestamp [11:20:40]File name is /storage/kkm_last_timestamp [11:20:40]Write 4 bytes [11:20:40]NVStorageSaveData done [11:20:40]ExternCall_PrintAddStr [11:20:40]wPrintStart [11:20:40]Write to MH i2c: 01 00 00 30 17 47 [11:20:40]Write i2c OK [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: 01 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: 01 07 00 [11:20:40]MH_I2C_Read... [11:20:40]Read from MH i2c: 01 07 00 30 17 00 00 00 00 00 FF 0F 5C [11:20:40]RasterBufferAndPrint [11:20:40]line Счет N : (1)5670580 [11:20:40]line ИНН: 02508201610067 [11:20:40]line Контрольно-Кассовый Чек [11:20:40]line ПРОДАЖА [11:20:40]line ТРК (МРК, ГНК) : 43 [11:20:40]line Товар: 2710124130 [11:20:40]line Аи-92-К-5 [11:20:40]line 9.050 * 66.30 [11:20:40]line = 600.02 [11:20:40]line НДС 12% НСП 1% [11:20:40]line > о реализуемом товаре [11:20:40]line ОКРУГЛЕНИЕ: -0.02 [11:20:40]line ИТОГО: 600.00 [11:20:40]line Внесено: 600.00 [11:20:40]line СДАЧА: 0.00 [11:20:40]line НСП 1% : 5.31 [11:20:40]line НДС 12% : 63.72 [11:20:40]line Наличными: 600.00 [11:20:40]line Безнал.: 0.00 [11:20:40]line Место: АЗС № 77 "Партнер Нефть" [11:20:40]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:20:40]line СНО: Общий режим [11:20:40]line Чек 19 13.07.2024 11:20 [11:20:40]line Смена: 434 ФФД: 1.0 [11:20:40]line ЗНМ: 0300000122 [11:20:40]line РНМ: 0000000000093033 [11:20:40]line Версия ККМ: 001 [11:20:40]line ФМ: 0000000000875104 [11:20:40]line ФД: 33400 [11:20:40]line ФПД: 54023991064487 [11:20:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T112044&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33400&fm=54023991064487&tin=02508201610067®Number=0000000000093033&sum=60000 [11:20:40]OFD Sender: Processing packet 33400 [packets to send 6, broken 5] [11:20:40]ProducePacketName [11:20:40]name=ofd_packets/00033400 [11:20:40]OFD Sender: To server: pG, [11:20:40]CommunicateWithHost lk.salyk.kg:30040 [11:20:40]ConnectInit lk.salyk.kg [11:20:40]written 0, free lines is 4095 [11:20:40]Connected sock=10 [11:20:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 58 85 07 01 0C 2F 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 5A 23 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 62 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 0C 63 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 78 82 00 00 35 04 06 00 31 22 70 CB F7 A7 0C 94 1C 78 DD C6 98 CB [11:20:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D7 96 47 00 62 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 78 82 00 00 F4 03 04 00 B7 0D 92 66 B6 04 01 00 00 80 43 12 E3 85 C0 67 34 [11:20:41]CommunicateWithHost err = 0 [11:20:41]CheckOFDResponse [11:20:41]1017 (14) - 77093643461234 [11:20:41]1041 (16) - 0000000000875104 [11:20:41]1040 (4) - 33400 [11:20:41]1012 (4) - 13.07.2024 05:16 [11:20:41]1206 (1) - 0 [11:20:41]OFD Sender: Remove packet 33400 [11:20:41]ProducePacketName [11:20:41]name=ofd_packets/00033400 [11:20:41]NVStorageDeleteData [11:20:41]Write to MH i2c: 01 00 00 5B 17 72 [11:20:41]Write i2c OK [11:20:41]MH_I2C_Read... [11:20:41]Read from MH i2c: 01 [11:20:41]MH_I2C_Read... [11:20:41]Read from MH i2c: 01 07 00 [11:20:41]MH_I2C_Read... [11:20:41]Read from MH i2c: 01 07 00 5B 17 00 00 00 00 00 D9 0C 5E [11:20:41]RasterBufferAndPrint [11:20:41]line [11:20:41]line [11:20:41]line [11:20:41]line [11:20:41]line [11:20:41]written 0, free lines is 3294 [11:20:41]MH_Cut [11:20:41]Write to MH i2c: D1 01 00 62 17 01 4B [11:20:41]Write i2c OK [11:20:41]MH_I2C_Read... [11:20:41]Read from MH i2c: D1 [11:20:41]MH_I2C_Read... [11:20:41]Read from MH i2c: D1 01 00 [11:20:41]MH_I2C_Read... [11:20:41]Read from MH i2c: D1 01 00 62 17 00 4A [11:20:41]Write to MH i2c: 01 00 00 63 17 7A [11:20:41]Write i2c OK [11:20:41]MH_I2C_Read... [11:20:41]OFD Sender: No OFD packet to send [11:20:42]*** Cut start [11:20:42]*** Partial cut [11:20:42]*** CUTSNS_PIN = 1 [11:20:42]*** CUTSNS_PIN = 0 [11:20:42]*** Brake cut motor [11:20:42]Read from MH i2c: 01 [11:20:42]MH_I2C_Read... [11:20:42]*** Stop cut motor [11:20:42]*** Cut end [11:20:42]Read from MH i2c: 01 07 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 07 00 63 17 00 00 00 00 00 FF 0F 8F [11:20:42]process_action close_receipt done [11:20:42]requested_data is exist [11:20:42]produce_requested_data [11:20:42]requested_item fm.sn is exist - process it [11:20:42]wFMCommunicate request_size=4 [11:20:42]MH_SAM_APDU [11:20:42]CAPDU: 80 11 00 00 [11:20:42]Write to MH i2c: E2 08 00 64 17 80 11 00 00 00 00 00 00 F5 [11:20:42]Write i2c OK [11:20:42]MH_I2C_Read... [11:20:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:42]Read from MH i2c: E2 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: E2 17 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: E2 17 00 64 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 41 [11:20:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:20:42]wFMCommunicate OK [11:20:42]requested_item fd.num is exist - process it [11:20:42]SAM_PROTO_GetFieldsCounters [11:20:42]wFMCommunicate request_size=4 [11:20:42]MH_SAM_APDU [11:20:42]CAPDU: 80 13 00 00 [11:20:42]Write to MH i2c: E2 08 00 65 17 80 13 00 00 00 00 00 00 F8 [11:20:42]Write i2c OK [11:20:42]MH_I2C_Read... [11:20:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:20:42]Read from MH i2c: E2 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: E2 62 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: E2 62 00 65 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 78 82 00 00 0E 04 04 00 B2 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 F1 [11:20:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 78 82 00 00 0E 04 04 00 B2 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:20:42]wFMCommunicate OK [11:20:42]SAM_PROTO_GetFieldsCounters done [11:20:42]requested_item shift.num is exist - process it [11:20:42]requested_item shift.opened is exist - process it [11:20:42]req_shift_opened [11:20:42]FM_GetShiftState [11:20:42]SAM_PROTO_GetShiftState [11:20:42]wFMCommunicate request_size=4 [11:20:42]MH_SAM_APDU [11:20:42]CAPDU: 80 13 01 00 [11:20:42]Write to MH i2c: E2 08 00 66 17 80 13 01 00 00 00 00 00 FA [11:20:42]Write i2c OK [11:20:42]MH_I2C_Read... [11:20:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:42]Read from MH i2c: E2 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: E2 0E 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: E2 0E 00 66 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 D9 [11:20:42]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:20:42]wFMCommunicate OK [11:20:42]SAM_PROTO_GetShiftState done [11:20:42]FM_GetShiftState done [11:20:42]req_shift_opened done [11:20:42]requested_item shift.open_date is exist - process it [11:20:42]req_shift_open_date [11:20:42]req_shift_open_date done [11:20:42]produce_requested_data done [11:20:42]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33400,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [11:20:42]process_action_free close_receipt [11:20:42]json_value_free [11:20:42]json_value_free done [11:20:42]process_json_proto returns [11:20:42]Send response to host [11:20:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33400,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [11:20:42]free response buf [11:20:42]execute_script done [11:20:42]execute_script returns [11:20:42]free content buf [11:20:42]Sock 9.Close socket [11:20:42]Sock 9.Thread stoped [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]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:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:00]accept exits with 7 [11:47:00]New connection [11:47:00]New thread 3066461540 created [11:47:00]Thread 3066604900 joined [11:47:00]Waiting for new connection... [11:47:00] Sock 7.Parse request [11:47:00]Sock 7.Check first char [11:47:00]Sock 7.First char is OK [11:47:00]request: POST /json_proto HTTP/1.0 [11:47:00]Method: POST [11:47:00]URL: /json_proto [11:47:00]Method is POST - this is cgi request [11:47:00]url: /json_proto [11:47:00]query_string will be loaded in cgi processing [11:47:00]execute_cgi json_proto POST (null) [11:47:00]execute_cgi path=json_proto method=POST [11:47:00]POST find Content-Length [11:47:00]Host: 172.17.35.196:8080 [11:47:00]Content-Length: 616 [11:47:00]Content-Type: application/json [11:47:00] [11:47:00]POST finish read [11:47:00]Found Content-Length = 616 [11:47:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169210", "tax_sys" : 0, "items" : [ { "code": "4640030090075", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Blue", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:00]execute_script... [11:47: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)169210", "tax_sys" : 0, "items" : [ { "code": "4640030090075", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Blue", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:00]POST & json_proto [11:47:00]process_json_proto [11:47:00]json parsed OK: [11:47:00]protocol is kg_v1.0 [11:47:00]action value=close_receipt [11:47:00]process_action close_receipt [11:47:00]cmd_close_receipt [11:47:00]MH_GetDate [11:47:00]Write to MH i2c: F0 00 00 67 17 6D [11:47:00]Write i2c OK [11:47:00]MH_I2C_Read... [11:47:00]Read from MH i2c: F0 [11:47:00]MH_I2C_Read... [11:47:00]Read from MH i2c: F0 09 00 [11:47:00]MH_I2C_Read... [11:47:00]Read from MH i2c: F0 09 00 67 17 00 3A 69 92 66 AD 14 F4 65 2B [11:47:00]GetLastDocTimeStamp 1720869644 [11:47:00]current date 1720871226 [11:47:00]FM_GetShiftState [11:47:00]SAM_PROTO_GetShiftState [11:47:00]wFMCommunicate request_size=4 [11:47:00]MH_SAM_APDU [11:47:00]CAPDU: 80 13 01 00 [11:47:00]Write to MH i2c: E2 08 00 68 17 80 13 01 00 00 00 00 00 FC [11:47:00]Write i2c OK [11:47:00]MH_I2C_Read... [11:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:00]Read from MH i2c: E2 [11:47:00]MH_I2C_Read... [11:47:00]Read from MH i2c: E2 0E 00 [11:47:00]MH_I2C_Read... [11:47:00]Read from MH i2c: E2 0E 00 68 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 DB [11:47:00]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:47:00]wFMCommunicate OK [11:47:00]SAM_PROTO_GetShiftState done [11:47:00]FM_GetShiftState done [11:47:00]opened in 1720829207 [11:47:00]opened+sec_in_day 1720915607 [11:47:00]quantity*price = 27600 [11:47:00]sum+1 = 27601 [11:47:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 276.00 НСП 1% : 2.44 НДС 12% : 29.31 Наличными: 276.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 20 13.07.2024 11:47 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33401 ФПД: 223062254147200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T114706&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33401&fm=223062254147200&tin=02508201610067®Number=0000000000093033&sum=27600 0 [11:47:01]StoreToDocumentArchive [11:47:01]shift 434 fd 33401 [11:47:01]save to /storage/0434/doc_00033401 [11:47:01]save last doc name /storage/0434/doc_00033401 to /storage/kkm_last_doc_name [11:47:01]save OK [11:47:01]Clear old archive folders... [11:47:01]ProcessDocumentItem done err = 0, tmpTLVsize=268 [11:47:01]tlvbuf is 00A5E0F0 [11:47:01]SAM_PROTO_ClearQueue [11:47:01]wFMCommunicate request_size=4 [11:47:01]MH_SAM_APDU [11:47:01]CAPDU: 80 09 00 00 [11:47:01]Write to MH i2c: E2 08 00 75 17 80 09 00 00 00 00 00 00 FE [11:47:01]Write i2c OK [11:47:01]MH_I2C_Read... [11:47:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:47:01]Read from MH i2c: E2 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 75 17 00 90 00 00 [11:47:01]RAPDU: 90 00 [11:47:01]wFMCommunicate OK [11:47:01]SAM_PROTO_ClearQueue done [11:47:01]KKMCreateOFDPacket [11:47:01]OFDProtocolAddRootSTLVToBuf [11:47:01]FM_MakeSignedData [11:47:01]FM_MakeSignedData [11:47:01]SAM_PROTO_SignData [11:47:01]wFMCommunicate request_size=4 [11:47:01]MH_SAM_APDU [11:47:01]CAPDU: 80 0D 01 02 [11:47:01]Write to MH i2c: E2 08 00 76 17 80 0D 01 02 00 00 00 00 06 [11:47:01]Write i2c OK [11:47:01]MH_I2C_Read... [11:47:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:47:01]Read from MH i2c: E2 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 76 17 00 90 00 01 [11:47:01]RAPDU: 90 00 [11:47:01]wFMCommunicate OK [11:47:01]wFMCommunicate request_size=255 [11:47:01]MH_SAM_APDU [11:47:01]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3A 69 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [11:47:01]Write to MH i2c: E2 02 01 77 17 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3A 69 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 8F [11:47:01]Write i2c OK [11:47:01]MH_I2C_Read... [11:47:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:01]Read from MH i2c: E2 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 77 17 00 90 00 02 [11:47:01]RAPDU: 90 00 [11:47:01]wFMCommunicate OK [11:47:01]wFMCommunicate request_size=27 [11:47:01]MH_SAM_APDU [11:47:01]CAPDU: 80 0D 02 02 16 35 31 30 34 10 04 04 00 79 82 00 00 35 04 06 00 CA DF BA 6B D6 80 [11:47:01]Write to MH i2c: E2 1E 00 78 17 80 0D 02 02 16 00 35 31 30 34 10 04 04 00 79 82 00 00 35 04 06 00 CA DF BA 6B D6 80 00 00 75 [11:47:01]Write i2c OK [11:47:01]MH_I2C_Read... [11:47:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:01]Read from MH i2c: E2 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 03 00 78 17 00 90 00 03 [11:47:01]RAPDU: 90 00 [11:47:01]wFMCommunicate OK [11:47:01]wFMCommunicate request_size=4 [11:47:01]MH_SAM_APDU [11:47:01]CAPDU: 80 0D 03 02 [11:47:01]Write to MH i2c: E2 08 00 79 17 80 0D 03 02 00 00 00 00 0B [11:47:01]Write i2c OK [11:47:01]MH_I2C_Read... [11:47:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:47:01]Read from MH i2c: E2 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 0B 00 [11:47:01]MH_I2C_Read... [11:47:01]Read from MH i2c: E2 0B 00 79 17 00 09 62 71 94 B1 DC 41 E1 90 00 2B [11:47:01]RAPDU: 09 62 71 94 B1 DC 41 E1 90 00 [11:47:01]wFMCommunicate OK [11:47:01]SAM_PROTO_SignData done [11:47:01]FM_MakeSignedData done [11:47:01]CreateOFDProtocolMessage [11:47:01]wFMCommunicate request_size=4 [11:47:01]MH_SAM_APDU [11:47:01]CAPDU: 80 11 00 00 [11:47:01]Write to MH i2c: E2 08 00 7A 17 80 11 00 00 00 00 00 00 0B [11:47:01]Write i2c OK [11:47:01]MH_I2C_Read... [11:47:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:02]Read from MH i2c: E2 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: E2 17 00 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: E2 17 00 7A 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 57 [11:47:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:47:02]wFMCommunicate OK [11:47:02]CreateOFDProtocolMessage done [11:47:02]OFDSenderStorePacket 33401 [11:47:02]StoreOFDPacket docnum=33401 [11:47:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 81 FD 18 01 70 97 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3A 69 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 79 82 00 00 35 04 06 00 CA DF BA 6B D6 80 09 62 71 94 B1 DC 41 E1 [11:47:02]CheckFolder [11:47:02]dirname=/storage/ofd_packets [11:47:02]CheckFolder done [11:47:02]ProducePacketName [11:47:02]name=ofd_packets/00033401 [11:47:02]NVStorageSaveData ofd_packets/00033401 [11:47:02]File name is /storage/ofd_packets/00033401 [11:47:02]Write 318 bytes [11:47:02]NVStorageSaveData done [11:47:02]OFDSenderStorePacket done [11:47:02]KKMCreateOFDPacket done [11:47:02]NVStorageSaveData kkm_last_timestamp [11:47:02]File name is /storage/kkm_last_timestamp [11:47:02]Write 4 bytes [11:47:02]NVStorageSaveData done [11:47:02]ExternCall_PrintAddStr [11:47:02]wPrintStart [11:47:02]Write to MH i2c: 01 00 00 7B 17 92 [11:47:02]Write i2c OK [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: 01 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: 01 07 00 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: 01 07 00 7B 17 00 00 00 00 00 FF 0F A7 [11:47:02]RasterBufferAndPrint [11:47:02]line Счет N : (3)169210 [11:47:02]line ИНН: 02508201610067 [11:47:02]line Контрольно-Кассовый Чек [11:47:02]line ПРОДАЖА [11:47:02]line Товар: 4640030090075 [11:47:02]line Сигареты Esse Blue [11:47:02]line 2.000 * 138.00 [11:47:02]line = 276.00 [11:47:02]line НДС 12% НСП 1% [11:47:02]line > о реализуемом товаре [11:47:02]line ИТОГО: 276.00 [11:47:02]line НСП 1% : 2.44 [11:47:02]line НДС 12% : 29.31 [11:47:02]line Наличными: 276.00 [11:47:02]line Безнал.: 0.00 [11:47:02]line Место: АЗС № 77 "Партнер Нефть" [11:47:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:47:02]line СНО: Общий режим [11:47:02]line Чек 20 13.07.2024 11:47 [11:47:02]line Смена: 434 ФФД: 1.0 [11:47:02]line ЗНМ: 0300000122 [11:47:02]line РНМ: 0000000000093033 [11:47:02]line Версия ККМ: 001 [11:47:02]line ФМ: 0000000000875104 [11:47:02]line ФД: 33401 [11:47:02]line ФПД: 223062254147200 [11:47:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T114706&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33401&fm=223062254147200&tin=02508201610067®Number=0000000000093033&sum=27600 [11:47:02]line 0 [11:47:02]written 0, free lines is 4095 [11:47:02]OFD Sender: Processing packet 33401 [packets to send 6, broken 5] [11:47:02]ProducePacketName [11:47:02]name=ofd_packets/00033401 [11:47:02]OFD Sender: To server: pG, [11:47:02]CommunicateWithHost lk.salyk.kg:30040 [11:47:02]ConnectInit lk.salyk.kg [11:47:02]Connected sock=10 [11:47:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 81 FD 18 01 70 97 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3A 69 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 79 82 00 00 35 04 06 00 CA DF BA 6B D6 80 09 62 71 94 B1 DC 41 E1 [11:47:02]Write to MH i2c: 01 00 00 A3 17 BA [11:47:02]Write i2c OK [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: 01 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: 01 07 00 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: 01 07 00 A3 17 00 00 00 00 00 FD 0C CA [11:47:02]RasterBufferAndPrint [11:47:02]line [11:47:02]line [11:47:02]line [11:47:02]line [11:47:02]line [11:47:02]written 0, free lines is 3330 [11:47:02]MH_Cut [11:47:02]Write to MH i2c: D1 01 00 AA 17 01 93 [11:47:02]Write i2c OK [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: D1 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: D1 01 00 [11:47:02]MH_I2C_Read... [11:47:02]Read from MH i2c: D1 01 00 AA 17 00 92 [11:47:02]Write to MH i2c: 01 00 00 AB 17 C2 [11:47:02]Write i2c OK [11:47:02]MH_I2C_Read... [11:47:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 49 40 47 00 96 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 79 82 00 00 F4 03 04 00 E4 13 92 66 B6 04 01 00 00 BF 1C ED 12 5A 8B E7 54 [11:47:02]CommunicateWithHost err = 0 [11:47:02]CheckOFDResponse [11:47:02]1017 (14) - 77093643461234 [11:47:02]1041 (16) - 0000000000875104 [11:47:02]1040 (4) - 33401 [11:47:02]1012 (4) - 13.07.2024 05:43 [11:47:02]1206 (1) - 0 [11:47:02]OFD Sender: Remove packet 33401 [11:47:02]ProducePacketName [11:47:02]name=ofd_packets/00033401 [11:47:02]NVStorageDeleteData [11:47:03]OFD Sender: No OFD packet to send [11:47:03]*** Cut start [11:47:03]*** Partial cut [11:47:03]*** CUTSNS_PIN = 1 [11:47:03]*** CUTSNS_PIN = 0 [11:47:03]*** Brake cut motor [11:47:03]Read from MH i2c: 01 [11:47:03]MH_I2C_Read... [11:47:03]*** Stop cut motor [11:47:03]*** Cut end [11:47:03]Read from MH i2c: 01 07 00 [11:47:03]MH_I2C_Read... [11:47:03]Read from MH i2c: 01 07 00 AB 17 00 00 00 00 00 FF 0F D7 [11:47:03]process_action close_receipt done [11:47:03]requested_data is exist [11:47:03]produce_requested_data [11:47:03]requested_item fm.sn is exist - process it [11:47:03]wFMCommunicate request_size=4 [11:47:03]MH_SAM_APDU [11:47:03]CAPDU: 80 11 00 00 [11:47:03]Write to MH i2c: E2 08 00 AC 17 80 11 00 00 00 00 00 00 3D [11:47:03]Write i2c OK [11:47:03]MH_I2C_Read... [11:47:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:03]Read from MH i2c: E2 [11:47:03]MH_I2C_Read... [11:47:03]Read from MH i2c: E2 17 00 [11:47:03]MH_I2C_Read... [11:47:03]Read from MH i2c: E2 17 00 AC 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 89 [11:47:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:47:03]wFMCommunicate OK [11:47:03]requested_item fd.num is exist - process it [11:47:03]SAM_PROTO_GetFieldsCounters [11:47:03]wFMCommunicate request_size=4 [11:47:03]MH_SAM_APDU [11:47:03]CAPDU: 80 13 00 00 [11:47:03]Write to MH i2c: E2 08 00 AD 17 80 13 00 00 00 00 00 00 40 [11:47:03]Write i2c OK [11:47:03]MH_I2C_Read... [11:47:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:47:03]Read from MH i2c: E2 [11:47:03]MH_I2C_Read... [11:47:03]Read from MH i2c: E2 62 00 [11:47:03]MH_I2C_Read... [11:47:04]Read from MH i2c: E2 62 00 AD 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 79 82 00 00 0E 04 04 00 B2 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 3D [11:47:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 79 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:47:04]wFMCommunicate OK [11:47:04]SAM_PROTO_GetFieldsCounters done [11:47:04]requested_item shift.num is exist - process it [11:47:04]requested_item shift.opened is exist - process it [11:47:04]req_shift_opened [11:47:04]FM_GetShiftState [11:47:04]SAM_PROTO_GetShiftState [11:47:04]wFMCommunicate request_size=4 [11:47:04]MH_SAM_APDU [11:47:04]CAPDU: 80 13 01 00 [11:47:04]Write to MH i2c: E2 08 00 AE 17 80 13 01 00 00 00 00 00 42 [11:47:04]Write i2c OK [11:47:04]MH_I2C_Read... [11:47:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:04]Read from MH i2c: E2 [11:47:04]MH_I2C_Read... [11:47:04]Read from MH i2c: E2 0E 00 [11:47:04]MH_I2C_Read... [11:47:04]Read from MH i2c: E2 0E 00 AE 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 21 [11:47:04]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:47:04]wFMCommunicate OK [11:47:04]SAM_PROTO_GetShiftState done [11:47:04]FM_GetShiftState done [11:47:04]req_shift_opened done [11:47:04]requested_item shift.open_date is exist - process it [11:47:04]req_shift_open_date [11:47:04]req_shift_open_date done [11:47:04]produce_requested_data done [11:47:04]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33401,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [11:47:04]process_action_free close_receipt [11:47:04]json_value_free [11:47:04]json_value_free done [11:47:04]process_json_proto returns [11:47:04]Send response to host [11:47:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33401,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [11:47:04]free response buf [11:47:04]execute_script done [11:47:04]execute_script returns [11:47:04]free content buf [11:47:04]Sock 7.Close socket [11:47:04]Sock 7.Thread stoped [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:11]accept exits with 9 [11:56:11]New connection [11:56:11]New thread 3066604900 created [11:56:11]Thread 3066461540 joined [11:56:11]Waiting for new connection... [11:56:11] Sock 9.Parse request [11:56:11]Sock 9.Check first char [11:56:11]Sock 9.First char is OK [11:56:11]request: POST /json_proto HTTP/1.0 [11:56:11]Method: POST [11:56:11]URL: /json_proto [11:56:11]Method is POST - this is cgi request [11:56:11]url: /json_proto [11:56:11]query_string will be loaded in cgi processing [11:56:11]execute_cgi json_proto POST (null) [11:56:11]execute_cgi path=json_proto method=POST [11:56:11]POST find Content-Length [11:56:11]Host: 172.17.35.196:8080 [11:56:11]Content-Length: 644 [11:56:11]Content-Type: application/json [11:56:11] [11:56:11]POST finish read [11:56:11]Found Content-Length = 644 [11:56:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169211", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:56:11]execute_script... [11:56: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)169211", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:56:11]POST & json_proto [11:56:11]process_json_proto [11:56:11]json parsed OK: [11:56:11]protocol is kg_v1.0 [11:56:11]action value=close_receipt [11:56:11]process_action close_receipt [11:56:11]cmd_close_receipt [11:56:11]MH_GetDate [11:56:11]Write to MH i2c: F0 00 00 AF 17 B5 [11:56:11]Write i2c OK [11:56:11]MH_I2C_Read... [11:56:11]Read from MH i2c: F0 [11:56:11]MH_I2C_Read... [11:56:11]Read from MH i2c: F0 09 00 [11:56:11]MH_I2C_Read... [11:56:11]Read from MH i2c: F0 09 00 AF 17 00 61 6B 92 66 AD 14 F4 65 9C [11:56:11]GetLastDocTimeStamp 1720871226 [11:56:11]current date 1720871777 [11:56:11]FM_GetShiftState [11:56:11]SAM_PROTO_GetShiftState [11:56:11]wFMCommunicate request_size=4 [11:56:11]MH_SAM_APDU [11:56:11]CAPDU: 80 13 01 00 [11:56:11]Write to MH i2c: E2 08 00 B0 17 80 13 01 00 00 00 00 00 44 [11:56:11]Write i2c OK [11:56:11]MH_I2C_Read... [11:56:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:11]Read from MH i2c: E2 [11:56:11]MH_I2C_Read... [11:56:11]Read from MH i2c: E2 0E 00 [11:56:11]MH_I2C_Read... [11:56:11]Read from MH i2c: E2 0E 00 B0 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 23 [11:56:11]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:56:11]wFMCommunicate OK [11:56:11]SAM_PROTO_GetShiftState done [11:56:11]FM_GetShiftState done [11:56:11]opened in 1720829207 [11:56:11]opened+sec_in_day 1720915607 [11:56:11]quantity*price = 46000 [11:56:11]sum+1 = 46001 [11:56:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 460.00 НСП 1% : 4.07 НДС 12% : 48.85 Наличными: 460.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 21 13.07.2024 11:56 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33402 ФПД: 13225502920109 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T115617&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33402&fm=13225502920109&tin=02508201610067®Number=0000000000093033&sum=46000 0 [11:56:12]StoreToDocumentArchive [11:56:12]shift 434 fd 33402 [11:56:12]save to /storage/0434/doc_00033402 [11:56:12]save last doc name /storage/0434/doc_00033402 to /storage/kkm_last_doc_name [11:56:12]save OK [11:56:12]Clear old archive folders... [11:56:12]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:56:12]tlvbuf is 00A5DA30 [11:56:12]SAM_PROTO_ClearQueue [11:56:12]wFMCommunicate request_size=4 [11:56:12]MH_SAM_APDU [11:56:12]CAPDU: 80 09 00 00 [11:56:12]Write to MH i2c: E2 08 00 BD 17 80 09 00 00 00 00 00 00 46 [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:56:12]Read from MH i2c: E2 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 BD 17 00 90 00 48 [11:56:12]RAPDU: 90 00 [11:56:12]wFMCommunicate OK [11:56:12]SAM_PROTO_ClearQueue done [11:56:12]KKMCreateOFDPacket [11:56:12]OFDProtocolAddRootSTLVToBuf [11:56:12]FM_MakeSignedData [11:56:12]FM_MakeSignedData [11:56:12]SAM_PROTO_SignData [11:56:12]wFMCommunicate request_size=4 [11:56:12]MH_SAM_APDU [11:56:12]CAPDU: 80 0D 01 02 [11:56:12]Write to MH i2c: E2 08 00 BE 17 80 0D 01 02 00 00 00 00 4E [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:56:12]Read from MH i2c: E2 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 BE 17 00 90 00 49 [11:56:12]RAPDU: 90 00 [11:56:12]wFMCommunicate OK [11:56:12]wFMCommunicate request_size=255 [11:56:12]MH_SAM_APDU [11:56:12]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 61 6B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [11:56:12]Write to MH i2c: E2 02 01 BF 17 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 61 6B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 49 [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:12]Read from MH i2c: E2 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 BF 17 00 90 00 4A [11:56:12]RAPDU: 90 00 [11:56:12]wFMCommunicate OK [11:56:12]wFMCommunicate request_size=39 [11:56:12]MH_SAM_APDU [11:56:12]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7A 82 00 00 35 04 06 00 0C 07 4D 67 4D AD [11:56:12]Write to MH i2c: E2 2A 00 C0 17 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7A 82 00 00 35 04 06 00 0C 07 4D 67 4D AD 00 00 C2 [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:12]Read from MH i2c: E2 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 03 00 C0 17 00 90 00 4B [11:56:12]RAPDU: 90 00 [11:56:12]wFMCommunicate OK [11:56:12]wFMCommunicate request_size=4 [11:56:12]MH_SAM_APDU [11:56:12]CAPDU: 80 0D 03 02 [11:56:12]Write to MH i2c: E2 08 00 C1 17 80 0D 03 02 00 00 00 00 53 [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:56:12]Read from MH i2c: E2 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 0B 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 0B 00 C1 17 00 F3 61 CF C8 4D 75 91 65 90 00 F7 [11:56:12]RAPDU: F3 61 CF C8 4D 75 91 65 90 00 [11:56:12]wFMCommunicate OK [11:56:12]SAM_PROTO_SignData done [11:56:12]FM_MakeSignedData done [11:56:12]CreateOFDProtocolMessage [11:56:12]wFMCommunicate request_size=4 [11:56:12]MH_SAM_APDU [11:56:12]CAPDU: 80 11 00 00 [11:56:12]Write to MH i2c: E2 08 00 C2 17 80 11 00 00 00 00 00 00 53 [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:12]Read from MH i2c: E2 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 17 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: E2 17 00 C2 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9F [11:56:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:56:12]wFMCommunicate OK [11:56:12]CreateOFDProtocolMessage done [11:56:12]OFDSenderStorePacket 33402 [11:56:12]StoreOFDPacket docnum=33402 [11:56:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 20 35 24 01 33 13 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 61 6B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7A 82 00 00 35 04 06 00 0C 07 4D 67 4D AD F3 61 CF C8 4D 75 91 65 [11:56:12]CheckFolder [11:56:12]dirname=/storage/ofd_packets [11:56:12]CheckFolder done [11:56:12]ProducePacketName [11:56:12]name=ofd_packets/00033402 [11:56:12]NVStorageSaveData ofd_packets/00033402 [11:56:12]File name is /storage/ofd_packets/00033402 [11:56:12]Write 330 bytes [11:56:12]NVStorageSaveData done [11:56:12]OFDSenderStorePacket done [11:56:12]KKMCreateOFDPacket done [11:56:12]NVStorageSaveData kkm_last_timestamp [11:56:12]File name is /storage/kkm_last_timestamp [11:56:12]Write 4 bytes [11:56:12]NVStorageSaveData done [11:56:12]ExternCall_PrintAddStr [11:56:12]wPrintStart [11:56:12]Write to MH i2c: 01 00 00 C3 17 DA [11:56:12]Write i2c OK [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: 01 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: 01 07 00 [11:56:12]MH_I2C_Read... [11:56:12]Read from MH i2c: 01 07 00 C3 17 00 00 00 00 00 FF 0F EF [11:56:12]RasterBufferAndPrint [11:56:12]line Счет N : (3)169211 [11:56:12]line ИНН: 02508201610067 [11:56:12]line Контрольно-Кассовый Чек [11:56:12]line ПРОДАЖА [11:56:12]line Товар: 2000036210013 [11:56:12]line Кофе Капучино (GABB TRADE) [11:56:12]line 4.000 * 115.00 [11:56:13]line = 460.00 [11:56:13]line НДС 12% НСП 1% [11:56:13]line > о реализуемом товаре [11:56:13]line ИТОГО: 460.00 [11:56:13]line НСП 1% : 4.07 [11:56:13]line НДС 12% : 48.85 [11:56:13]line Наличными: 460.00 [11:56:13]line Безнал.: 0.00 [11:56:13]line Место: АЗС № 77 "Партнер Нефть" [11:56:13]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:56:13]line СНО: Общий режим [11:56:13]line Чек 21 13.07.2024 11:56 [11:56:13]line Смена: 434 ФФД: 1.0 [11:56:13]line ЗНМ: 0300000122 [11:56:13]line РНМ: 0000000000093033 [11:56:13]line Версия ККМ: 001 [11:56:13]line ФМ: 0000000000875104 [11:56:13]line ФД: 33402 [11:56:13]line ФПД: 13225502920109 [11:56:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T115617&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33402&fm=13225502920109&tin=02508201610067®Number=0000000000093033&sum=46000 [11:56:13]line 0 [11:56:13]OFD Sender: Processing packet 33402 [packets to send 6, broken 5] [11:56:13]ProducePacketName [11:56:13]name=ofd_packets/00033402 [11:56:13]OFD Sender: To server: pG, [11:56:13]CommunicateWithHost lk.salyk.kg:30040 [11:56:13]ConnectInit lk.salyk.kg [11:56:13]written 0, free lines is 4095 [11:56:13]Connected sock=10 [11:56:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 20 35 24 01 33 13 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 61 6B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7A 82 00 00 35 04 06 00 0C 07 4D 67 4D AD F3 61 CF C8 4D 75 91 65 [11:56:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 DD AA 47 00 CC 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7A 82 00 00 F4 03 04 00 0B 16 92 66 B6 04 01 00 00 F7 91 1C 82 13 A4 C8 5F [11:56:13]CommunicateWithHost err = 0 [11:56:13]CheckOFDResponse [11:56:13]1017 (14) - 77093643461234 [11:56:13]1041 (16) - 0000000000875104 [11:56:13]1040 (4) - 33402 [11:56:13]1012 (4) - 13.07.2024 05:52 [11:56:13]1206 (1) - 0 [11:56:13]OFD Sender: Remove packet 33402 [11:56:13]ProducePacketName [11:56:13]name=ofd_packets/00033402 [11:56:13]NVStorageDeleteData [11:56:13]Write to MH i2c: 01 00 00 EB 17 02 [11:56:13]Write i2c OK [11:56:13]MH_I2C_Read... [11:56:13]Read from MH i2c: 01 [11:56:13]MH_I2C_Read... [11:56:13]Read from MH i2c: 01 07 00 [11:56:13]MH_I2C_Read... [11:56:13]Read from MH i2c: 01 07 00 EB 17 00 00 00 00 00 0E 0D 24 [11:56:13]RasterBufferAndPrint [11:56:13]line [11:56:13]line [11:56:13]line [11:56:13]line [11:56:13]line [11:56:13]written 0, free lines is 3348 [11:56:13]MH_Cut [11:56:13]Write to MH i2c: D1 01 00 F2 17 01 DB [11:56:13]Write i2c OK [11:56:13]MH_I2C_Read... [11:56:13]Read from MH i2c: D1 [11:56:13]MH_I2C_Read... [11:56:13]Read from MH i2c: D1 01 00 [11:56:13]MH_I2C_Read... [11:56:13]Read from MH i2c: D1 01 00 F2 17 00 DA [11:56:13]Write to MH i2c: 01 00 00 F3 17 0A [11:56:13]Write i2c OK [11:56:13]MH_I2C_Read... [11:56:13]OFD Sender: No OFD packet to send [11:56:14]*** Cut start [11:56:14]*** Partial cut [11:56:14]*** CUTSNS_PIN = 1 [11:56:14]*** CUTSNS_PIN = 0 [11:56:14]*** Brake cut motor [11:56:14]Read from MH i2c: 01 [11:56:14]MH_I2C_Read... [11:56:14]*** Stop cut motor [11:56:14]*** Cut end [11:56:14]Read from MH i2c: 01 07 00 [11:56:14]MH_I2C_Read... [11:56:14]Read from MH i2c: 01 07 00 F3 17 00 00 00 00 00 FF 0F 1F [11:56:14]process_action close_receipt done [11:56:14]requested_data is exist [11:56:14]produce_requested_data [11:56:14]requested_item fm.sn is exist - process it [11:56:14]wFMCommunicate request_size=4 [11:56:14]MH_SAM_APDU [11:56:14]CAPDU: 80 11 00 00 [11:56:14]Write to MH i2c: E2 08 00 F4 17 80 11 00 00 00 00 00 00 85 [11:56:14]Write i2c OK [11:56:14]MH_I2C_Read... [11:56:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:14]Read from MH i2c: E2 [11:56:14]MH_I2C_Read... [11:56:14]Read from MH i2c: E2 17 00 [11:56:14]MH_I2C_Read... [11:56:14]Read from MH i2c: E2 17 00 F4 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D1 [11:56:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:56:14]wFMCommunicate OK [11:56:14]requested_item fd.num is exist - process it [11:56:14]SAM_PROTO_GetFieldsCounters [11:56:14]wFMCommunicate request_size=4 [11:56:14]MH_SAM_APDU [11:56:14]CAPDU: 80 13 00 00 [11:56:14]Write to MH i2c: E2 08 00 F5 17 80 13 00 00 00 00 00 00 88 [11:56:14]Write i2c OK [11:56:14]MH_I2C_Read... [11:56:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:56:15]Read from MH i2c: E2 [11:56:15]MH_I2C_Read... [11:56:15]Read from MH i2c: E2 62 00 [11:56:15]MH_I2C_Read... [11:56:15]Read from MH i2c: E2 62 00 F5 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7A 82 00 00 0E 04 04 00 B2 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 89 [11:56:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7A 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:56:15]wFMCommunicate OK [11:56:15]SAM_PROTO_GetFieldsCounters done [11:56:15]requested_item shift.num is exist - process it [11:56:15]requested_item shift.opened is exist - process it [11:56:15]req_shift_opened [11:56:15]FM_GetShiftState [11:56:15]SAM_PROTO_GetShiftState [11:56:15]wFMCommunicate request_size=4 [11:56:15]MH_SAM_APDU [11:56:15]CAPDU: 80 13 01 00 [11:56:15]Write to MH i2c: E2 08 00 F6 17 80 13 01 00 00 00 00 00 8A [11:56:15]Write i2c OK [11:56:15]MH_I2C_Read... [11:56:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:15]Read from MH i2c: E2 [11:56:15]MH_I2C_Read... [11:56:15]Read from MH i2c: E2 0E 00 [11:56:15]MH_I2C_Read... [11:56:15]Read from MH i2c: E2 0E 00 F6 17 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 69 [11:56:15]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [11:56:15]wFMCommunicate OK [11:56:15]SAM_PROTO_GetShiftState done [11:56:15]FM_GetShiftState done [11:56:15]req_shift_opened done [11:56:15]requested_item shift.open_date is exist - process it [11:56:15]req_shift_open_date [11:56:15]req_shift_open_date done [11:56:15]produce_requested_data done [11:56:15]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33402,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [11:56:15]process_action_free close_receipt [11:56:15]json_value_free [11:56:15]json_value_free done [11:56:15]process_json_proto returns [11:56:15]Send response to host [11:56:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33402,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [11:56:15]free response buf [11:56:15]execute_script done [11:56:15]execute_script returns [11:56:15]free content buf [11:56:15]Sock 9.Close socket [11:56:15]Sock 9.Thread stoped [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:08]int [12:19:08]Write to MH i2c: 01 00 00 F7 17 0E [12:19:08]*** FLAG_PRN_PAP1 set [12:19:08]Write i2c OK [12:19:08]MH_I2C_Read... [12:19:08]Read from MH i2c: 01 [12:19:08]MH_I2C_Read... [12:19:08]Read from MH i2c: 01 07 00 [12:19:08]MH_I2C_Read... [12:19:08]Read from MH i2c: 01 07 00 F7 17 00 01 00 00 00 FF 0F 24 [12:19:08]state=0 [12:19:08]No paper [12:19:08]int [12:19:08]Write to MH i2c: 01 00 00 F8 17 0F [12:19:08]*** FLAG_PRN_PAP2 set [12:19:08]Write i2c OK [12:19:08]MH_I2C_Read... [12:19:08]Read from MH i2c: 01 [12:19:08]MH_I2C_Read... [12:19:08]Read from MH i2c: 01 07 00 [12:19:08]MH_I2C_Read... [12:19:08]Read from MH i2c: 01 07 00 F8 17 00 03 00 00 00 FF 0F 27 [12:19:08]state=0 [12:19:08]No paper [12:19:08]Cover opened [12:19:09]int [12:19:09]Write to MH i2c: 01 00 00 F9 17 10 [12:19:09]*** FLAG_PRN_PAP2 reset [12:19:09]Write i2c OK [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 F9 17 00 01 00 00 00 FF 0F 26 [12:19:09]state=3 [12:19:09]No paper [12:19:09]Cover closed [12:19:09]int [12:19:09]Write to MH i2c: 01 00 00 FA 17 11 [12:19:09]*** FLAG_PRN_PAP2 set [12:19:09]Write i2c OK [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 FA 17 00 03 00 00 00 FF 0F 29 [12:19:09]state=0 [12:19:09]No paper [12:19:09]Cover opened [12:19:09]int [12:19:09]Write to MH i2c: 01 00 00 FB 17 12 [12:19:09]*** FLAG_PRN_PAP2 reset [12:19:09]Write i2c OK [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 FB 17 00 01 00 00 00 FF 0F 28 [12:19:09]state=3 [12:19:09]No paper [12:19:09]Cover closed [12:19:09]int [12:19:09]Write to MH i2c: 01 00 00 FC 17 13 [12:19:09]*** FLAG_PRN_PAP2 set [12:19:09]Write i2c OK [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 [12:19:09]MH_I2C_Read... [12:19:09]Read from MH i2c: 01 07 00 FC 17 00 03 00 00 00 FF 0F 2B [12:19:09]state=0 [12:19:09]No paper [12:19:09]Cover opened [12:19:09]OFD Sender: No OFD packet to send [12:19:10]int [12:19:10]Write to MH i2c: 01 00 00 FD 17 14 [12:19:10]*** FLAG_PRN_PAP2 reset [12:19:10]Write i2c OK [12:19:10]MH_I2C_Read... [12:19:10]Read from MH i2c: 01 [12:19:10]MH_I2C_Read... [12:19:10]Read from MH i2c: 01 07 00 [12:19:10]MH_I2C_Read... [12:19:10]Read from MH i2c: 01 07 00 FD 17 00 01 00 00 00 FF 0F 2A [12:19:10]state=3 [12:19:10]No paper [12:19:10]Cover closed [12:19:10]int [12:19:10]Write to MH i2c: 01 00 00 FE 17 15 [12:19:10]*** FLAG_PRN_PAP2 set [12:19:10]Write i2c OK [12:19:10]MH_I2C_Read... [12:19:10]Read from MH i2c: 01 [12:19:10]MH_I2C_Read... [12:19:10]Read from MH i2c: 01 07 00 [12:19:10]MH_I2C_Read... [12:19:10]Read from MH i2c: 01 07 00 FE 17 00 03 00 00 00 FF 0F 2D [12:19:10]state=0 [12:19:10]No paper [12:19:10]Cover opened [12:19:14]int [12:19:14]Write to MH i2c: 01 00 00 FF 17 16 [12:19:14]*** FLAG_PRN_PAP2 reset [12:19:14]Write i2c OK [12:19:14]MH_I2C_Read... [12:19:14]Read from MH i2c: 01 [12:19:14]MH_I2C_Read... [12:19:14]Read from MH i2c: 01 07 00 [12:19:14]MH_I2C_Read... [12:19:14]Read from MH i2c: 01 07 00 FF 17 00 01 00 00 00 FF 0F 2C [12:19:14]state=3 [12:19:14]No paper [12:19:14]Cover closed [12:19:14]int line is 0 - check status [12:19:14]Write to MH i2c: 01 00 00 00 18 18 [12:19:14]*** FLAG_PRN_PAP1 reset [12:19:14]Write i2c OK [12:19:14]MH_I2C_Read... [12:19:14]Read from MH i2c: 01 [12:19:14]MH_I2C_Read... [12:19:14]Read from MH i2c: 01 07 00 [12:19:14]MH_I2C_Read... [12:19:14]Read from MH i2c: 01 07 00 00 18 00 00 00 00 00 FF 0F 2D [12:19:14]state=0 [12:19:14]OFD Sender: No OFD packet to send [12:19:18]accept exits with 7 [12:19:18]New connection [12:19:18]New thread 3066461540 created [12:19:18]Thread 3066604900 joined [12:19:18]Waiting for new connection... [12:19:18] Sock 7.Parse request [12:19:18]Sock 7.Check first char [12:19:18]Sock 7.First char is OK [12:19:18]request: POST /json_proto HTTP/1.0 [12:19:18]Method: POST [12:19:18]URL: /json_proto [12:19:18]Method is POST - this is cgi request [12:19:18]url: /json_proto [12:19:18]query_string will be loaded in cgi processing [12:19:18]execute_cgi json_proto POST (null) [12:19:18]execute_cgi path=json_proto method=POST [12:19:18]POST find Content-Length [12:19:18]Host: 172.17.35.196:8080 [12:19:18]Content-Length: 215 [12:19:18]Content-Type: application/json [12:19:18] [12:19:18]POST finish read [12:19:18]Found Content-Length = 215 [12:19: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" ] } } [12:19:18]execute_script... [12:19: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" ] } } [12:19:18]POST & json_proto [12:19:18]process_json_proto [12:19:18]json parsed OK: [12:19:18]protocol is kg_v1.0 [12:19:18]action value=get_value [12:19:18]process_action get_value [12:19:18]cmd_get_value [12:19:18]process_action get_value done [12:19:18]requested_data is exist [12:19:18]produce_requested_data [12:19:18]requested_item kkm.sn is exist - process it [12:19:18]requested_item kkm.ver is exist - process it [12:19:18]requested_item fm.sn is exist - process it [12:19:18]wFMCommunicate request_size=4 [12:19:18]MH_SAM_APDU [12:19:18]CAPDU: 80 11 00 00 [12:19:18]Write to MH i2c: E2 08 00 01 18 80 11 00 00 00 00 00 00 93 [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:18]Read from MH i2c: E2 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 17 00 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 17 00 01 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DF [12:19:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:19:18]wFMCommunicate OK [12:19:18]requested_item fd.num is exist - process it [12:19:18]SAM_PROTO_GetFieldsCounters [12:19:18]wFMCommunicate request_size=4 [12:19:18]MH_SAM_APDU [12:19:18]CAPDU: 80 13 00 00 [12:19:18]Write to MH i2c: E2 08 00 02 18 80 13 00 00 00 00 00 00 96 [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:19:18]Read from MH i2c: E2 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 62 00 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 62 00 02 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7A 82 00 00 0E 04 04 00 B2 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 97 [12:19: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7A 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:19:18]wFMCommunicate OK [12:19:18]SAM_PROTO_GetFieldsCounters done [12:19:18]requested_item shift.num is exist - process it [12:19:18]requested_item shift.opened is exist - process it [12:19:18]req_shift_opened [12:19:18]FM_GetShiftState [12:19:18]SAM_PROTO_GetShiftState [12:19:18]wFMCommunicate request_size=4 [12:19:18]MH_SAM_APDU [12:19:18]CAPDU: 80 13 01 00 [12:19:18]Write to MH i2c: E2 08 00 03 18 80 13 01 00 00 00 00 00 98 [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:18]Read from MH i2c: E2 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 0E 00 [12:19:18]MH_I2C_Read... [12:19:18]Read from MH i2c: E2 0E 00 03 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 77 [12:19:18]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [12:19:18]wFMCommunicate OK [12:19:18]SAM_PROTO_GetShiftState done [12:19:18]FM_GetShiftState done [12:19:18]req_shift_opened done [12:19:18]requested_item shift.open_date is exist - process it [12:19:18]req_shift_open_date [12:19:18]req_shift_open_date done [12:19:18]produce_requested_data done [12:19:18]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33402,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [12:19:18]process_action_free get_value [12:19:18]json_value_free [12:19:18]json_value_free done [12:19:18]process_json_proto returns [12:19:18]Send response to host [12:19:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33402,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [12:19:18]free response buf [12:19:18]execute_script done [12:19:18]execute_script returns [12:19:18]free content buf [12:19:18]Sock 7.Close socket [12:19:18]Sock 7.Thread stoped [12:19:18]accept exits with 9 [12:19:18]New connection [12:19:18]New thread 3066604900 created [12:19:18]Thread 3066461540 joined [12:19:18]Waiting for new connection... [12:19:18] Sock 9.Parse request [12:19:18]Sock 9.Check first char [12:19:18]Sock 9.First char is OK [12:19:18]request: POST /json_proto HTTP/1.0 [12:19:18]Method: POST [12:19:18]URL: /json_proto [12:19:18]Method is POST - this is cgi request [12:19:18]url: /json_proto [12:19:18]query_string will be loaded in cgi processing [12:19:18]execute_cgi json_proto POST (null) [12:19:18]execute_cgi path=json_proto method=POST [12:19:18]POST find Content-Length [12:19:18]Host: 172.17.35.196:8080 [12:19:18]Content-Length: 331 [12:19:18]Content-Type: application/json [12:19:18] [12:19:18]POST finish read [12:19:18]Found Content-Length = 331 [12:19: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" ] } } [12:19:18]execute_script... [12:19: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" ] } } [12:19:18]POST & json_proto [12:19:18]process_json_proto [12:19:18]json parsed OK: [12:19:18]protocol is kg_v1.0 [12:19:18]action value=get_value [12:19:18]process_action get_value [12:19:18]cmd_get_value [12:19:18]process_action get_value done [12:19:18]requested_data is exist [12:19:18]produce_requested_data [12:19:18]requested_item fm.sale.total is exist - process it [12:19:18]SAM_PROTO_GetFMData [12:19:18]wFMCommunicate request_size=4 [12:19:18]MH_SAM_APDU [12:19:18]CAPDU: 80 13 03 00 [12:19:18]Write to MH i2c: E2 08 00 04 18 80 13 03 00 00 00 00 00 9B [12:19:18]Write i2c OK [12:19:18]MH_I2C_Read... [12:19:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:19:19]Read from MH i2c: E2 [12:19:19]MH_I2C_Read... [12:19:19]Read from MH i2c: E2 FD 00 [12:19:19]MH_I2C_Read... [12:19:19]Read from MH i2c: E2 FD 00 04 18 00 C4 04 85 04 C0 04 6E 04 04 00 16 7F 00 00 69 04 A0 00 6F 04 04 00 35 7E 00 00 B1 04 04 00 FE DF A9 3F 70 04 04 00 10 68 F9 34 72 04 04 00 EE 77 B0 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DE E6 C2 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 48 32 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 F1 [12:19:19]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 16 7F 00 00 69 04 A0 00 6F 04 04 00 35 7E 00 00 B1 04 04 00 FE DF A9 3F 70 04 04 00 10 68 F9 34 72 04 04 00 EE 77 B0 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DE E6 C2 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 48 32 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [12:19:19]wFMCommunicate OK [12:19:19]wFMCommunicate request_size=4 [12:19:19]MH_SAM_APDU [12:19:19]CAPDU: 80 17 00 00 [12:19:19]Write to MH i2c: E2 08 00 05 18 80 17 00 00 00 00 00 00 9D [12:19:19]Write i2c OK [12:19:19]MH_I2C_Read... [12:19:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:19]Read from MH i2c: E2 [12:19:19]MH_I2C_Read... [12:19:19]Read from MH i2c: E2 FD 00 [12:19:19]MH_I2C_Read... [12:19:19]Read from MH i2c: E2 FD 00 05 18 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 5A [12:19:19]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:19:19]wFMCommunicate OK [12:19:19]wFMCommunicate request_size=4 [12:19:19]MH_SAM_APDU [12:19:19]CAPDU: 80 17 00 00 [12:19:19]Write to MH i2c: E2 08 00 06 18 80 17 00 00 00 00 00 00 9E [12:19:19]Write i2c OK [12:19:19]MH_I2C_Read... [12:19:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:19]Read from MH i2c: E2 [12:19:19]MH_I2C_Read... [12:19:19]Read from MH i2c: E2 FD 00 [12:19:19]MH_I2C_Read... [12:19:19]Read from MH i2c: E2 FD 00 06 18 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 B3 [12:19:19]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:19:19]wFMCommunicate OK [12:19:19]wFMCommunicate request_size=4 [12:19:19]MH_SAM_APDU [12:19:19]CAPDU: 80 17 00 00 [12:19:19]Write to MH i2c: E2 08 00 07 18 80 17 00 00 00 00 00 00 9F [12:19:19]Write i2c OK [12:19:19]MH_I2C_Read... [12:19:19]OFD Sender: No OFD packet to send [12:19:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:20]Read from MH i2c: E2 [12:19:20]MH_I2C_Read... [12:19:20]Read from MH i2c: E2 FD 00 [12:19:20]MH_I2C_Read... [12:19:20]Read from MH i2c: E2 FD 00 07 18 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 17 [12:19:20]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:19:20]wFMCommunicate OK [12:19:20]wFMCommunicate request_size=4 [12:19:20]MH_SAM_APDU [12:19:20]CAPDU: 80 17 00 00 [12:19:20]Write to MH i2c: E2 08 00 08 18 80 17 00 00 00 00 00 00 A0 [12:19:20]Write i2c OK [12:19:20]MH_I2C_Read... [12:19:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:19:20]Read from MH i2c: E2 [12:19:20]MH_I2C_Read... [12:19:20]Read from MH i2c: E2 E1 00 [12:19:20]MH_I2C_Read... [12:19:20]Read from MH i2c: E2 E1 00 08 18 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8E [12:19:20]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:19:20]wFMCommunicate OK [12:19:20]SAM_PROTO_GetFMData done [12:19:20]requested_item fm.sale_refund.total is exist - process it [12:19:20]requested_item fm.buy.total is exist - process it [12:19:20]requested_item shift.sale.total is exist - process it [12:19:20]SAM_PROTO_GetShiftData [12:19:20]wFMCommunicate request_size=4 [12:19:20]MH_SAM_APDU [12:19:20]CAPDU: 80 13 02 00 [12:19:20]Write to MH i2c: E2 08 00 09 18 80 13 02 00 00 00 00 00 9F [12:19:20]Write i2c OK [12:19:20]MH_I2C_Read... [12:19:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:19:20]Read from MH i2c: E2 [12:19:20]MH_I2C_Read... [12:19:20]Read from MH i2c: E2 FD 00 [12:19:20]MH_I2C_Read... [12:19:20]Read from MH i2c: E2 FD 00 09 18 00 AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 60 C0 07 70 04 03 00 7C 74 05 72 04 03 00 E4 4B 02 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 C0 D2 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 8F 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 06 [12:19:20]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 60 C0 07 70 04 03 00 7C 74 05 72 04 03 00 E4 4B 02 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 C0 D2 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 8F 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [12:19:20]wFMCommunicate OK [12:19:20]wFMCommunicate request_size=4 [12:19:20]MH_SAM_APDU [12:19:20]CAPDU: 80 17 00 00 [12:19:20]Write to MH i2c: E2 08 00 0A 18 80 17 00 00 00 00 00 00 A2 [12:19:20]Write i2c OK [12:19:20]MH_I2C_Read... [12:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:21]Read from MH i2c: E2 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 FD 00 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 FD 00 0A 18 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 B4 [12:19:21]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 [12:19:21]wFMCommunicate OK [12:19:21]wFMCommunicate request_size=4 [12:19:21]MH_SAM_APDU [12:19:21]CAPDU: 80 17 00 00 [12:19:21]Write to MH i2c: E2 08 00 0B 18 80 17 00 00 00 00 00 00 A3 [12:19:21]Write i2c OK [12:19:21]MH_I2C_Read... [12:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:21]Read from MH i2c: E2 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 FD 00 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 FD 00 0B 18 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 67 [12:19:21]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 [12:19:21]wFMCommunicate OK [12:19:21]wFMCommunicate request_size=4 [12:19:21]MH_SAM_APDU [12:19:21]CAPDU: 80 17 00 00 [12:19:21]Write to MH i2c: E2 08 00 0C 18 80 17 00 00 00 00 00 00 A4 [12:19:21]Write i2c OK [12:19:21]MH_I2C_Read... [12:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:21]Read from MH i2c: E2 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 FD 00 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 FD 00 0C 18 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 19 [12:19:21]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 [12:19:21]wFMCommunicate OK [12:19:21]wFMCommunicate request_size=4 [12:19:21]MH_SAM_APDU [12:19:21]CAPDU: 80 17 00 00 [12:19:21]Write to MH i2c: E2 08 00 0D 18 80 17 00 00 00 00 00 00 A5 [12:19:21]Write i2c OK [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 [12:19:21]MH_I2C_Read... [12:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [12:19:21]Read from MH i2c: E2 CA 00 [12:19:21]MH_I2C_Read... [12:19:21]Read from MH i2c: E2 CA 00 0D 18 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 8A [12:19:21]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 [12:19:21]wFMCommunicate OK [12:19:21]SAM_PROTO_GetShiftData done [12:19:21]requested_item shift.sale.total_cash is exist - process it [12:19:21]requested_item shift.sale_refund.total is exist - process it [12:19:21]requested_item shift.sale_refund.total_cash is exist - process it [12:19:21]requested_item shift.buy.total is exist - process it [12:19:21]requested_item shift.buy.total_cash is exist - process it [12:19:21]produce_requested_data done [12:19:21]produce_requested_data return {"fm.sale.total":10680975.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":5080.00,"shift.sale.total_cash":3575.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} [12:19:21]process_action_free get_value [12:19:21]json_value_free [12:19:21]json_value_free done [12:19:21]process_json_proto returns [12:19:21]Send response to host [12:19:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10680975.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":5080.00,"shift.sale.total_cash":3575.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}}} [12:19:21]free response buf [12:19:21]execute_script done [12:19:21]execute_script returns [12:19:21]free content buf [12:19:21]Sock 9.Close socket [12:19:21]Sock 9.Thread stoped [12:19:24]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:39]accept exits with 7 [12:20:39]New connection [12:20:39]New thread 3066461540 created [12:20:39]Thread 3066604900 joined [12:20:39]Waiting for new connection... [12:20:39] Sock 7.Parse request [12:20:39]Sock 7.Check first char [12:20:39]Sock 7.First char is OK [12:20:39]request: POST /json_proto HTTP/1.0 [12:20:39]Method: POST [12:20:39]URL: /json_proto [12:20:39]Method is POST - this is cgi request [12:20:39]url: /json_proto [12:20:39]query_string will be loaded in cgi processing [12:20:39]execute_cgi json_proto POST (null) [12:20:39]execute_cgi path=json_proto method=POST [12:20:39]POST find Content-Length [12:20:39]Host: 172.17.35.196:8080 [12:20:39]Content-Length: 215 [12:20:39]Content-Type: application/json [12:20:39] [12:20:39]POST finish read [12:20:39]Found Content-Length = 215 [12:20:39]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" ] } } [12:20:39]execute_script... [12:20:39]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" ] } } [12:20:39]POST & json_proto [12:20:39]process_json_proto [12:20:39]json parsed OK: [12:20:39]protocol is kg_v1.0 [12:20:39]action value=get_value [12:20:39]process_action get_value [12:20:39]cmd_get_value [12:20:39]process_action get_value done [12:20:39]requested_data is exist [12:20:39]produce_requested_data [12:20:39]requested_item kkm.sn is exist - process it [12:20:39]requested_item kkm.ver is exist - process it [12:20:39]requested_item fm.sn is exist - process it [12:20:39]wFMCommunicate request_size=4 [12:20:39]MH_SAM_APDU [12:20:39]CAPDU: 80 11 00 00 [12:20:39]Write to MH i2c: E2 08 00 0E 18 80 11 00 00 00 00 00 00 A0 [12:20:39]Write i2c OK [12:20:39]MH_I2C_Read... [12:20:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:39]Read from MH i2c: E2 [12:20:39]MH_I2C_Read... [12:20:39]Read from MH i2c: E2 17 00 [12:20:39]MH_I2C_Read... [12:20:39]Read from MH i2c: E2 17 00 0E 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EC [12:20:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:20:39]wFMCommunicate OK [12:20:39]requested_item fd.num is exist - process it [12:20:39]SAM_PROTO_GetFieldsCounters [12:20:39]wFMCommunicate request_size=4 [12:20:39]MH_SAM_APDU [12:20:39]CAPDU: 80 13 00 00 [12:20:39]Write to MH i2c: E2 08 00 0F 18 80 13 00 00 00 00 00 00 A3 [12:20:39]Write i2c OK [12:20:39]MH_I2C_Read... [12:20:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:20:39]Read from MH i2c: E2 [12:20:39]MH_I2C_Read... [12:20:39]Read from MH i2c: E2 62 00 [12:20:39]MH_I2C_Read... [12:20:39]Read from MH i2c: E2 62 00 0F 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7A 82 00 00 0E 04 04 00 B2 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 A4 [12:20:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7A 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:20:39]wFMCommunicate OK [12:20:39]SAM_PROTO_GetFieldsCounters done [12:20:39]requested_item shift.num is exist - process it [12:20:39]requested_item shift.opened is exist - process it [12:20:39]req_shift_opened [12:20:39]FM_GetShiftState [12:20:39]SAM_PROTO_GetShiftState [12:20:39]wFMCommunicate request_size=4 [12:20:39]MH_SAM_APDU [12:20:39]CAPDU: 80 13 01 00 [12:20:39]Write to MH i2c: E2 08 00 10 18 80 13 01 00 00 00 00 00 A5 [12:20:39]Write i2c OK [12:20:39]MH_I2C_Read... [12:20:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:39]Read from MH i2c: E2 [12:20:39]MH_I2C_Read... [12:20:39]Read from MH i2c: E2 0E 00 [12:20:39]MH_I2C_Read... [12:20:39]Read from MH i2c: E2 0E 00 10 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 84 [12:20:39]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [12:20:39]wFMCommunicate OK [12:20:39]SAM_PROTO_GetShiftState done [12:20:39]FM_GetShiftState done [12:20:39]req_shift_opened done [12:20:39]requested_item shift.open_date is exist - process it [12:20:39]req_shift_open_date [12:20:39]req_shift_open_date done [12:20:39]produce_requested_data done [12:20:39]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33402,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [12:20:39]process_action_free get_value [12:20:39]json_value_free [12:20:39]json_value_free done [12:20:39]process_json_proto returns [12:20:39]Send response to host [12:20:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33402,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [12:20:39]free response buf [12:20:39]execute_script done [12:20:39]execute_script returns [12:20:39]free content buf [12:20:39]Sock 7.Close socket [12:20:39]Sock 7.Thread stoped [12:20:39]accept exits with 9 [12:20:39]New connection [12:20:39]New thread 3066604900 created [12:20:39]Thread 3066461540 joined [12:20:39]Waiting for new connection... [12:20:39] Sock 9.Parse request [12:20:39]Sock 9.Check first char [12:20:39]Sock 9.First char is OK [12:20:39]request: POST /json_proto HTTP/1.0 [12:20:39]Method: POST [12:20:39]URL: /json_proto [12:20:39]Method is POST - this is cgi request [12:20:39]url: /json_proto [12:20:39]query_string will be loaded in cgi processing [12:20:39]execute_cgi json_proto POST (null) [12:20:39]execute_cgi path=json_proto method=POST [12:20:39]POST find Content-Length [12:20:39]Host: 172.17.35.196:8080 [12:20:39]Content-Length: 331 [12:20:39]Content-Type: application/json [12:20:39] [12:20:39]POST finish read [12:20:39]Found Content-Length = 331 [12:20:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:20:39]execute_script... [12:20:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:20:39]POST & json_proto [12:20:39]process_json_proto [12:20:39]json parsed OK: [12:20:39]protocol is kg_v1.0 [12:20:39]action value=get_value [12:20:39]process_action get_value [12:20:39]cmd_get_value [12:20:39]process_action get_value done [12:20:39]requested_data is exist [12:20:39]produce_requested_data [12:20:39]requested_item fm.sale.total is exist - process it [12:20:39]SAM_PROTO_GetFMData [12:20:39]wFMCommunicate request_size=4 [12:20:39]MH_SAM_APDU [12:20:39]CAPDU: 80 13 03 00 [12:20:39]Write to MH i2c: E2 08 00 11 18 80 13 03 00 00 00 00 00 A8 [12:20:39]Write i2c OK [12:20:39]MH_I2C_Read... [12:20:40]OFD Sender: No OFD packet to send [12:20:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:20:40]Read from MH i2c: E2 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 11 18 00 C4 04 85 04 C0 04 6E 04 04 00 16 7F 00 00 69 04 A0 00 6F 04 04 00 35 7E 00 00 B1 04 04 00 FE DF A9 3F 70 04 04 00 10 68 F9 34 72 04 04 00 EE 77 B0 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DE E6 C2 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 48 32 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 FE [12:20:40]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 16 7F 00 00 69 04 A0 00 6F 04 04 00 35 7E 00 00 B1 04 04 00 FE DF A9 3F 70 04 04 00 10 68 F9 34 72 04 04 00 EE 77 B0 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DE E6 C2 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 48 32 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [12:20:40]wFMCommunicate OK [12:20:40]wFMCommunicate request_size=4 [12:20:40]MH_SAM_APDU [12:20:40]CAPDU: 80 17 00 00 [12:20:40]Write to MH i2c: E2 08 00 12 18 80 17 00 00 00 00 00 00 AA [12:20:40]Write i2c OK [12:20:40]MH_I2C_Read... [12:20:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:20:40]Read from MH i2c: E2 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 12 18 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 67 [12:20:40]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:20:40]wFMCommunicate OK [12:20:40]wFMCommunicate request_size=4 [12:20:40]MH_SAM_APDU [12:20:40]CAPDU: 80 17 00 00 [12:20:40]Write to MH i2c: E2 08 00 13 18 80 17 00 00 00 00 00 00 AB [12:20:40]Write i2c OK [12:20:40]MH_I2C_Read... [12:20:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:20:40]Read from MH i2c: E2 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 13 18 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 C0 [12:20:40]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:20:40]wFMCommunicate OK [12:20:40]wFMCommunicate request_size=4 [12:20:40]MH_SAM_APDU [12:20:40]CAPDU: 80 17 00 00 [12:20:40]Write to MH i2c: E2 08 00 14 18 80 17 00 00 00 00 00 00 AC [12:20:40]Write i2c OK [12:20:40]MH_I2C_Read... [12:20:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:20:40]Read from MH i2c: E2 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 [12:20:40]MH_I2C_Read... [12:20:40]Read from MH i2c: E2 FD 00 14 18 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 24 [12:20:40]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:20:40]wFMCommunicate OK [12:20:40]wFMCommunicate request_size=4 [12:20:40]MH_SAM_APDU [12:20:40]CAPDU: 80 17 00 00 [12:20:40]Write to MH i2c: E2 08 00 15 18 80 17 00 00 00 00 00 00 AD [12:20:40]Write i2c OK [12:20:40]MH_I2C_Read... [12:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:20:41]Read from MH i2c: E2 [12:20:41]MH_I2C_Read... [12:20:41]Read from MH i2c: E2 E1 00 [12:20:41]MH_I2C_Read... [12:20:41]Read from MH i2c: E2 E1 00 15 18 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9B [12:20:41]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:20:41]wFMCommunicate OK [12:20:41]SAM_PROTO_GetFMData done [12:20:41]requested_item fm.sale_refund.total is exist - process it [12:20:41]requested_item fm.buy.total is exist - process it [12:20:41]requested_item shift.sale.total is exist - process it [12:20:41]SAM_PROTO_GetShiftData [12:20:41]wFMCommunicate request_size=4 [12:20:41]MH_SAM_APDU [12:20:41]CAPDU: 80 13 02 00 [12:20:41]Write to MH i2c: E2 08 00 16 18 80 13 02 00 00 00 00 00 AC [12:20:41]Write i2c OK [12:20:41]MH_I2C_Read... [12:20:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:20:41]Read from MH i2c: E2 [12:20:41]MH_I2C_Read... [12:20:41]Read from MH i2c: E2 FD 00 [12:20:41]MH_I2C_Read... [12:20:41]Read from MH i2c: E2 FD 00 16 18 00 AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 60 C0 07 70 04 03 00 7C 74 05 72 04 03 00 E4 4B 02 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 C0 D2 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 8F 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [12:20:41]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 60 C0 07 70 04 03 00 7C 74 05 72 04 03 00 E4 4B 02 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 C0 D2 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 8F 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [12:20:41]wFMCommunicate OK [12:20:41]wFMCommunicate request_size=4 [12:20:41]MH_SAM_APDU [12:20:41]CAPDU: 80 17 00 00 [12:20:41]Write to MH i2c: E2 08 00 17 18 80 17 00 00 00 00 00 00 AF [12:20:41]Write i2c OK [12:20:41]MH_I2C_Read... [12:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:20:41]Read from MH i2c: E2 [12:20:41]MH_I2C_Read... [12:20:41]Read from MH i2c: E2 FD 00 [12:20:41]MH_I2C_Read... [12:20:41]Read from MH i2c: E2 FD 00 17 18 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 C1 [12:20:41]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [12:20:41]wFMCommunicate OK [12:20:41]wFMCommunicate request_size=4 [12:20:41]MH_SAM_APDU [12:20:41]CAPDU: 80 17 00 00 [12:20:41]Write to MH i2c: E2 08 00 18 18 80 17 00 00 00 00 00 00 B0 [12:20:41]Write i2c OK [12:20:41]MH_I2C_Read... [12:20:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:20:42]Read from MH i2c: E2 [12:20:42]MH_I2C_Read... [12:20:42]Read from MH i2c: E2 FD 00 [12:20:42]MH_I2C_Read... [12:20:42]Read from MH i2c: E2 FD 00 18 18 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 74 [12:20:42]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [12:20:42]wFMCommunicate OK [12:20:42]wFMCommunicate request_size=4 [12:20:42]MH_SAM_APDU [12:20:42]CAPDU: 80 17 00 00 [12:20:42]Write to MH i2c: E2 08 00 19 18 80 17 00 00 00 00 00 00 B1 [12:20:42]Write i2c OK [12:20:42]MH_I2C_Read... [12:20:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:20:42]Read from MH i2c: E2 [12:20:42]MH_I2C_Read... [12:20:42]Read from MH i2c: E2 FD 00 [12:20:42]MH_I2C_Read... [12:20:42]Read from MH i2c: E2 FD 00 19 18 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 26 [12:20:42]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [12:20:42]wFMCommunicate OK [12:20:42]wFMCommunicate request_size=4 [12:20:42]MH_SAM_APDU [12:20:42]CAPDU: 80 17 00 00 [12:20:42]Write to MH i2c: E2 08 00 1A 18 80 17 00 00 00 00 00 00 B2 [12:20:42]Write i2c OK [12:20:42]MH_I2C_Read... [12:20:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [12:20:42]Read from MH i2c: E2 [12:20:42]MH_I2C_Read... [12:20:42]Read from MH i2c: E2 CA 00 [12:20:42]MH_I2C_Read... [12:20:42]Read from MH i2c: E2 CA 00 1A 18 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 97 [12:20:42]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 [12:20:42]wFMCommunicate OK [12:20:42]SAM_PROTO_GetShiftData done [12:20:42]requested_item shift.sale.total_cash is exist - process it [12:20:42]requested_item shift.sale_refund.total is exist - process it [12:20:42]requested_item shift.sale_refund.total_cash is exist - process it [12:20:42]requested_item shift.buy.total is exist - process it [12:20:42]requested_item shift.buy.total_cash is exist - process it [12:20:42]produce_requested_data done [12:20:42]produce_requested_data return {"fm.sale.total":10680975.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":5080.00,"shift.sale.total_cash":3575.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} [12:20:42]process_action_free get_value [12:20:42]json_value_free [12:20:42]json_value_free done [12:20:42]process_json_proto returns [12:20:42]Send response to host [12:20:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10680975.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":5080.00,"shift.sale.total_cash":3575.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}}} [12:20:42]free response buf [12:20:42]execute_script done [12:20:42]execute_script returns [12:20:42]free content buf [12:20:42]Sock 9.Close socket [12:20:42]Sock 9.Thread stoped [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:26]OFD Sender: No OFD packet to send [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:15]accept exits with 7 [12:46:15]New connection [12:46:15]New thread 3066461540 created [12:46:15]Thread 3066604900 joined [12:46:15]Waiting for new connection... [12:46:15] Sock 7.Parse request [12:46:15]Sock 7.Check first char [12:46:15]Sock 7.First char is OK [12:46:15]request: POST /json_proto HTTP/1.0 [12:46:15]Method: POST [12:46:15]URL: /json_proto [12:46:15]Method is POST - this is cgi request [12:46:15]url: /json_proto [12:46:15]query_string will be loaded in cgi processing [12:46:15]execute_cgi json_proto POST (null) [12:46:15]execute_cgi path=json_proto method=POST [12:46:15]POST find Content-Length [12:46:15]Host: 172.17.35.196:8080 [12:46:15]Content-Length: 847 [12:46:15]Content-Type: application/json [12:46:15] [12:46:15]POST finish read [12:46:15]Found Content-Length = 847 [12:46:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169212", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:46:15]execute_script... [12:46:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169212", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:46:15]POST & json_proto [12:46:15]process_json_proto [12:46:15]json parsed OK: [12:46:15]protocol is kg_v1.0 [12:46:15]action value=close_receipt [12:46:15]process_action close_receipt [12:46:15]cmd_close_receipt [12:46:15]MH_GetDate [12:46:15]Write to MH i2c: F0 00 00 1B 18 22 [12:46:15]Write i2c OK [12:46:15]MH_I2C_Read... [12:46:15]Read from MH i2c: F0 [12:46:15]MH_I2C_Read... [12:46:15]Read from MH i2c: F0 09 00 [12:46:15]MH_I2C_Read... [12:46:15]Read from MH i2c: F0 09 00 1B 18 00 1D 77 92 66 AD 14 F4 65 D1 [12:46:15]GetLastDocTimeStamp 1720871777 [12:46:15]current date 1720874781 [12:46:15]FM_GetShiftState [12:46:15]SAM_PROTO_GetShiftState [12:46:15]wFMCommunicate request_size=4 [12:46:15]MH_SAM_APDU [12:46:15]CAPDU: 80 13 01 00 [12:46:15]Write to MH i2c: E2 08 00 1C 18 80 13 01 00 00 00 00 00 B1 [12:46:15]Write i2c OK [12:46:15]MH_I2C_Read... [12:46:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:46:15]Read from MH i2c: E2 [12:46:15]MH_I2C_Read... [12:46:15]Read from MH i2c: E2 0E 00 [12:46:15]MH_I2C_Read... [12:46:15]Read from MH i2c: E2 0E 00 1C 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 90 [12:46:15]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [12:46:15]wFMCommunicate OK [12:46:15]SAM_PROTO_GetShiftState done [12:46:15]FM_GetShiftState done [12:46:15]opened in 1720829207 [12:46:15]opened+sec_in_day 1720915607 [12:46:15]quantity*price = 26000 [12:46:15]sum+1 = 26001 [12:46:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 22 13.07.2024 12:46 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33403 ФПД: 92533286222653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T124621&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33403&fm=92533286222653&tin=02508201610067®Number=0000000000093033&sum=26000 0 [12:46:16]StoreToDocumentArchive [12:46:16]shift 434 fd 33403 [12:46:16]save to /storage/0434/doc_00033403 [12:46:16]save last doc name /storage/0434/doc_00033403 to /storage/kkm_last_doc_name [12:46:16]save OK [12:46:16]Clear old archive folders... [12:46:16]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:46:16]tlvbuf is 00A67150 [12:46:16]SAM_PROTO_ClearQueue [12:46:16]wFMCommunicate request_size=4 [12:46:16]MH_SAM_APDU [12:46:16]CAPDU: 80 09 00 00 [12:46:16]Write to MH i2c: E2 08 00 29 18 80 09 00 00 00 00 00 00 B3 [12:46:16]Write i2c OK [12:46:16]MH_I2C_Read... [12:46:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:46:16]Read from MH i2c: E2 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 29 18 00 90 00 B5 [12:46:16]RAPDU: 90 00 [12:46:16]wFMCommunicate OK [12:46:16]SAM_PROTO_ClearQueue done [12:46:16]KKMCreateOFDPacket [12:46:16]OFDProtocolAddRootSTLVToBuf [12:46:16]FM_MakeSignedData [12:46:16]FM_MakeSignedData [12:46:16]SAM_PROTO_SignData [12:46:16]wFMCommunicate request_size=4 [12:46:16]MH_SAM_APDU [12:46:16]CAPDU: 80 0D 01 02 [12:46:16]Write to MH i2c: E2 08 00 2A 18 80 0D 01 02 00 00 00 00 BB [12:46:16]Write i2c OK [12:46:16]MH_I2C_Read... [12:46:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:46:16]Read from MH i2c: E2 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 2A 18 00 90 00 B6 [12:46:16]RAPDU: 90 00 [12:46:16]wFMCommunicate OK [12:46:16]wFMCommunicate request_size=255 [12:46:16]MH_SAM_APDU [12:46:16]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1D 77 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [12:46:16]Write to MH i2c: E2 02 01 2B 18 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1D 77 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 D2 [12:46:16]Write i2c OK [12:46:16]MH_I2C_Read... [12:46:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:46:16]Read from MH i2c: E2 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 2B 18 00 90 00 B7 [12:46:16]RAPDU: 90 00 [12:46:16]wFMCommunicate OK [12:46:16]wFMCommunicate request_size=41 [12:46:16]MH_SAM_APDU [12:46:16]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7B 82 00 00 35 04 06 00 54 28 95 A7 BB 3D [12:46:16]Write to MH i2c: E2 2C 00 2C 18 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7B 82 00 00 35 04 06 00 54 28 95 A7 BB 3D 00 00 33 [12:46:16]Write i2c OK [12:46:16]MH_I2C_Read... [12:46:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:46:16]Read from MH i2c: E2 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 03 00 2C 18 00 90 00 B8 [12:46:16]RAPDU: 90 00 [12:46:16]wFMCommunicate OK [12:46:16]wFMCommunicate request_size=4 [12:46:16]MH_SAM_APDU [12:46:16]CAPDU: 80 0D 03 02 [12:46:16]Write to MH i2c: E2 08 00 2D 18 80 0D 03 02 00 00 00 00 C0 [12:46:16]Write i2c OK [12:46:16]MH_I2C_Read... [12:46:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:46:16]Read from MH i2c: E2 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 0B 00 [12:46:16]MH_I2C_Read... [12:46:16]Read from MH i2c: E2 0B 00 2D 18 00 D7 3C BA 4E 2E A9 E8 EA 90 00 85 [12:46:16]RAPDU: D7 3C BA 4E 2E A9 E8 EA 90 00 [12:46:16]wFMCommunicate OK [12:46:16]SAM_PROTO_SignData done [12:46:16]FM_MakeSignedData done [12:46:16]CreateOFDProtocolMessage [12:46:16]wFMCommunicate request_size=4 [12:46:16]MH_SAM_APDU [12:46:16]CAPDU: 80 11 00 00 [12:46:16]Write to MH i2c: E2 08 00 2E 18 80 11 00 00 00 00 00 00 C0 [12:46:16]Write i2c OK [12:46:16]MH_I2C_Read... [12:46:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:46:17]Read from MH i2c: E2 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: E2 17 00 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: E2 17 00 2E 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 0C [12:46:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:46:17]wFMCommunicate OK [12:46:17]CreateOFDProtocolMessage done [12:46:17]OFDSenderStorePacket 33403 [12:46:17]StoreOFDPacket docnum=33403 [12:46:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 EB B8 26 01 C3 37 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1D 77 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7B 82 00 00 35 04 06 00 54 28 95 A7 BB 3D D7 3C BA 4E 2E A9 E8 EA [12:46:17]CheckFolder [12:46:17]dirname=/storage/ofd_packets [12:46:17]CheckFolder done [12:46:17]ProducePacketName [12:46:17]name=ofd_packets/00033403 [12:46:17]NVStorageSaveData ofd_packets/00033403 [12:46:17]File name is /storage/ofd_packets/00033403 [12:46:17]Write 332 bytes [12:46:17]NVStorageSaveData done [12:46:17]OFDSenderStorePacket done [12:46:17]KKMCreateOFDPacket done [12:46:17]NVStorageSaveData kkm_last_timestamp [12:46:17]File name is /storage/kkm_last_timestamp [12:46:17]Write 4 bytes [12:46:17]NVStorageSaveData done [12:46:17]ExternCall_PrintAddStr [12:46:17]wPrintStart [12:46:17]Write to MH i2c: 01 00 00 2F 18 47 [12:46:17]Write i2c OK [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: 01 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: 01 07 00 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: 01 07 00 2F 18 00 00 00 00 00 FF 0F 5C [12:46:17]RasterBufferAndPrint [12:46:17]line Счет N : (3)169212 [12:46:17]line ИНН: 02508201610067 [12:46:17]line Контрольно-Кассовый Чек [12:46:17]line ПРОДАЖА [12:46:17]line Товар: 2000036220012 [12:46:17]line Кофе Капучино XL(GABB TRADE) [12:46:17]line 2.000 * 130.00 [12:46:17]line = 260.00 [12:46:17]line НДС 12% НСП 1% [12:46:17]line > о реализуемом товаре [12:46:17]line ИТОГО: 260.00 [12:46:17]line НСП 1% : 2.30 [12:46:17]line НДС 12% : 27.61 [12:46:17]line Наличными: 0.00 [12:46:17]line Безнал.: 260.00 [12:46:17]line Место: АЗС № 77 "Партнер Нефть" [12:46:17]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:46:17]line СНО: Общий режим [12:46:17]line Чек 22 13.07.2024 12:46 [12:46:17]line Смена: 434 ФФД: 1.0 [12:46:17]line ЗНМ: 0300000122 [12:46:17]line РНМ: 0000000000093033 [12:46:17]line Версия ККМ: 001 [12:46:17]line Платежная система: АКБ Кыргызстан [12:46:17]line ФМ: 0000000000875104 [12:46:17]line ФД: 33403 [12:46:17]line ФПД: 92533286222653 [12:46:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T124621&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33403&fm=92533286222653&tin=02508201610067®Number=0000000000093033&sum=26000 [12:46:17]line 0 [12:46:17]OFD Sender: Processing packet 33403 [packets to send 6, broken 5] [12:46:17]ProducePacketName [12:46:17]name=ofd_packets/00033403 [12:46:17]OFD Sender: To server: pG, [12:46:17]CommunicateWithHost lk.salyk.kg:30040 [12:46:17]ConnectInit lk.salyk.kg [12:46:17]written 0, free lines is 4095 [12:46:17]Connected sock=10 [12:46:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 EB B8 26 01 C3 37 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1D 77 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7B 82 00 00 35 04 06 00 54 28 95 A7 BB 3D D7 3C BA 4E 2E A9 E8 EA [12:46:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 55 14 47 00 4D 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7B 82 00 00 F4 03 04 00 C7 21 92 66 B6 04 01 00 00 D4 29 AE 4E 92 3F 80 AA [12:46:17]CommunicateWithHost err = 0 [12:46:17]CheckOFDResponse [12:46:17]1017 (14) - 77093643461234 [12:46:17]1041 (16) - 0000000000875104 [12:46:17]1040 (4) - 33403 [12:46:17]1012 (4) - 13.07.2024 06:42 [12:46:17]1206 (1) - 0 [12:46:17]OFD Sender: Remove packet 33403 [12:46:17]ProducePacketName [12:46:17]name=ofd_packets/00033403 [12:46:17]NVStorageDeleteData [12:46:17]Write to MH i2c: 01 00 00 5A 18 72 [12:46:17]Write i2c OK [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: 01 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: 01 07 00 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: 01 07 00 5A 18 00 00 00 00 00 D4 0C 59 [12:46:17]RasterBufferAndPrint [12:46:17]line [12:46:17]line [12:46:17]line [12:46:17]line [12:46:17]line [12:46:17]written 0, free lines is 3290 [12:46:17]MH_Cut [12:46:17]Write to MH i2c: D1 01 00 61 18 01 4B [12:46:17]Write i2c OK [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: D1 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: D1 01 00 [12:46:17]MH_I2C_Read... [12:46:17]Read from MH i2c: D1 01 00 61 18 00 4A [12:46:17]Write to MH i2c: 01 00 00 62 18 7A [12:46:17]Write i2c OK [12:46:17]MH_I2C_Read... [12:46:18]OFD Sender: No OFD packet to send [12:46:18]*** Cut start [12:46:18]*** Partial cut [12:46:18]*** CUTSNS_PIN = 1 [12:46:18]*** CUTSNS_PIN = 0 [12:46:18]*** Brake cut motor [12:46:19]Read from MH i2c: 01 [12:46:19]MH_I2C_Read... [12:46:19]*** Stop cut motor [12:46:19]*** Cut end [12:46:19]Read from MH i2c: 01 07 00 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: 01 07 00 62 18 00 00 00 00 00 FF 0F 8F [12:46:19]process_action close_receipt done [12:46:19]requested_data is exist [12:46:19]produce_requested_data [12:46:19]requested_item fm.sn is exist - process it [12:46:19]wFMCommunicate request_size=4 [12:46:19]MH_SAM_APDU [12:46:19]CAPDU: 80 11 00 00 [12:46:19]Write to MH i2c: E2 08 00 63 18 80 11 00 00 00 00 00 00 F5 [12:46:19]Write i2c OK [12:46:19]MH_I2C_Read... [12:46:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:46:19]Read from MH i2c: E2 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: E2 17 00 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: E2 17 00 63 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 41 [12:46:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:46:19]wFMCommunicate OK [12:46:19]requested_item fd.num is exist - process it [12:46:19]SAM_PROTO_GetFieldsCounters [12:46:19]wFMCommunicate request_size=4 [12:46:19]MH_SAM_APDU [12:46:19]CAPDU: 80 13 00 00 [12:46:19]Write to MH i2c: E2 08 00 64 18 80 13 00 00 00 00 00 00 F8 [12:46:19]Write i2c OK [12:46:19]MH_I2C_Read... [12:46:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:46:19]Read from MH i2c: E2 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: E2 62 00 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: E2 62 00 64 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7B 82 00 00 0E 04 04 00 B2 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 FD [12:46:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7B 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:46:19]wFMCommunicate OK [12:46:19]SAM_PROTO_GetFieldsCounters done [12:46:19]requested_item shift.num is exist - process it [12:46:19]requested_item shift.opened is exist - process it [12:46:19]req_shift_opened [12:46:19]FM_GetShiftState [12:46:19]SAM_PROTO_GetShiftState [12:46:19]wFMCommunicate request_size=4 [12:46:19]MH_SAM_APDU [12:46:19]CAPDU: 80 13 01 00 [12:46:19]Write to MH i2c: E2 08 00 65 18 80 13 01 00 00 00 00 00 FA [12:46:19]Write i2c OK [12:46:19]MH_I2C_Read... [12:46:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:46:19]Read from MH i2c: E2 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: E2 0E 00 [12:46:19]MH_I2C_Read... [12:46:19]Read from MH i2c: E2 0E 00 65 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 D9 [12:46:19]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [12:46:19]wFMCommunicate OK [12:46:19]SAM_PROTO_GetShiftState done [12:46:19]FM_GetShiftState done [12:46:19]req_shift_opened done [12:46:19]requested_item shift.open_date is exist - process it [12:46:19]req_shift_open_date [12:46:19]req_shift_open_date done [12:46:19]produce_requested_data done [12:46:19]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33403,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [12:46:19]process_action_free close_receipt [12:46:19]json_value_free [12:46:19]json_value_free done [12:46:19]process_json_proto returns [12:46:19]Send response to host [12:46:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33403,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [12:46:19]free response buf [12:46:19]execute_script done [12:46:19]execute_script returns [12:46:19]free content buf [12:46:19]Sock 7.Close socket [12:46:19]Sock 7.Thread stoped [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:00]accept exits with 9 [12:59:00]New connection [12:59:00]New thread 3066604900 created [12:59:00]Thread 3066461540 joined [12:59:00]Waiting for new connection... [12:59:00] Sock 9.Parse request [12:59:00]Sock 9.Check first char [12:59:00]Sock 9.First char is OK [12:59:00]request: POST /json_proto HTTP/1.0 [12:59:00]Method: POST [12:59:00]URL: /json_proto [12:59:00]Method is POST - this is cgi request [12:59:00]url: /json_proto [12:59:00]query_string will be loaded in cgi processing [12:59:00]execute_cgi json_proto POST (null) [12:59:00]execute_cgi path=json_proto method=POST [12:59:00]POST find Content-Length [12:59:00]Host: 172.17.35.196:8080 [12:59:00]Content-Length: 624 [12:59:00]Content-Type: application/json [12:59:00] [12:59:00]POST finish read [12:59:00]Found Content-Length = 624 [12:59:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169213", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:00]execute_script... [12:59: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)169213", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:00]POST & json_proto [12:59:00]process_json_proto [12:59:00]json parsed OK: [12:59:00]protocol is kg_v1.0 [12:59:00]action value=close_receipt [12:59:00]process_action close_receipt [12:59:00]cmd_close_receipt [12:59:00]MH_GetDate [12:59:00]Write to MH i2c: F0 00 00 66 18 6D [12:59:00]Write i2c OK [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: F0 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: F0 09 00 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: F0 09 00 66 18 00 1A 7A 92 66 AD 14 F4 65 1C [12:59:00]GetLastDocTimeStamp 1720874781 [12:59:00]current date 1720875546 [12:59:00]FM_GetShiftState [12:59:00]SAM_PROTO_GetShiftState [12:59:00]wFMCommunicate request_size=4 [12:59:00]MH_SAM_APDU [12:59:00]CAPDU: 80 13 01 00 [12:59:00]Write to MH i2c: E2 08 00 67 18 80 13 01 00 00 00 00 00 FC [12:59:00]Write i2c OK [12:59:00]MH_I2C_Read... [12:59:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:00]Read from MH i2c: E2 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 0E 00 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 0E 00 67 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 DB [12:59:00]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [12:59:00]wFMCommunicate OK [12:59:00]SAM_PROTO_GetShiftState done [12:59:00]FM_GetShiftState done [12:59:00]opened in 1720829207 [12:59:00]opened+sec_in_day 1720915607 [12:59:00]quantity*price = 15100 [12:59:00]sum+1 = 15101 [12:59:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 23 13.07.2024 12:59 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33404 ФПД: 204201104294430 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T125906&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33404&fm=204201104294430&tin=02508201610067®Number=0000000000093033&sum=15100 0 [12:59:01]StoreToDocumentArchive [12:59:01]shift 434 fd 33404 [12:59:01]save to /storage/0434/doc_00033404 [12:59:01]save last doc name /storage/0434/doc_00033404 to /storage/kkm_last_doc_name [12:59:01]save OK [12:59:01]Clear old archive folders... [12:59:01]ProcessDocumentItem done err = 0, tmpTLVsize=276 [12:59:01]tlvbuf is 00A3AFB0 [12:59:01]SAM_PROTO_ClearQueue [12:59:01]wFMCommunicate request_size=4 [12:59:01]MH_SAM_APDU [12:59:01]CAPDU: 80 09 00 00 [12:59:01]Write to MH i2c: E2 08 00 74 18 80 09 00 00 00 00 00 00 FE [12:59:01]Write i2c OK [12:59:01]MH_I2C_Read... [12:59:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:59:01]Read from MH i2c: E2 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 74 18 00 90 00 00 [12:59:01]RAPDU: 90 00 [12:59:01]wFMCommunicate OK [12:59:01]SAM_PROTO_ClearQueue done [12:59:01]KKMCreateOFDPacket [12:59:01]OFDProtocolAddRootSTLVToBuf [12:59:01]FM_MakeSignedData [12:59:01]FM_MakeSignedData [12:59:01]SAM_PROTO_SignData [12:59:01]wFMCommunicate request_size=4 [12:59:01]MH_SAM_APDU [12:59:01]CAPDU: 80 0D 01 02 [12:59:01]Write to MH i2c: E2 08 00 75 18 80 0D 01 02 00 00 00 00 06 [12:59:01]Write i2c OK [12:59:01]MH_I2C_Read... [12:59:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:59:01]Read from MH i2c: E2 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 75 18 00 90 00 01 [12:59:01]RAPDU: 90 00 [12:59:01]wFMCommunicate OK [12:59:01]wFMCommunicate request_size=255 [12:59:01]MH_SAM_APDU [12:59:01]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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 7A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 [12:59:01]Write to MH i2c: E2 02 01 76 18 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 7A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 00 00 A7 [12:59:01]Write i2c OK [12:59:01]MH_I2C_Read... [12:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:59:01]Read from MH i2c: E2 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 76 18 00 90 00 02 [12:59:01]RAPDU: 90 00 [12:59:01]wFMCommunicate OK [12:59:01]wFMCommunicate request_size=35 [12:59:01]MH_SAM_APDU [12:59:01]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7C 82 00 00 35 04 06 00 B9 B8 46 48 C2 1E [12:59:01]Write to MH i2c: E2 26 00 77 18 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7C 82 00 00 35 04 06 00 B9 B8 46 48 C2 1E 00 00 D2 [12:59:01]Write i2c OK [12:59:01]MH_I2C_Read... [12:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:59:01]Read from MH i2c: E2 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 03 00 77 18 00 90 00 03 [12:59:01]RAPDU: 90 00 [12:59:01]wFMCommunicate OK [12:59:01]wFMCommunicate request_size=4 [12:59:01]MH_SAM_APDU [12:59:01]CAPDU: 80 0D 03 02 [12:59:01]Write to MH i2c: E2 08 00 78 18 80 0D 03 02 00 00 00 00 0B [12:59:01]Write i2c OK [12:59:01]MH_I2C_Read... [12:59:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:59:01]Read from MH i2c: E2 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 0B 00 [12:59:01]MH_I2C_Read... [12:59:01]Read from MH i2c: E2 0B 00 78 18 00 68 F2 3C 53 57 05 5C DE 90 00 8B [12:59:01]RAPDU: 68 F2 3C 53 57 05 5C DE 90 00 [12:59:01]wFMCommunicate OK [12:59:01]SAM_PROTO_SignData done [12:59:01]FM_MakeSignedData done [12:59:01]CreateOFDProtocolMessage [12:59:01]wFMCommunicate request_size=4 [12:59:01]MH_SAM_APDU [12:59:01]CAPDU: 80 11 00 00 [12:59:01]Write to MH i2c: E2 08 00 79 18 80 11 00 00 00 00 00 00 0B [12:59:01]Write i2c OK [12:59:01]MH_I2C_Read... [12:59:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:02]Read from MH i2c: E2 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: E2 17 00 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: E2 17 00 79 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 57 [12:59:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:59:02]wFMCommunicate OK [12:59:02]CreateOFDProtocolMessage done [12:59:02]OFDSenderStorePacket 33404 [12:59:02]StoreOFDPacket docnum=33404 [12:59:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 32 BA 20 01 63 E3 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 7A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7C 82 00 00 35 04 06 00 B9 B8 46 48 C2 1E 68 F2 3C 53 57 05 5C DE [12:59:02]CheckFolder [12:59:02]dirname=/storage/ofd_packets [12:59:02]CheckFolder done [12:59:02]ProducePacketName [12:59:02]name=ofd_packets/00033404 [12:59:02]NVStorageSaveData ofd_packets/00033404 [12:59:02]File name is /storage/ofd_packets/00033404 [12:59:02]Write 326 bytes [12:59:02]NVStorageSaveData done [12:59:02]OFDSenderStorePacket done [12:59:02]KKMCreateOFDPacket done [12:59:02]NVStorageSaveData kkm_last_timestamp [12:59:02]File name is /storage/kkm_last_timestamp [12:59:02]Write 4 bytes [12:59:02]OFD Sender: Processing packet 33404 [packets to send 6, broken 5] [12:59:02]ProducePacketName [12:59:02]name=ofd_packets/00033404 [12:59:02]OFD Sender: To server: pG, [12:59:02]CommunicateWithHost lk.salyk.kg:30040 [12:59:02]ConnectInit lk.salyk.kg [12:59:02]NVStorageSaveData done [12:59:02]ExternCall_PrintAddStr [12:59:02]wPrintStart [12:59:02]Write to MH i2c: 01 00 00 7A 18 92 [12:59:02]Write i2c OK [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: 01 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: 01 07 00 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: 01 07 00 7A 18 00 00 00 00 00 FF 0F A7 [12:59:02]RasterBufferAndPrint [12:59:02]line Счет N : (3)169213 [12:59:02]line ИНН: 02508201610067 [12:59:02]line Контрольно-Кассовый Чек [12:59:02]line ПРОДАЖА [12:59:02]line Товар: 48742245 [12:59:02]line Сигареты Parliament Silver Blue [12:59:02]line 1.000 * 151.00 [12:59:02]line = 151.00 [12:59:02]line НДС 12% НСП 1% [12:59:02]line > о реализуемом товаре [12:59:02]line ИТОГО: 151.00 [12:59:02]line НСП 1% : 1.34 [12:59:02]line НДС 12% : 16.03 [12:59:02]line Наличными: 151.00 [12:59:02]line Безнал.: 0.00 [12:59:02]line Место: АЗС № 77 "Партнер Нефть" [12:59:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:59:02]line СНО: Общий режим [12:59:02]line Чек 23 13.07.2024 12:59 [12:59:02]line Смена: 434 ФФД: 1.0 [12:59:02]line ЗНМ: 0300000122 [12:59:02]line РНМ: 0000000000093033 [12:59:02]line Версия ККМ: 001 [12:59:02]line ФМ: 0000000000875104 [12:59:02]line ФД: 33404 [12:59:02]line ФПД: 204201104294430 [12:59:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T125906&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33404&fm=204201104294430&tin=02508201610067®Number=0000000000093033&sum=15100 [12:59:02]line 0 [12:59:02]Connected sock=11 [12:59:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 32 BA 20 01 63 E3 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 7A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7C 82 00 00 35 04 06 00 B9 B8 46 48 C2 1E 68 F2 3C 53 57 05 5C DE [12:59:02]written 0, free lines is 4095 [12:59:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0E F4 47 00 EC 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7C 82 00 00 F4 03 04 00 C4 24 92 66 B6 04 01 00 00 E5 FC 55 08 1C 68 F6 4E [12:59:02]CommunicateWithHost err = 0 [12:59:02]CheckOFDResponse [12:59:02]1017 (14) - 77093643461234 [12:59:02]1041 (16) - 0000000000875104 [12:59:02]1040 (4) - 33404 [12:59:02]1012 (4) - 13.07.2024 06:55 [12:59:02]1206 (1) - 0 [12:59:02]OFD Sender: Remove packet 33404 [12:59:02]ProducePacketName [12:59:02]name=ofd_packets/00033404 [12:59:02]NVStorageDeleteData [12:59:02]Write to MH i2c: 01 00 00 A3 18 BB [12:59:02]Write i2c OK [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: 01 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: 01 07 00 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: 01 07 00 A3 18 00 00 00 00 00 C9 0C 97 [12:59:02]RasterBufferAndPrint [12:59:02]line [12:59:02]line [12:59:02]line [12:59:02]line [12:59:02]line [12:59:02]written 0, free lines is 3278 [12:59:02]MH_Cut [12:59:02]Write to MH i2c: D1 01 00 AA 18 01 94 [12:59:02]Write i2c OK [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: D1 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: D1 01 00 [12:59:02]MH_I2C_Read... [12:59:02]Read from MH i2c: D1 01 00 AA 18 00 93 [12:59:02]Write to MH i2c: 01 00 00 AB 18 C3 [12:59:02]Write i2c OK [12:59:02]MH_I2C_Read... [12:59:03]OFD Sender: No OFD packet to send [12:59:03]*** Cut start [12:59:03]*** Partial cut [12:59:03]*** CUTSNS_PIN = 1 [12:59:03]*** CUTSNS_PIN = 0 [12:59:03]*** Brake cut motor [12:59:04]Read from MH i2c: 01 [12:59:04]MH_I2C_Read... [12:59:04]*** Stop cut motor [12:59:04]*** Cut end [12:59:04]Read from MH i2c: 01 07 00 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: 01 07 00 AB 18 00 00 00 00 00 FF 0F D8 [12:59:04]process_action close_receipt done [12:59:04]requested_data is exist [12:59:04]produce_requested_data [12:59:04]requested_item fm.sn is exist - process it [12:59:04]wFMCommunicate request_size=4 [12:59:04]MH_SAM_APDU [12:59:04]CAPDU: 80 11 00 00 [12:59:04]Write to MH i2c: E2 08 00 AC 18 80 11 00 00 00 00 00 00 3E [12:59:04]Write i2c OK [12:59:04]MH_I2C_Read... [12:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:04]Read from MH i2c: E2 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: E2 17 00 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: E2 17 00 AC 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8A [12:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:59:04]wFMCommunicate OK [12:59:04]requested_item fd.num is exist - process it [12:59:04]SAM_PROTO_GetFieldsCounters [12:59:04]wFMCommunicate request_size=4 [12:59:04]MH_SAM_APDU [12:59:04]CAPDU: 80 13 00 00 [12:59:04]Write to MH i2c: E2 08 00 AD 18 80 13 00 00 00 00 00 00 41 [12:59:04]Write i2c OK [12:59:04]MH_I2C_Read... [12:59:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:59:04]Read from MH i2c: E2 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: E2 62 00 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: E2 62 00 AD 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7C 82 00 00 0E 04 04 00 B2 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 4A [12:59:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:59:04]wFMCommunicate OK [12:59:04]SAM_PROTO_GetFieldsCounters done [12:59:04]requested_item shift.num is exist - process it [12:59:04]requested_item shift.opened is exist - process it [12:59:04]req_shift_opened [12:59:04]FM_GetShiftState [12:59:04]SAM_PROTO_GetShiftState [12:59:04]wFMCommunicate request_size=4 [12:59:04]MH_SAM_APDU [12:59:04]CAPDU: 80 13 01 00 [12:59:04]Write to MH i2c: E2 08 00 AE 18 80 13 01 00 00 00 00 00 43 [12:59:04]Write i2c OK [12:59:04]MH_I2C_Read... [12:59:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:04]Read from MH i2c: E2 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: E2 0E 00 [12:59:04]MH_I2C_Read... [12:59:04]Read from MH i2c: E2 0E 00 AE 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 22 [12:59:04]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [12:59:04]wFMCommunicate OK [12:59:04]SAM_PROTO_GetShiftState done [12:59:04]FM_GetShiftState done [12:59:04]req_shift_opened done [12:59:04]requested_item shift.open_date is exist - process it [12:59:04]req_shift_open_date [12:59:04]req_shift_open_date done [12:59:04]produce_requested_data done [12:59:04]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33404,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [12:59:04]process_action_free close_receipt [12:59:04]json_value_free [12:59:04]json_value_free done [12:59:04]process_json_proto returns [12:59:04]Send response to host [12:59:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33404,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [12:59:04]free response buf [12:59:04]execute_script done [12:59:04]execute_script returns [12:59:04]free content buf [12:59:04]Sock 9.Close socket [12:59:04]Sock 9.Thread stoped [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]accept exits with 7 [13:06:28]New connection [13:06:28]New thread 3066461540 created [13:06:28]Thread 3066604900 joined [13:06:28]Waiting for new connection... [13:06:28] Sock 7.Parse request [13:06:28]Sock 7.Check first char [13:06:28]Sock 7.First char is OK [13:06:28]request: POST /json_proto HTTP/1.0 [13:06:28]Method: POST [13:06:28]URL: /json_proto [13:06:28]Method is POST - this is cgi request [13:06:28]url: /json_proto [13:06:28]query_string will be loaded in cgi processing [13:06:28]execute_cgi json_proto POST (null) [13:06:28]execute_cgi path=json_proto method=POST [13:06:28]POST find Content-Length [13:06:28]Host: 172.17.35.196:8080 [13:06:28]Content-Length: 620 [13:06:28]Content-Type: application/json [13:06:28] [13:06:28]POST finish read [13:06:28]Found Content-Length = 620 [13:06:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169214", "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" ] } } [13:06:28]execute_script... [13:06: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)169214", "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" ] } } [13:06:28]POST & json_proto [13:06:28]process_json_proto [13:06:28]json parsed OK: [13:06:28]protocol is kg_v1.0 [13:06:28]action value=close_receipt [13:06:28]process_action close_receipt [13:06:28]cmd_close_receipt [13:06:28]MH_GetDate [13:06:28]Write to MH i2c: F0 00 00 AF 18 B6 [13:06:28]Write i2c OK [13:06:28]MH_I2C_Read... [13:06:28]Read from MH i2c: F0 [13:06:28]MH_I2C_Read... [13:06:28]Read from MH i2c: F0 09 00 [13:06:28]MH_I2C_Read... [13:06:28]Read from MH i2c: F0 09 00 AF 18 00 DA 7B 92 66 AD 14 F4 65 26 [13:06:28]GetLastDocTimeStamp 1720875546 [13:06:28]current date 1720875994 [13:06:28]FM_GetShiftState [13:06:28]SAM_PROTO_GetShiftState [13:06:28]wFMCommunicate request_size=4 [13:06:28]MH_SAM_APDU [13:06:28]CAPDU: 80 13 01 00 [13:06:28]Write to MH i2c: E2 08 00 B0 18 80 13 01 00 00 00 00 00 45 [13:06:28]Write i2c OK [13:06:28]MH_I2C_Read... [13:06:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:28]Read from MH i2c: E2 [13:06:28]MH_I2C_Read... [13:06:28]Read from MH i2c: E2 0E 00 [13:06:28]MH_I2C_Read... [13:06:28]Read from MH i2c: E2 0E 00 B0 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 24 [13:06:28]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:06:28]wFMCommunicate OK [13:06:28]SAM_PROTO_GetShiftState done [13:06:28]FM_GetShiftState done [13:06:28]opened in 1720829207 [13:06:28]opened+sec_in_day 1720915607 [13:06:28]quantity*price = 13800 [13:06:28]sum+1 = 13801 [13:06:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 24 13.07.2024 13:06 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33405 ФПД: 56281549329235 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130634&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33405&fm=56281549329235&tin=02508201610067®Number=0000000000093033&sum=13800 0 [13:06:29]StoreToDocumentArchive [13:06:29]shift 434 fd 33405 [13:06:29]save to /storage/0434/doc_00033405 [13:06:29]save last doc name /storage/0434/doc_00033405 to /storage/kkm_last_doc_name [13:06:29]save OK [13:06:29]Clear old archive folders... [13:06:29]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:06:29]tlvbuf is B6E6C9D0 [13:06:29]SAM_PROTO_ClearQueue [13:06:29]wFMCommunicate request_size=4 [13:06:29]MH_SAM_APDU [13:06:29]CAPDU: 80 09 00 00 [13:06:29]Write to MH i2c: E2 08 00 BD 18 80 09 00 00 00 00 00 00 47 [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:06:29]Read from MH i2c: E2 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 BD 18 00 90 00 49 [13:06:29]RAPDU: 90 00 [13:06:29]wFMCommunicate OK [13:06:29]SAM_PROTO_ClearQueue done [13:06:29]KKMCreateOFDPacket [13:06:29]OFDProtocolAddRootSTLVToBuf [13:06:29]FM_MakeSignedData [13:06:29]FM_MakeSignedData [13:06:29]SAM_PROTO_SignData [13:06:29]wFMCommunicate request_size=4 [13:06:29]MH_SAM_APDU [13:06:29]CAPDU: 80 0D 01 02 [13:06:29]Write to MH i2c: E2 08 00 BE 18 80 0D 01 02 00 00 00 00 4F [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:06:29]Read from MH i2c: E2 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 BE 18 00 90 00 4A [13:06:29]RAPDU: 90 00 [13:06:29]wFMCommunicate OK [13:06:29]wFMCommunicate request_size=255 [13:06:29]MH_SAM_APDU [13:06:29]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 18 00 00 00 F4 03 04 00 DA 7B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 [13:06:29]Write to MH i2c: E2 02 01 BF 18 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 18 00 00 00 F4 03 04 00 DA 7B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 88 [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:29]Read from MH i2c: E2 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 BF 18 00 90 00 4B [13:06:29]RAPDU: 90 00 [13:06:29]wFMCommunicate OK [13:06:29]wFMCommunicate request_size=31 [13:06:29]MH_SAM_APDU [13:06:29]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 31 30 34 10 04 04 00 7D 82 00 00 35 04 06 00 33 30 11 C1 53 53 [13:06:29]Write to MH i2c: E2 22 00 C0 18 80 0D 02 02 1A 00 30 30 38 37 35 31 30 34 10 04 04 00 7D 82 00 00 35 04 06 00 33 30 11 C1 53 53 00 00 50 [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:29]Read from MH i2c: E2 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 03 00 C0 18 00 90 00 4C [13:06:29]RAPDU: 90 00 [13:06:29]wFMCommunicate OK [13:06:29]wFMCommunicate request_size=4 [13:06:29]MH_SAM_APDU [13:06:29]CAPDU: 80 0D 03 02 [13:06:29]Write to MH i2c: E2 08 00 C1 18 80 0D 03 02 00 00 00 00 54 [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:06:29]Read from MH i2c: E2 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 0B 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 0B 00 C1 18 00 50 76 C5 8B 5A 7B E3 66 90 00 89 [13:06:29]RAPDU: 50 76 C5 8B 5A 7B E3 66 90 00 [13:06:29]wFMCommunicate OK [13:06:29]SAM_PROTO_SignData done [13:06:29]FM_MakeSignedData done [13:06:29]CreateOFDProtocolMessage [13:06:29]wFMCommunicate request_size=4 [13:06:29]MH_SAM_APDU [13:06:29]CAPDU: 80 11 00 00 [13:06:29]Write to MH i2c: E2 08 00 C2 18 80 11 00 00 00 00 00 00 54 [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:06:29]Read from MH i2c: E2 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 17 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: E2 17 00 C2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A0 [13:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:06:29]wFMCommunicate OK [13:06:29]CreateOFDProtocolMessage done [13:06:29]OFDSenderStorePacket 33405 [13:06:29]StoreOFDPacket docnum=33405 [13:06:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 30 E8 1C 01 7A 7B 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 18 00 00 00 F4 03 04 00 DA 7B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7D 82 00 00 35 04 06 00 33 30 11 C1 53 53 50 76 C5 8B 5A 7B E3 66 [13:06:29]CheckFolder [13:06:29]dirname=/storage/ofd_packets [13:06:29]CheckFolder done [13:06:29]ProducePacketName [13:06:29]name=ofd_packets/00033405 [13:06:29]NVStorageSaveData ofd_packets/00033405 [13:06:29]File name is /storage/ofd_packets/00033405 [13:06:29]Write 322 bytes [13:06:29]NVStorageSaveData done [13:06:29]OFDSenderStorePacket done [13:06:29]KKMCreateOFDPacket done [13:06:29]NVStorageSaveData kkm_last_timestamp [13:06:29]File name is /storage/kkm_last_timestamp [13:06:29]Write 4 bytes [13:06:29]NVStorageSaveData done [13:06:29]ExternCall_PrintAddStr [13:06:29]wPrintStart [13:06:29]Write to MH i2c: 01 00 00 C3 18 DB [13:06:29]Write i2c OK [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: 01 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: 01 07 00 [13:06:29]MH_I2C_Read... [13:06:29]Read from MH i2c: 01 07 00 C3 18 00 00 00 00 00 FF 0F F0 [13:06:29]RasterBufferAndPrint [13:06:29]line Счет N : (3)169214 [13:06:29]line ИНН: 02508201610067 [13:06:29]line Контрольно-Кассовый Чек [13:06:29]line ПРОДАЖА [13:06:29]line Товар: 4640030091607 [13:06:29]line Сигареты ESSE Exchange [13:06:29]line 1.000 * 138.00 [13:06:29]line = 138.00 [13:06:29]line НДС 12% НСП 1% [13:06:29]line > о реализуемом товаре [13:06:29]line ИТОГО: 138.00 [13:06:29]line НСП 1% : 1.22 [13:06:29]line НДС 12% : 14.65 [13:06:29]line Наличными: 138.00 [13:06:29]line Безнал.: 0.00 [13:06:29]line Место: АЗС № 77 "Партнер Нефть" [13:06:29]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:06:29]line СНО: Общий режим [13:06:29]line Чек 24 13.07.2024 13:06 [13:06:29]line Смена: 434 ФФД: 1.0 [13:06:29]line ЗНМ: 0300000122 [13:06:29]line РНМ: 0000000000093033 [13:06:29]line Версия ККМ: 001 [13:06:29]line ФМ: 0000000000875104 [13:06:29]line ФД: 33405 [13:06:29]line ФПД: 56281549329235 [13:06:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130634&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33405&fm=56281549329235&tin=02508201610067®Number=0000000000093033&sum=13800 [13:06:29]line 0 [13:06:29]written 0, free lines is 4095 [13:06:30]OFD Sender: Processing packet 33405 [packets to send 6, broken 5] [13:06:30]ProducePacketName [13:06:30]name=ofd_packets/00033405 [13:06:30]OFD Sender: To server: pG, [13:06:30]CommunicateWithHost lk.salyk.kg:30040 [13:06:30]ConnectInit lk.salyk.kg [13:06:30]Connected sock=10 [13:06:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 30 E8 1C 01 7A 7B 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 18 00 00 00 F4 03 04 00 DA 7B 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7D 82 00 00 35 04 06 00 33 30 11 C1 53 53 50 76 C5 8B 5A 7B E3 66 [13:06:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 B2 28 47 00 C3 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7D 82 00 00 F4 03 04 00 84 26 92 66 B6 04 01 00 00 DF EE 21 FB 4B 15 54 E0 [13:06:30]CommunicateWithHost err = 0 [13:06:30]CheckOFDResponse [13:06:30]1017 (14) - 77093643461234 [13:06:30]1041 (16) - 0000000000875104 [13:06:30]1040 (4) - 33405 [13:06:30]1012 (4) - 13.07.2024 07:02 [13:06:30]1206 (1) - 0 [13:06:30]OFD Sender: Remove packet 33405 [13:06:30]ProducePacketName [13:06:30]name=ofd_packets/00033405 [13:06:30]NVStorageDeleteData [13:06:30]Write to MH i2c: 01 00 00 EB 18 03 [13:06:30]Write i2c OK [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: 01 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: 01 07 00 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: 01 07 00 EB 18 00 00 00 00 00 03 0D 1A [13:06:30]RasterBufferAndPrint [13:06:30]line [13:06:30]line [13:06:30]line [13:06:30]line [13:06:30]line [13:06:30]written 0, free lines is 3337 [13:06:30]MH_Cut [13:06:30]Write to MH i2c: D1 01 00 F2 18 01 DC [13:06:30]Write i2c OK [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: D1 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: D1 01 00 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: D1 01 00 F2 18 00 DB [13:06:30]Write to MH i2c: 01 00 00 F3 18 0B [13:06:30]Write i2c OK [13:06:30]MH_I2C_Read... [13:06:30]OFD Sender: No OFD packet to send [13:06:31]*** Cut start [13:06:31]*** Partial cut [13:06:31]*** CUTSNS_PIN = 1 [13:06:31]*** CUTSNS_PIN = 0 [13:06:31]*** Brake cut motor [13:06:31]Read from MH i2c: 01 [13:06:31]MH_I2C_Read... [13:06:31]*** Stop cut motor [13:06:31]*** Cut end [13:06:31]Read from MH i2c: 01 07 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: 01 07 00 F3 18 00 00 00 00 00 FF 0F 20 [13:06:31]process_action close_receipt done [13:06:31]requested_data is exist [13:06:31]produce_requested_data [13:06:31]requested_item fm.sn is exist - process it [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 11 00 00 [13:06:31]Write to MH i2c: E2 08 00 F4 18 80 11 00 00 00 00 00 00 86 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 17 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 17 00 F4 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D2 [13:06:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:06:31]wFMCommunicate OK [13:06:31]requested_item fd.num is exist - process it [13:06:31]SAM_PROTO_GetFieldsCounters [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 13 00 00 [13:06:31]Write to MH i2c: E2 08 00 F5 18 80 13 00 00 00 00 00 00 89 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 62 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 62 00 F5 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7D 82 00 00 0E 04 04 00 B2 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 96 [13:06: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7D 82 00 00 0E 04 04 00 B2 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:06:31]wFMCommunicate OK [13:06:31]SAM_PROTO_GetFieldsCounters done [13:06:31]requested_item shift.num is exist - process it [13:06:31]requested_item shift.opened is exist - process it [13:06:31]req_shift_opened [13:06:31]FM_GetShiftState [13:06:31]SAM_PROTO_GetShiftState [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 13 01 00 [13:06:31]Write to MH i2c: E2 08 00 F6 18 80 13 01 00 00 00 00 00 8B [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 0E 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 0E 00 F6 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 6A [13:06:31]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:06:31]wFMCommunicate OK [13:06:31]SAM_PROTO_GetShiftState done [13:06:31]FM_GetShiftState done [13:06:31]req_shift_opened done [13:06:31]requested_item shift.open_date is exist - process it [13:06:31]req_shift_open_date [13:06:31]req_shift_open_date done [13:06:31]produce_requested_data done [13:06:31]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33405,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [13:06:31]process_action_free close_receipt [13:06:31]json_value_free [13:06:31]json_value_free done [13:06:31]process_json_proto returns [13:06:31]Send response to host [13:06:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33405,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [13:06:31]free response buf [13:06:31]execute_script done [13:06:31]execute_script returns [13:06:31]free content buf [13:06:31]Sock 7.Close socket [13:06:31]Sock 7.Thread stoped [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]accept exits with 9 [13:09:20]New connection [13:09:20]New thread 3066604900 created [13:09:20]Thread 3066461540 joined [13:09:20]Waiting for new connection... [13:09:20] Sock 9.Parse request [13:09:20]Sock 9.Check first char [13:09:20]Sock 9.First char is OK [13:09:20]request: POST /json_proto HTTP/1.0 [13:09:20]Method: POST [13:09:20]URL: /json_proto [13:09:20]Method is POST - this is cgi request [13:09:20]url: /json_proto [13:09:20]query_string will be loaded in cgi processing [13:09:20]execute_cgi json_proto POST (null) [13:09:20]execute_cgi path=json_proto method=POST [13:09:20]POST find Content-Length [13:09:20]Host: 172.17.35.196:8080 [13:09:20]Content-Length: 616 [13:09:20]Content-Type: application/json [13:09:20] [13:09:20]POST finish read [13:09:20]Found Content-Length = 616 [13:09:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169215", "tax_sys" : 0, "items" : [ { "code": "48741200", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:20]execute_script... [13:09: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)169215", "tax_sys" : 0, "items" : [ { "code": "48741200", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:20]POST & json_proto [13:09:20]process_json_proto [13:09:20]json parsed OK: [13:09:20]protocol is kg_v1.0 [13:09:20]action value=close_receipt [13:09:20]process_action close_receipt [13:09:20]cmd_close_receipt [13:09:20]MH_GetDate [13:09:20]Write to MH i2c: F0 00 00 F7 18 FE [13:09:20]Write i2c OK [13:09:20]MH_I2C_Read... [13:09:20]Read from MH i2c: F0 [13:09:20]MH_I2C_Read... [13:09:20]Read from MH i2c: F0 09 00 [13:09:20]MH_I2C_Read... [13:09:20]Read from MH i2c: F0 09 00 F7 18 00 86 7C 92 66 AD 14 F4 65 1B [13:09:20]GetLastDocTimeStamp 1720875994 [13:09:20]current date 1720876166 [13:09:20]FM_GetShiftState [13:09:20]SAM_PROTO_GetShiftState [13:09:20]wFMCommunicate request_size=4 [13:09:20]MH_SAM_APDU [13:09:20]CAPDU: 80 13 01 00 [13:09:20]Write to MH i2c: E2 08 00 F8 18 80 13 01 00 00 00 00 00 8D [13:09:20]Write i2c OK [13:09:20]MH_I2C_Read... [13:09:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:20]Read from MH i2c: E2 [13:09:20]MH_I2C_Read... [13:09:20]Read from MH i2c: E2 0E 00 [13:09:20]MH_I2C_Read... [13:09:20]Read from MH i2c: E2 0E 00 F8 18 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 6C [13:09:20]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:09:20]wFMCommunicate OK [13:09:20]SAM_PROTO_GetShiftState done [13:09:20]FM_GetShiftState done [13:09:20]opened in 1720829207 [13:09:20]opened+sec_in_day 1720915607 [13:09:20]quantity*price = 14000 [13:09:20]sum+1 = 14001 [13:09:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 25 13.07.2024 13:09 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33406 ФПД: 145569559231372 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130926&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33406&fm=145569559231372&tin=02508201610067®Number=0000000000093033&sum=14000 0 [13:09:21]StoreToDocumentArchive [13:09:21]shift 434 fd 33406 [13:09:21]save to /storage/0434/doc_00033406 [13:09:21]save last doc name /storage/0434/doc_00033406 to /storage/kkm_last_doc_name [13:09:21]save OK [13:09:21]Clear old archive folders... [13:09:21]ProcessDocumentItem done err = 0, tmpTLVsize=268 [13:09:21]tlvbuf is B6D539D0 [13:09:21]SAM_PROTO_ClearQueue [13:09:21]wFMCommunicate request_size=4 [13:09:21]MH_SAM_APDU [13:09:21]CAPDU: 80 09 00 00 [13:09:21]Write to MH i2c: E2 08 00 05 19 80 09 00 00 00 00 00 00 90 [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:21]Read from MH i2c: E2 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 05 19 00 90 00 92 [13:09:21]RAPDU: 90 00 [13:09:21]wFMCommunicate OK [13:09:21]SAM_PROTO_ClearQueue done [13:09:21]KKMCreateOFDPacket [13:09:21]OFDProtocolAddRootSTLVToBuf [13:09:21]FM_MakeSignedData [13:09:21]FM_MakeSignedData [13:09:21]SAM_PROTO_SignData [13:09:21]wFMCommunicate request_size=4 [13:09:21]MH_SAM_APDU [13:09:21]CAPDU: 80 0D 01 02 [13:09:21]Write to MH i2c: E2 08 00 06 19 80 0D 01 02 00 00 00 00 98 [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:21]Read from MH i2c: E2 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 06 19 00 90 00 93 [13:09:21]RAPDU: 90 00 [13:09:21]wFMCommunicate OK [13:09:21]wFMCommunicate request_size=255 [13:09:21]MH_SAM_APDU [13:09:21]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 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 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 86 7C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [13:09:21]Write to MH i2c: E2 02 01 07 19 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 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 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 86 7C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 94 [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:21]Read from MH i2c: E2 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 07 19 00 90 00 94 [13:09:21]RAPDU: 90 00 [13:09:21]wFMCommunicate OK [13:09:21]wFMCommunicate request_size=27 [13:09:21]MH_SAM_APDU [13:09:21]CAPDU: 80 0D 02 02 16 35 31 30 34 10 04 04 00 7E 82 00 00 35 04 06 00 84 65 0D DE 3B 8C [13:09:21]Write to MH i2c: E2 1E 00 08 19 80 0D 02 02 16 00 35 31 30 34 10 04 04 00 7E 82 00 00 35 04 06 00 84 65 0D DE 3B 8C 00 00 83 [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:21]Read from MH i2c: E2 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 03 00 08 19 00 90 00 95 [13:09:21]RAPDU: 90 00 [13:09:21]wFMCommunicate OK [13:09:21]wFMCommunicate request_size=4 [13:09:21]MH_SAM_APDU [13:09:21]CAPDU: 80 0D 03 02 [13:09:21]Write to MH i2c: E2 08 00 09 19 80 0D 03 02 00 00 00 00 9D [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:21]Read from MH i2c: E2 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 0B 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 0B 00 09 19 00 D4 51 B2 6E 93 3A D6 D6 90 00 5C [13:09:21]RAPDU: D4 51 B2 6E 93 3A D6 D6 90 00 [13:09:21]wFMCommunicate OK [13:09:21]SAM_PROTO_SignData done [13:09:21]FM_MakeSignedData done [13:09:21]CreateOFDProtocolMessage [13:09:21]wFMCommunicate request_size=4 [13:09:21]MH_SAM_APDU [13:09:21]CAPDU: 80 11 00 00 [13:09:21]Write to MH i2c: E2 08 00 0A 19 80 11 00 00 00 00 00 00 9D [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:21]Read from MH i2c: E2 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 17 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: E2 17 00 0A 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E9 [13:09:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:09:21]wFMCommunicate OK [13:09:21]CreateOFDProtocolMessage done [13:09:21]OFDSenderStorePacket 33406 [13:09:21]StoreOFDPacket docnum=33406 [13:09:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 F0 16 18 01 51 27 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 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 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 86 7C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7E 82 00 00 35 04 06 00 84 65 0D DE 3B 8C D4 51 B2 6E 93 3A D6 D6 [13:09:21]CheckFolder [13:09:21]dirname=/storage/ofd_packets [13:09:21]CheckFolder done [13:09:21]ProducePacketName [13:09:21]name=ofd_packets/00033406 [13:09:21]NVStorageSaveData ofd_packets/00033406 [13:09:21]File name is /storage/ofd_packets/00033406 [13:09:21]Write 318 bytes [13:09:21]NVStorageSaveData done [13:09:21]OFDSenderStorePacket done [13:09:21]KKMCreateOFDPacket done [13:09:21]NVStorageSaveData kkm_last_timestamp [13:09:21]File name is /storage/kkm_last_timestamp [13:09:21]Write 4 bytes [13:09:21]NVStorageSaveData done [13:09:21]ExternCall_PrintAddStr [13:09:21]wPrintStart [13:09:21]Write to MH i2c: 01 00 00 0B 19 24 [13:09:21]Write i2c OK [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: 01 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: 01 07 00 [13:09:21]MH_I2C_Read... [13:09:21]Read from MH i2c: 01 07 00 0B 19 00 00 00 00 00 FF 0F 39 [13:09:21]RasterBufferAndPrint [13:09:21]line Счет N : (3)169215 [13:09:21]line ИНН: 02508201610067 [13:09:21]line Контрольно-Кассовый Чек [13:09:21]line ПРОДАЖА [13:09:21]line Товар: 48741200 [13:09:21]line Сигареты Winston Silver [13:09:21]line 1.000 * 140.00 [13:09:21]line = 140.00 [13:09:21]line НДС 12% НСП 1% [13:09:21]line > о реализуемом товаре [13:09:21]line ИТОГО: 140.00 [13:09:21]line НСП 1% : 1.24 [13:09:21]line НДС 12% : 14.87 [13:09:21]line Наличными: 140.00 [13:09:21]line Безнал.: 0.00 [13:09:21]line Место: АЗС № 77 "Партнер Нефть" [13:09:21]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:09:21]line СНО: Общий режим [13:09:21]line Чек 25 13.07.2024 13:09 [13:09:21]line Смена: 434 ФФД: 1.0 [13:09:21]line ЗНМ: 0300000122 [13:09:21]line РНМ: 0000000000093033 [13:09:21]line Версия ККМ: 001 [13:09:21]line ФМ: 0000000000875104 [13:09:21]line ФД: 33406 [13:09:21]line ФПД: 145569559231372 [13:09:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130926&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33406&fm=145569559231372&tin=02508201610067®Number=0000000000093033&sum=14000 [13:09:22]OFD Sender: Processing packet 33406 [packets to send 6, broken 5] [13:09:22]ProducePacketName [13:09:22]name=ofd_packets/00033406 [13:09:22]OFD Sender: To server: pG, [13:09:22]CommunicateWithHost lk.salyk.kg:30040 [13:09:22]ConnectInit lk.salyk.kg [13:09:22]line 0 [13:09:22]written 0, free lines is 4095 [13:09:22]Connected sock=10 [13:09:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 F0 16 18 01 51 27 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 31 32 30 30 06 04 1F 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 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 86 7C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7E 82 00 00 35 04 06 00 84 65 0D DE 3B 8C D4 51 B2 6E 93 3A D6 D6 [13:09:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 EF 2C 47 00 F8 DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7E 82 00 00 F4 03 04 00 30 27 92 66 B6 04 01 00 00 55 CE A6 6D 7F 27 E9 61 [13:09:22]CommunicateWithHost err = 0 [13:09:22]CheckOFDResponse [13:09:22]1017 (14) - 77093643461234 [13:09:22]1041 (16) - 0000000000875104 [13:09:22]1040 (4) - 33406 [13:09:22]1012 (4) - 13.07.2024 07:05 [13:09:22]1206 (1) - 0 [13:09:22]OFD Sender: Remove packet 33406 [13:09:22]ProducePacketName [13:09:22]name=ofd_packets/00033406 [13:09:22]NVStorageDeleteData [13:09:22]Write to MH i2c: 01 00 00 33 19 4C [13:09:22]Write i2c OK [13:09:22]MH_I2C_Read... [13:09:22]Read from MH i2c: 01 [13:09:22]MH_I2C_Read... [13:09:22]Read from MH i2c: 01 07 00 [13:09:22]MH_I2C_Read... [13:09:22]Read from MH i2c: 01 07 00 33 19 00 00 00 00 00 FB 0C 5A [13:09:22]RasterBufferAndPrint [13:09:22]line [13:09:22]line [13:09:22]line [13:09:22]line [13:09:22]line [13:09:22]written 0, free lines is 3330 [13:09:22]MH_Cut [13:09:22]Write to MH i2c: D1 01 00 3A 19 01 25 [13:09:22]Write i2c OK [13:09:22]MH_I2C_Read... [13:09:22]Read from MH i2c: D1 [13:09:22]MH_I2C_Read... [13:09:22]Read from MH i2c: D1 01 00 [13:09:22]MH_I2C_Read... [13:09:22]Read from MH i2c: D1 01 00 3A 19 00 24 [13:09:22]Write to MH i2c: 01 00 00 3B 19 54 [13:09:22]Write i2c OK [13:09:22]MH_I2C_Read... [13:09:22]OFD Sender: No OFD packet to send [13:09:23]*** Cut start [13:09:23]*** Partial cut [13:09:23]*** CUTSNS_PIN = 1 [13:09:23]*** CUTSNS_PIN = 0 [13:09:23]*** Brake cut motor [13:09:23]Read from MH i2c: 01 [13:09:23]MH_I2C_Read... [13:09:23]*** Stop cut motor [13:09:23]*** Cut end [13:09:23]Read from MH i2c: 01 07 00 [13:09:23]MH_I2C_Read... [13:09:23]Read from MH i2c: 01 07 00 3B 19 00 00 00 00 00 FF 0F 69 [13:09:23]process_action close_receipt done [13:09:23]requested_data is exist [13:09:23]produce_requested_data [13:09:23]requested_item fm.sn is exist - process it [13:09:23]wFMCommunicate request_size=4 [13:09:23]MH_SAM_APDU [13:09:23]CAPDU: 80 11 00 00 [13:09:23]Write to MH i2c: E2 08 00 3C 19 80 11 00 00 00 00 00 00 CF [13:09:23]Write i2c OK [13:09:23]MH_I2C_Read... [13:09:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:24]Read from MH i2c: E2 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 17 00 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 17 00 3C 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1B [13:09:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:09:24]wFMCommunicate OK [13:09:24]requested_item fd.num is exist - process it [13:09:24]SAM_PROTO_GetFieldsCounters [13:09:24]wFMCommunicate request_size=4 [13:09:24]MH_SAM_APDU [13:09:24]CAPDU: 80 13 00 00 [13:09:24]Write to MH i2c: E2 08 00 3D 19 80 13 00 00 00 00 00 00 D2 [13:09:24]Write i2c OK [13:09:24]MH_I2C_Read... [13:09:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:24]Read from MH i2c: E2 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 62 00 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 62 00 3D 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7E 82 00 00 0E 04 04 00 B2 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 E3 [13:09:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7E 82 00 00 0E 04 04 00 B2 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:09:24]wFMCommunicate OK [13:09:24]SAM_PROTO_GetFieldsCounters done [13:09:24]requested_item shift.num is exist - process it [13:09:24]requested_item shift.opened is exist - process it [13:09:24]req_shift_opened [13:09:24]FM_GetShiftState [13:09:24]SAM_PROTO_GetShiftState [13:09:24]wFMCommunicate request_size=4 [13:09:24]MH_SAM_APDU [13:09:24]CAPDU: 80 13 01 00 [13:09:24]Write to MH i2c: E2 08 00 3E 19 80 13 01 00 00 00 00 00 D4 [13:09:24]Write i2c OK [13:09:24]MH_I2C_Read... [13:09:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:24]Read from MH i2c: E2 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 0E 00 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 0E 00 3E 19 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 B3 [13:09:24]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:09:24]wFMCommunicate OK [13:09:24]SAM_PROTO_GetShiftState done [13:09:24]FM_GetShiftState done [13:09:24]req_shift_opened done [13:09:24]requested_item shift.open_date is exist - process it [13:09:24]req_shift_open_date [13:09:24]req_shift_open_date done [13:09:24]produce_requested_data done [13:09:24]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33406,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [13:09:24]process_action_free close_receipt [13:09:24]json_value_free [13:09:24]json_value_free done [13:09:24]process_json_proto returns [13:09:24]Send response to host [13:09:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33406,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [13:09:24]free response buf [13:09:24]execute_script done [13:09:24]execute_script returns [13:09:24]free content buf [13:09:24]Sock 9.Close socket [13:09:24]Sock 9.Thread stoped [13:09:27]OFD Sender: No OFD packet to send [13:09:32]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]accept exits with 7 [13:12:28]New connection [13:12:28]New thread 3066461540 created [13:12:28]Thread 3066604900 joined [13:12:28]Waiting for new connection... [13:12:28] Sock 7.Parse request [13:12:28]Sock 7.Check first char [13:12:28]Sock 7.First char is OK [13:12:28]request: POST /json_proto HTTP/1.0 [13:12:28]Method: POST [13:12:28]URL: /json_proto [13:12:28]Method is POST - this is cgi request [13:12:28]url: /json_proto [13:12:28]query_string will be loaded in cgi processing [13:12:28]execute_cgi json_proto POST (null) [13:12:28]execute_cgi path=json_proto method=POST [13:12:28]POST find Content-Length [13:12:28]Host: 172.17.35.196:8080 [13:12:28]Content-Length: 605 [13:12:28]Content-Type: application/json [13:12:28] [13:12:28]POST finish read [13:12:28]Found Content-Length = 605 [13:12:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169216", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:12:28]execute_script... [13:12: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)169216", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:12:28]POST & json_proto [13:12:28]process_json_proto [13:12:28]json parsed OK: [13:12:28]protocol is kg_v1.0 [13:12:28]action value=close_receipt [13:12:28]process_action close_receipt [13:12:28]cmd_close_receipt [13:12:28]MH_GetDate [13:12:28]Write to MH i2c: F0 00 00 3F 19 47 [13:12:28]Write i2c OK [13:12:28]MH_I2C_Read... [13:12:28]Read from MH i2c: F0 [13:12:28]MH_I2C_Read... [13:12:28]Read from MH i2c: F0 09 00 [13:12:28]MH_I2C_Read... [13:12:28]Read from MH i2c: F0 09 00 3F 19 00 42 7D 92 66 AD 14 F4 65 21 [13:12:28]GetLastDocTimeStamp 1720876166 [13:12:28]current date 1720876354 [13:12:28]FM_GetShiftState [13:12:28]SAM_PROTO_GetShiftState [13:12:28]wFMCommunicate request_size=4 [13:12:28]MH_SAM_APDU [13:12:28]CAPDU: 80 13 01 00 [13:12:28]Write to MH i2c: E2 08 00 40 19 80 13 01 00 00 00 00 00 D6 [13:12:28]Write i2c OK [13:12:28]MH_I2C_Read... [13:12:28]OFD Sender: No OFD packet to send [13:12:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:28]Read from MH i2c: E2 [13:12:28]MH_I2C_Read... [13:12:28]Read from MH i2c: E2 0E 00 [13:12:28]MH_I2C_Read... [13:12:28]Read from MH i2c: E2 0E 00 40 19 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 B5 [13:12:28]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:12:28]wFMCommunicate OK [13:12:28]SAM_PROTO_GetShiftState done [13:12:28]FM_GetShiftState done [13:12:28]opened in 1720829207 [13:12:28]opened+sec_in_day 1720915607 [13:12:28]quantity*price = 4500 [13:12:28]sum+1 = 4501 [13:12:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 26 13.07.2024 13:12 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33407 ФПД: 123656141751366 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131234&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33407&fm=123656141751366&tin=02508201610067®Number=0000000000093033&sum=4500 0 [13:12:29]StoreToDocumentArchive [13:12:29]shift 434 fd 33407 [13:12:29]save to /storage/0434/doc_00033407 [13:12:29]save last doc name /storage/0434/doc_00033407 to /storage/kkm_last_doc_name [13:12:29]save OK [13:12:29]Clear old archive folders... [13:12:29]ProcessDocumentItem done err = 0, tmpTLVsize=268 [13:12:29]tlvbuf is 00A904E0 [13:12:29]SAM_PROTO_ClearQueue [13:12:29]wFMCommunicate request_size=4 [13:12:29]MH_SAM_APDU [13:12:29]CAPDU: 80 09 00 00 [13:12:29]Write to MH i2c: E2 08 00 4D 19 80 09 00 00 00 00 00 00 D8 [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:12:29]Read from MH i2c: E2 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 4D 19 00 90 00 DA [13:12:29]RAPDU: 90 00 [13:12:29]wFMCommunicate OK [13:12:29]SAM_PROTO_ClearQueue done [13:12:29]KKMCreateOFDPacket [13:12:29]OFDProtocolAddRootSTLVToBuf [13:12:29]FM_MakeSignedData [13:12:29]FM_MakeSignedData [13:12:29]SAM_PROTO_SignData [13:12:29]wFMCommunicate request_size=4 [13:12:29]MH_SAM_APDU [13:12:29]CAPDU: 80 0D 01 02 [13:12:29]Write to MH i2c: E2 08 00 4E 19 80 0D 01 02 00 00 00 00 E0 [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:12:29]Read from MH i2c: E2 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 4E 19 00 90 00 DB [13:12:29]RAPDU: 90 00 [13:12:29]wFMCommunicate OK [13:12:29]wFMCommunicate request_size=255 [13:12:29]MH_SAM_APDU [13:12:29]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 42 7D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [13:12:29]Write to MH i2c: E2 02 01 4F 19 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 42 7D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 30 [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:12:29]Read from MH i2c: E2 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 4F 19 00 90 00 DC [13:12:29]RAPDU: 90 00 [13:12:29]wFMCommunicate OK [13:12:29]wFMCommunicate request_size=27 [13:12:29]MH_SAM_APDU [13:12:29]CAPDU: 80 0D 02 02 16 35 31 30 34 10 04 04 00 7F 82 00 00 35 04 06 00 70 76 F0 67 44 46 [13:12:29]Write to MH i2c: E2 1E 00 50 19 80 0D 02 02 16 00 35 31 30 34 10 04 04 00 7F 82 00 00 35 04 06 00 70 76 F0 67 44 46 00 00 F8 [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:12:29]Read from MH i2c: E2 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 03 00 50 19 00 90 00 DD [13:12:29]RAPDU: 90 00 [13:12:29]wFMCommunicate OK [13:12:29]wFMCommunicate request_size=4 [13:12:29]MH_SAM_APDU [13:12:29]CAPDU: 80 0D 03 02 [13:12:29]Write to MH i2c: E2 08 00 51 19 80 0D 03 02 00 00 00 00 E5 [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:12:29]Read from MH i2c: E2 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 0B 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 0B 00 51 19 00 40 03 01 4F 6E 80 F4 E3 90 00 3E [13:12:29]RAPDU: 40 03 01 4F 6E 80 F4 E3 90 00 [13:12:29]wFMCommunicate OK [13:12:29]SAM_PROTO_SignData done [13:12:29]FM_MakeSignedData done [13:12:29]CreateOFDProtocolMessage [13:12:29]wFMCommunicate request_size=4 [13:12:29]MH_SAM_APDU [13:12:29]CAPDU: 80 11 00 00 [13:12:29]Write to MH i2c: E2 08 00 52 19 80 11 00 00 00 00 00 00 E5 [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:29]Read from MH i2c: E2 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 17 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: E2 17 00 52 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 31 [13:12:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:12:29]wFMCommunicate OK [13:12:29]CreateOFDProtocolMessage done [13:12:29]OFDSenderStorePacket 33407 [13:12:29]StoreOFDPacket docnum=33407 [13:12:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 FF 67 18 01 CE CA 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 42 7D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7F 82 00 00 35 04 06 00 70 76 F0 67 44 46 40 03 01 4F 6E 80 F4 E3 [13:12:29]CheckFolder [13:12:29]dirname=/storage/ofd_packets [13:12:29]CheckFolder done [13:12:29]ProducePacketName [13:12:29]name=ofd_packets/00033407 [13:12:29]NVStorageSaveData ofd_packets/00033407 [13:12:29]File name is /storage/ofd_packets/00033407 [13:12:29]Write 318 bytes [13:12:29]NVStorageSaveData done [13:12:29]OFDSenderStorePacket done [13:12:29]KKMCreateOFDPacket done [13:12:29]NVStorageSaveData kkm_last_timestamp [13:12:29]File name is /storage/kkm_last_timestamp [13:12:29]Write 4 bytes [13:12:29]NVStorageSaveData done [13:12:29]ExternCall_PrintAddStr [13:12:29]wPrintStart [13:12:29]Write to MH i2c: 01 00 00 53 19 6C [13:12:29]Write i2c OK [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: 01 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: 01 07 00 [13:12:29]MH_I2C_Read... [13:12:29]Read from MH i2c: 01 07 00 53 19 00 00 00 00 00 FF 0F 81 [13:12:29]RasterBufferAndPrint [13:12:29]line Счет N : (3)169216 [13:12:29]line ИНН: 02508201610067 [13:12:29]line Контрольно-Кассовый Чек [13:12:29]line ПРОДАЖА [13:12:29]line Товар: 50173976 [13:12:29]line Жев Orbit Winterfresh под [13:12:29]line 1.000 * 45.00 [13:12:29]line = 45.00 [13:12:29]line НДС 12% НСП 1% [13:12:29]line > о реализуемом товаре [13:12:29]line ИТОГО: 45.00 [13:12:29]line НСП 1% : 0.40 [13:12:29]line НДС 12% : 4.78 [13:12:29]line Наличными: 45.00 [13:12:29]line Безнал.: 0.00 [13:12:29]line Место: АЗС № 77 "Партнер Нефть" [13:12:29]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:12:29]line СНО: Общий режим [13:12:29]line Чек 26 13.07.2024 13:12 [13:12:29]line Смена: 434 ФФД: 1.0 [13:12:29]line ЗНМ: 0300000122 [13:12:29]line РНМ: 0000000000093033 [13:12:29]line Версия ККМ: 001 [13:12:29]line ФМ: 0000000000875104 [13:12:29]line ФД: 33407 [13:12:29]line ФПД: 123656141751366 [13:12:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131234&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33407&fm=123656141751366&tin=02508201610067®Number=0000000000093033&sum=4500 [13:12:30]OFD Sender: Processing packet 33407 [packets to send 6, broken 5] [13:12:30]ProducePacketName [13:12:30]name=ofd_packets/00033407 [13:12:30]OFD Sender: To server: pG, [13:12:30]CommunicateWithHost lk.salyk.kg:30040 [13:12:30]ConnectInit lk.salyk.kg [13:12:30]line 0 [13:12:30]written 0, free lines is 4095 [13:12:30]Write to MH i2c: 01 00 00 7B 19 94 [13:12:30]Write i2c OK [13:12:30]MH_I2C_Read... [13:12:30]Read from MH i2c: 01 [13:12:30]MH_I2C_Read... [13:12:30]Read from MH i2c: 01 07 00 [13:12:30]MH_I2C_Read... [13:12:30]Read from MH i2c: 01 07 00 7B 19 00 00 00 00 00 E5 0C 8C [13:12:30]RasterBufferAndPrint [13:12:30]line [13:12:30]line [13:12:30]line [13:12:30]line [13:12:30]line [13:12:30]written 0, free lines is 3307 [13:12:30]MH_Cut [13:12:30]Write to MH i2c: D1 01 00 82 19 01 6D [13:12:30]Write i2c OK [13:12:30]MH_I2C_Read... [13:12:30]Read from MH i2c: D1 [13:12:30]MH_I2C_Read... [13:12:30]Read from MH i2c: D1 01 00 [13:12:30]MH_I2C_Read... [13:12:30]Read from MH i2c: D1 01 00 82 19 00 6C [13:12:30]Write to MH i2c: 01 00 00 83 19 9C [13:12:30]Write i2c OK [13:12:30]MH_I2C_Read... [13:12:31]*** Cut start [13:12:31]*** Partial cut [13:12:31]*** CUTSNS_PIN = 1 [13:12:31]*** CUTSNS_PIN = 0 [13:12:31]*** Brake cut motor [13:12:31]Read from MH i2c: 01 [13:12:31]MH_I2C_Read... [13:12:31]*** Stop cut motor [13:12:31]*** Cut end [13:12:31]Read from MH i2c: 01 07 00 [13:12:31]MH_I2C_Read... [13:12:31]Read from MH i2c: 01 07 00 83 19 00 00 00 00 00 FF 0F B1 [13:12:31]process_action close_receipt done [13:12:31]requested_data is exist [13:12:31]produce_requested_data [13:12:31]requested_item fm.sn is exist - process it [13:12:31]wFMCommunicate request_size=4 [13:12:31]MH_SAM_APDU [13:12:31]CAPDU: 80 11 00 00 [13:12:31]Write to MH i2c: E2 08 00 84 19 80 11 00 00 00 00 00 00 17 [13:12:31]Write i2c OK [13:12:31]MH_I2C_Read... [13:12:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:31]Read from MH i2c: E2 [13:12:31]MH_I2C_Read... [13:12:31]Read from MH i2c: E2 17 00 [13:12:31]MH_I2C_Read... [13:12:31]Read from MH i2c: E2 17 00 84 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 63 [13:12:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:12:31]wFMCommunicate OK [13:12:31]requested_item fd.num is exist - process it [13:12:31]SAM_PROTO_GetFieldsCounters [13:12:31]wFMCommunicate request_size=4 [13:12:31]MH_SAM_APDU [13:12:31]CAPDU: 80 13 00 00 [13:12:31]Write to MH i2c: E2 08 00 85 19 80 13 00 00 00 00 00 00 1A [13:12:31]Write i2c OK [13:12:31]MH_I2C_Read... [13:12:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:12:32]Read from MH i2c: E2 [13:12:32]MH_I2C_Read... [13:12:32]Read from MH i2c: E2 62 00 [13:12:32]MH_I2C_Read... [13:12:32]Read from MH i2c: E2 62 00 85 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7F 82 00 00 0E 04 04 00 B2 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 2F [13:12: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 7F 82 00 00 0E 04 04 00 B2 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:12:32]wFMCommunicate OK [13:12:32]SAM_PROTO_GetFieldsCounters done [13:12:32]requested_item shift.num is exist - process it [13:12:32]requested_item shift.opened is exist - process it [13:12:32]req_shift_opened [13:12:32]FM_GetShiftState [13:12:32]SAM_PROTO_GetShiftState [13:12:32]wFMCommunicate request_size=4 [13:12:32]MH_SAM_APDU [13:12:32]CAPDU: 80 13 01 00 [13:12:32]Write to MH i2c: E2 08 00 86 19 80 13 01 00 00 00 00 00 1C [13:12:32]Write i2c OK [13:12:32]MH_I2C_Read... [13:12:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:32]Read from MH i2c: E2 [13:12:32]MH_I2C_Read... [13:12:32]Read from MH i2c: E2 0E 00 [13:12:32]MH_I2C_Read... [13:12:32]Read from MH i2c: E2 0E 00 86 19 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 FB [13:12:32]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:12:32]wFMCommunicate OK [13:12:32]SAM_PROTO_GetShiftState done [13:12:32]FM_GetShiftState done [13:12:32]req_shift_opened done [13:12:32]requested_item shift.open_date is exist - process it [13:12:32]req_shift_open_date [13:12:32]req_shift_open_date done [13:12:32]produce_requested_data done [13:12:32]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33407,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [13:12:32]process_action_free close_receipt [13:12:32]json_value_free [13:12:32]json_value_free done [13:12:32]process_json_proto returns [13:12:32]Send response to host [13:12:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33407,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [13:12:32]free response buf [13:12:32]execute_script done [13:12:32]execute_script returns [13:12:32]free content buf [13:12:32]Sock 7.Close socket [13:12:32]Sock 7.Thread stoped [13:14:39]ConnectInit Can't connect to host [13:14:39]CommunicateWithHost connect error [13:14:39]CommunicateWithHost err = -1 [13:14:39]OFD Sender: Server communicate error [13:14:44]OFD Sender: Processing packet 33407 [packets to send 6, broken 5] [13:14:44]ProducePacketName [13:14:44]name=ofd_packets/00033407 [13:14:44]OFD Sender: To server: pG, [13:14:44]CommunicateWithHost lk.salyk.kg:30040 [13:14:44]ConnectInit lk.salyk.kg [13:14:44]Connected sock=7 [13:14:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 FF 67 18 01 CE CA 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 42 7D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7F 82 00 00 35 04 06 00 70 76 F0 67 44 46 40 03 01 4F 6E 80 F4 E3 [13:14:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F0 6C 47 00 CF BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 7F 82 00 00 F4 03 04 00 73 28 92 66 B6 04 01 00 00 49 EC 1A 83 4C 21 32 A3 [13:14:44]CommunicateWithHost err = 0 [13:14:44]CheckOFDResponse [13:14:44]1017 (14) - 77093643461234 [13:14:44]1041 (16) - 0000000000875104 [13:14:44]1040 (4) - 33407 [13:14:44]1012 (4) - 13.07.2024 07:10 [13:14:44]1206 (1) - 0 [13:14:44]OFD Sender: Remove packet 33407 [13:14:44]ProducePacketName [13:14:44]name=ofd_packets/00033407 [13:14:44]NVStorageDeleteData [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:17:57]accept exits with 9 [13:17:57]New connection [13:17:57]New thread 3066604900 created [13:17:57]Thread 3066461540 joined [13:17:57]Waiting for new connection... [13:17:57] Sock 9.Parse request [13:17:57]Sock 9.Check first char [13:17:57]Sock 9.First char is OK [13:17:57]request: POST /json_proto HTTP/1.0 [13:17:57]Method: POST [13:17:57]URL: /json_proto [13:17:57]Method is POST - this is cgi request [13:17:57]url: /json_proto [13:17:57]query_string will be loaded in cgi processing [13:17:57]execute_cgi json_proto POST (null) [13:17:57]execute_cgi path=json_proto method=POST [13:17:57]POST find Content-Length [13:17:57]Host: 172.17.35.196:8080 [13:17:57]Content-Length: 958 [13:17:57]Content-Type: application/json [13:17:57] [13:17:57]POST finish read [13:17:57]Found Content-Length = 958 [13:17:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169217", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:57]execute_script... [13:17: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)169217", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:57]POST & json_proto [13:17:57]process_json_proto [13:17:57]json parsed OK: [13:17:57]protocol is kg_v1.0 [13:17:57]action value=close_receipt [13:17:57]process_action close_receipt [13:17:57]cmd_close_receipt [13:17:57]MH_GetDate [13:17:57]Write to MH i2c: F0 00 00 87 19 8F [13:17:57]Write i2c OK [13:17:57]MH_I2C_Read... [13:17:57]Read from MH i2c: F0 [13:17:57]MH_I2C_Read... [13:17:57]Read from MH i2c: F0 09 00 [13:17:57]MH_I2C_Read... [13:17:57]Read from MH i2c: F0 09 00 87 19 00 8B 7E 92 66 AD 14 F4 65 B3 [13:17:57]GetLastDocTimeStamp 1720876354 [13:17:57]current date 1720876683 [13:17:57]FM_GetShiftState [13:17:57]SAM_PROTO_GetShiftState [13:17:57]wFMCommunicate request_size=4 [13:17:57]MH_SAM_APDU [13:17:57]CAPDU: 80 13 01 00 [13:17:57]Write to MH i2c: E2 08 00 88 19 80 13 01 00 00 00 00 00 1E [13:17:57]Write i2c OK [13:17:57]MH_I2C_Read... [13:17:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:57]Read from MH i2c: E2 [13:17:57]MH_I2C_Read... [13:17:57]Read from MH i2c: E2 0E 00 [13:17:57]MH_I2C_Read... [13:17:57]Read from MH i2c: E2 0E 00 88 19 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 FD [13:17:57]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:17:57]wFMCommunicate OK [13:17:57]SAM_PROTO_GetShiftState done [13:17:57]FM_GetShiftState done [13:17:57]opened in 1720829207 [13:17:57]opened+sec_in_day 1720915607 [13:17:57]quantity*price = 9500 [13:17:57]sum+1 = 9501 [13:17:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.96 Наличными: 235.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 27 13.07.2024 13:18 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33408 ФПД: 52727025588215 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131803&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33408&fm=52727025588215&tin=02508201610067®Number=0000000000093033&sum=23500 0 [13:17:58]StoreToDocumentArchive [13:17:58]shift 434 fd 33408 [13:17:58]save to /storage/0434/doc_00033408 [13:17:58]save last doc name /storage/0434/doc_00033408 to /storage/kkm_last_doc_name [13:17:58]save OK [13:17:58]Clear old archive folders... [13:17:58]ProcessDocumentItem done err = 0, tmpTLVsize=410 [13:17:58]tlvbuf is 00A5DDE0 [13:17:58]SAM_PROTO_ClearQueue [13:17:58]wFMCommunicate request_size=4 [13:17:58]MH_SAM_APDU [13:17:58]CAPDU: 80 09 00 00 [13:17:58]Write to MH i2c: E2 08 00 95 19 80 09 00 00 00 00 00 00 20 [13:17:58]Write i2c OK [13:17:58]MH_I2C_Read... [13:17:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:17:58]Read from MH i2c: E2 [13:17:58]MH_I2C_Read... [13:17:58]Read from MH i2c: E2 03 00 [13:17:58]MH_I2C_Read... [13:17:58]Read from MH i2c: E2 03 00 95 19 00 90 00 22 [13:17:58]RAPDU: 90 00 [13:17:58]wFMCommunicate OK [13:17:58]SAM_PROTO_ClearQueue done [13:17:58]KKMCreateOFDPacket [13:17:58]OFDProtocolAddRootSTLVToBuf [13:17:58]FM_MakeSignedData [13:17:58]FM_MakeSignedData [13:17:58]SAM_PROTO_SignData [13:17:58]wFMCommunicate request_size=4 [13:17:58]MH_SAM_APDU [13:17:58]CAPDU: 80 0D 01 02 [13:17:58]Write to MH i2c: E2 08 00 96 19 80 0D 01 02 00 00 00 00 28 [13:17:58]Write i2c OK [13:17:58]MH_I2C_Read... [13:17:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:17:58]Read from MH i2c: E2 [13:17:58]MH_I2C_Read... [13:17:58]Read from MH i2c: E2 03 00 [13:17:58]MH_I2C_Read... [13:17:58]Read from MH i2c: E2 03 00 96 19 00 90 00 23 [13:17:58]RAPDU: 90 00 [13:17:58]wFMCommunicate OK [13:17:58]wFMCommunicate request_size=255 [13:17:58]MH_SAM_APDU [13:17:58]CAPDU: 80 0D 02 02 FA 03 00 9A 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC [13:17:58]Write to MH i2c: E2 02 01 97 19 80 0D 02 02 FA 00 03 00 9A 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 00 00 FC [13:17:58]Write i2c OK [13:17:58]MH_I2C_Read... [13:17:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:58]Read from MH i2c: E2 [13:17:58]MH_I2C_Read... [13:17:58]Read from MH i2c: E2 03 00 [13:17:58]MH_I2C_Read... [13:17:58]Read from MH i2c: E2 03 00 97 19 00 90 00 24 [13:17:58]RAPDU: 90 00 [13:17:58]wFMCommunicate OK [13:17:58]wFMCommunicate request_size=169 [13:17:58]MH_SAM_APDU [13:17:58]CAPDU: 80 0D 02 02 A4 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 8B 7E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 80 82 00 00 35 04 06 00 2F F4 77 A1 57 F7 [13:17:58]Write to MH i2c: E2 AC 00 98 19 80 0D 02 02 A4 00 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 8B 7E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 80 82 00 00 35 04 06 00 2F F4 77 A1 57 F7 00 00 EC [13:17:59]Write i2c OK [13:17:59]MH_I2C_Read... [13:17:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:59]Read from MH i2c: E2 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: E2 03 00 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: E2 03 00 98 19 00 90 00 25 [13:17:59]RAPDU: 90 00 [13:17:59]wFMCommunicate OK [13:17:59]wFMCommunicate request_size=4 [13:17:59]MH_SAM_APDU [13:17:59]CAPDU: 80 0D 03 02 [13:17:59]Write to MH i2c: E2 08 00 99 19 80 0D 03 02 00 00 00 00 2D [13:17:59]Write i2c OK [13:17:59]MH_I2C_Read... [13:17:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:17:59]Read from MH i2c: E2 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: E2 0B 00 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: E2 0B 00 99 19 00 45 35 E6 A2 8A D9 DF 4B 90 00 BD [13:17:59]RAPDU: 45 35 E6 A2 8A D9 DF 4B 90 00 [13:17:59]wFMCommunicate OK [13:17:59]SAM_PROTO_SignData done [13:17:59]FM_MakeSignedData done [13:17:59]CreateOFDProtocolMessage [13:17:59]wFMCommunicate request_size=4 [13:17:59]MH_SAM_APDU [13:17:59]CAPDU: 80 11 00 00 [13:17:59]Write to MH i2c: E2 08 00 9A 19 80 11 00 00 00 00 00 00 2D [13:17:59]Write i2c OK [13:17:59]MH_I2C_Read... [13:17:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:59]Read from MH i2c: E2 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: E2 17 00 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: E2 17 00 9A 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 79 [13:17:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:17:59]wFMCommunicate OK [13:17:59]CreateOFDProtocolMessage done [13:17:59]OFDSenderStorePacket 33408 [13:17:59]StoreOFDPacket docnum=33408 [13:17:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 AE 01 00 00 8C 96 A6 01 D0 70 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 8B 7E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 80 82 00 00 35 04 06 00 2F F4 77 A1 57 F7 45 35 E6 A2 8A D9 DF 4B [13:17:59]CheckFolder [13:17:59]dirname=/storage/ofd_packets [13:17:59]CheckFolder done [13:17:59]ProducePacketName [13:17:59]name=ofd_packets/00033408 [13:17:59]NVStorageSaveData ofd_packets/00033408 [13:17:59]File name is /storage/ofd_packets/00033408 [13:17:59]Write 460 bytes [13:17:59]NVStorageSaveData done [13:17:59]OFDSenderStorePacket done [13:17:59]KKMCreateOFDPacket done [13:17:59]NVStorageSaveData kkm_last_timestamp [13:17:59]File name is /storage/kkm_last_timestamp [13:17:59]Write 4 bytes [13:17:59]NVStorageSaveData done [13:17:59]ExternCall_PrintAddStr [13:17:59]wPrintStart [13:17:59]Write to MH i2c: 01 00 00 9B 19 B4 [13:17:59]Write i2c OK [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: 01 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: 01 07 00 [13:17:59]MH_I2C_Read... [13:17:59]Read from MH i2c: 01 07 00 9B 19 00 00 00 00 00 FF 0F C9 [13:17:59]RasterBufferAndPrint [13:17:59]line Счет N : (3)169217 [13:17:59]line ИНН: 02508201610067 [13:17:59]line Контрольно-Кассовый Чек [13:17:59]line ПРОДАЖА [13:17:59]line Товар: 4700000481989 [13:17:59]line Напиток энерг Nitro киви-мангостин 0,45 [13:17:59]line 1.000 * 95.00 [13:17:59]line = 95.00 [13:17:59]line НДС 12% НСП 1% [13:17:59]line > о реализуемом товаре [13:17:59]line Товар: 48743570 [13:17:59]line Сигареты Winston XStyle Blue [13:17:59]line 1.000 * 140.00 [13:17:59]line = 140.00 [13:17:59]line НДС 12% НСП 1% [13:17:59]line > о реализуемом товаре [13:17:59]line ИТОГО: 235.00 [13:17:59]line НСП 1% : 2.08 [13:17:59]line НДС 12% : 24.96 [13:17:59]line Наличными: 235.00 [13:17:59]line Безнал.: 0.00 [13:17:59]line Место: АЗС № 77 "Партнер Нефть" [13:17:59]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:17:59]line СНО: Общий режим [13:17:59]line Чек 27 13.07.2024 13:18 [13:17:59]line Смена: 434 ФФД: 1.0 [13:17:59]line ЗНМ: 0300000122 [13:17:59]line РНМ: 0000000000093033 [13:17:59]line Версия ККМ: 001 [13:17:59]line ФМ: 0000000000875104 [13:17:59]line ФД: 33408 [13:17:59]line ФПД: 52727025588215 [13:17:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131803&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33408&fm=52727025588215&tin=02508201610067®Number=0000000000093033&sum=23500 [13:17:59]OFD Sender: Processing packet 33408 [packets to send 6, broken 5] [13:17:59]ProducePacketName [13:17:59]name=ofd_packets/00033408 [13:17:59]OFD Sender: To server: pG, [13:17:59]CommunicateWithHost lk.salyk.kg:30040 [13:17:59]ConnectInit lk.salyk.kg [13:17:59]line 0 [13:17:59]written 0, free lines is 4095 [13:17:59]Connected sock=10 [13:17:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 AE 01 00 00 8C 96 A6 01 D0 70 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 8B 7E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 80 82 00 00 35 04 06 00 2F F4 77 A1 57 F7 45 35 E6 A2 8A D9 DF 4B [13:17:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F4 F1 47 00 69 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 80 82 00 00 F4 03 04 00 36 29 92 66 B6 04 01 00 00 90 7F FD C0 C5 B3 CE 21 [13:17:59]CommunicateWithHost err = 0 [13:17:59]CheckOFDResponse [13:17:59]1017 (14) - 77093643461234 [13:17:59]1041 (16) - 0000000000875104 [13:17:59]1040 (4) - 33408 [13:17:59]1012 (4) - 13.07.2024 07:13 [13:17:59]1206 (1) - 0 [13:17:59]OFD Sender: Remove packet 33408 [13:17:59]ProducePacketName [13:17:59]name=ofd_packets/00033408 [13:17:59]NVStorageDeleteData [13:18:00]Write to MH i2c: 01 00 00 CA 19 E3 [13:18:00]Write i2c OK [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: 01 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: 01 07 00 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: 01 07 00 CA 19 00 00 00 00 00 7F 0C 75 [13:18:00]RasterBufferAndPrint [13:18:00]line [13:18:00]line [13:18:00]line [13:18:00]line [13:18:00]line [13:18:00]written 0, free lines is 3208 [13:18:00]MH_Cut [13:18:00]Write to MH i2c: D1 01 00 D1 19 01 BC [13:18:00]Write i2c OK [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: D1 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: D1 01 00 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: D1 01 00 D1 19 00 BB [13:18:00]Write to MH i2c: 01 00 00 D2 19 EB [13:18:00]Write i2c OK [13:18:00]MH_I2C_Read... [13:18:00]OFD Sender: No OFD packet to send [13:18:00]*** Cut start [13:18:00]*** Partial cut [13:18:00]*** CUTSNS_PIN = 1 [13:18:00]*** CUTSNS_PIN = 0 [13:18:01]*** Brake cut motor [13:18:01]Read from MH i2c: 01 [13:18:01]MH_I2C_Read... [13:18:01]*** Stop cut motor [13:18:01]*** Cut end [13:18:01]Read from MH i2c: 01 07 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: 01 07 00 D2 19 00 00 00 00 00 FF 0F 00 [13:18:01]process_action close_receipt done [13:18:01]requested_data is exist [13:18:01]produce_requested_data [13:18:01]requested_item fm.sn is exist - process it [13:18:01]wFMCommunicate request_size=4 [13:18:01]MH_SAM_APDU [13:18:01]CAPDU: 80 11 00 00 [13:18:01]Write to MH i2c: E2 08 00 D3 19 80 11 00 00 00 00 00 00 66 [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:01]Read from MH i2c: E2 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 17 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 17 00 D3 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B2 [13:18:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:18:01]wFMCommunicate OK [13:18:01]requested_item fd.num is exist - process it [13:18:01]SAM_PROTO_GetFieldsCounters [13:18:01]wFMCommunicate request_size=4 [13:18:01]MH_SAM_APDU [13:18:01]CAPDU: 80 13 00 00 [13:18:01]Write to MH i2c: E2 08 00 D4 19 80 13 00 00 00 00 00 00 69 [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:18:01]Read from MH i2c: E2 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 62 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 62 00 D4 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 80 82 00 00 0E 04 04 00 B2 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 82 [13:18:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 80 82 00 00 0E 04 04 00 B2 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:18:01]wFMCommunicate OK [13:18:01]SAM_PROTO_GetFieldsCounters done [13:18:01]requested_item shift.num is exist - process it [13:18:01]requested_item shift.opened is exist - process it [13:18:01]req_shift_opened [13:18:01]FM_GetShiftState [13:18:01]SAM_PROTO_GetShiftState [13:18:01]wFMCommunicate request_size=4 [13:18:01]MH_SAM_APDU [13:18:01]CAPDU: 80 13 01 00 [13:18:01]Write to MH i2c: E2 08 00 D5 19 80 13 01 00 00 00 00 00 6B [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:01]Read from MH i2c: E2 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 0E 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 0E 00 D5 19 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 4A [13:18:01]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:18:01]wFMCommunicate OK [13:18:01]SAM_PROTO_GetShiftState done [13:18:01]FM_GetShiftState done [13:18:01]req_shift_opened done [13:18:01]requested_item shift.open_date is exist - process it [13:18:01]req_shift_open_date [13:18:01]req_shift_open_date done [13:18:01]produce_requested_data done [13:18:01]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33408,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [13:18:01]process_action_free close_receipt [13:18:01]json_value_free [13:18:01]json_value_free done [13:18:01]process_json_proto returns [13:18:01]Send response to host [13:18:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33408,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [13:18:01]free response buf [13:18:01]execute_script done [13:18:01]execute_script returns [13:18:01]free content buf [13:18:01]Sock 9.Close socket [13:18:01]Sock 9.Thread stoped [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:25]OFD Sender: No OFD packet to send [13:18:30]OFD Sender: No OFD packet to send [13:18:35]OFD Sender: No OFD packet to send [13:18:40]OFD Sender: No OFD packet to send [13:18:45]OFD Sender: No OFD packet to send [13:18:50]OFD Sender: No OFD packet to send [13:18:55]OFD Sender: No OFD packet to send [13:19:00]OFD Sender: No OFD packet to send [13:19:05]OFD Sender: No OFD packet to send [13:19:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:25]OFD Sender: No OFD packet to send [13:19:30]OFD Sender: No OFD packet to send [13:19:35]OFD Sender: No OFD packet to send [13:19:40]OFD Sender: No OFD packet to send [13:19:45]OFD Sender: No OFD packet to send [13:19:50]OFD Sender: No OFD packet to send [13:19:55]OFD Sender: No OFD packet to send [13:20:00]OFD Sender: No OFD packet to send [13:20:05]OFD Sender: No OFD packet to send [13:20:10]OFD Sender: No OFD packet to send [13:20:15]OFD Sender: No OFD packet to send [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:45]OFD Sender: No OFD packet to send [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:11]accept exits with 7 [13:23:11]New connection [13:23:11]New thread 3066461540 created [13:23:11]Thread 3066604900 joined [13:23:11]Waiting for new connection... [13:23:11] Sock 7.Parse request [13:23:11]Sock 7.Check first char [13:23:11]Sock 7.First char is OK [13:23:11]request: POST /json_proto HTTP/1.0 [13:23:11]Method: POST [13:23:11]URL: /json_proto [13:23:11]Method is POST - this is cgi request [13:23:11]url: /json_proto [13:23:11]query_string will be loaded in cgi processing [13:23:11]execute_cgi json_proto POST (null) [13:23:11]execute_cgi path=json_proto method=POST [13:23:11]POST find Content-Length [13:23:11]Host: 172.17.35.196:8080 [13:23:11]Content-Length: 621 [13:23:11]Content-Type: application/json [13:23:11] [13:23:11]POST finish read [13:23:11]Found Content-Length = 621 [13:23:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169218", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:11]execute_script... [13:23: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)169218", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:11]POST & json_proto [13:23:11]process_json_proto [13:23:11]json parsed OK: [13:23:11]protocol is kg_v1.0 [13:23:11]action value=close_receipt [13:23:11]process_action close_receipt [13:23:11]cmd_close_receipt [13:23:11]MH_GetDate [13:23:11]Write to MH i2c: F0 00 00 D6 19 DE [13:23:11]Write i2c OK [13:23:11]MH_I2C_Read... [13:23:11]Read from MH i2c: F0 [13:23:11]MH_I2C_Read... [13:23:11]Read from MH i2c: F0 09 00 [13:23:11]MH_I2C_Read... [13:23:11]Read from MH i2c: F0 09 00 D6 19 00 C5 7F 92 66 AD 14 F4 65 3D [13:23:11]GetLastDocTimeStamp 1720876683 [13:23:11]current date 1720876997 [13:23:11]FM_GetShiftState [13:23:11]SAM_PROTO_GetShiftState [13:23:11]wFMCommunicate request_size=4 [13:23:11]MH_SAM_APDU [13:23:11]CAPDU: 80 13 01 00 [13:23:11]Write to MH i2c: E2 08 00 D7 19 80 13 01 00 00 00 00 00 6D [13:23:11]Write i2c OK [13:23:11]MH_I2C_Read... [13:23:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:11]Read from MH i2c: E2 [13:23:11]MH_I2C_Read... [13:23:11]Read from MH i2c: E2 0E 00 [13:23:11]MH_I2C_Read... [13:23:11]Read from MH i2c: E2 0E 00 D7 19 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 4C [13:23:11]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:23:11]wFMCommunicate OK [13:23:11]SAM_PROTO_GetShiftState done [13:23:11]FM_GetShiftState done [13:23:11]opened in 1720829207 [13:23:11]opened+sec_in_day 1720915607 [13:23:11]quantity*price = 14000 [13:23:11]sum+1 = 14001 [13:23:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 28 13.07.2024 13:23 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33409 ФПД: 245841416897939 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T132317&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33409&fm=245841416897939&tin=02508201610067®Number=0000000000093033&sum=14000 0 [13:23:12]StoreToDocumentArchive [13:23:12]shift 434 fd 33409 [13:23:12]save to /storage/0434/doc_00033409 [13:23:12]save last doc name /storage/0434/doc_00033409 to /storage/kkm_last_doc_name [13:23:12]save OK [13:23:12]Clear old archive folders... [13:23:12]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:23:12]tlvbuf is 00A48DB0 [13:23:12]SAM_PROTO_ClearQueue [13:23:12]wFMCommunicate request_size=4 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 09 00 00 [13:23:12]Write to MH i2c: E2 08 00 E4 19 80 09 00 00 00 00 00 00 6F [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 E4 19 00 90 00 71 [13:23:12]RAPDU: 90 00 [13:23:12]wFMCommunicate OK [13:23:12]SAM_PROTO_ClearQueue done [13:23:12]KKMCreateOFDPacket [13:23:12]OFDProtocolAddRootSTLVToBuf [13:23:12]FM_MakeSignedData [13:23:12]FM_MakeSignedData [13:23:12]SAM_PROTO_SignData [13:23:12]wFMCommunicate request_size=4 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 0D 01 02 [13:23:12]Write to MH i2c: E2 08 00 E5 19 80 0D 01 02 00 00 00 00 77 [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 E5 19 00 90 00 72 [13:23:12]RAPDU: 90 00 [13:23:12]wFMCommunicate OK [13:23:12]wFMCommunicate request_size=255 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 C5 7F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [13:23:12]Write to MH i2c: E2 02 01 E6 19 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 C5 7F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 5C [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 E6 19 00 90 00 73 [13:23:12]RAPDU: 90 00 [13:23:12]wFMCommunicate OK [13:23:12]wFMCommunicate request_size=32 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 81 82 00 00 35 04 06 00 DF 97 6A 53 45 93 [13:23:12]Write to MH i2c: E2 23 00 E7 19 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 81 82 00 00 35 04 06 00 DF 97 6A 53 45 93 00 00 DE [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 E7 19 00 90 00 74 [13:23:12]RAPDU: 90 00 [13:23:12]wFMCommunicate OK [13:23:12]wFMCommunicate request_size=4 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 0D 03 02 [13:23:12]Write to MH i2c: E2 08 00 E8 19 80 0D 03 02 00 00 00 00 7C [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 0B 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 0B 00 E8 19 00 EC 12 50 45 C0 8B 14 10 90 00 7F [13:23:12]RAPDU: EC 12 50 45 C0 8B 14 10 90 00 [13:23:12]wFMCommunicate OK [13:23:12]SAM_PROTO_SignData done [13:23:12]FM_MakeSignedData done [13:23:12]CreateOFDProtocolMessage [13:23:12]wFMCommunicate request_size=4 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 11 00 00 [13:23:12]Write to MH i2c: E2 08 00 E9 19 80 11 00 00 00 00 00 00 7C [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 17 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 17 00 E9 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C8 [13:23:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:23:12]wFMCommunicate OK [13:23:12]CreateOFDProtocolMessage done [13:23:12]OFDSenderStorePacket 33409 [13:23:12]StoreOFDPacket docnum=33409 [13:23:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 F6 89 1D 01 A3 9D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 C5 7F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 81 82 00 00 35 04 06 00 DF 97 6A 53 45 93 EC 12 50 45 C0 8B 14 10 [13:23:12]CheckFolder [13:23:12]dirname=/storage/ofd_packets [13:23:12]CheckFolder done [13:23:12]ProducePacketName [13:23:12]name=ofd_packets/00033409 [13:23:12]NVStorageSaveData ofd_packets/00033409 [13:23:12]File name is /storage/ofd_packets/00033409 [13:23:12]Write 323 bytes [13:23:12]NVStorageSaveData done [13:23:12]OFDSenderStorePacket done [13:23:12]KKMCreateOFDPacket done [13:23:12]NVStorageSaveData kkm_last_timestamp [13:23:12]File name is /storage/kkm_last_timestamp [13:23:12]Write 4 bytes [13:23:12]NVStorageSaveData done [13:23:12]ExternCall_PrintAddStr [13:23:12]wPrintStart [13:23:12]Write to MH i2c: 01 00 00 EA 19 03 [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: 01 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: 01 07 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: 01 07 00 EA 19 00 00 00 00 00 FF 0F 18 [13:23:12]RasterBufferAndPrint [13:23:12]line Счет N : (3)169218 [13:23:12]line ИНН: 02508201610067 [13:23:12]line Контрольно-Кассовый Чек [13:23:12]line ПРОДАЖА [13:23:12]line Товар: 48747059 [13:23:12]line Сигареты Winston Legend Blue [13:23:12]line 1.000 * 140.00 [13:23:12]line = 140.00 [13:23:12]line НДС 12% НСП 1% [13:23:12]line > о реализуемом товаре [13:23:12]line ИТОГО: 140.00 [13:23:12]line НСП 1% : 1.24 [13:23:12]line НДС 12% : 14.87 [13:23:12]line Наличными: 140.00 [13:23:12]line Безнал.: 0.00 [13:23:12]line Место: АЗС № 77 "Партнер Нефть" [13:23:12]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:23:12]line СНО: Общий режим [13:23:12]line Чек 28 13.07.2024 13:23 [13:23:12]line Смена: 434 ФФД: 1.0 [13:23:12]line ЗНМ: 0300000122 [13:23:13]line РНМ: 0000000000093033 [13:23:13]line Версия ККМ: 001 [13:23:13]line ФМ: 0000000000875104 [13:23:13]line ФД: 33409 [13:23:13]line ФПД: 245841416897939 [13:23:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T132317&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33409&fm=245841416897939&tin=02508201610067®Number=0000000000093033&sum=14000 [13:23:13]line 0 [13:23:13]OFD Sender: Processing packet 33409 [packets to send 6, broken 5] [13:23:13]ProducePacketName [13:23:13]name=ofd_packets/00033409 [13:23:13]OFD Sender: To server: pG, [13:23:13]CommunicateWithHost lk.salyk.kg:30040 [13:23:13]ConnectInit lk.salyk.kg [13:23:13]written 0, free lines is 4095 [13:23:13]Connected sock=10 [13:23:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 F6 89 1D 01 A3 9D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 C5 7F 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 81 82 00 00 35 04 06 00 DF 97 6A 53 45 93 EC 12 50 45 C0 8B 14 10 [13:23:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 85 CB 47 00 FC 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 81 82 00 00 F4 03 04 00 6F 2A 92 66 B6 04 01 00 00 3B 4F F1 1E F5 16 AB EE [13:23:13]CommunicateWithHost err = 0 [13:23:13]CheckOFDResponse [13:23:13]1017 (14) - 77093643461234 [13:23:13]1041 (16) - 0000000000875104 [13:23:13]1040 (4) - 33409 [13:23:13]1012 (4) - 13.07.2024 07:19 [13:23:13]1206 (1) - 0 [13:23:13]OFD Sender: Remove packet 33409 [13:23:13]ProducePacketName [13:23:13]name=ofd_packets/00033409 [13:23:13]NVStorageDeleteData [13:23:13]Write to MH i2c: 01 00 00 13 1A 2D [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 07 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 07 00 13 1A 00 00 00 00 00 DD 0C 1D [13:23:13]RasterBufferAndPrint [13:23:13]line [13:23:13]line [13:23:13]line [13:23:13]line [13:23:13]line [13:23:13]written 0, free lines is 3299 [13:23:13]MH_Cut [13:23:13]Write to MH i2c: D1 01 00 1A 1A 01 06 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: D1 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: D1 01 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: D1 01 00 1A 1A 00 05 [13:23:13]Write to MH i2c: 01 00 00 1B 1A 35 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:14]OFD Sender: No OFD packet to send [13:23:14]*** Cut start [13:23:14]*** Partial cut [13:23:14]*** CUTSNS_PIN = 1 [13:23:14]*** CUTSNS_PIN = 0 [13:23:14]*** Brake cut motor [13:23:15]Read from MH i2c: 01 [13:23:15]MH_I2C_Read... [13:23:15]*** Stop cut motor [13:23:15]*** Cut end [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 1B 1A 00 00 00 00 00 FF 0F 4A [13:23:15]process_action close_receipt done [13:23:15]requested_data is exist [13:23:15]produce_requested_data [13:23:15]requested_item fm.sn is exist - process it [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 1C 1A 80 11 00 00 00 00 00 00 B0 [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 1C 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FC [13:23:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:23:15]wFMCommunicate OK [13:23:15]requested_item fd.num is exist - process it [13:23:15]SAM_PROTO_GetFieldsCounters [13:23:15]wFMCommunicate request_size=4 [13:23:15]MH_SAM_APDU [13:23:15]CAPDU: 80 13 00 00 [13:23:15]Write to MH i2c: E2 08 00 1D 1A 80 13 00 00 00 00 00 00 B3 [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 62 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 62 00 1D 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 81 82 00 00 0E 04 04 00 B2 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 D0 [13:23:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 81 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:23:15]wFMCommunicate OK [13:23:15]SAM_PROTO_GetFieldsCounters done [13:23:15]requested_item shift.num is exist - process it [13:23:15]requested_item shift.opened is exist - process it [13:23:15]req_shift_opened [13:23:15]FM_GetShiftState [13:23:15]SAM_PROTO_GetShiftState [13:23:15]wFMCommunicate request_size=4 [13:23:15]MH_SAM_APDU [13:23:15]CAPDU: 80 13 01 00 [13:23:15]Write to MH i2c: E2 08 00 1E 1A 80 13 01 00 00 00 00 00 B5 [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 0E 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 0E 00 1E 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 94 [13:23:15]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [13:23:15]wFMCommunicate OK [13:23:15]SAM_PROTO_GetShiftState done [13:23:15]FM_GetShiftState done [13:23:15]req_shift_opened done [13:23:15]requested_item shift.open_date is exist - process it [13:23:15]req_shift_open_date [13:23:15]req_shift_open_date done [13:23:15]produce_requested_data done [13:23:15]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33409,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [13:23:15]process_action_free close_receipt [13:23:15]json_value_free [13:23:15]json_value_free done [13:23:15]process_json_proto returns [13:23:15]Send response to host [13:23:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33409,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [13:23:15]free response buf [13:23:15]execute_script done [13:23:15]execute_script returns [13:23:15]free content buf [13:23:15]Sock 7.Close socket [13:23:15]Sock 7.Thread stoped [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:29]OFD Sender: No OFD packet to send [13:23:34]OFD Sender: No OFD packet to send [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:14]OFD Sender: No OFD packet to send [13:24:19]OFD Sender: No OFD packet to send [13:24:24]OFD Sender: No OFD packet to send [13:24:29]OFD Sender: No OFD packet to send [13:24:34]OFD Sender: No OFD packet to send [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34: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:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:15]OFD Sender: No OFD packet to send [14:01:20]OFD Sender: No OFD packet to send [14:01:25]OFD Sender: No OFD packet to send [14:01:30]OFD Sender: No OFD packet to send [14:01:35]OFD Sender: No OFD packet to send [14:01:40]OFD Sender: No OFD packet to send [14:01:45]OFD Sender: No OFD packet to send [14:01:50]OFD Sender: No OFD packet to send [14:01:55]OFD Sender: No OFD packet to send [14:02:00]OFD Sender: No OFD packet to send [14:02:05]OFD Sender: No OFD packet to send [14:02:10]OFD Sender: No OFD packet to send [14:02:15]OFD Sender: No OFD packet to send [14:02:20]OFD Sender: No OFD packet to send [14:02:25]OFD Sender: No OFD packet to send [14:02:30]OFD Sender: No OFD packet to send [14:02:35]OFD Sender: No OFD packet to send [14:02:40]OFD Sender: No OFD packet to send [14:02:45]OFD Sender: No OFD packet to send [14:02:50]OFD Sender: No OFD packet to send [14:02:55]OFD Sender: No OFD packet to send [14:03:00]OFD Sender: No OFD packet to send [14:03:05]OFD Sender: No OFD packet to send [14:03:10]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:50]OFD Sender: No OFD packet to send [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]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:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:11]OFD Sender: No OFD packet to send [14:19:16]OFD Sender: No OFD packet to send [14:19:21]OFD Sender: No OFD packet to send [14:19:26]OFD Sender: No OFD packet to send [14:19:31]OFD Sender: No OFD packet to send [14:19:36]OFD Sender: No OFD packet to send [14:19:41]OFD Sender: No OFD packet to send [14:19:46]OFD Sender: No OFD packet to send [14:19:51]OFD Sender: No OFD packet to send [14:19:56]OFD Sender: No OFD packet to send [14:20:01]OFD Sender: No OFD packet to send [14:20:06]OFD Sender: No OFD packet to send [14:20:11]OFD Sender: No OFD packet to send [14:20:16]OFD Sender: No OFD packet to send [14:20:21]OFD Sender: No OFD packet to send [14:20:26]OFD Sender: No OFD packet to send [14:20:31]OFD Sender: No OFD packet to send [14:20:36]OFD Sender: No OFD packet to send [14:20:41]OFD Sender: No OFD packet to send [14:20:46]OFD Sender: No OFD packet to send [14:20:51]OFD Sender: No OFD packet to send [14:20:56]OFD Sender: No OFD packet to send [14:21:01]OFD Sender: No OFD packet to send [14:21:06]OFD Sender: No OFD packet to send [14:21:11]OFD Sender: No OFD packet to send [14:21:16]OFD Sender: No OFD packet to send [14:21:21]OFD Sender: No OFD packet to send [14:21:26]OFD Sender: No OFD packet to send [14:21:31]OFD Sender: No OFD packet to send [14:21:36]OFD Sender: No OFD packet to send [14:21:41]OFD Sender: No OFD packet to send [14:21:46]OFD Sender: No OFD packet to send [14:21:51]OFD Sender: No OFD packet to send [14:21:56]OFD Sender: No OFD packet to send [14:22:01]OFD Sender: No OFD packet to send [14:22:06]OFD Sender: No OFD packet to send [14:22:11]OFD Sender: No OFD packet to send [14:22:16]OFD Sender: No OFD packet to send [14:22:21]OFD Sender: No OFD packet to send [14:22:26]OFD Sender: No OFD packet to send [14:22:31]OFD Sender: No OFD packet to send [14:22:36]OFD Sender: No OFD packet to send [14:22:41]OFD Sender: No OFD packet to send [14:22:46]OFD Sender: No OFD packet to send [14:22:51]OFD Sender: No OFD packet to send [14:22:56]OFD Sender: No OFD packet to send [14:23:01]OFD Sender: No OFD packet to send [14:23:06]OFD Sender: No OFD packet to send [14:23:11]OFD Sender: No OFD packet to send [14:23:16]OFD Sender: No OFD packet to send [14:23:21]OFD Sender: No OFD packet to send [14:23:26]OFD Sender: No OFD packet to send [14:23:31]OFD Sender: No OFD packet to send [14:23:36]OFD Sender: No OFD packet to send [14:23:41]OFD Sender: No OFD packet to send [14:23:46]OFD Sender: No OFD packet to send [14:23:51]OFD Sender: No OFD packet to send [14:23:56]OFD Sender: No OFD packet to send [14:24:01]OFD Sender: No OFD packet to send [14:24:06]OFD Sender: No OFD packet to send [14:24:11]OFD Sender: No OFD packet to send [14:24:16]OFD Sender: No OFD packet to send [14:24:21]OFD Sender: No OFD packet to send [14:24:26]OFD Sender: No OFD packet to send [14:24:31]OFD Sender: No OFD packet to send [14:24:36]OFD Sender: No OFD packet to send [14:24:41]OFD Sender: No OFD packet to send [14:24:46]OFD Sender: No OFD packet to send [14:24:51]OFD Sender: No OFD packet to send [14:24:56]OFD Sender: No OFD packet to send [14:25:01]OFD Sender: No OFD packet to send [14:25:06]OFD Sender: No OFD packet to send [14:25:11]OFD Sender: No OFD packet to send [14:25:16]OFD Sender: No OFD packet to send [14:25:21]OFD Sender: No OFD packet to send [14:25:26]OFD Sender: No OFD packet to send [14:25:31]OFD Sender: No OFD packet to send [14:25:36]OFD Sender: No OFD packet to send [14:25:39]accept exits with 9 [14:25:39]New connection [14:25:39]New thread 3066604900 created [14:25:39]Thread 3066461540 joined [14:25:39]Waiting for new connection... [14:25:39] Sock 9.Parse request [14:25:39]Sock 9.Check first char [14:25:39]Sock 9.First char is OK [14:25:39]request: POST /json_proto HTTP/1.0 [14:25:39]Method: POST [14:25:39]URL: /json_proto [14:25:39]Method is POST - this is cgi request [14:25:39]url: /json_proto [14:25:39]query_string will be loaded in cgi processing [14:25:39]execute_cgi json_proto POST (null) [14:25:39]execute_cgi path=json_proto method=POST [14:25:39]POST find Content-Length [14:25:39]Host: 172.17.35.196:8080 [14:25:39]Content-Length: 721 [14:25:39]Content-Type: application/json [14:25:39] [14:25:39]POST finish read [14:25:39]Found Content-Length = 721 [14:25:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169219", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:39]execute_script... [14:25: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)169219", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:39]POST & json_proto [14:25:39]process_json_proto [14:25:39]json parsed OK: [14:25:39]protocol is kg_v1.0 [14:25:39]action value=close_receipt [14:25:39]process_action close_receipt [14:25:39]cmd_close_receipt [14:25:39]MH_GetDate [14:25:39]Write to MH i2c: F0 00 00 1F 1A 28 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: F0 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: F0 09 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: F0 09 00 1F 1A 00 69 8E 92 66 AD 14 F4 65 3A [14:25:39]GetLastDocTimeStamp 1720876997 [14:25:39]current date 1720880745 [14:25:39]FM_GetShiftState [14:25:39]SAM_PROTO_GetShiftState [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 13 01 00 [14:25:39]Write to MH i2c: E2 08 00 20 1A 80 13 01 00 00 00 00 00 B7 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 0E 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 0E 00 20 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 96 [14:25:39]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [14:25:39]wFMCommunicate OK [14:25:39]SAM_PROTO_GetShiftState done [14:25:39]FM_GetShiftState done [14:25:39]opened in 1720829207 [14:25:39]opened+sec_in_day 1720915607 [14:25:39]quantity*price = 7000 [14:25:39]sum+1 = 7001 [14:25:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 29 13.07.2024 14:25 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33410 ФПД: 198158033862523 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T142545&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33410&fm=198158033862523&tin=02508201610067®Number=0000000000093033&sum=7000 0 [14:25:40]StoreToDocumentArchive [14:25:40]shift 434 fd 33410 [14:25:40]save to /storage/0434/doc_00033410 [14:25:40]save last doc name /storage/0434/doc_00033410 to /storage/kkm_last_doc_name [14:25:40]save OK [14:25:40]Clear old archive folders... [14:25:40]ProcessDocumentItem done err = 0, tmpTLVsize=300 [14:25:40]tlvbuf is 00A5E2F0 [14:25:40]SAM_PROTO_ClearQueue [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 09 00 00 [14:25:40]Write to MH i2c: E2 08 00 2D 1A 80 09 00 00 00 00 00 00 B9 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 2D 1A 00 90 00 BB [14:25:40]RAPDU: 90 00 [14:25:40]wFMCommunicate OK [14:25:40]SAM_PROTO_ClearQueue done [14:25:40]KKMCreateOFDPacket [14:25:40]OFDProtocolAddRootSTLVToBuf [14:25:40]FM_MakeSignedData [14:25:40]FM_MakeSignedData [14:25:40]SAM_PROTO_SignData [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 0D 01 02 [14:25:40]Write to MH i2c: E2 08 00 2E 1A 80 0D 01 02 00 00 00 00 C1 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 2E 1A 00 90 00 BC [14:25:40]RAPDU: 90 00 [14:25:40]wFMCommunicate OK [14:25:40]wFMCommunicate request_size=255 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 69 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 [14:25:40]Write to MH i2c: E2 02 01 2F 1A 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 69 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 00 00 EE [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 2F 1A 00 90 00 BD [14:25:40]RAPDU: 90 00 [14:25:40]wFMCommunicate OK [14:25:40]wFMCommunicate request_size=59 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 82 82 00 00 35 04 06 00 B4 39 43 37 BF 7B [14:25:40]Write to MH i2c: E2 3E 00 30 1A 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 82 82 00 00 35 04 06 00 B4 39 43 37 BF 7B 00 00 7C [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 03 00 30 1A 00 90 00 BE [14:25:40]RAPDU: 90 00 [14:25:40]wFMCommunicate OK [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 0D 03 02 [14:25:40]Write to MH i2c: E2 08 00 31 1A 80 0D 03 02 00 00 00 00 C6 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 0B 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 0B 00 31 1A 00 1E 76 72 DB 99 20 3C FF 90 00 9C [14:25:40]RAPDU: 1E 76 72 DB 99 20 3C FF 90 00 [14:25:40]wFMCommunicate OK [14:25:40]SAM_PROTO_SignData done [14:25:40]FM_MakeSignedData done [14:25:40]CreateOFDProtocolMessage [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 11 00 00 [14:25:40]Write to MH i2c: E2 08 00 32 1A 80 11 00 00 00 00 00 00 C6 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 17 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 17 00 32 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 12 [14:25:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:25:40]wFMCommunicate OK [14:25:40]CreateOFDProtocolMessage done [14:25:40]OFDSenderStorePacket 33410 [14:25:40]StoreOFDPacket docnum=33410 [14:25:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 40 01 00 00 CC 46 38 01 E8 81 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 69 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 82 82 00 00 35 04 06 00 B4 39 43 37 BF 7B 1E 76 72 DB 99 20 3C FF [14:25:40]CheckFolder [14:25:40]dirname=/storage/ofd_packets [14:25:40]CheckFolder done [14:25:40]ProducePacketName [14:25:40]name=ofd_packets/00033410 [14:25:40]NVStorageSaveData ofd_packets/00033410 [14:25:40]File name is /storage/ofd_packets/00033410 [14:25:40]Write 350 bytes [14:25:40]NVStorageSaveData done [14:25:40]OFDSenderStorePacket done [14:25:40]KKMCreateOFDPacket done [14:25:40]NVStorageSaveData kkm_last_timestamp [14:25:40]File name is /storage/kkm_last_timestamp [14:25:40]Write 4 bytes [14:25:40]NVStorageSaveData done [14:25:40]ExternCall_PrintAddStr [14:25:40]wPrintStart [14:25:40]Write to MH i2c: 01 00 00 33 1A 4D [14:25:40]OFD Sender: Processing packet 33410 [packets to send 6, broken 5] [14:25:40]ProducePacketName [14:25:40]name=ofd_packets/00033410 [14:25:40]OFD Sender: To server: pG, [14:25:40]CommunicateWithHost lk.salyk.kg:30040 [14:25:40]ConnectInit lk.salyk.kg [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 33 1A 00 00 00 00 00 FF 0F 62 [14:25:40]RasterBufferAndPrint [14:25:40]line Счет N : (3)169219 [14:25:40]line ИНН: 02508201610067 [14:25:40]line Контрольно-Кассовый Чек [14:25:40]line ПРОДАЖА [14:25:40]line Товар: 4700007110066 [14:25:40]line Сэндвич с майонезом Талас Даамы [14:25:40]line 1.000 * 70.00 [14:25:40]line = 70.00 [14:25:40]line НДС 12% НСП 1% [14:25:40]line > о реализуемом товаре [14:25:40]line ИТОГО: 70.00 [14:25:40]line НСП 1% : 0.62 [14:25:40]line НДС 12% : 7.43 [14:25:40]line Наличными: 70.00 [14:25:40]line Безнал.: 0.00 [14:25:40]line Место: АЗС № 77 "Партнер Нефть" [14:25:40]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:25:40]line СНО: Общий режим [14:25:40]line Чек 29 13.07.2024 14:25 [14:25:40]line Смена: 434 ФФД: 1.0 [14:25:40]line ЗНМ: 0300000122 [14:25:40]line РНМ: 0000000000093033 [14:25:40]line Версия ККМ: 001 [14:25:40]line ФМ: 0000000000875104 [14:25:40]line ФД: 33410 [14:25:40]line ФПД: 198158033862523 [14:25:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T142545&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33410&fm=198158033862523&tin=02508201610067®Number=0000000000093033&sum=7000 [14:25:41]line 0 [14:25:41]Connected sock=10 [14:25:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 40 01 00 00 CC 46 38 01 E8 81 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 69 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 82 82 00 00 35 04 06 00 B4 39 43 37 BF 7B 1E 76 72 DB 99 20 3C FF [14:25:41]written 0, free lines is 4095 [14:25:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 31 4A 47 00 12 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 35 31 30 34 10 04 04 00 82 82 00 00 F4 03 04 00 13 39 92 66 B6 04 01 00 00 C7 67 21 47 21 CA 21 63 [14:25:41]CommunicateWithHost err = 0 [14:25:41]CheckOFDResponse [14:25:41]1017 (14) - 77093643461234 [14:25:41]1041 (16) - 0000000000875104 [14:25:41]1040 (4) - 33410 [14:25:41]1012 (4) - 13.07.2024 08:21 [14:25:41]1206 (1) - 0 [14:25:41]OFD Sender: Remove packet 33410 [14:25:41]ProducePacketName [14:25:41]name=ofd_packets/00033410 [14:25:41]NVStorageDeleteData [14:25:41]Write to MH i2c: 01 00 00 5C 1A 76 [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 5C 1A 00 00 00 00 00 C9 0C 52 [14:25:41]RasterBufferAndPrint [14:25:41]line [14:25:41]line [14:25:41]line [14:25:41]line [14:25:41]line [14:25:41]written 0, free lines is 3279 [14:25:41]MH_Cut [14:25:41]Write to MH i2c: D1 01 00 63 1A 01 4F [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: D1 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: D1 01 00 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: D1 01 00 63 1A 00 4E [14:25:41]Write to MH i2c: 01 00 00 64 1A 7E [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]OFD Sender: No OFD packet to send [14:25:42]*** Cut start [14:25:42]*** Partial cut [14:25:42]*** CUTSNS_PIN = 1 [14:25:42]*** CUTSNS_PIN = 0 [14:25:42]*** Brake cut motor [14:25:42]Read from MH i2c: 01 [14:25:43]MH_I2C_Read... [14:25:43]*** Stop cut motor [14:25:43]*** Cut end [14:25:43]Read from MH i2c: 01 07 00 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: 01 07 00 64 1A 00 00 00 00 00 FF 0F 93 [14:25:43]process_action close_receipt done [14:25:43]requested_data is exist [14:25:43]produce_requested_data [14:25:43]requested_item fm.sn is exist - process it [14:25:43]wFMCommunicate request_size=4 [14:25:43]MH_SAM_APDU [14:25:43]CAPDU: 80 11 00 00 [14:25:43]Write to MH i2c: E2 08 00 65 1A 80 11 00 00 00 00 00 00 F9 [14:25:43]Write i2c OK [14:25:43]MH_I2C_Read... [14:25:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:43]Read from MH i2c: E2 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: E2 17 00 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: E2 17 00 65 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 45 [14:25:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:25:43]wFMCommunicate OK [14:25:43]requested_item fd.num is exist - process it [14:25:43]SAM_PROTO_GetFieldsCounters [14:25:43]wFMCommunicate request_size=4 [14:25:43]MH_SAM_APDU [14:25:43]CAPDU: 80 13 00 00 [14:25:43]Write to MH i2c: E2 08 00 66 1A 80 13 00 00 00 00 00 00 FC [14:25:43]Write i2c OK [14:25:43]MH_I2C_Read... [14:25:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:25:43]Read from MH i2c: E2 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: E2 62 00 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: E2 62 00 66 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 82 82 00 00 0E 04 04 00 B2 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 1D [14:25:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 82 82 00 00 0E 04 04 00 B2 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 [14:25:43]wFMCommunicate OK [14:25:43]SAM_PROTO_GetFieldsCounters done [14:25:43]requested_item shift.num is exist - process it [14:25:43]requested_item shift.opened is exist - process it [14:25:43]req_shift_opened [14:25:43]FM_GetShiftState [14:25:43]SAM_PROTO_GetShiftState [14:25:43]wFMCommunicate request_size=4 [14:25:43]MH_SAM_APDU [14:25:43]CAPDU: 80 13 01 00 [14:25:43]Write to MH i2c: E2 08 00 67 1A 80 13 01 00 00 00 00 00 FE [14:25:43]Write i2c OK [14:25:43]MH_I2C_Read... [14:25:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:43]Read from MH i2c: E2 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: E2 0E 00 [14:25:43]MH_I2C_Read... [14:25:43]Read from MH i2c: E2 0E 00 67 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 DD [14:25:43]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [14:25:43]wFMCommunicate OK [14:25:43]SAM_PROTO_GetShiftState done [14:25:43]FM_GetShiftState done [14:25:43]req_shift_opened done [14:25:43]requested_item shift.open_date is exist - process it [14:25:43]req_shift_open_date [14:25:43]req_shift_open_date done [14:25:43]produce_requested_data done [14:25:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33410,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [14:25:43]process_action_free close_receipt [14:25:43]json_value_free [14:25:43]json_value_free done [14:25:43]process_json_proto returns [14:25:43]Send response to host [14:25:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33410,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [14:25:43]free response buf [14:25:43]execute_script done [14:25:43]execute_script returns [14:25:43]free content buf [14:25:43]Sock 9.Close socket [14:25:43]Sock 9.Thread stoped [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:33]accept exits with 7 [14:26:33]New connection [14:26:33]New thread 3066461540 created [14:26:33]Thread 3066604900 joined [14:26:33]Waiting for new connection... [14:26:33] Sock 7.Parse request [14:26:33]Sock 7.Check first char [14:26:33]Sock 7.First char is OK [14:26:33]request: POST /json_proto HTTP/1.0 [14:26:33]Method: POST [14:26:33]URL: /json_proto [14:26:33]Method is POST - this is cgi request [14:26:33]url: /json_proto [14:26:33]query_string will be loaded in cgi processing [14:26:33]execute_cgi json_proto POST (null) [14:26:33]execute_cgi path=json_proto method=POST [14:26:33]POST find Content-Length [14:26:33]Host: 172.17.35.196:8080 [14:26:33]Content-Length: 644 [14:26:33]Content-Type: application/json [14:26:33] [14:26:33]POST finish read [14:26:33]Found Content-Length = 644 [14:26:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169220", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:26:33]execute_script... [14:26: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)169220", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:26:33]POST & json_proto [14:26:33]process_json_proto [14:26:33]json parsed OK: [14:26:33]protocol is kg_v1.0 [14:26:33]action value=close_receipt [14:26:33]process_action close_receipt [14:26:33]cmd_close_receipt [14:26:33]MH_GetDate [14:26:33]Write to MH i2c: F0 00 00 68 1A 71 [14:26:33]Write i2c OK [14:26:33]MH_I2C_Read... [14:26:33]Read from MH i2c: F0 [14:26:33]MH_I2C_Read... [14:26:33]Read from MH i2c: F0 09 00 [14:26:33]MH_I2C_Read... [14:26:33]Read from MH i2c: F0 09 00 68 1A 00 9F 8E 92 66 AD 14 F4 65 B9 [14:26:33]GetLastDocTimeStamp 1720880745 [14:26:33]current date 1720880799 [14:26:33]FM_GetShiftState [14:26:33]SAM_PROTO_GetShiftState [14:26:33]wFMCommunicate request_size=4 [14:26:33]MH_SAM_APDU [14:26:33]CAPDU: 80 13 01 00 [14:26:33]Write to MH i2c: E2 08 00 69 1A 80 13 01 00 00 00 00 00 00 [14:26:33]Write i2c OK [14:26:33]MH_I2C_Read... [14:26:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:26:33]Read from MH i2c: E2 [14:26:33]MH_I2C_Read... [14:26:33]Read from MH i2c: E2 0E 00 [14:26:33]MH_I2C_Read... [14:26:33]Read from MH i2c: E2 0E 00 69 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 DF [14:26:33]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [14:26:33]wFMCommunicate OK [14:26:33]SAM_PROTO_GetShiftState done [14:26:33]FM_GetShiftState done [14:26:33]opened in 1720829207 [14:26:33]opened+sec_in_day 1720915607 [14:26:33]quantity*price = 11500 [14:26:33]sum+1 = 11501 [14:26:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 30 13.07.2024 14:26 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33411 ФПД: 9683859753427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T142639&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33411&fm=9683859753427&tin=02508201610067®Number=0000000000093033&sum=11500 0 [14:26:34]StoreToDocumentArchive [14:26:34]shift 434 fd 33411 [14:26:34]save to /storage/0434/doc_00033411 [14:26:34]save last doc name /storage/0434/doc_00033411 to /storage/kkm_last_doc_name [14:26:34]save OK [14:26:34]Clear old archive folders... [14:26:34]ProcessDocumentItem done err = 0, tmpTLVsize=280 [14:26:34]tlvbuf is 00A5DF20 [14:26:34]SAM_PROTO_ClearQueue [14:26:34]wFMCommunicate request_size=4 [14:26:34]MH_SAM_APDU [14:26:34]CAPDU: 80 09 00 00 [14:26:34]Write to MH i2c: E2 08 00 76 1A 80 09 00 00 00 00 00 00 02 [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:26:34]Read from MH i2c: E2 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 76 1A 00 90 00 04 [14:26:34]RAPDU: 90 00 [14:26:34]wFMCommunicate OK [14:26:34]SAM_PROTO_ClearQueue done [14:26:34]KKMCreateOFDPacket [14:26:34]OFDProtocolAddRootSTLVToBuf [14:26:34]FM_MakeSignedData [14:26:34]FM_MakeSignedData [14:26:34]SAM_PROTO_SignData [14:26:34]wFMCommunicate request_size=4 [14:26:34]MH_SAM_APDU [14:26:34]CAPDU: 80 0D 01 02 [14:26:34]Write to MH i2c: E2 08 00 77 1A 80 0D 01 02 00 00 00 00 0A [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:26:34]Read from MH i2c: E2 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 77 1A 00 90 00 05 [14:26:34]RAPDU: 90 00 [14:26:34]wFMCommunicate OK [14:26:34]wFMCommunicate request_size=255 [14:26:34]MH_SAM_APDU [14:26:34]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 9F 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [14:26:34]Write to MH i2c: E2 02 01 78 1A 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 9F 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 39 [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:26:34]Read from MH i2c: E2 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 78 1A 00 90 00 06 [14:26:34]RAPDU: 90 00 [14:26:34]wFMCommunicate OK [14:26:34]wFMCommunicate request_size=39 [14:26:34]MH_SAM_APDU [14:26:34]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 83 82 00 00 35 04 06 00 08 CE B3 05 49 D3 [14:26:34]Write to MH i2c: E2 2A 00 79 1A 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 83 82 00 00 35 04 06 00 08 CE B3 05 49 D3 00 00 70 [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:26:34]Read from MH i2c: E2 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 03 00 79 1A 00 90 00 07 [14:26:34]RAPDU: 90 00 [14:26:34]wFMCommunicate OK [14:26:34]wFMCommunicate request_size=4 [14:26:34]MH_SAM_APDU [14:26:34]CAPDU: 80 0D 03 02 [14:26:34]Write to MH i2c: E2 08 00 7A 1A 80 0D 03 02 00 00 00 00 0F [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:26:34]Read from MH i2c: E2 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 0B 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 0B 00 7A 1A 00 42 98 13 74 1D A2 F0 21 90 00 41 [14:26:34]RAPDU: 42 98 13 74 1D A2 F0 21 90 00 [14:26:34]wFMCommunicate OK [14:26:34]SAM_PROTO_SignData done [14:26:34]FM_MakeSignedData done [14:26:34]CreateOFDProtocolMessage [14:26:34]wFMCommunicate request_size=4 [14:26:34]MH_SAM_APDU [14:26:34]CAPDU: 80 11 00 00 [14:26:34]Write to MH i2c: E2 08 00 7B 1A 80 11 00 00 00 00 00 00 0F [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:26:34]Read from MH i2c: E2 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 17 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: E2 17 00 7B 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5B [14:26:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:26:34]wFMCommunicate OK [14:26:34]CreateOFDProtocolMessage done [14:26:34]OFDSenderStorePacket 33411 [14:26:34]StoreOFDPacket docnum=33411 [14:26:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 FB 48 24 01 B2 0A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 9F 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 83 82 00 00 35 04 06 00 08 CE B3 05 49 D3 42 98 13 74 1D A2 F0 21 [14:26:34]CheckFolder [14:26:34]dirname=/storage/ofd_packets [14:26:34]CheckFolder done [14:26:34]ProducePacketName [14:26:34]name=ofd_packets/00033411 [14:26:34]NVStorageSaveData ofd_packets/00033411 [14:26:34]File name is /storage/ofd_packets/00033411 [14:26:34]Write 330 bytes [14:26:34]NVStorageSaveData done [14:26:34]OFDSenderStorePacket done [14:26:34]KKMCreateOFDPacket done [14:26:34]NVStorageSaveData kkm_last_timestamp [14:26:34]File name is /storage/kkm_last_timestamp [14:26:34]Write 4 bytes [14:26:34]NVStorageSaveData done [14:26:34]ExternCall_PrintAddStr [14:26:34]wPrintStart [14:26:34]Write to MH i2c: 01 00 00 7C 1A 96 [14:26:34]Write i2c OK [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: 01 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: 01 07 00 [14:26:34]MH_I2C_Read... [14:26:34]Read from MH i2c: 01 07 00 7C 1A 00 00 00 00 00 FF 0F AB [14:26:34]RasterBufferAndPrint [14:26:34]line Счет N : (3)169220 [14:26:34]line ИНН: 02508201610067 [14:26:34]line Контрольно-Кассовый Чек [14:26:34]line ПРОДАЖА [14:26:34]line Товар: 2000036210013 [14:26:34]line Кофе Капучино (GABB TRADE) [14:26:34]line 1.000 * 115.00 [14:26:34]line = 115.00 [14:26:34]line НДС 12% НСП 1% [14:26:34]line > о реализуемом товаре [14:26:34]line ИТОГО: 115.00 [14:26:34]line НСП 1% : 1.02 [14:26:34]line НДС 12% : 12.21 [14:26:34]line Наличными: 115.00 [14:26:34]line Безнал.: 0.00 [14:26:34]line Место: АЗС № 77 "Партнер Нефть" [14:26:34]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:26:34]line СНО: Общий режим [14:26:34]line Чек 30 13.07.2024 14:26 [14:26:35]line Смена: 434 ФФД: 1.0 [14:26:35]line ЗНМ: 0300000122 [14:26:35]line РНМ: 0000000000093033 [14:26:35]line Версия ККМ: 001 [14:26:35]line ФМ: 0000000000875104 [14:26:35]line ФД: 33411 [14:26:35]line ФПД: 9683859753427 [14:26:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T142639&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33411&fm=9683859753427&tin=02508201610067®Number=0000000000093033&sum=11500 [14:26:35]line 0 [14:26:35]OFD Sender: Processing packet 33411 [packets to send 6, broken 5] [14:26:35]ProducePacketName [14:26:35]name=ofd_packets/00033411 [14:26:35]OFD Sender: To server: pG, [14:26:35]CommunicateWithHost lk.salyk.kg:30040 [14:26:35]ConnectInit lk.salyk.kg [14:26:35]written 0, free lines is 4095 [14:26:35]Connected sock=10 [14:26:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 FB 48 24 01 B2 0A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 9F 8E 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 83 82 00 00 35 04 06 00 08 CE B3 05 49 D3 42 98 13 74 1D A2 F0 21 [14:26:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 C3 9F 47 00 78 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 83 82 00 00 F4 03 04 00 49 39 92 66 B6 04 01 00 00 F0 EB A2 81 6C A6 74 5E [14:26:35]CommunicateWithHost err = 0 [14:26:35]CheckOFDResponse [14:26:35]1017 (14) - 77093643461234 [14:26:35]1041 (16) - 0000000000875104 [14:26:35]1040 (4) - 33411 [14:26:35]1012 (4) - 13.07.2024 08:22 [14:26:35]1206 (1) - 0 [14:26:35]OFD Sender: Remove packet 33411 [14:26:35]ProducePacketName [14:26:35]name=ofd_packets/00033411 [14:26:35]NVStorageDeleteData [14:26:35]Write to MH i2c: 01 00 00 A4 1A BE [14:26:35]Write i2c OK [14:26:35]MH_I2C_Read... [14:26:35]Read from MH i2c: 01 [14:26:35]MH_I2C_Read... [14:26:35]Read from MH i2c: 01 07 00 [14:26:35]MH_I2C_Read... [14:26:35]Read from MH i2c: 01 07 00 A4 1A 00 00 00 00 00 FC 0C CD [14:26:35]RasterBufferAndPrint [14:26:35]line [14:26:35]line [14:26:35]line [14:26:35]line [14:26:35]line [14:26:35]written 0, free lines is 3330 [14:26:35]MH_Cut [14:26:35]Write to MH i2c: D1 01 00 AB 1A 01 97 [14:26:35]Write i2c OK [14:26:35]MH_I2C_Read... [14:26:35]Read from MH i2c: D1 [14:26:35]MH_I2C_Read... [14:26:35]Read from MH i2c: D1 01 00 [14:26:35]MH_I2C_Read... [14:26:35]Read from MH i2c: D1 01 00 AB 1A 00 96 [14:26:35]Write to MH i2c: 01 00 00 AC 1A C6 [14:26:35]Write i2c OK [14:26:35]MH_I2C_Read... [14:26:35]OFD Sender: No OFD packet to send [14:26:36]*** Cut start [14:26:36]*** Partial cut [14:26:36]*** CUTSNS_PIN = 1 [14:26:36]*** CUTSNS_PIN = 0 [14:26:36]*** Brake cut motor [14:26:36]Read from MH i2c: 01 [14:26:36]MH_I2C_Read... [14:26:36]*** Stop cut motor [14:26:36]*** Cut end [14:26:36]Read from MH i2c: 01 07 00 [14:26:36]MH_I2C_Read... [14:26:36]Read from MH i2c: 01 07 00 AC 1A 00 00 00 00 00 FF 0F DB [14:26:36]process_action close_receipt done [14:26:36]requested_data is exist [14:26:36]produce_requested_data [14:26:36]requested_item fm.sn is exist - process it [14:26:36]wFMCommunicate request_size=4 [14:26:36]MH_SAM_APDU [14:26:36]CAPDU: 80 11 00 00 [14:26:36]Write to MH i2c: E2 08 00 AD 1A 80 11 00 00 00 00 00 00 41 [14:26:36]Write i2c OK [14:26:36]MH_I2C_Read... [14:26:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:26:36]Read from MH i2c: E2 [14:26:36]MH_I2C_Read... [14:26:36]Read from MH i2c: E2 17 00 [14:26:36]MH_I2C_Read... [14:26:36]Read from MH i2c: E2 17 00 AD 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8D [14:26:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:26:36]wFMCommunicate OK [14:26:36]requested_item fd.num is exist - process it [14:26:36]SAM_PROTO_GetFieldsCounters [14:26:36]wFMCommunicate request_size=4 [14:26:36]MH_SAM_APDU [14:26:36]CAPDU: 80 13 00 00 [14:26:36]Write to MH i2c: E2 08 00 AE 1A 80 13 00 00 00 00 00 00 44 [14:26:36]Write i2c OK [14:26:36]MH_I2C_Read... [14:26:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:26:37]Read from MH i2c: E2 [14:26:37]MH_I2C_Read... [14:26:37]Read from MH i2c: E2 62 00 [14:26:37]MH_I2C_Read... [14:26:37]Read from MH i2c: E2 62 00 AE 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 83 82 00 00 0E 04 04 00 B2 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 69 [14:26:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 83 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:26:37]wFMCommunicate OK [14:26:37]SAM_PROTO_GetFieldsCounters done [14:26:37]requested_item shift.num is exist - process it [14:26:37]requested_item shift.opened is exist - process it [14:26:37]req_shift_opened [14:26:37]FM_GetShiftState [14:26:37]SAM_PROTO_GetShiftState [14:26:37]wFMCommunicate request_size=4 [14:26:37]MH_SAM_APDU [14:26:37]CAPDU: 80 13 01 00 [14:26:37]Write to MH i2c: E2 08 00 AF 1A 80 13 01 00 00 00 00 00 46 [14:26:37]Write i2c OK [14:26:37]MH_I2C_Read... [14:26:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:26:37]Read from MH i2c: E2 [14:26:37]MH_I2C_Read... [14:26:37]Read from MH i2c: E2 0E 00 [14:26:37]MH_I2C_Read... [14:26:37]Read from MH i2c: E2 0E 00 AF 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 25 [14:26:37]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [14:26:37]wFMCommunicate OK [14:26:37]SAM_PROTO_GetShiftState done [14:26:37]FM_GetShiftState done [14:26:37]req_shift_opened done [14:26:37]requested_item shift.open_date is exist - process it [14:26:37]req_shift_open_date [14:26:37]req_shift_open_date done [14:26:37]produce_requested_data done [14:26:37]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33411,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [14:26:37]process_action_free close_receipt [14:26:37]json_value_free [14:26:37]json_value_free done [14:26:37]process_json_proto returns [14:26:37]Send response to host [14:26:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33411,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [14:26:37]free response buf [14:26:37]execute_script done [14:26:37]execute_script returns [14:26:37]free content buf [14:26:37]Sock 7.Close socket [14:26:37]Sock 7.Thread stoped [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:55]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:41]OFD Sender: No OFD packet to send [14:38:46]OFD Sender: No OFD packet to send [14:38:51]OFD Sender: No OFD packet to send [14:38:56]OFD Sender: No OFD packet to send [14:39:01]OFD Sender: No OFD packet to send [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]OFD Sender: No OFD packet to send [14:39:36]OFD Sender: No OFD packet to send [14:39:41]OFD Sender: No OFD packet to send [14:39:46]OFD Sender: No OFD packet to send [14:39:51]OFD Sender: No OFD packet to send [14:39:56]OFD Sender: No OFD packet to send [14:40:01]OFD Sender: No OFD packet to send [14:40:06]OFD Sender: No OFD packet to send [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:26]OFD Sender: No OFD packet to send [14:40:31]OFD Sender: No OFD packet to send [14:40:36]OFD Sender: No OFD packet to send [14:40:41]OFD Sender: No OFD packet to send [14:40:46]OFD Sender: No OFD packet to send [14:40:51]OFD Sender: No OFD packet to send [14:40:56]OFD Sender: No OFD packet to send [14:41:01]OFD Sender: No OFD packet to send [14:41:06]OFD Sender: No OFD packet to send [14:41:11]OFD Sender: No OFD packet to send [14:41:16]OFD Sender: No OFD packet to send [14:41:21]OFD Sender: No OFD packet to send [14:41:26]OFD Sender: No OFD packet to send [14:41:31]OFD Sender: No OFD packet to send [14:41:36]OFD Sender: No OFD packet to send [14:41:41]OFD Sender: No OFD packet to send [14:41:46]OFD Sender: No OFD packet to send [14:41:51]OFD Sender: No OFD packet to send [14:41:56]OFD Sender: No OFD packet to send [14:42:01]OFD Sender: No OFD packet to send [14:42:06]OFD Sender: No OFD packet to send [14:42:11]OFD Sender: No OFD packet to send [14:42:16]OFD Sender: No OFD packet to send [14:42:21]OFD Sender: No OFD packet to send [14:42:26]OFD Sender: No OFD packet to send [14:42:31]OFD Sender: No OFD packet to send [14:42:36]OFD Sender: No OFD packet to send [14:42:41]OFD Sender: No OFD packet to send [14:42:46]OFD Sender: No OFD packet to send [14:42:51]OFD Sender: No OFD packet to send [14:42:56]OFD Sender: No OFD packet to send [14:43:01]OFD Sender: No OFD packet to send [14:43:06]OFD Sender: No OFD packet to send [14:43:11]OFD Sender: No OFD packet to send [14:43:16]OFD Sender: No OFD packet to send [14:43:21]OFD Sender: No OFD packet to send [14:43:26]OFD Sender: No OFD packet to send [14:43:31]OFD Sender: No OFD packet to send [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:17]OFD Sender: No OFD packet to send [14:51:22]OFD Sender: No OFD packet to send [14:51:27]OFD Sender: No OFD packet to send [14:51:32]OFD Sender: No OFD packet to send [14:51:37]OFD Sender: No OFD packet to send [14:51:42]OFD Sender: No OFD packet to send [14:51:47]OFD Sender: No OFD packet to send [14:51:52]OFD Sender: No OFD packet to send [14:51:57]OFD Sender: No OFD packet to send [14:52:02]OFD Sender: No OFD packet to send [14:52:07]OFD Sender: No OFD packet to send [14:52:12]OFD Sender: No OFD packet to send [14:52:17]OFD Sender: No OFD packet to send [14:52:22]OFD Sender: No OFD packet to send [14:52:27]OFD Sender: No OFD packet to send [14:52:32]OFD Sender: No OFD packet to send [14:52:37]OFD Sender: No OFD packet to send [14:52:42]OFD Sender: No OFD packet to send [14:52:47]OFD Sender: No OFD packet to send [14:52:52]OFD Sender: No OFD packet to send [14:52:57]OFD Sender: No OFD packet to send [14:53:02]OFD Sender: No OFD packet to send [14:53:07]OFD Sender: No OFD packet to send [14:53:12]OFD Sender: No OFD packet to send [14:53:17]OFD Sender: No OFD packet to send [14:53:22]OFD Sender: No OFD packet to send [14:53:27]OFD Sender: No OFD packet to send [14:53:32]OFD Sender: No OFD packet to send [14:53:37]OFD Sender: No OFD packet to send [14:53:42]OFD Sender: No OFD packet to send [14:53:47]OFD Sender: No OFD packet to send [14:53:52]OFD Sender: No OFD packet to send [14:53:57]OFD Sender: No OFD packet to send [14:54:02]OFD Sender: No OFD packet to send [14:54:07]OFD Sender: No OFD packet to send [14:54:12]OFD Sender: No OFD packet to send [14:54:17]OFD Sender: No OFD packet to send [14:54:22]OFD Sender: No OFD packet to send [14:54:27]OFD Sender: No OFD packet to send [14:54:32]OFD Sender: No OFD packet to send [14:54:37]OFD Sender: No OFD packet to send [14:54:42]OFD Sender: No OFD packet to send [14:54:47]OFD Sender: No OFD packet to send [14:54:52]OFD Sender: No OFD packet to send [14:54:57]OFD Sender: No OFD packet to send [14:55:02]OFD Sender: No OFD packet to send [14:55:07]OFD Sender: No OFD packet to send [14:55:12]OFD Sender: No OFD packet to send [14:55:17]OFD Sender: No OFD packet to send [14:55:22]OFD Sender: No OFD packet to send [14:55:27]OFD Sender: No OFD packet to send [14:55:32]OFD Sender: No OFD packet to send [14:55:37]OFD Sender: No OFD packet to send [14:55:42]OFD Sender: No OFD packet to send [14:55:47]OFD Sender: No OFD packet to send [14:55:52]OFD Sender: No OFD packet to send [14:55:57]OFD Sender: No OFD packet to send [14:56:02]OFD Sender: No OFD packet to send [14:56:07]OFD Sender: No OFD packet to send [14:56:12]OFD Sender: No OFD packet to send [14:56:17]OFD Sender: No OFD packet to send [14:56:22]OFD Sender: No OFD packet to send [14:56:27]OFD Sender: No OFD packet to send [14:56:32]OFD Sender: No OFD packet to send [14:56:37]OFD Sender: No OFD packet to send [14:56:42]OFD Sender: No OFD packet to send [14:56:47]OFD Sender: No OFD packet to send [14:56:52]OFD Sender: No OFD packet to send [14:56:57]OFD Sender: No OFD packet to send [14:57:02]OFD Sender: No OFD packet to send [14:57:07]OFD Sender: No OFD packet to send [14:57:12]OFD Sender: No OFD packet to send [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:53]accept exits with 9 [15:08:53]New connection [15:08:53]New thread 3066604900 created [15:08:53]Thread 3066461540 joined [15:08:53]Waiting for new connection... [15:08:53] Sock 9.Parse request [15:08:53]Sock 9.Check first char [15:08:53]Sock 9.First char is OK [15:08:53]request: POST /json_proto HTTP/1.0 [15:08:53]Method: POST [15:08:53]URL: /json_proto [15:08:53]Method is POST - this is cgi request [15:08:53]url: /json_proto [15:08:53]query_string will be loaded in cgi processing [15:08:53]execute_cgi json_proto POST (null) [15:08:53]execute_cgi path=json_proto method=POST [15:08:53]POST find Content-Length [15:08:53]Host: 172.17.35.196:8080 [15:08:53]Content-Length: 855 [15:08:53]Content-Type: application/json [15:08:53] [15:08:53]POST finish read [15:08:53]Found Content-Length = 855 [15:08:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169221", "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" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:53]execute_script... [15:08: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)169221", "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" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:53]POST & json_proto [15:08:53]process_json_proto [15:08:53]json parsed OK: [15:08:53]protocol is kg_v1.0 [15:08:53]action value=close_receipt [15:08:53]process_action close_receipt [15:08:53]cmd_close_receipt [15:08:53]MH_GetDate [15:08:53]Write to MH i2c: F0 00 00 B0 1A B9 [15:08:53]Write i2c OK [15:08:53]MH_I2C_Read... [15:08:53]Read from MH i2c: F0 [15:08:53]MH_I2C_Read... [15:08:53]Read from MH i2c: F0 09 00 [15:08:53]MH_I2C_Read... [15:08:53]Read from MH i2c: F0 09 00 B0 1A 00 8B 98 92 66 AD 14 F4 65 F7 [15:08:53]GetLastDocTimeStamp 1720880799 [15:08:53]current date 1720883339 [15:08:53]FM_GetShiftState [15:08:53]SAM_PROTO_GetShiftState [15:08:53]wFMCommunicate request_size=4 [15:08:53]MH_SAM_APDU [15:08:53]CAPDU: 80 13 01 00 [15:08:53]Write to MH i2c: E2 08 00 B1 1A 80 13 01 00 00 00 00 00 48 [15:08:53]Write i2c OK [15:08:53]MH_I2C_Read... [15:08:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:53]Read from MH i2c: E2 [15:08:53]MH_I2C_Read... [15:08:53]Read from MH i2c: E2 0E 00 [15:08:53]MH_I2C_Read... [15:08:53]Read from MH i2c: E2 0E 00 B1 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 27 [15:08:53]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:08:53]wFMCommunicate OK [15:08:53]SAM_PROTO_GetShiftState done [15:08:53]FM_GetShiftState done [15:08:53]opened in 1720829207 [15:08:53]opened+sec_in_day 1720915607 [15:08:53]quantity*price = 15000 [15:08:53]sum+1 = 15001 [15:08:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 31 13.07.2024 15:08 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33412 ФПД: 147304530780166 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150859&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33412&fm=147304530780166&tin=02508201610067®Number=0000000000093033&sum=15000 0 [15:08:54]StoreToDocumentArchive [15:08:54]shift 434 fd 33412 [15:08:54]save to /storage/0434/doc_00033412 [15:08:54]save last doc name /storage/0434/doc_00033412 to /storage/kkm_last_doc_name [15:08:54]save OK [15:08:54]Clear old archive folders... [15:08:54]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:08:54]tlvbuf is 00A5DA30 [15:08:54]SAM_PROTO_ClearQueue [15:08:54]wFMCommunicate request_size=4 [15:08:54]MH_SAM_APDU [15:08:54]CAPDU: 80 09 00 00 [15:08:54]Write to MH i2c: E2 08 00 BE 1A 80 09 00 00 00 00 00 00 4A [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:08:54]Read from MH i2c: E2 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 BE 1A 00 90 00 4C [15:08:54]RAPDU: 90 00 [15:08:54]wFMCommunicate OK [15:08:54]SAM_PROTO_ClearQueue done [15:08:54]KKMCreateOFDPacket [15:08:54]OFDProtocolAddRootSTLVToBuf [15:08:54]FM_MakeSignedData [15:08:54]FM_MakeSignedData [15:08:54]SAM_PROTO_SignData [15:08:54]wFMCommunicate request_size=4 [15:08:54]MH_SAM_APDU [15:08:54]CAPDU: 80 0D 01 02 [15:08:54]Write to MH i2c: E2 08 00 BF 1A 80 0D 01 02 00 00 00 00 52 [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:08:54]Read from MH i2c: E2 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 BF 1A 00 90 00 4D [15:08:54]RAPDU: 90 00 [15:08:54]wFMCommunicate OK [15:08:54]wFMCommunicate request_size=255 [15:08:54]MH_SAM_APDU [15:08:54]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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 8B 98 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [15:08:54]Write to MH i2c: E2 02 01 C0 1A 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 8B 98 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 B1 [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 [15:08:54]MH_I2C_Read... [15:08:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:54]Read from MH i2c: E2 03 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 C0 1A 00 90 00 4E [15:08:54]RAPDU: 90 00 [15:08:54]wFMCommunicate OK [15:08:54]wFMCommunicate request_size=34 [15:08:54]MH_SAM_APDU [15:08:54]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 84 82 00 00 35 04 06 00 85 F9 02 3B 20 06 [15:08:54]Write to MH i2c: E2 25 00 C1 1A 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 84 82 00 00 35 04 06 00 85 F9 02 3B 20 06 00 00 F6 [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:54]Read from MH i2c: E2 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 03 00 C1 1A 00 90 00 4F [15:08:54]RAPDU: 90 00 [15:08:54]wFMCommunicate OK [15:08:54]wFMCommunicate request_size=4 [15:08:54]MH_SAM_APDU [15:08:54]CAPDU: 80 0D 03 02 [15:08:54]Write to MH i2c: E2 08 00 C2 1A 80 0D 03 02 00 00 00 00 57 [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:08:54]Read from MH i2c: E2 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 0B 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 0B 00 C2 1A 00 20 8A 4A 69 E8 95 03 79 90 00 AE [15:08:54]RAPDU: 20 8A 4A 69 E8 95 03 79 90 00 [15:08:54]wFMCommunicate OK [15:08:54]SAM_PROTO_SignData done [15:08:54]FM_MakeSignedData done [15:08:54]CreateOFDProtocolMessage [15:08:54]wFMCommunicate request_size=4 [15:08:54]MH_SAM_APDU [15:08:54]CAPDU: 80 11 00 00 [15:08:54]Write to MH i2c: E2 08 00 C3 1A 80 11 00 00 00 00 00 00 57 [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:54]Read from MH i2c: E2 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 17 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: E2 17 00 C3 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A3 [15:08:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:08:54]wFMCommunicate OK [15:08:54]CreateOFDProtocolMessage done [15:08:54]OFDSenderStorePacket 33412 [15:08:54]StoreOFDPacket docnum=33412 [15:08:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 C5 E2 1F 01 9C B1 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 8B 98 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 84 82 00 00 35 04 06 00 85 F9 02 3B 20 06 20 8A 4A 69 E8 95 03 79 [15:08:54]CheckFolder [15:08:54]dirname=/storage/ofd_packets [15:08:54]CheckFolder done [15:08:54]ProducePacketName [15:08:54]name=ofd_packets/00033412 [15:08:54]NVStorageSaveData ofd_packets/00033412 [15:08:54]File name is /storage/ofd_packets/00033412 [15:08:54]Write 325 bytes [15:08:54]NVStorageSaveData done [15:08:54]OFDSenderStorePacket done [15:08:54]KKMCreateOFDPacket done [15:08:54]NVStorageSaveData kkm_last_timestamp [15:08:54]File name is /storage/kkm_last_timestamp [15:08:54]Write 4 bytes [15:08:54]NVStorageSaveData done [15:08:54]ExternCall_PrintAddStr [15:08:54]wPrintStart [15:08:54]Write to MH i2c: 01 00 00 C4 1A DE [15:08:54]Write i2c OK [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: 01 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: 01 07 00 [15:08:54]MH_I2C_Read... [15:08:54]Read from MH i2c: 01 07 00 C4 1A 00 00 00 00 00 FF 0F F3 [15:08:54]RasterBufferAndPrint [15:08:54]line Счет N : (3)169221 [15:08:54]line ИНН: 02508201610067 [15:08:54]line Контрольно-Кассовый Чек [15:08:54]line ПРОДАЖА [15:08:54]line Товар: 54491472 [15:08:54]line Напиток Кока-Кола 0,5л [15:08:54]line 2.000 * 75.00 [15:08:54]line = 150.00 [15:08:54]line НДС 12% НСП 1% [15:08:54]line > о реализуемом товаре [15:08:54]line ИТОГО: 150.00 [15:08:54]line НСП 1% : 1.33 [15:08:54]line НДС 12% : 15.93 [15:08:54]line Наличными: 0.00 [15:08:54]line Безнал.: 150.00 [15:08:54]line Место: АЗС № 77 "Партнер Нефть" [15:08:54]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:08:54]line СНО: Общий режим [15:08:54]line Чек 31 13.07.2024 15:08 [15:08:54]line Смена: 434 ФФД: 1.0 [15:08:54]line ЗНМ: 0300000122 [15:08:54]line РНМ: 0000000000093033 [15:08:54]line Версия ККМ: 001 [15:08:55]line Платежная система: АКБ Кыргызстан [15:08:55]line ФМ: 0000000000875104 [15:08:55]line ФД: 33412 [15:08:55]line ФПД: 147304530780166 [15:08:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150859&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33412&fm=147304530780166&tin=02508201610067®Number=0000000000093033&sum=15000 [15:08:55]line 0 [15:08:55]OFD Sender: Processing packet 33412 [packets to send 6, broken 5] [15:08:55]ProducePacketName [15:08:55]name=ofd_packets/00033412 [15:08:55]OFD Sender: To server: pG, [15:08:55]CommunicateWithHost lk.salyk.kg:30040 [15:08:55]ConnectInit lk.salyk.kg [15:08:55]written 0, free lines is 4095 [15:08:55]Connected sock=10 [15:08:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 C5 E2 1F 01 9C B1 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 8B 98 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 84 82 00 00 35 04 06 00 85 F9 02 3B 20 06 20 8A 4A 69 E8 95 03 79 [15:08:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 FE 43 47 00 3E A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 84 82 00 00 F4 03 04 00 35 43 92 66 B6 04 01 00 00 9E 37 D0 6C 9F 2B BB 8B [15:08:55]CommunicateWithHost err = 0 [15:08:55]CheckOFDResponse [15:08:55]1017 (14) - 77093643461234 [15:08:55]1041 (16) - 0000000000875104 [15:08:55]1040 (4) - 33412 [15:08:55]1012 (4) - 13.07.2024 09:04 [15:08:55]1206 (1) - 0 [15:08:55]OFD Sender: Remove packet 33412 [15:08:55]ProducePacketName [15:08:55]name=ofd_packets/00033412 [15:08:55]NVStorageDeleteData [15:08:55]Write to MH i2c: 01 00 00 EE 1A 08 [15:08:55]Write i2c OK [15:08:55]MH_I2C_Read... [15:08:55]Read from MH i2c: 01 [15:08:55]MH_I2C_Read... [15:08:55]Read from MH i2c: 01 07 00 [15:08:55]MH_I2C_Read... [15:08:55]Read from MH i2c: 01 07 00 EE 1A 00 00 00 00 00 E3 0C FE [15:08:55]RasterBufferAndPrint [15:08:55]line [15:08:55]line [15:08:55]line [15:08:55]line [15:08:55]line [15:08:55]written 0, free lines is 3305 [15:08:55]MH_Cut [15:08:55]Write to MH i2c: D1 01 00 F5 1A 01 E1 [15:08:55]Write i2c OK [15:08:55]MH_I2C_Read... [15:08:55]Read from MH i2c: D1 [15:08:55]MH_I2C_Read... [15:08:55]Read from MH i2c: D1 01 00 [15:08:55]MH_I2C_Read... [15:08:55]Read from MH i2c: D1 01 00 F5 1A 00 E0 [15:08:55]Write to MH i2c: 01 00 00 F6 1A 10 [15:08:55]Write i2c OK [15:08:55]MH_I2C_Read... [15:08:55]OFD Sender: No OFD packet to send [15:08:56]*** Cut start [15:08:56]*** Partial cut [15:08:56]*** CUTSNS_PIN = 1 [15:08:56]*** CUTSNS_PIN = 0 [15:08:56]*** Brake cut motor [15:08:56]Read from MH i2c: 01 [15:08:56]MH_I2C_Read... [15:08:56]*** Stop cut motor [15:08:56]*** Cut end [15:08:56]Read from MH i2c: 01 07 00 [15:08:56]MH_I2C_Read... [15:08:56]Read from MH i2c: 01 07 00 F6 1A 00 00 00 00 00 FF 0F 25 [15:08:56]process_action close_receipt done [15:08:56]requested_data is exist [15:08:56]produce_requested_data [15:08:56]requested_item fm.sn is exist - process it [15:08:56]wFMCommunicate request_size=4 [15:08:56]MH_SAM_APDU [15:08:56]CAPDU: 80 11 00 00 [15:08:56]Write to MH i2c: E2 08 00 F7 1A 80 11 00 00 00 00 00 00 8B [15:08:56]Write i2c OK [15:08:56]MH_I2C_Read... [15:08:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:57]Read from MH i2c: E2 [15:08:57]MH_I2C_Read... [15:08:57]Read from MH i2c: E2 17 00 [15:08:57]MH_I2C_Read... [15:08:57]Read from MH i2c: E2 17 00 F7 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D7 [15:08:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:08:57]wFMCommunicate OK [15:08:57]requested_item fd.num is exist - process it [15:08:57]SAM_PROTO_GetFieldsCounters [15:08:57]wFMCommunicate request_size=4 [15:08:57]MH_SAM_APDU [15:08:57]CAPDU: 80 13 00 00 [15:08:57]Write to MH i2c: E2 08 00 F8 1A 80 13 00 00 00 00 00 00 8E [15:08:57]Write i2c OK [15:08:57]MH_I2C_Read... [15:08:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:08:57]Read from MH i2c: E2 [15:08:57]MH_I2C_Read... [15:08:57]Read from MH i2c: E2 62 00 [15:08:57]MH_I2C_Read... [15:08:57]Read from MH i2c: E2 62 00 F8 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 84 82 00 00 0E 04 04 00 B2 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 B7 [15:08:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 84 82 00 00 0E 04 04 00 B2 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 [15:08:57]wFMCommunicate OK [15:08:57]SAM_PROTO_GetFieldsCounters done [15:08:57]requested_item shift.num is exist - process it [15:08:57]requested_item shift.opened is exist - process it [15:08:57]req_shift_opened [15:08:57]FM_GetShiftState [15:08:57]SAM_PROTO_GetShiftState [15:08:57]wFMCommunicate request_size=4 [15:08:57]MH_SAM_APDU [15:08:57]CAPDU: 80 13 01 00 [15:08:57]Write to MH i2c: E2 08 00 F9 1A 80 13 01 00 00 00 00 00 90 [15:08:57]Write i2c OK [15:08:57]MH_I2C_Read... [15:08:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:57]Read from MH i2c: E2 [15:08:57]MH_I2C_Read... [15:08:57]Read from MH i2c: E2 0E 00 [15:08:57]MH_I2C_Read... [15:08:57]Read from MH i2c: E2 0E 00 F9 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 6F [15:08:57]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:08:57]wFMCommunicate OK [15:08:57]SAM_PROTO_GetShiftState done [15:08:57]FM_GetShiftState done [15:08:57]req_shift_opened done [15:08:57]requested_item shift.open_date is exist - process it [15:08:57]req_shift_open_date [15:08:57]req_shift_open_date done [15:08:57]produce_requested_data done [15:08:57]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33412,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:08:57]process_action_free close_receipt [15:08:57]json_value_free [15:08:57]json_value_free done [15:08:57]process_json_proto returns [15:08:57]Send response to host [15:08:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33412,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:08:57]free response buf [15:08:57]execute_script done [15:08:57]execute_script returns [15:08:57]free content buf [15:08:57]Sock 9.Close socket [15:08:57]Sock 9.Thread stoped [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:56]OFD Sender: No OFD packet to send [15:11:01]OFD Sender: No OFD packet to send [15:11:06]OFD Sender: No OFD packet to send [15:11:11]OFD Sender: No OFD packet to send [15:11:16]OFD Sender: No OFD packet to send [15:11:21]OFD Sender: No OFD packet to send [15:11:26]OFD Sender: No OFD packet to send [15:11:31]OFD Sender: No OFD packet to send [15:11:36]OFD Sender: No OFD packet to send [15:11:41]OFD Sender: No OFD packet to send [15:11:46]OFD Sender: No OFD packet to send [15:11:51]OFD Sender: No OFD packet to send [15:11:56]OFD Sender: No OFD packet to send [15:12:01]OFD Sender: No OFD packet to send [15:12:06]OFD Sender: No OFD packet to send [15:12:11]OFD Sender: No OFD packet to send [15:12:16]OFD Sender: No OFD packet to send [15:12:21]OFD Sender: No OFD packet to send [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:55]accept exits with 7 [15:14:55]New connection [15:14:55]New thread 3066461540 created [15:14:55]Thread 3066604900 joined [15:14:55]Waiting for new connection... [15:14:55] Sock 7.Parse request [15:14:55]Sock 7.Check first char [15:14:55]Sock 7.First char is OK [15:14:55]request: POST /json_proto HTTP/1.0 [15:14:55]Method: POST [15:14:55]URL: /json_proto [15:14:55]Method is POST - this is cgi request [15:14:55]url: /json_proto [15:14:55]query_string will be loaded in cgi processing [15:14:55]execute_cgi json_proto POST (null) [15:14:55]execute_cgi path=json_proto method=POST [15:14:55]POST find Content-Length [15:14:55]Host: 172.17.35.196:8080 [15:14:55]Content-Length: 215 [15:14:55]Content-Type: application/json [15:14:55] [15:14:55]POST finish read [15:14:55]Found Content-Length = 215 [15:14:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:14:55]execute_script... [15:14:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:14:55]POST & json_proto [15:14:55]process_json_proto [15:14:55]json parsed OK: [15:14:55]protocol is kg_v1.0 [15:14:55]action value=get_value [15:14:55]process_action get_value [15:14:55]cmd_get_value [15:14:55]process_action get_value done [15:14:55]requested_data is exist [15:14:55]produce_requested_data [15:14:55]requested_item kkm.sn is exist - process it [15:14:55]requested_item kkm.ver is exist - process it [15:14:55]requested_item fm.sn is exist - process it [15:14:55]wFMCommunicate request_size=4 [15:14:55]MH_SAM_APDU [15:14:55]CAPDU: 80 11 00 00 [15:14:55]Write to MH i2c: E2 08 00 FA 1A 80 11 00 00 00 00 00 00 8E [15:14:55]Write i2c OK [15:14:55]MH_I2C_Read... [15:14:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:14:55]Read from MH i2c: E2 [15:14:55]MH_I2C_Read... [15:14:55]Read from MH i2c: E2 17 00 [15:14:55]MH_I2C_Read... [15:14:55]Read from MH i2c: E2 17 00 FA 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DA [15:14:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:14:55]wFMCommunicate OK [15:14:55]requested_item fd.num is exist - process it [15:14:55]SAM_PROTO_GetFieldsCounters [15:14:55]wFMCommunicate request_size=4 [15:14:55]MH_SAM_APDU [15:14:55]CAPDU: 80 13 00 00 [15:14:55]Write to MH i2c: E2 08 00 FB 1A 80 13 00 00 00 00 00 00 91 [15:14:55]Write i2c OK [15:14:55]MH_I2C_Read... [15:14:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:14:55]Read from MH i2c: E2 [15:14:55]MH_I2C_Read... [15:14:55]Read from MH i2c: E2 62 00 [15:14:55]MH_I2C_Read... [15:14:55]Read from MH i2c: E2 62 00 FB 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 84 82 00 00 0E 04 04 00 B2 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 BA [15:14:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 84 82 00 00 0E 04 04 00 B2 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 [15:14:55]wFMCommunicate OK [15:14:55]SAM_PROTO_GetFieldsCounters done [15:14:55]requested_item shift.num is exist - process it [15:14:55]requested_item shift.opened is exist - process it [15:14:55]req_shift_opened [15:14:55]FM_GetShiftState [15:14:55]SAM_PROTO_GetShiftState [15:14:55]wFMCommunicate request_size=4 [15:14:55]MH_SAM_APDU [15:14:55]CAPDU: 80 13 01 00 [15:14:55]Write to MH i2c: E2 08 00 FC 1A 80 13 01 00 00 00 00 00 93 [15:14:55]Write i2c OK [15:14:55]MH_I2C_Read... [15:14:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:14:55]Read from MH i2c: E2 [15:14:55]MH_I2C_Read... [15:14:55]Read from MH i2c: E2 0E 00 [15:14:55]MH_I2C_Read... [15:14:55]Read from MH i2c: E2 0E 00 FC 1A 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 72 [15:14:55]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:14:55]wFMCommunicate OK [15:14:55]SAM_PROTO_GetShiftState done [15:14:55]FM_GetShiftState done [15:14:55]req_shift_opened done [15:14:55]requested_item shift.open_date is exist - process it [15:14:55]req_shift_open_date [15:14:55]req_shift_open_date done [15:14:55]produce_requested_data done [15:14:55]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33412,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:14:55]process_action_free get_value [15:14:55]json_value_free [15:14:55]json_value_free done [15:14:55]process_json_proto returns [15:14:55]Send response to host [15:14:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33412,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:14:55]free response buf [15:14:55]execute_script done [15:14:55]execute_script returns [15:14:55]free content buf [15:14:55]Sock 7.Close socket [15:14:55]Sock 7.Thread stoped [15:14:55]accept exits with 9 [15:14:55]New connection [15:14:55]New thread 3066604900 created [15:14:55]Thread 3066461540 joined [15:14:55]Waiting for new connection... [15:14:55] Sock 9.Parse request [15:14:55]Sock 9.Check first char [15:14:55]Sock 9.First char is OK [15:14:55]request: POST /json_proto HTTP/1.0 [15:14:55]Method: POST [15:14:55]URL: /json_proto [15:14:55]Method is POST - this is cgi request [15:14:55]url: /json_proto [15:14:55]query_string will be loaded in cgi processing [15:14:55]execute_cgi json_proto POST (null) [15:14:55]execute_cgi path=json_proto method=POST [15:14:55]POST find Content-Length [15:14:55]Host: 172.17.35.196:8080 [15:14:55]Content-Length: 331 [15:14:55]Content-Type: application/json [15:14:55] [15:14:55]POST finish read [15:14:55]Found Content-Length = 331 [15:14:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:14:55]execute_script... [15:14:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:14:56]POST & json_proto [15:14:56]process_json_proto [15:14:56]json parsed OK: [15:14:56]protocol is kg_v1.0 [15:14:56]action value=get_value [15:14:56]process_action get_value [15:14:56]cmd_get_value [15:14:56]process_action get_value done [15:14:56]requested_data is exist [15:14:56]produce_requested_data [15:14:56]requested_item fm.sale.total is exist - process it [15:14:56]SAM_PROTO_GetFMData [15:14:56]wFMCommunicate request_size=4 [15:14:56]MH_SAM_APDU [15:14:56]CAPDU: 80 13 03 00 [15:14:56]Write to MH i2c: E2 08 00 FD 1A 80 13 03 00 00 00 00 00 96 [15:14:56]Write i2c OK [15:14:56]MH_I2C_Read... [15:14:56]OFD Sender: No OFD packet to send [15:14:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:14:56]Read from MH i2c: E2 [15:14:56]MH_I2C_Read... [15:14:56]Read from MH i2c: E2 FD 00 [15:14:56]MH_I2C_Read... [15:14:56]Read from MH i2c: E2 FD 00 FD 1A 00 C4 04 85 04 C0 04 6E 04 04 00 20 7F 00 00 69 04 A0 00 6F 04 04 00 3F 7E 00 00 B1 04 04 00 0E 14 AC 3F 70 04 04 00 F8 FB FA 34 72 04 04 00 16 18 B1 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 22 C3 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 47 37 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 B5 [15:14:56]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 20 7F 00 00 69 04 A0 00 6F 04 04 00 3F 7E 00 00 B1 04 04 00 0E 14 AC 3F 70 04 04 00 F8 FB FA 34 72 04 04 00 16 18 B1 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 22 C3 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 47 37 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [15:14:56]wFMCommunicate OK [15:14:56]wFMCommunicate request_size=4 [15:14:56]MH_SAM_APDU [15:14:56]CAPDU: 80 17 00 00 [15:14:56]Write to MH i2c: E2 08 00 FE 1A 80 17 00 00 00 00 00 00 98 [15:14:56]Write i2c OK [15:14:56]MH_I2C_Read... [15:14:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:14:56]Read from MH i2c: E2 [15:14:56]MH_I2C_Read... [15:14:56]Read from MH i2c: E2 FD 00 [15:14:56]MH_I2C_Read... [15:14:56]Read from MH i2c: E2 FD 00 FE 1A 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 55 [15:14:56]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [15:14:56]wFMCommunicate OK [15:14:56]wFMCommunicate request_size=4 [15:14:56]MH_SAM_APDU [15:14:56]CAPDU: 80 17 00 00 [15:14:56]Write to MH i2c: E2 08 00 FF 1A 80 17 00 00 00 00 00 00 99 [15:14:56]Write i2c OK [15:14:56]MH_I2C_Read... [15:14:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:14:57]Read from MH i2c: E2 [15:14:57]MH_I2C_Read... [15:14:57]Read from MH i2c: E2 FD 00 [15:14:57]MH_I2C_Read... [15:14:57]Read from MH i2c: E2 FD 00 FF 1A 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AE [15:14:57]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [15:14:57]wFMCommunicate OK [15:14:57]wFMCommunicate request_size=4 [15:14:57]MH_SAM_APDU [15:14:57]CAPDU: 80 17 00 00 [15:14:57]Write to MH i2c: E2 08 00 00 1B 80 17 00 00 00 00 00 00 9B [15:14:57]Write i2c OK [15:14:57]MH_I2C_Read... [15:14:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:14:57]Read from MH i2c: E2 [15:14:57]MH_I2C_Read... [15:14:57]Read from MH i2c: E2 FD 00 [15:14:57]MH_I2C_Read... [15:14:57]Read from MH i2c: E2 FD 00 00 1B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 13 [15:14:57]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [15:14:57]wFMCommunicate OK [15:14:57]wFMCommunicate request_size=4 [15:14:57]MH_SAM_APDU [15:14:57]CAPDU: 80 17 00 00 [15:14:57]Write to MH i2c: E2 08 00 01 1B 80 17 00 00 00 00 00 00 9C [15:14:57]Write i2c OK [15:14:57]MH_I2C_Read... [15:14:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [15:14:57]Read from MH i2c: E2 [15:14:57]MH_I2C_Read... [15:14:57]Read from MH i2c: E2 E1 00 [15:14:57]MH_I2C_Read... [15:14:57]Read from MH i2c: E2 E1 00 01 1B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [15:14:57]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:14:57]wFMCommunicate OK [15:14:57]SAM_PROTO_GetFMData done [15:14:57]requested_item fm.sale_refund.total is exist - process it [15:14:57]requested_item fm.buy.total is exist - process it [15:14:57]requested_item shift.sale.total is exist - process it [15:14:57]SAM_PROTO_GetShiftData [15:14:57]wFMCommunicate request_size=4 [15:14:57]MH_SAM_APDU [15:14:57]CAPDU: 80 13 02 00 [15:14:57]Write to MH i2c: E2 08 00 02 1B 80 13 02 00 00 00 00 00 9B [15:14:57]Write i2c OK [15:14:57]MH_I2C_Read... [15:14:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:14:58]Read from MH i2c: E2 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 02 1B 00 AE 04 AA 04 AA 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 70 F4 09 70 04 03 00 64 08 07 72 04 03 00 0C EC 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 0E 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 8E 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 CD [15:14:58]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 70 F4 09 70 04 03 00 64 08 07 72 04 03 00 0C EC 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 0E 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 8E 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [15:14:58]wFMCommunicate OK [15:14:58]wFMCommunicate request_size=4 [15:14:58]MH_SAM_APDU [15:14:58]CAPDU: 80 17 00 00 [15:14:58]Write to MH i2c: E2 08 00 03 1B 80 17 00 00 00 00 00 00 9E [15:14:58]Write i2c OK [15:14:58]MH_I2C_Read... [15:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:14:58]Read from MH i2c: E2 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 03 1B 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 C0 [15:14:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:14:58]wFMCommunicate OK [15:14:58]wFMCommunicate request_size=4 [15:14:58]MH_SAM_APDU [15:14:58]CAPDU: 80 17 00 00 [15:14:58]Write to MH i2c: E2 08 00 04 1B 80 17 00 00 00 00 00 00 9F [15:14:58]Write i2c OK [15:14:58]MH_I2C_Read... [15:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:14:58]Read from MH i2c: E2 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 04 1B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 56 [15:14:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:14:58]wFMCommunicate OK [15:14:58]wFMCommunicate request_size=4 [15:14:58]MH_SAM_APDU [15:14:58]CAPDU: 80 17 00 00 [15:14:58]Write to MH i2c: E2 08 00 05 1B 80 17 00 00 00 00 00 00 A0 [15:14:58]Write i2c OK [15:14:58]MH_I2C_Read... [15:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:14:58]Read from MH i2c: E2 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 [15:14:58]MH_I2C_Read... [15:14:58]Read from MH i2c: E2 FD 00 05 1B 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 12 [15:14: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 [15:14:58]wFMCommunicate OK [15:14:58]wFMCommunicate request_size=4 [15:14:58]MH_SAM_APDU [15:14:58]CAPDU: 80 17 00 00 [15:14:58]Write to MH i2c: E2 08 00 06 1B 80 17 00 00 00 00 00 00 A1 [15:14:58]Write i2c OK [15:14:58]MH_I2C_Read... [15:14:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:14:59]Read from MH i2c: E2 [15:14:59]MH_I2C_Read... [15:14:59]Read from MH i2c: E2 CB 00 [15:14:59]MH_I2C_Read... [15:14:59]Read from MH i2c: E2 CB 00 06 1B 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 8A [15:14:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:14:59]wFMCommunicate OK [15:14:59]SAM_PROTO_GetShiftData done [15:14:59]requested_item shift.sale.total_cash is exist - process it [15:14:59]requested_item shift.sale_refund.total is exist - process it [15:14:59]requested_item shift.sale_refund.total_cash is exist - process it [15:14:59]requested_item shift.buy.total is exist - process it [15:14:59]requested_item shift.buy.total_cash is exist - process it [15:14:59]produce_requested_data done [15:14:59]produce_requested_data return {"fm.sale.total":10682419.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":6524.00,"shift.sale.total_cash":4609.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} [15:14:59]process_action_free get_value [15:14:59]json_value_free [15:14:59]json_value_free done [15:14:59]process_json_proto returns [15:14:59]Send response to host [15:14:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10682419.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":6524.00,"shift.sale.total_cash":4609.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}}} [15:14:59]free response buf [15:14:59]execute_script done [15:14:59]execute_script returns [15:14:59]free content buf [15:14:59]Sock 9.Close socket [15:14:59]Sock 9.Thread stoped [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:35]accept exits with 7 [15:15:35]New connection [15:15:35]New thread 3066461540 created [15:15:35]Thread 3066604900 joined [15:15:35]Waiting for new connection... [15:15:35] Sock 7.Parse request [15:15:35]Sock 7.Check first char [15:15:35]Sock 7.First char is OK [15:15:35]request: POST /json_proto HTTP/1.0 [15:15:35]Method: POST [15:15:35]URL: /json_proto [15:15:35]Method is POST - this is cgi request [15:15:35]url: /json_proto [15:15:35]query_string will be loaded in cgi processing [15:15:35]execute_cgi json_proto POST (null) [15:15:35]execute_cgi path=json_proto method=POST [15:15:35]POST find Content-Length [15:15:35]Host: 172.17.35.196:8080 [15:15:35]Content-Length: 609 [15:15:35]Content-Type: application/json [15:15:35] [15:15:35]POST finish read [15:15:35]Found Content-Length = 609 [15:15:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169225", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD 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" ] } } [15:15:35]execute_script... [15:15:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169225", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD 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" ] } } [15:15:35]POST & json_proto [15:15:35]process_json_proto [15:15:35]json parsed OK: [15:15:35]protocol is kg_v1.0 [15:15:35]action value=close_receipt [15:15:35]process_action close_receipt [15:15:35]cmd_close_receipt [15:15:35]MH_GetDate [15:15:35]Write to MH i2c: F0 00 00 07 1B 11 [15:15:35]Write i2c OK [15:15:35]MH_I2C_Read... [15:15:35]Read from MH i2c: F0 [15:15:35]MH_I2C_Read... [15:15:35]Read from MH i2c: F0 09 00 [15:15:35]MH_I2C_Read... [15:15:35]Read from MH i2c: F0 09 00 07 1B 00 1D 9A 92 66 AD 14 F4 65 E3 [15:15:35]GetLastDocTimeStamp 1720883339 [15:15:35]current date 1720883741 [15:15:35]FM_GetShiftState [15:15:35]SAM_PROTO_GetShiftState [15:15:35]wFMCommunicate request_size=4 [15:15:35]MH_SAM_APDU [15:15:35]CAPDU: 80 13 01 00 [15:15:35]Write to MH i2c: E2 08 00 08 1B 80 13 01 00 00 00 00 00 A0 [15:15:35]Write i2c OK [15:15:35]MH_I2C_Read... [15:15:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:35]Read from MH i2c: E2 [15:15:35]MH_I2C_Read... [15:15:35]Read from MH i2c: E2 0E 00 [15:15:35]MH_I2C_Read... [15:15:35]Read from MH i2c: E2 0E 00 08 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 7F [15:15:35]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:15:35]wFMCommunicate OK [15:15:35]SAM_PROTO_GetShiftState done [15:15:35]FM_GetShiftState done [15:15:35]opened in 1720829207 [15:15:35]opened+sec_in_day 1720915607 [15:15:35]quantity*price = 13000 [15:15:35]sum+1 = 13001 [15:15:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 32 13.07.2024 15:15 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33413 ФПД: 198175747115460 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T151541&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33413&fm=198175747115460&tin=02508201610067®Number=0000000000093033&sum=13000 0 [15:15:36]StoreToDocumentArchive [15:15:36]shift 434 fd 33413 [15:15:36]save to /storage/0434/doc_00033413 [15:15:36]save last doc name /storage/0434/doc_00033413 to /storage/kkm_last_doc_name [15:15:36]save OK [15:15:36]Clear old archive folders... [15:15:36]ProcessDocumentItem done err = 0, tmpTLVsize=261 [15:15:36]tlvbuf is 00A6A000 [15:15:36]SAM_PROTO_ClearQueue [15:15:36]wFMCommunicate request_size=4 [15:15:36]MH_SAM_APDU [15:15:36]CAPDU: 80 09 00 00 [15:15:36]Write to MH i2c: E2 08 00 15 1B 80 09 00 00 00 00 00 00 A2 [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:15:36]Read from MH i2c: E2 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 15 1B 00 90 00 A4 [15:15:36]RAPDU: 90 00 [15:15:36]wFMCommunicate OK [15:15:36]SAM_PROTO_ClearQueue done [15:15:36]KKMCreateOFDPacket [15:15:36]OFDProtocolAddRootSTLVToBuf [15:15:36]FM_MakeSignedData [15:15:36]FM_MakeSignedData [15:15:36]SAM_PROTO_SignData [15:15:36]wFMCommunicate request_size=4 [15:15:36]MH_SAM_APDU [15:15:36]CAPDU: 80 0D 01 02 [15:15:36]Write to MH i2c: E2 08 00 16 1B 80 0D 01 02 00 00 00 00 AA [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:15:36]Read from MH i2c: E2 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 16 1B 00 90 00 A5 [15:15:36]RAPDU: 90 00 [15:15:36]wFMCommunicate OK [15:15:36]wFMCommunicate request_size=255 [15:15:36]MH_SAM_APDU [15:15:36]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 20 00 00 00 F4 03 04 00 1D 9A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 [15:15:36]Write to MH i2c: E2 02 01 17 1B 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 20 00 00 00 F4 03 04 00 1D 9A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 C6 [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]OFD Sender: No OFD packet to send [15:15:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:36]Read from MH i2c: E2 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 17 1B 00 90 00 A6 [15:15:36]RAPDU: 90 00 [15:15:36]wFMCommunicate OK [15:15:36]wFMCommunicate request_size=20 [15:15:36]MH_SAM_APDU [15:15:36]CAPDU: 80 0D 02 02 0F 00 85 82 00 00 35 04 06 00 B4 3D 63 02 89 C4 [15:15:36]Write to MH i2c: E2 17 00 18 1B 80 0D 02 02 0F 00 00 85 82 00 00 35 04 06 00 B4 3D 63 02 89 C4 00 00 B4 [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:36]Read from MH i2c: E2 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 03 00 18 1B 00 90 00 A7 [15:15:36]RAPDU: 90 00 [15:15:36]wFMCommunicate OK [15:15:36]wFMCommunicate request_size=4 [15:15:36]MH_SAM_APDU [15:15:36]CAPDU: 80 0D 03 02 [15:15:36]Write to MH i2c: E2 08 00 19 1B 80 0D 03 02 00 00 00 00 AF [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:15:36]Read from MH i2c: E2 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 0B 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 0B 00 19 1B 00 E0 81 0B 48 BB 39 E4 97 90 00 D3 [15:15:36]RAPDU: E0 81 0B 48 BB 39 E4 97 90 00 [15:15:36]wFMCommunicate OK [15:15:36]SAM_PROTO_SignData done [15:15:36]FM_MakeSignedData done [15:15:36]CreateOFDProtocolMessage [15:15:36]wFMCommunicate request_size=4 [15:15:36]MH_SAM_APDU [15:15:36]CAPDU: 80 11 00 00 [15:15:36]Write to MH i2c: E2 08 00 1A 1B 80 11 00 00 00 00 00 00 AF [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:36]Read from MH i2c: E2 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 17 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: E2 17 00 1A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FB [15:15:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:15:36]wFMCommunicate OK [15:15:36]CreateOFDProtocolMessage done [15:15:36]OFDSenderStorePacket 33413 [15:15:36]StoreOFDPacket docnum=33413 [15:15:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 19 01 00 00 38 5F 11 01 CA 58 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 20 00 00 00 F4 03 04 00 1D 9A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 85 82 00 00 35 04 06 00 B4 3D 63 02 89 C4 E0 81 0B 48 BB 39 E4 97 [15:15:36]CheckFolder [15:15:36]dirname=/storage/ofd_packets [15:15:36]CheckFolder done [15:15:36]ProducePacketName [15:15:36]name=ofd_packets/00033413 [15:15:36]NVStorageSaveData ofd_packets/00033413 [15:15:36]File name is /storage/ofd_packets/00033413 [15:15:36]Write 311 bytes [15:15:36]NVStorageSaveData done [15:15:36]OFDSenderStorePacket done [15:15:36]KKMCreateOFDPacket done [15:15:36]NVStorageSaveData kkm_last_timestamp [15:15:36]File name is /storage/kkm_last_timestamp [15:15:36]Write 4 bytes [15:15:36]NVStorageSaveData done [15:15:36]ExternCall_PrintAddStr [15:15:36]wPrintStart [15:15:36]Write to MH i2c: 01 00 00 1B 1B 36 [15:15:36]Write i2c OK [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: 01 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: 01 07 00 [15:15:36]MH_I2C_Read... [15:15:36]Read from MH i2c: 01 07 00 1B 1B 00 00 00 00 00 FF 0F 4B [15:15:36]RasterBufferAndPrint [15:15:36]line Счет N : (3)169225 [15:15:36]line ИНН: 02508201610067 [15:15:36]line Контрольно-Кассовый Чек [15:15:36]line ПРОДАЖА [15:15:36]line Товар: 48741156 [15:15:36]line Сигареты LD Blue [15:15:36]line 1.000 * 130.00 [15:15:36]line = 130.00 [15:15:36]line НДС 12% НСП 1% [15:15:36]line > о реализуемом товаре [15:15:36]line ИТОГО: 130.00 [15:15:36]line НСП 1% : 1.15 [15:15:36]line НДС 12% : 13.80 [15:15:36]line Наличными: 130.00 [15:15:36]line Безнал.: 0.00 [15:15:36]line Место: АЗС № 77 "Партнер Нефть" [15:15:36]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:15:36]line СНО: Общий режим [15:15:36]line Чек 32 13.07.2024 15:15 [15:15:36]line Смена: 434 ФФД: 1.0 [15:15:36]line ЗНМ: 0300000122 [15:15:36]line РНМ: 0000000000093033 [15:15:36]line Версия ККМ: 001 [15:15:36]line ФМ: 0000000000875104 [15:15:36]line ФД: 33413 [15:15:36]line ФПД: 198175747115460 [15:15:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T151541&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33413&fm=198175747115460&tin=02508201610067®Number=0000000000093033&sum=13000 [15:15:37]OFD Sender: Processing packet 33413 [packets to send 6, broken 5] [15:15:37]ProducePacketName [15:15:37]name=ofd_packets/00033413 [15:15:37]OFD Sender: To server: pG, [15:15:37]CommunicateWithHost lk.salyk.kg:30040 [15:15:37]ConnectInit lk.salyk.kg [15:15:37]line 0 [15:15:37]written 0, free lines is 4095 [15:15:37]Connected sock=10 [15:15:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 19 01 00 00 38 5F 11 01 CA 58 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 20 00 00 00 F4 03 04 00 1D 9A 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 85 82 00 00 35 04 06 00 B4 3D 63 02 89 C4 E0 81 0B 48 BB 39 E4 97 [15:15:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 2B 4B 47 00 0A 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 85 82 00 00 F4 03 04 00 C7 44 92 66 B6 04 01 00 00 FD 2B C5 FC D1 1B 8D 14 [15:15:37]CommunicateWithHost err = 0 [15:15:37]CheckOFDResponse [15:15:37]1017 (14) - 77093643461234 [15:15:37]1041 (16) - 0000000000875104 [15:15:37]1040 (4) - 33413 [15:15:37]1012 (4) - 13.07.2024 09:11 [15:15:37]1206 (1) - 0 [15:15:37]OFD Sender: Remove packet 33413 [15:15:37]ProducePacketName [15:15:37]name=ofd_packets/00033413 [15:15:37]NVStorageDeleteData [15:15:37]Write to MH i2c: 01 00 00 43 1B 5E [15:15:37]Write i2c OK [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: 01 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: 01 07 00 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: 01 07 00 43 1B 00 00 00 00 00 F1 0C 62 [15:15:37]RasterBufferAndPrint [15:15:37]line [15:15:37]line [15:15:37]line [15:15:37]line [15:15:37]line [15:15:37]written 0, free lines is 3319 [15:15:37]MH_Cut [15:15:37]Write to MH i2c: D1 01 00 4A 1B 01 37 [15:15:37]Write i2c OK [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: D1 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: D1 01 00 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: D1 01 00 4A 1B 00 36 [15:15:37]Write to MH i2c: 01 00 00 4B 1B 66 [15:15:37]Write i2c OK [15:15:37]MH_I2C_Read... [15:15:37]OFD Sender: No OFD packet to send [15:15:38]*** Cut start [15:15:38]*** Partial cut [15:15:38]*** CUTSNS_PIN = 1 [15:15:38]*** CUTSNS_PIN = 0 [15:15:38]*** Brake cut motor [15:15:38]Read from MH i2c: 01 [15:15:38]MH_I2C_Read... [15:15:38]*** Stop cut motor [15:15:38]*** Cut end [15:15:38]Read from MH i2c: 01 07 00 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: 01 07 00 4B 1B 00 00 00 00 00 FF 0F 7B [15:15:38]process_action close_receipt done [15:15:38]requested_data is exist [15:15:38]produce_requested_data [15:15:38]requested_item fm.sn is exist - process it [15:15:38]wFMCommunicate request_size=4 [15:15:38]MH_SAM_APDU [15:15:38]CAPDU: 80 11 00 00 [15:15:38]Write to MH i2c: E2 08 00 4C 1B 80 11 00 00 00 00 00 00 E1 [15:15:38]Write i2c OK [15:15:38]MH_I2C_Read... [15:15:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:38]Read from MH i2c: E2 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: E2 17 00 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: E2 17 00 4C 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2D [15:15:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:15:38]wFMCommunicate OK [15:15:38]requested_item fd.num is exist - process it [15:15:38]SAM_PROTO_GetFieldsCounters [15:15:38]wFMCommunicate request_size=4 [15:15:38]MH_SAM_APDU [15:15:38]CAPDU: 80 13 00 00 [15:15:38]Write to MH i2c: E2 08 00 4D 1B 80 13 00 00 00 00 00 00 E4 [15:15:38]Write i2c OK [15:15:38]MH_I2C_Read... [15:15:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 62 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 62 00 4D 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 85 82 00 00 0E 04 04 00 B2 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 11 [15:15:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 85 82 00 00 0E 04 04 00 B2 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 [15:15:39]wFMCommunicate OK [15:15:39]SAM_PROTO_GetFieldsCounters done [15:15:39]requested_item shift.num is exist - process it [15:15:39]requested_item shift.opened is exist - process it [15:15:39]req_shift_opened [15:15:39]FM_GetShiftState [15:15:39]SAM_PROTO_GetShiftState [15:15:39]wFMCommunicate request_size=4 [15:15:39]MH_SAM_APDU [15:15:39]CAPDU: 80 13 01 00 [15:15:39]Write to MH i2c: E2 08 00 4E 1B 80 13 01 00 00 00 00 00 E6 [15:15:39]Write i2c OK [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:39]Read from MH i2c: E2 0E 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 0E 00 4E 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C5 [15:15:39]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:15:39]wFMCommunicate OK [15:15:39]SAM_PROTO_GetShiftState done [15:15:39]FM_GetShiftState done [15:15:39]req_shift_opened done [15:15:39]requested_item shift.open_date is exist - process it [15:15:39]req_shift_open_date [15:15:39]req_shift_open_date done [15:15:39]produce_requested_data done [15:15:39]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33413,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:15:39]process_action_free close_receipt [15:15:39]json_value_free [15:15:39]json_value_free done [15:15:39]process_json_proto returns [15:15:39]Send response to host [15:15:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33413,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:15:39]free response buf [15:15:39]execute_script done [15:15:39]execute_script returns [15:15:39]free content buf [15:15:39]Sock 7.Close socket [15:15:39]Sock 7.Thread stoped [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:43]OFD Sender: No OFD packet to send [15:26:48]OFD Sender: No OFD packet to send [15:26:53]OFD Sender: No OFD packet to send [15:26:58]OFD Sender: No OFD packet to send [15:27:03]OFD Sender: No OFD packet to send [15:27:05]accept exits with 9 [15:27:05]New connection [15:27:05]New thread 3066604900 created [15:27:05]Thread 3066461540 joined [15:27:05]Waiting for new connection... [15:27:05] Sock 9.Parse request [15:27:05]Sock 9.Check first char [15:27:05]Sock 9.First char is OK [15:27:05]request: POST /json_proto HTTP/1.0 [15:27:05]Method: POST [15:27:05]URL: /json_proto [15:27:05]Method is POST - this is cgi request [15:27:05]url: /json_proto [15:27:05]query_string will be loaded in cgi processing [15:27:05]execute_cgi json_proto POST (null) [15:27:05]execute_cgi path=json_proto method=POST [15:27:05]POST find Content-Length [15:27:05]Host: 172.17.35.196:8080 [15:27:05]Content-Length: 891 [15:27:05]Content-Type: application/json [15:27:05] [15:27:05]POST finish read [15:27:05]Found Content-Length = 891 [15:27:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169226", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:27:05]execute_script... [15:27: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)169226", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:27:05]POST & json_proto [15:27:05]process_json_proto [15:27:05]json parsed OK: [15:27:05]protocol is kg_v1.0 [15:27:05]action value=close_receipt [15:27:05]process_action close_receipt [15:27:05]cmd_close_receipt [15:27:05]MH_GetDate [15:27:05]Write to MH i2c: F0 00 00 4F 1B 59 [15:27:05]Write i2c OK [15:27:05]MH_I2C_Read... [15:27:05]Read from MH i2c: F0 [15:27:05]MH_I2C_Read... [15:27:05]Read from MH i2c: F0 09 00 [15:27:05]MH_I2C_Read... [15:27:05]Read from MH i2c: F0 09 00 4F 1B 00 CF 9C 92 66 AD 14 F4 65 DF [15:27:05]GetLastDocTimeStamp 1720883741 [15:27:05]current date 1720884431 [15:27:05]FM_GetShiftState [15:27:05]SAM_PROTO_GetShiftState [15:27:05]wFMCommunicate request_size=4 [15:27:05]MH_SAM_APDU [15:27:05]CAPDU: 80 13 01 00 [15:27:05]Write to MH i2c: E2 08 00 50 1B 80 13 01 00 00 00 00 00 E8 [15:27:05]Write i2c OK [15:27:05]MH_I2C_Read... [15:27:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:27:05]Read from MH i2c: E2 [15:27:05]MH_I2C_Read... [15:27:05]Read from MH i2c: E2 0E 00 [15:27:05]MH_I2C_Read... [15:27:05]Read from MH i2c: E2 0E 00 50 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C7 [15:27:05]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:27:05]wFMCommunicate OK [15:27:05]SAM_PROTO_GetShiftState done [15:27:05]FM_GetShiftState done [15:27:05]opened in 1720829207 [15:27:05]opened+sec_in_day 1720915607 [15:27:05]quantity*price = 23000 [15:27:05]sum+1 = 23001 [15:27:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032780025 Сосиска в тесте DC 110г 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.56 НДС 12% : 30.79 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 33 13.07.2024 15:27 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33414 ФПД: 183702154465637 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152711&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33414&fm=183702154465637&tin=02508201610067®Number=0000000000093033&sum=29000 0 [15:27:06]StoreToDocumentArchive [15:27:06]shift 434 fd 33414 [15:27:06]save to /storage/0434/doc_00033414 [15:27:06]save last doc name /storage/0434/doc_00033414 to /storage/kkm_last_doc_name [15:27:06]save OK [15:27:06]Clear old archive folders... [15:27:06]ProcessDocumentItem done err = 0, tmpTLVsize=383 [15:27:06]tlvbuf is 00A59D80 [15:27:06]SAM_PROTO_ClearQueue [15:27:06]wFMCommunicate request_size=4 [15:27:06]MH_SAM_APDU [15:27:06]CAPDU: 80 09 00 00 [15:27:06]Write to MH i2c: E2 08 00 5D 1B 80 09 00 00 00 00 00 00 EA [15:27:06]Write i2c OK [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 [15:27:06]MH_I2C_Read... [15:27:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:27:06]Read from MH i2c: E2 03 00 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 5D 1B 00 90 00 EC [15:27:06]RAPDU: 90 00 [15:27:06]wFMCommunicate OK [15:27:06]SAM_PROTO_ClearQueue done [15:27:06]KKMCreateOFDPacket [15:27:06]OFDProtocolAddRootSTLVToBuf [15:27:06]FM_MakeSignedData [15:27:06]FM_MakeSignedData [15:27:06]SAM_PROTO_SignData [15:27:06]wFMCommunicate request_size=4 [15:27:06]MH_SAM_APDU [15:27:06]CAPDU: 80 0D 01 02 [15:27:06]Write to MH i2c: E2 08 00 5E 1B 80 0D 01 02 00 00 00 00 F2 [15:27:06]Write i2c OK [15:27:06]MH_I2C_Read... [15:27:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:27:06]Read from MH i2c: E2 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 5E 1B 00 90 00 ED [15:27:06]RAPDU: 90 00 [15:27:06]wFMCommunicate OK [15:27:06]wFMCommunicate request_size=255 [15:27:06]MH_SAM_APDU [15:27:06]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 [15:27:06]Write to MH i2c: E2 02 01 5F 1B 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 58 [15:27:06]Write i2c OK [15:27:06]MH_I2C_Read... [15:27:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:27:06]Read from MH i2c: E2 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 5F 1B 00 90 00 EE [15:27:06]RAPDU: 90 00 [15:27:06]wFMCommunicate OK [15:27:06]wFMCommunicate request_size=142 [15:27:06]MH_SAM_APDU [15:27:06]CAPDU: 80 0D 02 02 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 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 CF 9C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 86 82 00 00 35 04 06 00 A7 13 7D A9 51 65 [15:27:06]Write to MH i2c: E2 91 00 60 1B 80 0D 02 02 89 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 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 CF 9C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 86 82 00 00 35 04 06 00 A7 13 7D A9 51 65 00 00 C8 [15:27:06]Write i2c OK [15:27:06]MH_I2C_Read... [15:27:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:27:06]Read from MH i2c: E2 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 [15:27:06]MH_I2C_Read... [15:27:06]Read from MH i2c: E2 03 00 60 1B 00 90 00 EF [15:27:06]RAPDU: 90 00 [15:27:06]wFMCommunicate OK [15:27:06]wFMCommunicate request_size=4 [15:27:06]MH_SAM_APDU [15:27:06]CAPDU: 80 0D 03 02 [15:27:06]Write to MH i2c: E2 08 00 61 1B 80 0D 03 02 00 00 00 00 F7 [15:27:06]Write i2c OK [15:27:06]MH_I2C_Read... [15:27:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:27:07]Read from MH i2c: E2 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: E2 0B 00 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: E2 0B 00 61 1B 00 05 15 15 A7 CE 9F FC 95 90 00 CC [15:27:07]RAPDU: 05 15 15 A7 CE 9F FC 95 90 00 [15:27:07]wFMCommunicate OK [15:27:07]SAM_PROTO_SignData done [15:27:07]FM_MakeSignedData done [15:27:07]CreateOFDProtocolMessage [15:27:07]wFMCommunicate request_size=4 [15:27:07]MH_SAM_APDU [15:27:07]CAPDU: 80 11 00 00 [15:27:07]Write to MH i2c: E2 08 00 62 1B 80 11 00 00 00 00 00 00 F7 [15:27:07]Write i2c OK [15:27:07]MH_I2C_Read... [15:27:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:27:07]Read from MH i2c: E2 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: E2 17 00 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: E2 17 00 62 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 43 [15:27:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:27:07]wFMCommunicate OK [15:27:07]CreateOFDProtocolMessage done [15:27:07]OFDSenderStorePacket 33414 [15:27:07]StoreOFDPacket docnum=33414 [15:27:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 93 01 00 00 56 ED 8B 01 AB CC 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 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 CF 9C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 86 82 00 00 35 04 06 00 A7 13 7D A9 51 65 05 15 15 A7 CE 9F FC 95 [15:27:07]CheckFolder [15:27:07]dirname=/storage/ofd_packets [15:27:07]CheckFolder done [15:27:07]ProducePacketName [15:27:07]name=ofd_packets/00033414 [15:27:07]NVStorageSaveData ofd_packets/00033414 [15:27:07]File name is /storage/ofd_packets/00033414 [15:27:07]Write 433 bytes [15:27:07]NVStorageSaveData done [15:27:07]OFDSenderStorePacket done [15:27:07]KKMCreateOFDPacket done [15:27:07]NVStorageSaveData kkm_last_timestamp [15:27:07]File name is /storage/kkm_last_timestamp [15:27:07]Write 4 bytes [15:27:07]NVStorageSaveData done [15:27:07]ExternCall_PrintAddStr [15:27:07]wPrintStart [15:27:07]Write to MH i2c: 01 00 00 63 1B 7E [15:27:07]Write i2c OK [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: 01 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: 01 07 00 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: 01 07 00 63 1B 00 00 00 00 00 FF 0F 93 [15:27:07]RasterBufferAndPrint [15:27:07]line Счет N : (3)169226 [15:27:07]line ИНН: 02508201610067 [15:27:07]line Контрольно-Кассовый Чек [15:27:07]line ПРОДАЖА [15:27:07]line Товар: 2000036240010 [15:27:07]line Кофе Латте (GABB TRADE) [15:27:07]line 2.000 * 115.00 [15:27:07]line = 230.00 [15:27:07]line НДС 12% НСП 1% [15:27:07]line > о реализуемом товаре [15:27:07]line Товар: 2000032780025 [15:27:07]line Сосиска в тесте DC 110г [15:27:07]line 1.000 * 60.00 [15:27:07]line = 60.00 [15:27:07]line НДС 12% НСП 1% [15:27:07]line > о реализуемом товаре [15:27:07]line ИТОГО: 290.00 [15:27:07]line НСП 1% : 2.56 [15:27:07]line НДС 12% : 30.79 [15:27:07]line Наличными: 290.00 [15:27:07]line Безнал.: 0.00 [15:27:07]line Место: АЗС № 77 "Партнер Нефть" [15:27:07]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:27:07]line СНО: Общий режим [15:27:07]line Чек 33 13.07.2024 15:27 [15:27:07]line Смена: 434 ФФД: 1.0 [15:27:07]line ЗНМ: 0300000122 [15:27:07]line РНМ: 0000000000093033 [15:27:07]line Версия ККМ: 001 [15:27:07]line ФМ: 0000000000875104 [15:27:07]line ФД: 33414 [15:27:07]line ФПД: 183702154465637 [15:27:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152711&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33414&fm=183702154465637&tin=02508201610067®Number=0000000000093033&sum=29000 [15:27:07]line 0 [15:27:07]OFD Sender: Processing packet 33414 [packets to send 6, broken 5] [15:27:07]ProducePacketName [15:27:07]name=ofd_packets/00033414 [15:27:07]OFD Sender: To server: pG, [15:27:07]CommunicateWithHost lk.salyk.kg:30040 [15:27:07]ConnectInit lk.salyk.kg [15:27:07]written 0, free lines is 4095 [15:27:07]Connected sock=10 [15:27:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 93 01 00 00 56 ED 8B 01 AB CC 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 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 CF 9C 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 86 82 00 00 35 04 06 00 A7 13 7D A9 51 65 05 15 15 A7 CE 9F FC 95 [15:27:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 04 80 47 00 C0 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 86 82 00 00 F4 03 04 00 7A 47 92 66 B6 04 01 00 00 64 97 C0 75 51 DE 16 D2 [15:27:07]CommunicateWithHost err = 0 [15:27:07]CheckOFDResponse [15:27:07]1017 (14) - 77093643461234 [15:27:07]1041 (16) - 0000000000875104 [15:27:07]1040 (4) - 33414 [15:27:07]1012 (4) - 13.07.2024 09:23 [15:27:07]1206 (1) - 0 [15:27:07]OFD Sender: Remove packet 33414 [15:27:07]ProducePacketName [15:27:07]name=ofd_packets/00033414 [15:27:07]NVStorageDeleteData [15:27:07]Write to MH i2c: 01 00 00 91 1B AC [15:27:07]Write i2c OK [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: 01 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: 01 07 00 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: 01 07 00 91 1B 00 00 00 00 00 9C 0C 5B [15:27:07]RasterBufferAndPrint [15:27:07]line [15:27:07]line [15:27:07]line [15:27:07]line [15:27:07]line [15:27:07]written 0, free lines is 3234 [15:27:07]MH_Cut [15:27:07]Write to MH i2c: D1 01 00 98 1B 01 85 [15:27:07]Write i2c OK [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: D1 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: D1 01 00 [15:27:07]MH_I2C_Read... [15:27:07]Read from MH i2c: D1 01 00 98 1B 00 84 [15:27:07]Write to MH i2c: 01 00 00 99 1B B4 [15:27:07]Write i2c OK [15:27:07]MH_I2C_Read... [15:27:08]OFD Sender: No OFD packet to send [15:27:08]*** Cut start [15:27:08]*** Partial cut [15:27:08]*** CUTSNS_PIN = 1 [15:27:08]*** CUTSNS_PIN = 0 [15:27:08]*** Brake cut motor [15:27:09]Read from MH i2c: 01 [15:27:09]MH_I2C_Read... [15:27:09]*** Stop cut motor [15:27:09]*** Cut end [15:27:09]Read from MH i2c: 01 07 00 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: 01 07 00 99 1B 00 00 00 00 00 FF 0F C9 [15:27:09]process_action close_receipt done [15:27:09]requested_data is exist [15:27:09]produce_requested_data [15:27:09]requested_item fm.sn is exist - process it [15:27:09]wFMCommunicate request_size=4 [15:27:09]MH_SAM_APDU [15:27:09]CAPDU: 80 11 00 00 [15:27:09]Write to MH i2c: E2 08 00 9A 1B 80 11 00 00 00 00 00 00 2F [15:27:09]Write i2c OK [15:27:09]MH_I2C_Read... [15:27:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:27:09]Read from MH i2c: E2 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: E2 17 00 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: E2 17 00 9A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7B [15:27:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:27:09]wFMCommunicate OK [15:27:09]requested_item fd.num is exist - process it [15:27:09]SAM_PROTO_GetFieldsCounters [15:27:09]wFMCommunicate request_size=4 [15:27:09]MH_SAM_APDU [15:27:09]CAPDU: 80 13 00 00 [15:27:09]Write to MH i2c: E2 08 00 9B 1B 80 13 00 00 00 00 00 00 32 [15:27:09]Write i2c OK [15:27:09]MH_I2C_Read... [15:27:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:27:09]Read from MH i2c: E2 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: E2 62 00 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: E2 62 00 9B 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 86 82 00 00 0E 04 04 00 B2 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 63 [15:27:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 86 82 00 00 0E 04 04 00 B2 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 [15:27:09]wFMCommunicate OK [15:27:09]SAM_PROTO_GetFieldsCounters done [15:27:09]requested_item shift.num is exist - process it [15:27:09]requested_item shift.opened is exist - process it [15:27:09]req_shift_opened [15:27:09]FM_GetShiftState [15:27:09]SAM_PROTO_GetShiftState [15:27:09]wFMCommunicate request_size=4 [15:27:09]MH_SAM_APDU [15:27:09]CAPDU: 80 13 01 00 [15:27:09]Write to MH i2c: E2 08 00 9C 1B 80 13 01 00 00 00 00 00 34 [15:27:09]Write i2c OK [15:27:09]MH_I2C_Read... [15:27:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:27:09]Read from MH i2c: E2 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: E2 0E 00 [15:27:09]MH_I2C_Read... [15:27:09]Read from MH i2c: E2 0E 00 9C 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 13 [15:27:09]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:27:09]wFMCommunicate OK [15:27:09]SAM_PROTO_GetShiftState done [15:27:09]FM_GetShiftState done [15:27:09]req_shift_opened done [15:27:09]requested_item shift.open_date is exist - process it [15:27:09]req_shift_open_date [15:27:09]req_shift_open_date done [15:27:09]produce_requested_data done [15:27:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33414,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:27:09]process_action_free close_receipt [15:27:09]json_value_free [15:27:09]json_value_free done [15:27:09]process_json_proto returns [15:27:09]Send response to host [15:27:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33414,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:27:09]free response buf [15:27:09]execute_script done [15:27:09]execute_script returns [15:27:09]free content buf [15:27:09]Sock 9.Close socket [15:27:09]Sock 9.Thread stoped [15:27:13]OFD Sender: No OFD packet to send [15:27:18]OFD Sender: No OFD packet to send [15:27:23]OFD Sender: No OFD packet to send [15:27:28]OFD Sender: No OFD packet to send [15:27:33]OFD Sender: No OFD packet to send [15:27:38]OFD Sender: No OFD packet to send [15:27:43]OFD Sender: No OFD packet to send [15:27:48]OFD Sender: No OFD packet to send [15:27:53]OFD Sender: No OFD packet to send [15:27:55]accept exits with 7 [15:27:55]New connection [15:27:55]New thread 3066461540 created [15:27:55]Thread 3066604900 joined [15:27:55]Waiting for new connection... [15:27:55] Sock 7.Parse request [15:27:55]Sock 7.Check first char [15:27:55]Sock 7.First char is OK [15:27:55]request: POST /json_proto HTTP/1.0 [15:27:55]Method: POST [15:27:55]URL: /json_proto [15:27:55]Method is POST - this is cgi request [15:27:55]url: /json_proto [15:27:55]query_string will be loaded in cgi processing [15:27:55]execute_cgi json_proto POST (null) [15:27:55]execute_cgi path=json_proto method=POST [15:27:55]POST find Content-Length [15:27:55]Host: 172.17.35.196:8080 [15:27:55]Content-Length: 899 [15:27:55]Content-Type: application/json [15:27:55] [15:27:55]POST finish read [15:27:55]Found Content-Length = 899 [15:27:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169227", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 218.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:27:55]execute_script... [15:27: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)169227", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 218.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:27:55]POST & json_proto [15:27:55]process_json_proto [15:27:55]json parsed OK: [15:27:55]protocol is kg_v1.0 [15:27:55]action value=close_receipt [15:27:55]process_action close_receipt [15:27:55]cmd_close_receipt [15:27:55]MH_GetDate [15:27:55]Write to MH i2c: F0 00 00 9D 1B A7 [15:27:55]Write i2c OK [15:27:55]MH_I2C_Read... [15:27:55]Read from MH i2c: F0 [15:27:55]MH_I2C_Read... [15:27:55]Read from MH i2c: F0 09 00 [15:27:55]MH_I2C_Read... [15:27:55]Read from MH i2c: F0 09 00 9D 1B 00 01 9D 92 66 AD 14 F4 65 60 [15:27:55]GetLastDocTimeStamp 1720884431 [15:27:55]current date 1720884481 [15:27:55]FM_GetShiftState [15:27:55]SAM_PROTO_GetShiftState [15:27:55]wFMCommunicate request_size=4 [15:27:55]MH_SAM_APDU [15:27:55]CAPDU: 80 13 01 00 [15:27:55]Write to MH i2c: E2 08 00 9E 1B 80 13 01 00 00 00 00 00 36 [15:27:55]Write i2c OK [15:27:55]MH_I2C_Read... [15:27:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:27:55]Read from MH i2c: E2 [15:27:55]MH_I2C_Read... [15:27:55]Read from MH i2c: E2 0E 00 [15:27:55]MH_I2C_Read... [15:27:55]Read from MH i2c: E2 0E 00 9E 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 15 [15:27:55]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:27:55]wFMCommunicate OK [15:27:55]SAM_PROTO_GetShiftState done [15:27:55]FM_GetShiftState done [15:27:55]opened in 1720829207 [15:27:55]opened+sec_in_day 1720915607 [15:27:55]quantity*price = 11100 [15:27:55]sum+1 = 11101 [15:27:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189318 Холодный чай Fuse лимон 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 218.00 НСП 1% : 1.93 НДС 12% : 23.15 Наличными: 218.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 34 13.07.2024 15:28 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33415 ФПД: 164855190925088 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152801&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33415&fm=164855190925088&tin=02508201610067®Number=0000000000093033&sum=21800 0 [15:27:56]StoreToDocumentArchive [15:27:56]shift 434 fd 33415 [15:27:56]save to /storage/0434/doc_00033415 [15:27:56]save last doc name /storage/0434/doc_00033415 to /storage/kkm_last_doc_name [15:27:56]save OK [15:27:56]Clear old archive folders... [15:27:56]ProcessDocumentItem done err = 0, tmpTLVsize=381 [15:27:56]tlvbuf is 00A85800 [15:27:56]SAM_PROTO_ClearQueue [15:27:56]wFMCommunicate request_size=4 [15:27:56]MH_SAM_APDU [15:27:56]CAPDU: 80 09 00 00 [15:27:56]Write to MH i2c: E2 08 00 AB 1B 80 09 00 00 00 00 00 00 38 [15:27:56]Write i2c OK [15:27:56]MH_I2C_Read... [15:27:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:27:56]Read from MH i2c: E2 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 AB 1B 00 90 00 3A [15:27:56]RAPDU: 90 00 [15:27:56]wFMCommunicate OK [15:27:56]SAM_PROTO_ClearQueue done [15:27:56]KKMCreateOFDPacket [15:27:56]OFDProtocolAddRootSTLVToBuf [15:27:56]FM_MakeSignedData [15:27:56]FM_MakeSignedData [15:27:56]SAM_PROTO_SignData [15:27:56]wFMCommunicate request_size=4 [15:27:56]MH_SAM_APDU [15:27:56]CAPDU: 80 0D 01 02 [15:27:56]Write to MH i2c: E2 08 00 AC 1B 80 0D 01 02 00 00 00 00 40 [15:27:56]Write i2c OK [15:27:56]MH_I2C_Read... [15:27:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:27:56]Read from MH i2c: E2 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 AC 1B 00 90 00 3B [15:27:56]RAPDU: 90 00 [15:27:56]wFMCommunicate OK [15:27:56]wFMCommunicate request_size=255 [15:27:56]MH_SAM_APDU [15:27:56]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 [15:27:56]Write to MH i2c: E2 02 01 AD 1B 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 85 [15:27:56]Write i2c OK [15:27:56]MH_I2C_Read... [15:27:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:27:56]Read from MH i2c: E2 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 AD 1B 00 90 00 3C [15:27:56]RAPDU: 90 00 [15:27:56]wFMCommunicate OK [15:27:56]wFMCommunicate request_size=140 [15:27:56]MH_SAM_APDU [15:27:56]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 01 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 87 82 00 00 35 04 06 00 95 EF 57 18 2F 20 [15:27:56]Write to MH i2c: E2 8F 00 AE 1B 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 01 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 87 82 00 00 35 04 06 00 95 EF 57 18 2F 20 00 00 B7 [15:27:56]Write i2c OK [15:27:56]MH_I2C_Read... [15:27:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:27:56]Read from MH i2c: E2 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 [15:27:56]MH_I2C_Read... [15:27:56]Read from MH i2c: E2 03 00 AE 1B 00 90 00 3D [15:27:56]RAPDU: 90 00 [15:27:56]wFMCommunicate OK [15:27:56]wFMCommunicate request_size=4 [15:27:56]MH_SAM_APDU [15:27:56]CAPDU: 80 0D 03 02 [15:27:56]Write to MH i2c: E2 08 00 AF 1B 80 0D 03 02 00 00 00 00 45 [15:27:56]Write i2c OK [15:27:56]MH_I2C_Read... [15:27:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:27:57]Read from MH i2c: E2 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: E2 0B 00 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: E2 0B 00 AF 1B 00 8E 36 B0 24 68 40 C4 7C 90 00 C6 [15:27:57]RAPDU: 8E 36 B0 24 68 40 C4 7C 90 00 [15:27:57]wFMCommunicate OK [15:27:57]SAM_PROTO_SignData done [15:27:57]FM_MakeSignedData done [15:27:57]CreateOFDProtocolMessage [15:27:57]wFMCommunicate request_size=4 [15:27:57]MH_SAM_APDU [15:27:57]CAPDU: 80 11 00 00 [15:27:57]Write to MH i2c: E2 08 00 B0 1B 80 11 00 00 00 00 00 00 45 [15:27:57]Write i2c OK [15:27:57]MH_I2C_Read... [15:27:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:27:57]Read from MH i2c: E2 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: E2 17 00 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: E2 17 00 B0 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 91 [15:27:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:27:57]wFMCommunicate OK [15:27:57]CreateOFDProtocolMessage done [15:27:57]OFDSenderStorePacket 33415 [15:27:57]StoreOFDPacket docnum=33415 [15:27:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 91 01 00 00 46 39 89 01 5E 8E 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 01 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 87 82 00 00 35 04 06 00 95 EF 57 18 2F 20 8E 36 B0 24 68 40 C4 7C [15:27:57]CheckFolder [15:27:57]dirname=/storage/ofd_packets [15:27:57]CheckFolder done [15:27:57]ProducePacketName [15:27:57]name=ofd_packets/00033415 [15:27:57]NVStorageSaveData ofd_packets/00033415 [15:27:57]File name is /storage/ofd_packets/00033415 [15:27:57]Write 431 bytes [15:27:57]NVStorageSaveData done [15:27:57]OFDSenderStorePacket done [15:27:57]KKMCreateOFDPacket done [15:27:57]NVStorageSaveData kkm_last_timestamp [15:27:57]File name is /storage/kkm_last_timestamp [15:27:57]Write 4 bytes [15:27:57]NVStorageSaveData done [15:27:57]ExternCall_PrintAddStr [15:27:57]wPrintStart [15:27:57]Write to MH i2c: 01 00 00 B1 1B CC [15:27:57]Write i2c OK [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: 01 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: 01 07 00 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: 01 07 00 B1 1B 00 00 00 00 00 FF 0F E1 [15:27:57]RasterBufferAndPrint [15:27:57]line Счет N : (3)169227 [15:27:57]line ИНН: 02508201610067 [15:27:57]line Контрольно-Кассовый Чек [15:27:57]line ПРОДАЖА [15:27:57]line Товар: 4870001570071 [15:27:57]line Напиток Pepsi 1л [15:27:57]line 1.000 * 111.00 [15:27:57]line = 111.00 [15:27:57]line НДС 12% НСП 1% [15:27:57]line > о реализуемом товаре [15:27:57]line Товар: 5449000189318 [15:27:57]line Холодный чай Fuse лимон 1л [15:27:57]line 1.000 * 107.00 [15:27:57]line = 107.00 [15:27:57]line НДС 12% НСП 1% [15:27:57]line > о реализуемом товаре [15:27:57]line ИТОГО: 218.00 [15:27:57]line НСП 1% : 1.93 [15:27:57]line НДС 12% : 23.15 [15:27:57]line Наличными: 218.00 [15:27:57]line Безнал.: 0.00 [15:27:57]line Место: АЗС № 77 "Партнер Нефть" [15:27:57]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:27:57]line СНО: Общий режим [15:27:57]line Чек 34 13.07.2024 15:28 [15:27:57]line Смена: 434 ФФД: 1.0 [15:27:57]line ЗНМ: 0300000122 [15:27:57]line РНМ: 0000000000093033 [15:27:57]line Версия ККМ: 001 [15:27:57]line ФМ: 0000000000875104 [15:27:57]line ФД: 33415 [15:27:57]line ФПД: 164855190925088 [15:27:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152801&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33415&fm=164855190925088&tin=02508201610067®Number=0000000000093033&sum=21800 [15:27:57]line 0 [15:27:57]OFD Sender: Processing packet 33415 [packets to send 6, broken 5] [15:27:57]ProducePacketName [15:27:57]name=ofd_packets/00033415 [15:27:57]OFD Sender: To server: pG, [15:27:57]CommunicateWithHost lk.salyk.kg:30040 [15:27:57]ConnectInit lk.salyk.kg [15:27:57]written 0, free lines is 4095 [15:27:57]Connected sock=10 [15:27:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 91 01 00 00 46 39 89 01 5E 8E 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 01 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 87 82 00 00 35 04 06 00 95 EF 57 18 2F 20 8E 36 B0 24 68 40 C4 7C [15:27:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 FB C4 47 00 0F 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 35 31 30 34 10 04 04 00 87 82 00 00 F4 03 04 00 AC 47 92 66 B6 04 01 00 00 47 65 21 84 88 DA 2B AB [15:27:57]CommunicateWithHost err = 0 [15:27:57]CheckOFDResponse [15:27:57]1017 (14) - 77093643461234 [15:27:57]1041 (16) - 0000000000875104 [15:27:57]1040 (4) - 33415 [15:27:57]1012 (4) - 13.07.2024 09:23 [15:27:57]1206 (1) - 0 [15:27:57]OFD Sender: Remove packet 33415 [15:27:57]ProducePacketName [15:27:57]name=ofd_packets/00033415 [15:27:57]NVStorageDeleteData [15:27:57]Write to MH i2c: 01 00 00 DF 1B FA [15:27:57]Write i2c OK [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: 01 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: 01 07 00 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: 01 07 00 DF 1B 00 00 00 00 00 B4 0C C1 [15:27:57]RasterBufferAndPrint [15:27:57]line [15:27:57]line [15:27:57]line [15:27:57]line [15:27:57]line [15:27:57]written 0, free lines is 3258 [15:27:57]MH_Cut [15:27:57]Write to MH i2c: D1 01 00 E6 1B 01 D3 [15:27:57]Write i2c OK [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: D1 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: D1 01 00 [15:27:57]MH_I2C_Read... [15:27:57]Read from MH i2c: D1 01 00 E6 1B 00 D2 [15:27:57]Write to MH i2c: 01 00 00 E7 1B 02 [15:27:57]Write i2c OK [15:27:57]MH_I2C_Read... [15:27:58]OFD Sender: No OFD packet to send [15:27:58]*** Cut start [15:27:58]*** Partial cut [15:27:58]*** CUTSNS_PIN = 1 [15:27:58]*** CUTSNS_PIN = 0 [15:27:58]*** Brake cut motor [15:27:59]Read from MH i2c: 01 [15:27:59]MH_I2C_Read... [15:27:59]*** Stop cut motor [15:27:59]*** Cut end [15:27:59]Read from MH i2c: 01 07 00 [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: 01 07 00 E7 1B 00 00 00 00 00 FF 0F 17 [15:27:59]process_action close_receipt done [15:27:59]requested_data is exist [15:27:59]produce_requested_data [15:27:59]requested_item fm.sn is exist - process it [15:27:59]wFMCommunicate request_size=4 [15:27:59]MH_SAM_APDU [15:27:59]CAPDU: 80 11 00 00 [15:27:59]Write to MH i2c: E2 08 00 E8 1B 80 11 00 00 00 00 00 00 7D [15:27:59]Write i2c OK [15:27:59]MH_I2C_Read... [15:27:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:27:59]Read from MH i2c: E2 [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: E2 17 00 [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: E2 17 00 E8 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C9 [15:27:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:27:59]wFMCommunicate OK [15:27:59]requested_item fd.num is exist - process it [15:27:59]SAM_PROTO_GetFieldsCounters [15:27:59]wFMCommunicate request_size=4 [15:27:59]MH_SAM_APDU [15:27:59]CAPDU: 80 13 00 00 [15:27:59]Write to MH i2c: E2 08 00 E9 1B 80 13 00 00 00 00 00 00 80 [15:27:59]Write i2c OK [15:27:59]MH_I2C_Read... [15:27:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:27:59]Read from MH i2c: E2 [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: E2 62 00 [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: E2 62 00 E9 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 87 82 00 00 0E 04 04 00 B2 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 B5 [15:27: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 87 82 00 00 0E 04 04 00 B2 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 [15:27:59]wFMCommunicate OK [15:27:59]SAM_PROTO_GetFieldsCounters done [15:27:59]requested_item shift.num is exist - process it [15:27:59]requested_item shift.opened is exist - process it [15:27:59]req_shift_opened [15:27:59]FM_GetShiftState [15:27:59]SAM_PROTO_GetShiftState [15:27:59]wFMCommunicate request_size=4 [15:27:59]MH_SAM_APDU [15:27:59]CAPDU: 80 13 01 00 [15:27:59]Write to MH i2c: E2 08 00 EA 1B 80 13 01 00 00 00 00 00 82 [15:27:59]Write i2c OK [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: E2 [15:27:59]MH_I2C_Read... [15:27:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:27:59]Read from MH i2c: E2 0E 00 [15:27:59]MH_I2C_Read... [15:27:59]Read from MH i2c: E2 0E 00 EA 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 61 [15:27:59]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:27:59]wFMCommunicate OK [15:27:59]SAM_PROTO_GetShiftState done [15:27:59]FM_GetShiftState done [15:27:59]req_shift_opened done [15:27:59]requested_item shift.open_date is exist - process it [15:27:59]req_shift_open_date [15:27:59]req_shift_open_date done [15:27:59]produce_requested_data done [15:27:59]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33415,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:27:59]process_action_free close_receipt [15:27:59]json_value_free [15:27:59]json_value_free done [15:27:59]process_json_proto returns [15:27:59]Send response to host [15:27:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33415,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:27:59]free response buf [15:27:59]execute_script done [15:27:59]execute_script returns [15:27:59]free content buf [15:27:59]Sock 7.Close socket [15:27:59]Sock 7.Thread stoped [15:28:03]OFD Sender: No OFD packet to send [15:28:08]OFD Sender: No OFD packet to send [15:28:13]OFD Sender: No OFD packet to send [15:28:18]OFD Sender: No OFD packet to send [15:28:20]accept exits with 9 [15:28:20]New connection [15:28:20]New thread 3066604900 created [15:28:20]Thread 3066461540 joined [15:28:20]Waiting for new connection... [15:28:20] Sock 9.Parse request [15:28:20]Sock 9.Check first char [15:28:20]Sock 9.First char is OK [15:28:20]request: POST /json_proto HTTP/1.0 [15:28:20]Method: POST [15:28:20]URL: /json_proto [15:28:20]Method is POST - this is cgi request [15:28:20]url: /json_proto [15:28:20]query_string will be loaded in cgi processing [15:28:20]execute_cgi json_proto POST (null) [15:28:20]execute_cgi path=json_proto method=POST [15:28:20]POST find Content-Length [15:28:20]Host: 172.17.35.196:8080 [15:28:20]Content-Length: 711 [15:28:20]Content-Type: application/json [15:28:20] [15:28:20]POST finish read [15:28:20]Found Content-Length = 711 [15:28:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169228", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:20]execute_script... [15:28: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)169228", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:20]POST & json_proto [15:28:20]process_json_proto [15:28:20]json parsed OK: [15:28:20]protocol is kg_v1.0 [15:28:20]action value=close_receipt [15:28:20]process_action close_receipt [15:28:20]cmd_close_receipt [15:28:20]MH_GetDate [15:28:20]Write to MH i2c: F0 00 00 EB 1B F5 [15:28:20]Write i2c OK [15:28:20]MH_I2C_Read... [15:28:20]Read from MH i2c: F0 [15:28:20]MH_I2C_Read... [15:28:20]Read from MH i2c: F0 09 00 [15:28:20]MH_I2C_Read... [15:28:20]Read from MH i2c: F0 09 00 EB 1B 00 1A 9D 92 66 AD 14 F4 65 C7 [15:28:20]GetLastDocTimeStamp 1720884481 [15:28:20]current date 1720884506 [15:28:20]FM_GetShiftState [15:28:20]SAM_PROTO_GetShiftState [15:28:20]wFMCommunicate request_size=4 [15:28:20]MH_SAM_APDU [15:28:20]CAPDU: 80 13 01 00 [15:28:20]Write to MH i2c: E2 08 00 EC 1B 80 13 01 00 00 00 00 00 84 [15:28:20]Write i2c OK [15:28:20]MH_I2C_Read... [15:28:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:20]Read from MH i2c: E2 [15:28:20]MH_I2C_Read... [15:28:20]Read from MH i2c: E2 0E 00 [15:28:20]MH_I2C_Read... [15:28:20]Read from MH i2c: E2 0E 00 EC 1B 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 63 [15:28:20]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:28:20]wFMCommunicate OK [15:28:20]SAM_PROTO_GetShiftState done [15:28:20]FM_GetShiftState done [15:28:20]opened in 1720829207 [15:28:20]opened+sec_in_day 1720915607 [15:28:20]quantity*price = 11000 [15:28:20]sum+1 = 11001 [15:28:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 35 13.07.2024 15:28 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33416 ФПД: 30334232858640 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152826&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33416&fm=30334232858640&tin=02508201610067®Number=0000000000093033&sum=11000 0 [15:28:21]StoreToDocumentArchive [15:28:21]shift 434 fd 33416 [15:28:21]save to /storage/0434/doc_00033416 [15:28:21]save last doc name /storage/0434/doc_00033416 to /storage/kkm_last_doc_name [15:28:21]save OK [15:28:21]Clear old archive folders... [15:28:21]ProcessDocumentItem done err = 0, tmpTLVsize=303 [15:28:21]tlvbuf is B6E6C720 [15:28:21]SAM_PROTO_ClearQueue [15:28:21]wFMCommunicate request_size=4 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 09 00 00 [15:28:21]Write to MH i2c: E2 08 00 F9 1B 80 09 00 00 00 00 00 00 86 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 F9 1B 00 90 00 88 [15:28:21]RAPDU: 90 00 [15:28:21]wFMCommunicate OK [15:28:21]SAM_PROTO_ClearQueue done [15:28:21]KKMCreateOFDPacket [15:28:21]OFDProtocolAddRootSTLVToBuf [15:28:21]FM_MakeSignedData [15:28:21]FM_MakeSignedData [15:28:21]SAM_PROTO_SignData [15:28:21]wFMCommunicate request_size=4 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 0D 01 02 [15:28:21]Write to MH i2c: E2 08 00 FA 1B 80 0D 01 02 00 00 00 00 8E [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 FA 1B 00 90 00 89 [15:28:21]RAPDU: 90 00 [15:28:21]wFMCommunicate OK [15:28:21]wFMCommunicate request_size=255 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 1A 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D [15:28:21]Write to MH i2c: E2 02 01 FB 1B 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 1A 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 00 00 03 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 FB 1B 00 90 00 8A [15:28:21]RAPDU: 90 00 [15:28:21]wFMCommunicate OK [15:28:21]wFMCommunicate request_size=62 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 88 82 00 00 35 04 06 00 1B 96 BD 2C 90 10 [15:28:21]Write to MH i2c: E2 41 00 FC 1B 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 88 82 00 00 35 04 06 00 1B 96 BD 2C 90 10 00 00 02 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 03 00 FC 1B 00 90 00 8B [15:28:21]RAPDU: 90 00 [15:28:21]wFMCommunicate OK [15:28:21]wFMCommunicate request_size=4 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 0D 03 02 [15:28:21]Write to MH i2c: E2 08 00 FD 1B 80 0D 03 02 00 00 00 00 93 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 0B 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 0B 00 FD 1B 00 08 2C 62 4F 99 3D 6C 41 90 00 FC [15:28:21]RAPDU: 08 2C 62 4F 99 3D 6C 41 90 00 [15:28:21]wFMCommunicate OK [15:28:21]SAM_PROTO_SignData done [15:28:21]FM_MakeSignedData done [15:28:21]CreateOFDProtocolMessage [15:28:21]wFMCommunicate request_size=4 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 11 00 00 [15:28:21]Write to MH i2c: E2 08 00 FE 1B 80 11 00 00 00 00 00 00 93 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 17 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 17 00 FE 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DF [15:28:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:28:21]wFMCommunicate OK [15:28:21]CreateOFDProtocolMessage done [15:28:21]OFDSenderStorePacket 33416 [15:28:21]StoreOFDPacket docnum=33416 [15:28:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 43 01 00 00 BF 2E 3B 01 7D F1 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 1A 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 88 82 00 00 35 04 06 00 1B 96 BD 2C 90 10 08 2C 62 4F 99 3D 6C 41 [15:28:21]CheckFolder [15:28:21]dirname=/storage/ofd_packets [15:28:21]CheckFolder done [15:28:21]ProducePacketName [15:28:21]name=ofd_packets/00033416 [15:28:21]NVStorageSaveData ofd_packets/00033416 [15:28:21]File name is /storage/ofd_packets/00033416 [15:28:21]Write 353 bytes [15:28:21]NVStorageSaveData done [15:28:21]OFDSenderStorePacket done [15:28:21]KKMCreateOFDPacket done [15:28:21]NVStorageSaveData kkm_last_timestamp [15:28:21]File name is /storage/kkm_last_timestamp [15:28:21]Write 4 bytes [15:28:21]NVStorageSaveData done [15:28:21]ExternCall_PrintAddStr [15:28:21]wPrintStart [15:28:21]Write to MH i2c: 01 00 00 FF 1B 1A [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: 01 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: 01 07 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: 01 07 00 FF 1B 00 00 00 00 00 FF 0F 2F [15:28:21]RasterBufferAndPrint [15:28:21]line Счет N : (3)169228 [15:28:21]line ИНН: 02508201610067 [15:28:21]line Контрольно-Кассовый Чек [15:28:21]line ПРОДАЖА [15:28:21]line Товар: 4870202521216 [15:28:21]line Напиток MAXI чай 1,2 зел.лимон (новый) [15:28:21]line 1.000 * 110.00 [15:28:21]line = 110.00 [15:28:21]line НДС 12% НСП 1% [15:28:21]line > о реализуемом товаре [15:28:21]line ИТОГО: 110.00 [15:28:21]line НСП 1% : 0.97 [15:28:21]line НДС 12% : 11.68 [15:28:21]line Наличными: 110.00 [15:28:21]line Безнал.: 0.00 [15:28:21]line Место: АЗС № 77 "Партнер Нефть" [15:28:21]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:28:21]line СНО: Общий режим [15:28:21]line Чек 35 13.07.2024 15:28 [15:28:21]line Смена: 434 ФФД: 1.0 [15:28:21]line ЗНМ: 0300000122 [15:28:21]line РНМ: 0000000000093033 [15:28:21]line Версия ККМ: 001 [15:28:21]line ФМ: 0000000000875104 [15:28:21]line ФД: 33416 [15:28:21]line ФПД: 30334232858640 [15:28:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152826&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33416&fm=30334232858640&tin=02508201610067®Number=0000000000093033&sum=11000 [15:28:22]line 0 [15:28:22]OFD Sender: Processing packet 33416 [packets to send 6, broken 5] [15:28:22]ProducePacketName [15:28:22]name=ofd_packets/00033416 [15:28:22]OFD Sender: To server: pG, [15:28:22]CommunicateWithHost lk.salyk.kg:30040 [15:28:22]ConnectInit lk.salyk.kg [15:28:22]written 0, free lines is 4095 [15:28:22]Connected sock=10 [15:28:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 43 01 00 00 BF 2E 3B 01 7D F1 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 1A 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 88 82 00 00 35 04 06 00 1B 96 BD 2C 90 10 08 2C 62 4F 99 3D 6C 41 [15:28:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 96 9A 47 00 48 90 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 88 82 00 00 F4 03 04 00 C4 47 92 66 B6 04 01 00 00 4F 43 CF 57 36 8B CA 29 [15:28:22]CommunicateWithHost err = 0 [15:28:22]CheckOFDResponse [15:28:22]1017 (14) - 77093643461234 [15:28:22]1041 (16) - 0000000000875104 [15:28:22]1040 (4) - 33416 [15:28:22]1012 (4) - 13.07.2024 09:24 [15:28:22]1206 (1) - 0 [15:28:22]OFD Sender: Remove packet 33416 [15:28:22]ProducePacketName [15:28:22]name=ofd_packets/00033416 [15:28:22]NVStorageDeleteData [15:28:22]Write to MH i2c: 01 00 00 28 1C 44 [15:28:22]Write i2c OK [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: 01 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: 01 07 00 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: 01 07 00 28 1C 00 00 00 00 00 F4 0C 4B [15:28:22]RasterBufferAndPrint [15:28:22]line [15:28:22]line [15:28:22]line [15:28:22]line [15:28:22]line [15:28:22]written 0, free lines is 3323 [15:28:22]MH_Cut [15:28:22]Write to MH i2c: D1 01 00 2F 1C 01 1D [15:28:22]Write i2c OK [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: D1 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: D1 01 00 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: D1 01 00 2F 1C 00 1C [15:28:22]Write to MH i2c: 01 00 00 30 1C 4C [15:28:22]Write i2c OK [15:28:22]MH_I2C_Read... [15:28:22]OFD Sender: No OFD packet to send [15:28:23]*** Cut start [15:28:23]*** Partial cut [15:28:23]*** CUTSNS_PIN = 1 [15:28:23]*** CUTSNS_PIN = 0 [15:28:23]*** Brake cut motor [15:28:23]Read from MH i2c: 01 [15:28:23]MH_I2C_Read... [15:28:23]*** Stop cut motor [15:28:23]*** Cut end [15:28:23]Read from MH i2c: 01 07 00 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: 01 07 00 30 1C 00 00 00 00 00 FF 0F 61 [15:28:23]process_action close_receipt done [15:28:23]requested_data is exist [15:28:23]produce_requested_data [15:28:23]requested_item fm.sn is exist - process it [15:28:23]wFMCommunicate request_size=4 [15:28:23]MH_SAM_APDU [15:28:23]CAPDU: 80 11 00 00 [15:28:23]Write to MH i2c: E2 08 00 31 1C 80 11 00 00 00 00 00 00 C7 [15:28:23]Write i2c OK [15:28:23]MH_I2C_Read... [15:28:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:24]Read from MH i2c: E2 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: E2 17 00 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: E2 17 00 31 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 13 [15:28:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:28:24]wFMCommunicate OK [15:28:24]requested_item fd.num is exist - process it [15:28:24]SAM_PROTO_GetFieldsCounters [15:28:24]wFMCommunicate request_size=4 [15:28:24]MH_SAM_APDU [15:28:24]CAPDU: 80 13 00 00 [15:28:24]Write to MH i2c: E2 08 00 32 1C 80 13 00 00 00 00 00 00 CA [15:28:24]Write i2c OK [15:28:24]MH_I2C_Read... [15:28:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:24]Read from MH i2c: E2 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: E2 62 00 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: E2 62 00 32 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 88 82 00 00 0E 04 04 00 B2 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 03 [15: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 88 82 00 00 0E 04 04 00 B2 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 [15:28:24]wFMCommunicate OK [15:28:24]SAM_PROTO_GetFieldsCounters done [15:28:24]requested_item shift.num is exist - process it [15:28:24]requested_item shift.opened is exist - process it [15:28:24]req_shift_opened [15:28:24]FM_GetShiftState [15:28:24]SAM_PROTO_GetShiftState [15:28:24]wFMCommunicate request_size=4 [15:28:24]MH_SAM_APDU [15:28:24]CAPDU: 80 13 01 00 [15:28:24]Write to MH i2c: E2 08 00 33 1C 80 13 01 00 00 00 00 00 CC [15:28:24]Write i2c OK [15:28:24]MH_I2C_Read... [15:28:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:24]Read from MH i2c: E2 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: E2 0E 00 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: E2 0E 00 33 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 AB [15:28:24]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:28:24]wFMCommunicate OK [15:28:24]SAM_PROTO_GetShiftState done [15:28:24]FM_GetShiftState done [15:28:24]req_shift_opened done [15:28:24]requested_item shift.open_date is exist - process it [15:28:24]req_shift_open_date [15:28:24]req_shift_open_date done [15:28:24]produce_requested_data done [15:28:24]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33416,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:28:24]process_action_free close_receipt [15:28:24]json_value_free [15:28:24]json_value_free done [15:28:24]process_json_proto returns [15:28:24]Send response to host [15:28:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33416,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:28:24]free response buf [15:28:24]execute_script done [15:28:24]execute_script returns [15:28:24]free content buf [15:28:24]Sock 9.Close socket [15:28:24]Sock 9.Thread stoped [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]accept exits with 7 [15:28:42]New connection [15:28:42]New thread 3066461540 created [15:28:42]Thread 3066604900 joined [15:28:42]Waiting for new connection... [15:28:42] Sock 7.Parse request [15:28:42]Sock 7.Check first char [15:28:42]Sock 7.First char is OK [15:28:42]request: POST /json_proto HTTP/1.0 [15:28:42]Method: POST [15:28:42]URL: /json_proto [15:28:42]Method is POST - this is cgi request [15:28:42]url: /json_proto [15:28:42]query_string will be loaded in cgi processing [15:28:42]execute_cgi json_proto POST (null) [15:28:42]execute_cgi path=json_proto method=POST [15:28:42]POST find Content-Length [15:28:42]Host: 172.17.35.196:8080 [15:28:42]Content-Length: 621 [15:28:42]Content-Type: application/json [15:28:42] [15:28:42]POST finish read [15:28:42]Found Content-Length = 621 [15:28:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169229", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:42]execute_script... [15:28:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169229", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:42]POST & json_proto [15:28:42]process_json_proto [15:28:42]json parsed OK: [15:28:42]protocol is kg_v1.0 [15:28:42]action value=close_receipt [15:28:42]process_action close_receipt [15:28:42]cmd_close_receipt [15:28:42]MH_GetDate [15:28:42]Write to MH i2c: F0 00 00 34 1C 3F [15:28:42]Write i2c OK [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: F0 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: F0 09 00 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: F0 09 00 34 1C 00 30 9D 92 66 AD 14 F4 65 27 [15:28:42]GetLastDocTimeStamp 1720884506 [15:28:42]current date 1720884528 [15:28:42]FM_GetShiftState [15:28:42]SAM_PROTO_GetShiftState [15:28:42]wFMCommunicate request_size=4 [15:28:42]MH_SAM_APDU [15:28:42]CAPDU: 80 13 01 00 [15:28:42]Write to MH i2c: E2 08 00 35 1C 80 13 01 00 00 00 00 00 CE [15:28:42]Write i2c OK [15:28:42]MH_I2C_Read... [15:28:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:42]Read from MH i2c: E2 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 0E 00 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 0E 00 35 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 AD [15:28:42]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:28:42]wFMCommunicate OK [15:28:42]SAM_PROTO_GetShiftState done [15:28:42]FM_GetShiftState done [15:28:42]opened in 1720829207 [15:28:42]opened+sec_in_day 1720915607 [15:28:42]quantity*price = 14000 [15:28:42]sum+1 = 14001 [15:28:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 36 13.07.2024 15:28 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33417 ФПД: 279163467599406 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152848&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33417&fm=279163467599406&tin=02508201610067®Number=0000000000093033&sum=14000 0 [15:28:43]StoreToDocumentArchive [15:28:43]shift 434 fd 33417 [15:28:43]save to /storage/0434/doc_00033417 [15:28:43]save last doc name /storage/0434/doc_00033417 to /storage/kkm_last_doc_name [15:28:43]save OK [15:28:43]Clear old archive folders... [15:28:43]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:28:43]tlvbuf is 00AF1E90 [15:28:43]SAM_PROTO_ClearQueue [15:28:43]wFMCommunicate request_size=4 [15:28:43]MH_SAM_APDU [15:28:43]CAPDU: 80 09 00 00 [15:28:43]Write to MH i2c: E2 08 00 42 1C 80 09 00 00 00 00 00 00 D0 [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:43]Read from MH i2c: E2 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 42 1C 00 90 00 D2 [15:28:43]RAPDU: 90 00 [15:28:43]wFMCommunicate OK [15:28:43]SAM_PROTO_ClearQueue done [15:28:43]KKMCreateOFDPacket [15:28:43]OFDProtocolAddRootSTLVToBuf [15:28:43]FM_MakeSignedData [15:28:43]FM_MakeSignedData [15:28:43]SAM_PROTO_SignData [15:28:43]wFMCommunicate request_size=4 [15:28:43]MH_SAM_APDU [15:28:43]CAPDU: 80 0D 01 02 [15:28:43]Write to MH i2c: E2 08 00 43 1C 80 0D 01 02 00 00 00 00 D8 [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:43]Read from MH i2c: E2 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 43 1C 00 90 00 D3 [15:28:43]RAPDU: 90 00 [15:28:43]wFMCommunicate OK [15:28:43]wFMCommunicate request_size=255 [15:28:43]MH_SAM_APDU [15:28:43]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 30 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [15:28:43]Write to MH i2c: E2 02 01 44 1C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 30 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 62 [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:43]Read from MH i2c: E2 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 44 1C 00 90 00 D4 [15:28:43]RAPDU: 90 00 [15:28:43]wFMCommunicate OK [15:28:43]wFMCommunicate request_size=32 [15:28:43]MH_SAM_APDU [15:28:43]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 89 82 00 00 35 04 06 00 FD E5 CF 52 0E 2E [15:28:43]Write to MH i2c: E2 23 00 45 1C 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 89 82 00 00 35 04 06 00 FD E5 CF 52 0E 2E 00 00 7B [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:43]Read from MH i2c: E2 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 03 00 45 1C 00 90 00 D5 [15:28:43]RAPDU: 90 00 [15:28:43]wFMCommunicate OK [15:28:43]wFMCommunicate request_size=4 [15:28:43]MH_SAM_APDU [15:28:43]CAPDU: 80 0D 03 02 [15:28:43]Write to MH i2c: E2 08 00 46 1C 80 0D 03 02 00 00 00 00 DD [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:43]Read from MH i2c: E2 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 0B 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 0B 00 46 1C 00 31 62 71 AF 5C 17 23 3C 90 00 63 [15:28:43]RAPDU: 31 62 71 AF 5C 17 23 3C 90 00 [15:28:43]wFMCommunicate OK [15:28:43]SAM_PROTO_SignData done [15:28:43]FM_MakeSignedData done [15:28:43]CreateOFDProtocolMessage [15:28:43]wFMCommunicate request_size=4 [15:28:43]MH_SAM_APDU [15:28:43]CAPDU: 80 11 00 00 [15:28:43]Write to MH i2c: E2 08 00 47 1C 80 11 00 00 00 00 00 00 DD [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:43]Read from MH i2c: E2 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 17 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: E2 17 00 47 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 29 [15:28:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:28:43]wFMCommunicate OK [15:28:43]CreateOFDProtocolMessage done [15:28:43]OFDSenderStorePacket 33417 [15:28:43]StoreOFDPacket docnum=33417 [15:28:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 D5 69 1D 01 E6 8C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 30 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 89 82 00 00 35 04 06 00 FD E5 CF 52 0E 2E 31 62 71 AF 5C 17 23 3C [15:28:43]CheckFolder [15:28:43]dirname=/storage/ofd_packets [15:28:43]CheckFolder done [15:28:43]ProducePacketName [15:28:43]name=ofd_packets/00033417 [15:28:43]NVStorageSaveData ofd_packets/00033417 [15:28:43]File name is /storage/ofd_packets/00033417 [15:28:43]Write 323 bytes [15:28:43]NVStorageSaveData done [15:28:43]OFDSenderStorePacket done [15:28:43]KKMCreateOFDPacket done [15:28:43]NVStorageSaveData kkm_last_timestamp [15:28:43]File name is /storage/kkm_last_timestamp [15:28:43]Write 4 bytes [15:28:43]NVStorageSaveData done [15:28:43]ExternCall_PrintAddStr [15:28:43]wPrintStart [15:28:43]Write to MH i2c: 01 00 00 48 1C 64 [15:28:43]Write i2c OK [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: 01 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: 01 07 00 [15:28:43]MH_I2C_Read... [15:28:43]Read from MH i2c: 01 07 00 48 1C 00 00 00 00 00 FF 0F 79 [15:28:43]RasterBufferAndPrint [15:28:43]line Счет N : (3)169229 [15:28:43]line ИНН: 02508201610067 [15:28:43]line Контрольно-Кассовый Чек [15:28:43]line ПРОДАЖА [15:28:43]line Товар: 48743570 [15:28:43]line Сигареты Winston XStyle Blue [15:28:43]line 1.000 * 140.00 [15:28:43]line = 140.00 [15:28:43]line НДС 12% НСП 1% [15:28:43]line > о реализуемом товаре [15:28:43]line ИТОГО: 140.00 [15:28:43]line НСП 1% : 1.24 [15:28:43]line НДС 12% : 14.87 [15:28:43]line Наличными: 140.00 [15:28:43]line Безнал.: 0.00 [15:28:43]line Место: АЗС № 77 "Партнер Нефть" [15:28:43]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:28:43]line СНО: Общий режим [15:28:43]line Чек 36 13.07.2024 15:28 [15:28:43]line Смена: 434 ФФД: 1.0 [15:28:43]line ЗНМ: 0300000122 [15:28:43]line РНМ: 0000000000093033 [15:28:43]line Версия ККМ: 001 [15:28:43]line ФМ: 0000000000875104 [15:28:43]line ФД: 33417 [15:28:43]line ФПД: 279163467599406 [15:28:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T152848&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33417&fm=279163467599406&tin=02508201610067®Number=0000000000093033&sum=14000 [15:28:43]line 0 [15:28:44]written 0, free lines is 4095 [15:28:44]OFD Sender: Processing packet 33417 [packets to send 6, broken 5] [15:28:44]ProducePacketName [15:28:44]name=ofd_packets/00033417 [15:28:44]OFD Sender: To server: pG, [15:28:44]CommunicateWithHost lk.salyk.kg:30040 [15:28:44]ConnectInit lk.salyk.kg [15:28:44]Connected sock=10 [15:28:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 D5 69 1D 01 E6 8C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 30 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 89 82 00 00 35 04 06 00 FD E5 CF 52 0E 2E 31 62 71 AF 5C 17 23 3C [15:28:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 6C EB 47 00 7E 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 35 31 30 34 10 04 04 00 89 82 00 00 F4 03 04 00 DA 47 92 66 B6 04 01 00 00 82 40 4B 93 C0 36 9E B6 [15:28:44]CommunicateWithHost err = 0 [15:28:44]CheckOFDResponse [15:28:44]1017 (14) - 77093643461234 [15:28:44]1041 (16) - 0000000000875104 [15:28:44]1040 (4) - 33417 [15:28:44]1012 (4) - 13.07.2024 09:24 [15:28:44]1206 (1) - 0 [15:28:44]OFD Sender: Remove packet 33417 [15:28:44]ProducePacketName [15:28:44]name=ofd_packets/00033417 [15:28:44]NVStorageDeleteData [15:28:44]Write to MH i2c: 01 00 00 70 1C 8C [15:28:44]Write i2c OK [15:28:44]MH_I2C_Read... [15:28:44]Read from MH i2c: 01 [15:28:44]MH_I2C_Read... [15:28:44]Read from MH i2c: 01 07 00 [15:28:44]MH_I2C_Read... [15:28:44]Read from MH i2c: 01 07 00 70 1C 00 00 00 00 00 F7 0C 96 [15:28:44]RasterBufferAndPrint [15:28:44]line [15:28:44]line [15:28:44]line [15:28:44]line [15:28:44]line [15:28:44]written 0, free lines is 3326 [15:28:44]MH_Cut [15:28:44]Write to MH i2c: D1 01 00 77 1C 01 65 [15:28:44]Write i2c OK [15:28:44]MH_I2C_Read... [15:28:44]Read from MH i2c: D1 [15:28:44]MH_I2C_Read... [15:28:44]Read from MH i2c: D1 01 00 [15:28:44]MH_I2C_Read... [15:28:44]Read from MH i2c: D1 01 00 77 1C 00 64 [15:28:44]Write to MH i2c: 01 00 00 78 1C 94 [15:28:44]Write i2c OK [15:28:44]MH_I2C_Read... [15:28:44]OFD Sender: No OFD packet to send [15:28:45]*** Cut start [15:28:45]*** Partial cut [15:28:45]*** CUTSNS_PIN = 1 [15:28:45]*** CUTSNS_PIN = 0 [15:28:45]*** Brake cut motor [15:28:45]Read from MH i2c: 01 [15:28:45]MH_I2C_Read... [15:28:45]*** Stop cut motor [15:28:45]*** Cut end [15:28:45]Read from MH i2c: 01 07 00 [15:28:45]MH_I2C_Read... [15:28:45]Read from MH i2c: 01 07 00 78 1C 00 00 00 00 00 FF 0F A9 [15:28:45]process_action close_receipt done [15:28:45]requested_data is exist [15:28:45]produce_requested_data [15:28:45]requested_item fm.sn is exist - process it [15:28:45]wFMCommunicate request_size=4 [15:28:45]MH_SAM_APDU [15:28:45]CAPDU: 80 11 00 00 [15:28:45]Write to MH i2c: E2 08 00 79 1C 80 11 00 00 00 00 00 00 0F [15:28:45]Write i2c OK [15:28:45]MH_I2C_Read... [15:28:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:45]Read from MH i2c: E2 [15:28:45]MH_I2C_Read... [15:28:45]Read from MH i2c: E2 17 00 [15:28:45]MH_I2C_Read... [15:28:45]Read from MH i2c: E2 17 00 79 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5B [15:28:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:28:45]wFMCommunicate OK [15:28:45]requested_item fd.num is exist - process it [15:28:45]SAM_PROTO_GetFieldsCounters [15:28:45]wFMCommunicate request_size=4 [15:28:45]MH_SAM_APDU [15:28:45]CAPDU: 80 13 00 00 [15:28:46]Write to MH i2c: E2 08 00 7A 1C 80 13 00 00 00 00 00 00 12 [15:28:46]Write i2c OK [15:28:46]MH_I2C_Read... [15:28:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:46]Read from MH i2c: E2 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: E2 62 00 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: E2 62 00 7A 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 89 82 00 00 0E 04 04 00 B2 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 4F [15:28:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 89 82 00 00 0E 04 04 00 B2 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 [15:28:46]wFMCommunicate OK [15:28:46]SAM_PROTO_GetFieldsCounters done [15:28:46]requested_item shift.num is exist - process it [15:28:46]requested_item shift.opened is exist - process it [15:28:46]req_shift_opened [15:28:46]FM_GetShiftState [15:28:46]SAM_PROTO_GetShiftState [15:28:46]wFMCommunicate request_size=4 [15:28:46]MH_SAM_APDU [15:28:46]CAPDU: 80 13 01 00 [15:28:46]Write to MH i2c: E2 08 00 7B 1C 80 13 01 00 00 00 00 00 14 [15:28:46]Write i2c OK [15:28:46]MH_I2C_Read... [15:28:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:46]Read from MH i2c: E2 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: E2 0E 00 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: E2 0E 00 7B 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 F3 [15:28:46]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:28:46]wFMCommunicate OK [15:28:46]SAM_PROTO_GetShiftState done [15:28:46]FM_GetShiftState done [15:28:46]req_shift_opened done [15:28:46]requested_item shift.open_date is exist - process it [15:28:46]req_shift_open_date [15:28:46]req_shift_open_date done [15:28:46]produce_requested_data done [15:28:46]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33417,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:28:46]process_action_free close_receipt [15:28:46]json_value_free [15:28:46]json_value_free done [15:28:46]process_json_proto returns [15:28:46]Send response to host [15:28:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33417,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:28:46]free response buf [15:28:46]execute_script done [15:28:46]execute_script returns [15:28:46]free content buf [15:28:46]Sock 7.Close socket [15:28:46]Sock 7.Thread stoped [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:13]accept exits with 9 [15:31:13]New connection [15:31:13]New thread 3066604900 created [15:31:13]Thread 3066461540 joined [15:31:13]Waiting for new connection... [15:31:13] Sock 9.Parse request [15:31:13]Sock 9.Check first char [15:31:13]Sock 9.First char is OK [15:31:13]request: POST /json_proto HTTP/1.0 [15:31:13]Method: POST [15:31:13]URL: /json_proto [15:31:13]Method is POST - this is cgi request [15:31:13]url: /json_proto [15:31:13]query_string will be loaded in cgi processing [15:31:13]execute_cgi json_proto POST (null) [15:31:13]execute_cgi path=json_proto method=POST [15:31:13]POST find Content-Length [15:31:13]Host: 172.17.35.196:8080 [15:31:13]Content-Length: 902 [15:31:13]Content-Type: application/json [15:31:13] [15:31:13]POST finish read [15:31:13]Found Content-Length = 902 [15:31:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169230", "tax_sys" : 0, "items" : [ { "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:13]execute_script... [15:31: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)169230", "tax_sys" : 0, "items" : [ { "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:13]POST & json_proto [15:31:13]process_json_proto [15:31:13]json parsed OK: [15:31:13]protocol is kg_v1.0 [15:31:13]action value=close_receipt [15:31:13]process_action close_receipt [15:31:13]cmd_close_receipt [15:31:13]MH_GetDate [15:31:13]Write to MH i2c: F0 00 00 7C 1C 87 [15:31:13]Write i2c OK [15:31:13]MH_I2C_Read... [15:31:13]Read from MH i2c: F0 [15:31:13]MH_I2C_Read... [15:31:13]Read from MH i2c: F0 09 00 [15:31:13]MH_I2C_Read... [15:31:13]Read from MH i2c: F0 09 00 7C 1C 00 C8 9D 92 66 AD 14 F4 65 07 [15:31:13]GetLastDocTimeStamp 1720884528 [15:31:13]current date 1720884680 [15:31:13]FM_GetShiftState [15:31:13]SAM_PROTO_GetShiftState [15:31:13]wFMCommunicate request_size=4 [15:31:13]MH_SAM_APDU [15:31:13]CAPDU: 80 13 01 00 [15:31:13]Write to MH i2c: E2 08 00 7D 1C 80 13 01 00 00 00 00 00 16 [15:31:13]Write i2c OK [15:31:13]MH_I2C_Read... [15:31:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:13]Read from MH i2c: E2 [15:31:13]MH_I2C_Read... [15:31:13]Read from MH i2c: E2 0E 00 [15:31:13]MH_I2C_Read... [15:31:13]Read from MH i2c: E2 0E 00 7D 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 F5 [15:31:13]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:31:13]wFMCommunicate OK [15:31:13]SAM_PROTO_GetShiftState done [15:31:13]FM_GetShiftState done [15:31:13]opened in 1720829207 [15:31:13]opened+sec_in_day 1720915607 [15:31:13]quantity*price = 9000 [15:31:13]sum+1 = 9001 [15:31:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 37 13.07.2024 15:31 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33418 ФПД: 229787711332221 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T153120&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33418&fm=229787711332221&tin=02508201610067®Number=0000000000093033&sum=9000 0 [15:31:15]StoreToDocumentArchive [15:31:15]shift 434 fd 33418 [15:31:15]save to /storage/0434/doc_00033418 [15:31:15]save last doc name /storage/0434/doc_00033418 to /storage/kkm_last_doc_name [15:31:15]save OK [15:31:15]Clear old archive folders... [15:31:15]OFD Sender: No OFD packet to send [15:31:15]ProcessDocumentItem done err = 0, tmpTLVsize=300 [15:31:15]tlvbuf is 00A69B80 [15:31:15]SAM_PROTO_ClearQueue [15:31:15]wFMCommunicate request_size=4 [15:31:15]MH_SAM_APDU [15:31:15]CAPDU: 80 09 00 00 [15:31:15]Write to MH i2c: E2 08 00 8A 1C 80 09 00 00 00 00 00 00 18 [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:31:15]Read from MH i2c: E2 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 8A 1C 00 90 00 1A [15:31:15]RAPDU: 90 00 [15:31:15]wFMCommunicate OK [15:31:15]SAM_PROTO_ClearQueue done [15:31:15]KKMCreateOFDPacket [15:31:15]OFDProtocolAddRootSTLVToBuf [15:31:15]FM_MakeSignedData [15:31:15]FM_MakeSignedData [15:31:15]SAM_PROTO_SignData [15:31:15]wFMCommunicate request_size=4 [15:31:15]MH_SAM_APDU [15:31:15]CAPDU: 80 0D 01 02 [15:31:15]Write to MH i2c: E2 08 00 8B 1C 80 0D 01 02 00 00 00 00 20 [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:31:15]Read from MH i2c: E2 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 8B 1C 00 90 00 1B [15:31:15]RAPDU: 90 00 [15:31:15]wFMCommunicate OK [15:31:15]wFMCommunicate request_size=255 [15:31:15]MH_SAM_APDU [15:31:15]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 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 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 C8 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 [15:31:15]Write to MH i2c: E2 02 01 8C 1C 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 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 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 C8 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 00 00 3F [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:31:15]Read from MH i2c: E2 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 8C 1C 00 90 00 1C [15:31:15]RAPDU: 90 00 [15:31:15]wFMCommunicate OK [15:31:15]wFMCommunicate request_size=59 [15:31:15]MH_SAM_APDU [15:31:15]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8A 82 00 00 35 04 06 00 D0 FD 9E E8 5F 7D [15:31:15]Write to MH i2c: E2 3E 00 8D 1C 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8A 82 00 00 35 04 06 00 D0 FD 9E E8 5F 7D 00 00 71 [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:31:15]Read from MH i2c: E2 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 03 00 8D 1C 00 90 00 1D [15:31:15]RAPDU: 90 00 [15:31:15]wFMCommunicate OK [15:31:15]wFMCommunicate request_size=4 [15:31:15]MH_SAM_APDU [15:31:15]CAPDU: 80 0D 03 02 [15:31:15]Write to MH i2c: E2 08 00 8E 1C 80 0D 03 02 00 00 00 00 25 [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:31:15]Read from MH i2c: E2 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 0B 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 0B 00 8E 1C 00 D1 74 34 14 2A DB 43 C3 90 00 BE [15:31:15]RAPDU: D1 74 34 14 2A DB 43 C3 90 00 [15:31:15]wFMCommunicate OK [15:31:15]SAM_PROTO_SignData done [15:31:15]FM_MakeSignedData done [15:31:15]CreateOFDProtocolMessage [15:31:15]wFMCommunicate request_size=4 [15:31:15]MH_SAM_APDU [15:31:15]CAPDU: 80 11 00 00 [15:31:15]Write to MH i2c: E2 08 00 8F 1C 80 11 00 00 00 00 00 00 25 [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:31:15]Read from MH i2c: E2 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 17 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: E2 17 00 8F 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 71 [15:31:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:31:15]wFMCommunicate OK [15:31:15]CreateOFDProtocolMessage done [15:31:15]OFDSenderStorePacket 33418 [15:31:15]StoreOFDPacket docnum=33418 [15:31:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 40 01 00 00 3A 98 38 01 72 40 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 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 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 C8 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8A 82 00 00 35 04 06 00 D0 FD 9E E8 5F 7D D1 74 34 14 2A DB 43 C3 [15:31:15]CheckFolder [15:31:15]dirname=/storage/ofd_packets [15:31:15]CheckFolder done [15:31:15]ProducePacketName [15:31:15]name=ofd_packets/00033418 [15:31:15]NVStorageSaveData ofd_packets/00033418 [15:31:15]File name is /storage/ofd_packets/00033418 [15:31:15]Write 350 bytes [15:31:15]NVStorageSaveData done [15:31:15]OFDSenderStorePacket done [15:31:15]KKMCreateOFDPacket done [15:31:15]NVStorageSaveData kkm_last_timestamp [15:31:15]File name is /storage/kkm_last_timestamp [15:31:15]Write 4 bytes [15:31:15]NVStorageSaveData done [15:31:15]ExternCall_PrintAddStr [15:31:15]wPrintStart [15:31:15]Write to MH i2c: 01 00 00 90 1C AC [15:31:15]Write i2c OK [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: 01 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: 01 07 00 [15:31:15]MH_I2C_Read... [15:31:15]Read from MH i2c: 01 07 00 90 1C 00 00 00 00 00 FF 0F C1 [15:31:15]RasterBufferAndPrint [15:31:15]line Счет N : (3)169230 [15:31:15]line ИНН: 02508201610067 [15:31:15]line Контрольно-Кассовый Чек [15:31:15]line ПРОДАЖА [15:31:15]line Товар: 4870235681079 [15:31:15]line Grizzly волнистые Сладкий чили 55 гр [15:31:15]line 1.000 * 90.00 [15:31:15]line = 90.00 [15:31:15]line НДС 12% НСП 1% [15:31:15]line > о реализуемом товаре [15:31:15]line ИТОГО: 90.00 [15:31:15]line НСП 1% : 0.80 [15:31:15]line НДС 12% : 9.56 [15:31:15]line Наличными: 0.00 [15:31:15]line Безнал.: 90.00 [15:31:15]line Место: АЗС № 77 "Партнер Нефть" [15:31:15]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:31:15]line СНО: Общий режим [15:31:15]line Чек 37 13.07.2024 15:31 [15:31:15]line Смена: 434 ФФД: 1.0 [15:31:15]line ЗНМ: 0300000122 [15:31:15]line РНМ: 0000000000093033 [15:31:15]line Версия ККМ: 001 [15:31:15]line Платежная система: АКБ Кыргызстан [15:31:15]line ФМ: 0000000000875104 [15:31:15]line ФД: 33418 [15:31:15]line ФПД: 229787711332221 [15:31:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T153120&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33418&fm=229787711332221&tin=02508201610067®Number=0000000000093033&sum=9000 [15:31:16]line 0 [15:31:16]OFD Sender: Processing packet 33418 [packets to send 6, broken 5] [15:31:16]ProducePacketName [15:31:16]name=ofd_packets/00033418 [15:31:16]OFD Sender: To server: pG, [15:31:16]CommunicateWithHost lk.salyk.kg:30040 [15:31:16]ConnectInit lk.salyk.kg [15:31:16]written 0, free lines is 4095 [15:31:16]Connected sock=10 [15:31:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 40 01 00 00 3A 98 38 01 72 40 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 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 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 C8 9D 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8A 82 00 00 35 04 06 00 D0 FD 9E E8 5F 7D D1 74 34 14 2A DB 43 C3 [15:31:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D5 B0 47 00 26 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8A 82 00 00 F4 03 04 00 72 48 92 66 B6 04 01 00 00 74 C7 47 C6 20 40 BE 44 [15:31:16]CommunicateWithHost err = 0 [15:31:16]CheckOFDResponse [15:31:16]1017 (14) - 77093643461234 [15:31:16]1041 (16) - 0000000000875104 [15:31:16]1040 (4) - 33418 [15:31:16]1012 (4) - 13.07.2024 09:27 [15:31:16]1206 (1) - 0 [15:31:16]OFD Sender: Remove packet 33418 [15:31:16]ProducePacketName [15:31:16]name=ofd_packets/00033418 [15:31:16]NVStorageDeleteData [15:31:16]Write to MH i2c: 01 00 00 BB 1C D7 [15:31:16]Write i2c OK [15:31:16]MH_I2C_Read... [15:31:16]Read from MH i2c: 01 [15:31:16]MH_I2C_Read... [15:31:16]Read from MH i2c: 01 07 00 [15:31:16]MH_I2C_Read... [15:31:16]Read from MH i2c: 01 07 00 BB 1C 00 00 00 00 00 B9 0C A3 [15:31:16]RasterBufferAndPrint [15:31:16]line [15:31:16]line [15:31:16]line [15:31:16]line [15:31:16]line [15:31:16]written 0, free lines is 3263 [15:31:16]MH_Cut [15:31:16]Write to MH i2c: D1 01 00 C2 1C 01 B0 [15:31:16]Write i2c OK [15:31:16]MH_I2C_Read... [15:31:16]Read from MH i2c: D1 [15:31:16]MH_I2C_Read... [15:31:16]Read from MH i2c: D1 01 00 [15:31:16]MH_I2C_Read... [15:31:16]Read from MH i2c: D1 01 00 C2 1C 00 AF [15:31:16]Write to MH i2c: 01 00 00 C3 1C DF [15:31:16]Write i2c OK [15:31:16]MH_I2C_Read... [15:31:16]OFD Sender: No OFD packet to send [15:31:17]*** Cut start [15:31:17]*** Partial cut [15:31:17]*** CUTSNS_PIN = 1 [15:31:17]*** CUTSNS_PIN = 0 [15:31:17]*** Brake cut motor [15:31:17]Read from MH i2c: 01 [15:31:17]MH_I2C_Read... [15:31:17]*** Stop cut motor [15:31:17]*** Cut end [15:31:17]Read from MH i2c: 01 07 00 [15:31:17]MH_I2C_Read... [15:31:17]Read from MH i2c: 01 07 00 C3 1C 00 00 00 00 00 FF 0F F4 [15:31:17]process_action close_receipt done [15:31:17]requested_data is exist [15:31:17]produce_requested_data [15:31:17]requested_item fm.sn is exist - process it [15:31:17]wFMCommunicate request_size=4 [15:31:17]MH_SAM_APDU [15:31:17]CAPDU: 80 11 00 00 [15:31:17]Write to MH i2c: E2 08 00 C4 1C 80 11 00 00 00 00 00 00 5A [15:31:17]Write i2c OK [15:31:17]MH_I2C_Read... [15:31:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:31:17]Read from MH i2c: E2 [15:31:17]MH_I2C_Read... [15:31:17]Read from MH i2c: E2 17 00 [15:31:17]MH_I2C_Read... [15:31:17]Read from MH i2c: E2 17 00 C4 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A6 [15:31:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:31:17]wFMCommunicate OK [15:31:17]requested_item fd.num is exist - process it [15:31:17]SAM_PROTO_GetFieldsCounters [15:31:17]wFMCommunicate request_size=4 [15:31:17]MH_SAM_APDU [15:31:17]CAPDU: 80 13 00 00 [15:31:17]Write to MH i2c: E2 08 00 C5 1C 80 13 00 00 00 00 00 00 5D [15:31:17]Write i2c OK [15:31:17]MH_I2C_Read... [15:31:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:31:18]Read from MH i2c: E2 [15:31:18]MH_I2C_Read... [15:31:18]Read from MH i2c: E2 62 00 [15:31:18]MH_I2C_Read... [15:31:18]Read from MH i2c: E2 62 00 C5 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8A 82 00 00 0E 04 04 00 B2 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 9E [15:31:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8A 82 00 00 0E 04 04 00 B2 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 [15:31:18]wFMCommunicate OK [15:31:18]SAM_PROTO_GetFieldsCounters done [15:31:18]requested_item shift.num is exist - process it [15:31:18]requested_item shift.opened is exist - process it [15:31:18]req_shift_opened [15:31:18]FM_GetShiftState [15:31:18]SAM_PROTO_GetShiftState [15:31:18]wFMCommunicate request_size=4 [15:31:18]MH_SAM_APDU [15:31:18]CAPDU: 80 13 01 00 [15:31:18]Write to MH i2c: E2 08 00 C6 1C 80 13 01 00 00 00 00 00 5F [15:31:18]Write i2c OK [15:31:18]MH_I2C_Read... [15:31:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:18]Read from MH i2c: E2 [15:31:18]MH_I2C_Read... [15:31:18]Read from MH i2c: E2 0E 00 [15:31:18]MH_I2C_Read... [15:31:18]Read from MH i2c: E2 0E 00 C6 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 3E [15:31:18]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:31:18]wFMCommunicate OK [15:31:18]SAM_PROTO_GetShiftState done [15:31:18]FM_GetShiftState done [15:31:18]req_shift_opened done [15:31:18]requested_item shift.open_date is exist - process it [15:31:18]req_shift_open_date [15:31:18]req_shift_open_date done [15:31:18]produce_requested_data done [15:31:18]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33418,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:31:18]process_action_free close_receipt [15:31:18]json_value_free [15:31:18]json_value_free done [15:31:18]process_json_proto returns [15:31:18]Send response to host [15:31:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33418,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:31:18]free response buf [15:31:18]execute_script done [15:31:18]execute_script returns [15:31:18]free content buf [15:31:18]Sock 9.Close socket [15:31:18]Sock 9.Thread stoped [15:31:21]OFD Sender: No OFD packet to send [15:31:23]accept exits with 7 [15:31:23]New connection [15:31:23]New thread 3066461540 created [15:31:23]Thread 3066604900 joined [15:31:23]Waiting for new connection... [15:31:23] Sock 7.Parse request [15:31:23]Sock 7.Check first char [15:31:23]Sock 7.First char is OK [15:31:23]request: POST /json_proto HTTP/1.0 [15:31:23]Method: POST [15:31:23]URL: /json_proto [15:31:23]Method is POST - this is cgi request [15:31:23]url: /json_proto [15:31:23]query_string will be loaded in cgi processing [15:31:23]execute_cgi json_proto POST (null) [15:31:23]execute_cgi path=json_proto method=POST [15:31:23]POST find Content-Length [15:31:23]Host: 172.17.35.196:8080 [15:31:23]Content-Length: 1181 [15:31:23]Content-Type: application/json [15:31:23] [15:31:23]POST finish read [15:31:23]Found Content-Length = 1181 [15:31:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5670690\u000A13.07.2024 15:24\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30132163\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:23]execute_script... [15:31:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. \u000A\u0421\u0447\u0435\u0442 N : (1)5670690\u000A13.07.2024 15:24\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30132163\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:23]POST & json_proto [15:31:23]process_json_proto [15:31:23]json parsed OK: [15:31:23]protocol is kg_v1.0 [15:31:23]action value=print_text [15:31:23]process_action print_text [15:31:23]cmd_print_text [15:31:23]ExternCall_PrintAddStr [15:31:23]wPrintStart [15:31:23]Write to MH i2c: 01 00 00 C7 1C E3 [15:31:23]Write i2c OK [15:31:23]MH_I2C_Read... [15:31:23]Read from MH i2c: 01 [15:31:23]MH_I2C_Read... [15:31:23]Read from MH i2c: 01 07 00 [15:31:23]MH_I2C_Read... [15:31:23]Read from MH i2c: 01 07 00 C7 1C 00 00 00 00 00 FF 0F F8 [15:31:23]RasterBufferAndPrint [15:31:23]line *****ТОВАРНЫЙ ЧЕК***** [15:31:23]line АЗС 77 [15:31:23]line Партнер нефть [15:31:23]line 02508201610067 [15:31:23]line Кассир : Эгенбердиева Д. [15:31:23]line Счет N : (1)5670690 [15:31:23]line 13.07.2024 15:24 [15:31:23]line ПРОДАЖА [15:31:23]line ТРК (МРК, ГНК): 51 [15:31:23]line Вид ГСМ : 2710124130 [15:31:23]line Аи-92-К-5 [15:31:23]line 10.000 x 66.30 [15:31:23]line ИТОГ: 663.00 [15:31:23]line Тип оплаты: Талоны: ТК ГПНА Online [15:31:23]line 30132163 [15:31:23]line ______________________ [15:31:23]line (подпись) [15:31:23]written 0, free lines is 4095 [15:31:23]Write to MH i2c: 01 00 00 DC 1C F8 [15:31:23]Write i2c OK [15:31:23]MH_I2C_Read... [15:31:23]Read from MH i2c: 01 [15:31:23]MH_I2C_Read... [15:31:23]Read from MH i2c: 01 07 00 [15:31:23]MH_I2C_Read... [15:31:23]Read from MH i2c: 01 07 00 DC 1C 00 00 00 00 00 F4 0D 00 [15:31:23]RasterBufferAndPrint [15:31:23]line [15:31:23]line [15:31:23]line [15:31:23]line [15:31:23]line [15:31:23]written 0, free lines is 3574 [15:31:24]MH_Cut [15:31:24]Write to MH i2c: D1 01 00 E3 1C 01 D1 [15:31:24]Write i2c OK [15:31:24]MH_I2C_Read... [15:31:24]Read from MH i2c: D1 [15:31:24]MH_I2C_Read... [15:31:24]Read from MH i2c: D1 01 00 [15:31:24]MH_I2C_Read... [15:31:24]Read from MH i2c: D1 01 00 E3 1C 00 D0 [15:31:24]Write to MH i2c: 01 00 00 E4 1C 00 [15:31:24]Write i2c OK [15:31:24]MH_I2C_Read... [15:31:24]*** Cut start [15:31:24]*** Partial cut [15:31:24]*** CUTSNS_PIN = 1 [15:31:24]*** CUTSNS_PIN = 0 [15:31:24]*** Brake cut motor [15:31:25]Read from MH i2c: 01 [15:31:25]MH_I2C_Read... [15:31:25]*** Stop cut motor [15:31:25]*** Cut end [15:31:25]Read from MH i2c: 01 07 00 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: 01 07 00 E4 1C 00 00 00 00 00 FF 0F 15 [15:31:25]process_action print_text done [15:31:25]requested_data is exist [15:31:25]produce_requested_data [15:31:25]requested_item fm.sn is exist - process it [15:31:25]wFMCommunicate request_size=4 [15:31:25]MH_SAM_APDU [15:31:25]CAPDU: 80 11 00 00 [15:31:25]Write to MH i2c: E2 08 00 E5 1C 80 11 00 00 00 00 00 00 7B [15:31:25]Write i2c OK [15:31:25]MH_I2C_Read... [15:31:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:31:25]Read from MH i2c: E2 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: E2 17 00 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: E2 17 00 E5 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C7 [15:31:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:31:25]wFMCommunicate OK [15:31:25]requested_item fd.num is exist - process it [15:31:25]SAM_PROTO_GetFieldsCounters [15:31:25]wFMCommunicate request_size=4 [15:31:25]MH_SAM_APDU [15:31:25]CAPDU: 80 13 00 00 [15:31:25]Write to MH i2c: E2 08 00 E6 1C 80 13 00 00 00 00 00 00 7E [15:31:25]Write i2c OK [15:31:25]MH_I2C_Read... [15:31:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:31:25]Read from MH i2c: E2 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: E2 62 00 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: E2 62 00 E6 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8A 82 00 00 0E 04 04 00 B2 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 BF [15:31:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8A 82 00 00 0E 04 04 00 B2 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 [15:31:25]wFMCommunicate OK [15:31:25]SAM_PROTO_GetFieldsCounters done [15:31:25]requested_item shift.num is exist - process it [15:31:25]requested_item shift.opened is exist - process it [15:31:25]req_shift_opened [15:31:25]FM_GetShiftState [15:31:25]SAM_PROTO_GetShiftState [15:31:25]wFMCommunicate request_size=4 [15:31:25]MH_SAM_APDU [15:31:25]CAPDU: 80 13 01 00 [15:31:25]Write to MH i2c: E2 08 00 E7 1C 80 13 01 00 00 00 00 00 80 [15:31:25]Write i2c OK [15:31:25]MH_I2C_Read... [15:31:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:25]Read from MH i2c: E2 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: E2 0E 00 [15:31:25]MH_I2C_Read... [15:31:25]Read from MH i2c: E2 0E 00 E7 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 5F [15:31:25]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [15:31:25]wFMCommunicate OK [15:31:25]SAM_PROTO_GetShiftState done [15:31:25]FM_GetShiftState done [15:31:25]req_shift_opened done [15:31:25]requested_item shift.open_date is exist - process it [15:31:25]req_shift_open_date [15:31:25]req_shift_open_date done [15:31:25]produce_requested_data done [15:31:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33418,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [15:31:25]process_action_free print_text [15:31:25]json_value_free [15:31:25]json_value_free done [15:31:25]process_json_proto returns [15:31:25]Send response to host [15:31:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33418,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [15:31:25]free response buf [15:31:25]execute_script done [15:31:25]execute_script returns [15:31:25]free content buf [15:31:25]Sock 7.Close socket [15:31:25]Sock 7.Thread stoped [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:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]OFD Sender: No OFD packet to send [15:42:12]OFD Sender: No OFD packet to send [15:42:17]OFD Sender: No OFD packet to send [15:42:22]OFD Sender: No OFD packet to send [15:42:27]OFD Sender: No OFD packet to send [15:42:32]OFD Sender: No OFD packet to send [15:42:37]OFD Sender: No OFD packet to send [15:42:42]OFD Sender: No OFD packet to send [15:42:47]OFD Sender: No OFD packet to send [15:42:52]OFD Sender: No OFD packet to send [15:42:57]OFD Sender: No OFD packet to send [15:43:02]OFD Sender: No OFD packet to send [15:43:07]OFD Sender: No OFD packet to send [15:43:12]OFD Sender: No OFD packet to send [15:43:17]OFD Sender: No OFD packet to send [15:43:22]OFD Sender: No OFD packet to send [15:43:27]OFD Sender: No OFD packet to send [15:43:32]OFD Sender: No OFD packet to send [15:43:37]OFD Sender: No OFD packet to send [15:43:42]OFD Sender: No OFD packet to send [15:43:47]OFD Sender: No OFD packet to send [15:43:52]OFD Sender: No OFD packet to send [15:43:57]OFD Sender: No OFD packet to send [15:44:02]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:37]OFD Sender: No OFD packet to send [15:44:42]OFD Sender: No OFD packet to send [15:44:47]OFD Sender: No OFD packet to send [15:44:52]OFD Sender: No OFD packet to send [15:44:57]OFD Sender: No OFD packet to send [15:45:02]OFD Sender: No OFD packet to send [15:45:07]OFD Sender: No OFD packet to send [15:45:12]OFD Sender: No OFD packet to send [15:45:17]OFD Sender: No OFD packet to send [15:45:22]OFD Sender: No OFD packet to send [15:45:27]OFD Sender: No OFD packet to send [15:45:32]OFD Sender: No OFD packet to send [15:45:37]OFD Sender: No OFD packet to send [15:45:42]OFD Sender: No OFD packet to send [15:45:47]OFD Sender: No OFD packet to send [15:45:52]OFD Sender: No OFD packet to send [15:45:57]OFD Sender: No OFD packet to send [15:46:02]OFD Sender: No OFD packet to send [15:46:07]OFD Sender: No OFD packet to send [15:46:12]OFD Sender: No OFD packet to send [15:46:17]OFD Sender: No OFD packet to send [15:46:22]OFD Sender: No OFD packet to send [15:46:27]OFD Sender: No OFD packet to send [15:46:32]OFD Sender: No OFD packet to send [15:46:37]OFD Sender: No OFD packet to send [15:46:42]OFD Sender: No OFD packet to send [15:46:47]OFD Sender: No OFD packet to send [15:46:52]OFD Sender: No OFD packet to send [15:46:57]OFD Sender: No OFD packet to send [15:47:02]OFD Sender: No OFD packet to send [15:47:07]OFD Sender: No OFD packet to send [15:47:12]OFD Sender: No OFD packet to send [15:47:17]OFD Sender: No OFD packet to send [15:47:22]OFD Sender: No OFD packet to send [15:47:27]OFD Sender: No OFD packet to send [15:47:32]OFD Sender: No OFD packet to send [15:47:37]OFD Sender: No OFD packet to send [15:47:42]OFD Sender: No OFD packet to send [15:47:47]OFD Sender: No OFD packet to send [15:47:52]OFD Sender: No OFD packet to send [15:47:57]OFD Sender: No OFD packet to send [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:27]OFD Sender: No OFD packet to send [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49: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:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11: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:11]accept exits with 10 [16:13:11]New connection [16:13:11]New thread 3066604900 created [16:13:11]Thread 3066461540 joined [16:13:11]Waiting for new connection... [16:13:11] Sock 10.Parse request [16:13:11]Sock 10.Check first char [16:13:11]Sock 10.First char is OK [16:13:11]request: POST /json_proto HTTP/1.0 [16:13:11]Method: POST [16:13:11]URL: /json_proto [16:13:11]Method is POST - this is cgi request [16:13:11]url: /json_proto [16:13:11]query_string will be loaded in cgi processing [16:13:11]execute_cgi json_proto POST (null) [16:13:11]execute_cgi path=json_proto method=POST [16:13:11]POST find Content-Length [16:13:11]Host: 172.17.35.196:8080 [16:13:11]Content-Length: 968 [16:13:11]Content-Type: application/json [16:13:11] [16:13:11]POST finish read [16:13:11]Found Content-Length = 968 [16:13:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169231", "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" : 4.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:11]execute_script... [16: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)169231", "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" : 4.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:11]POST & json_proto [16:13:11]process_json_proto [16:13:11]json parsed OK: [16:13:11]protocol is kg_v1.0 [16:13:11]action value=close_receipt [16:13:11]process_action close_receipt [16:13:11]cmd_close_receipt [16:13:11]MH_GetDate [16:13:11]Write to MH i2c: F0 00 00 E8 1C F3 [16:13:11]Write i2c OK [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: F0 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: F0 09 00 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: F0 09 00 E8 1C 00 9D A7 92 66 AD 14 F4 65 52 [16:13:11]GetLastDocTimeStamp 1720884680 [16:13:11]current date 1720887197 [16:13:11]FM_GetShiftState [16:13:11]SAM_PROTO_GetShiftState [16:13:11]wFMCommunicate request_size=4 [16:13:11]MH_SAM_APDU [16:13:11]CAPDU: 80 13 01 00 [16:13:11]Write to MH i2c: E2 08 00 E9 1C 80 13 01 00 00 00 00 00 82 [16:13:11]Write i2c OK [16:13:11]MH_I2C_Read... [16:13:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:11]Read from MH i2c: E2 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: E2 0E 00 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: E2 0E 00 E9 1C 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 61 [16:13:11]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [16:13:11]wFMCommunicate OK [16:13:11]SAM_PROTO_GetShiftState done [16:13:11]FM_GetShiftState done [16:13:11]opened in 1720829207 [16:13:11]opened+sec_in_day 1720915607 [16:13:11]quantity*price = 14000 [16:13:11]sum+1 = 14001 [16:13:11]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032780015 Слойка DC треугольная курица 110г 2.000 * 65.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 38 13.07.2024 16:13 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33419 ФПД: 275542762671201 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T161317&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33419&fm=275542762671201&tin=02508201610067®Number=0000000000093033&sum=27000 0 [16:13:12]StoreToDocumentArchive [16:13:12]shift 434 fd 33419 [16:13:12]save to /storage/0434/doc_00033419 [16:13:12]save last doc name /storage/0434/doc_00033419 to /storage/kkm_last_doc_name [16:13:12]save OK [16:13:12]Clear old archive folders... [16:13:12]ProcessDocumentItem done err = 0, tmpTLVsize=404 [16:13:12]tlvbuf is 00A7F800 [16:13:12]SAM_PROTO_ClearQueue [16:13:12]wFMCommunicate request_size=4 [16:13:12]MH_SAM_APDU [16:13:12]CAPDU: 80 09 00 00 [16:13:12]Write to MH i2c: E2 08 00 F6 1C 80 09 00 00 00 00 00 00 84 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:13:12]Read from MH i2c: E2 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 F6 1C 00 90 00 86 [16:13:12]RAPDU: 90 00 [16:13:12]wFMCommunicate OK [16:13:12]SAM_PROTO_ClearQueue done [16:13:12]KKMCreateOFDPacket [16:13:12]OFDProtocolAddRootSTLVToBuf [16:13:12]FM_MakeSignedData [16:13:12]FM_MakeSignedData [16:13:12]SAM_PROTO_SignData [16:13:12]wFMCommunicate request_size=4 [16:13:12]MH_SAM_APDU [16:13:12]CAPDU: 80 0D 01 02 [16:13:12]Write to MH i2c: E2 08 00 F7 1C 80 0D 01 02 00 00 00 00 8C [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:13:12]Read from MH i2c: E2 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 F7 1C 00 90 00 87 [16:13:12]RAPDU: 90 00 [16:13:12]wFMCommunicate OK [16:13:12]wFMCommunicate request_size=255 [16:13:12]MH_SAM_APDU [16:13:12]CAPDU: 80 0D 02 02 FA 03 00 94 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 A0 0F 00 00 00 00 00 37 04 06 00 AC 0D 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 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 [16:13:12]Write to MH i2c: E2 02 01 F8 1C 80 0D 02 02 FA 00 03 00 94 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 A0 0F 00 00 00 00 00 37 04 06 00 AC 0D 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 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 1F [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:12]Read from MH i2c: E2 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 F8 1C 00 90 00 88 [16:13:12]RAPDU: 90 00 [16:13:12]wFMCommunicate OK [16:13:12]wFMCommunicate request_size=163 [16:13:12]MH_SAM_APDU [16:13:12]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D A7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8B 82 00 00 35 04 06 00 FA 9A CC 7D 4C 61 [16:13:12]Write to MH i2c: E2 A6 00 F9 1C 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D A7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8B 82 00 00 35 04 06 00 FA 9A CC 7D 4C 61 00 00 B4 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:12]Read from MH i2c: E2 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 03 00 F9 1C 00 90 00 89 [16:13:12]RAPDU: 90 00 [16:13:12]wFMCommunicate OK [16:13:12]wFMCommunicate request_size=4 [16:13:12]MH_SAM_APDU [16:13:12]CAPDU: 80 0D 03 02 [16:13:12]Write to MH i2c: E2 08 00 FA 1C 80 0D 03 02 00 00 00 00 91 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:13:12]Read from MH i2c: E2 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 0B 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 0B 00 FA 1C 00 53 A2 A3 96 33 EA 5A 71 90 00 A8 [16:13:12]RAPDU: 53 A2 A3 96 33 EA 5A 71 90 00 [16:13:12]wFMCommunicate OK [16:13:12]SAM_PROTO_SignData done [16:13:12]FM_MakeSignedData done [16:13:12]CreateOFDProtocolMessage [16:13:12]wFMCommunicate request_size=4 [16:13:12]MH_SAM_APDU [16:13:12]CAPDU: 80 11 00 00 [16:13:12]Write to MH i2c: E2 08 00 FB 1C 80 11 00 00 00 00 00 00 91 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:12]Read from MH i2c: E2 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 17 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: E2 17 00 FB 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DD [16:13:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:13:12]wFMCommunicate OK [16:13:12]CreateOFDProtocolMessage done [16:13:12]OFDSenderStorePacket 33419 [16:13:12]StoreOFDPacket docnum=33419 [16:13:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A8 01 00 00 3A BA A0 01 F5 51 5A 03 01 00 03 00 94 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 A0 0F 00 00 00 00 00 37 04 06 00 AC 0D 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 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D A7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8B 82 00 00 35 04 06 00 FA 9A CC 7D 4C 61 53 A2 A3 96 33 EA 5A 71 [16:13:12]CheckFolder [16:13:12]dirname=/storage/ofd_packets [16:13:12]CheckFolder done [16:13:12]ProducePacketName [16:13:12]name=ofd_packets/00033419 [16:13:12]NVStorageSaveData ofd_packets/00033419 [16:13:12]File name is /storage/ofd_packets/00033419 [16:13:12]Write 454 bytes [16:13:12]NVStorageSaveData done [16:13:12]OFDSenderStorePacket done [16:13:12]KKMCreateOFDPacket done [16:13:12]NVStorageSaveData kkm_last_timestamp [16:13:12]File name is /storage/kkm_last_timestamp [16:13:12]Write 4 bytes [16:13:12]NVStorageSaveData done [16:13:12]ExternCall_PrintAddStr [16:13:12]wPrintStart [16:13:12]Write to MH i2c: 01 00 00 FC 1C 18 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: 01 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: 01 07 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: 01 07 00 FC 1C 00 00 00 00 00 FF 0F 2D [16:13:12]RasterBufferAndPrint [16:13:12]line Счет N : (3)169231 [16:13:12]line ИНН: 02508201610067 [16:13:12]line Контрольно-Кассовый Чек [16:13:12]line ПРОДАЖА [16:13:12]line Товар: 2000032710015 [16:13:12]line Сочник DC творог 75г [16:13:12]line 4.000 * 35.00 [16:13:12]line = 140.00 [16:13:12]line НДС 12% НСП 1% [16:13:12]line > о реализуемом товаре [16:13:12]line Товар: 2000032780015 [16:13:12]line Слойка DC треугольная курица 110г [16:13:12]line 2.000 * 65.00 [16:13:12]line = 130.00 [16:13:12]line НДС 12% НСП 1% [16:13:12]line > о реализуемом товаре [16:13:12]line ИТОГО: 270.00 [16:13:12]line НСП 1% : 2.39 [16:13:12]line НДС 12% : 28.67 [16:13:12]line Наличными: 270.00 [16:13:12]line Безнал.: 0.00 [16:13:12]line Место: АЗС № 77 "Партнер Нефть" [16:13:12]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:13:12]line СНО: Общий режим [16:13:12]line Чек 38 13.07.2024 16:13 [16:13:12]line Смена: 434 ФФД: 1.0 [16:13:12]line ЗНМ: 0300000122 [16:13:12]line РНМ: 0000000000093033 [16:13:13]line Версия ККМ: 001 [16:13:13]line ФМ: 0000000000875104 [16:13:13]line ФД: 33419 [16:13:13]line ФПД: 275542762671201 [16:13:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T161317&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33419&fm=275542762671201&tin=02508201610067®Number=0000000000093033&sum=27000 [16:13:13]line 0 [16:13:13]OFD Sender: Processing packet 33419 [packets to send 6, broken 5] [16:13:13]ProducePacketName [16:13:13]name=ofd_packets/00033419 [16:13:13]OFD Sender: To server: pG, [16:13:13]CommunicateWithHost lk.salyk.kg:30040 [16:13:13]ConnectInit lk.salyk.kg [16:13:13]written 0, free lines is 4095 [16:13:13]Connected sock=11 [16: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 35 31 30 34 A8 01 00 00 3A BA A0 01 F5 51 5A 03 01 00 03 00 94 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 A0 0F 00 00 00 00 00 37 04 06 00 AC 0D 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 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9D A7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8B 82 00 00 35 04 06 00 FA 9A CC 7D 4C 61 53 A2 A3 96 33 EA 5A 71 [16:13:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A0 D2 47 00 DC 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8B 82 00 00 F4 03 04 00 48 52 92 66 B6 04 01 00 00 A1 29 18 C9 01 A5 9E 3F [16:13:13]CommunicateWithHost err = 0 [16:13:13]CheckOFDResponse [16:13:13]1017 (14) - 77093643461234 [16:13:13]1041 (16) - 0000000000875104 [16:13:13]1040 (4) - 33419 [16:13:13]1012 (4) - 13.07.2024 10:09 [16:13:13]1206 (1) - 0 [16:13:13]OFD Sender: Remove packet 33419 [16:13:13]ProducePacketName [16:13:13]name=ofd_packets/00033419 [16:13:13]NVStorageDeleteData [16:13:13]Write to MH i2c: 01 00 00 2B 1D 48 [16:13:13]Write i2c OK [16:13:13]MH_I2C_Read... [16:13:13]Read from MH i2c: 01 [16:13:13]MH_I2C_Read... [16:13:13]Read from MH i2c: 01 07 00 [16:13:13]MH_I2C_Read... [16:13:13]Read from MH i2c: 01 07 00 2B 1D 00 00 00 00 00 91 0C EC [16:13:13]RasterBufferAndPrint [16:13:13]line [16:13:13]line [16:13:13]line [16:13:13]line [16:13:13]line [16:13:13]written 0, free lines is 3223 [16:13:13]MH_Cut [16:13:13]Write to MH i2c: D1 01 00 32 1D 01 21 [16:13:13]Write i2c OK [16:13:13]MH_I2C_Read... [16:13:13]Read from MH i2c: D1 [16:13:13]MH_I2C_Read... [16:13:13]Read from MH i2c: D1 01 00 [16:13:13]MH_I2C_Read... [16:13:13]Read from MH i2c: D1 01 00 32 1D 00 20 [16:13:13]Write to MH i2c: 01 00 00 33 1D 50 [16:13:13]Write i2c OK [16:13:13]MH_I2C_Read... [16:13:14]OFD Sender: No OFD packet to send [16:13:14]*** Cut start [16:13:14]*** Partial cut [16:13:14]*** CUTSNS_PIN = 1 [16:13:14]*** CUTSNS_PIN = 0 [16:13:14]*** Brake cut motor [16:13:15]Read from MH i2c: 01 [16:13:15]MH_I2C_Read... [16:13:15]*** Stop cut motor [16:13:15]*** Cut end [16:13:15]Read from MH i2c: 01 07 00 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: 01 07 00 33 1D 00 00 00 00 00 FF 0F 65 [16:13:15]process_action close_receipt done [16:13:15]requested_data is exist [16:13:15]produce_requested_data [16:13:15]requested_item fm.sn is exist - process it [16:13:15]wFMCommunicate request_size=4 [16:13:15]MH_SAM_APDU [16:13:15]CAPDU: 80 11 00 00 [16:13:15]Write to MH i2c: E2 08 00 34 1D 80 11 00 00 00 00 00 00 CB [16:13:15]Write i2c OK [16:13:15]MH_I2C_Read... [16:13:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:15]Read from MH i2c: E2 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: E2 17 00 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: E2 17 00 34 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 17 [16:13:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:13:15]wFMCommunicate OK [16:13:15]requested_item fd.num is exist - process it [16:13:15]SAM_PROTO_GetFieldsCounters [16:13:15]wFMCommunicate request_size=4 [16:13:15]MH_SAM_APDU [16:13:15]CAPDU: 80 13 00 00 [16:13:15]Write to MH i2c: E2 08 00 35 1D 80 13 00 00 00 00 00 00 CE [16:13:15]Write i2c OK [16:13:15]MH_I2C_Read... [16:13:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:15]Read from MH i2c: E2 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: E2 62 00 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: E2 62 00 35 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8B 82 00 00 0E 04 04 00 B2 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 13 [16:13:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8B 82 00 00 0E 04 04 00 B2 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 [16:13:15]wFMCommunicate OK [16:13:15]SAM_PROTO_GetFieldsCounters done [16:13:15]requested_item shift.num is exist - process it [16:13:15]requested_item shift.opened is exist - process it [16:13:15]req_shift_opened [16:13:15]FM_GetShiftState [16:13:15]SAM_PROTO_GetShiftState [16:13:15]wFMCommunicate request_size=4 [16:13:15]MH_SAM_APDU [16:13:15]CAPDU: 80 13 01 00 [16:13:15]Write to MH i2c: E2 08 00 36 1D 80 13 01 00 00 00 00 00 D0 [16:13:15]Write i2c OK [16:13:15]MH_I2C_Read... [16:13:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:15]Read from MH i2c: E2 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: E2 0E 00 [16:13:15]MH_I2C_Read... [16:13:15]Read from MH i2c: E2 0E 00 36 1D 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 AF [16:13:15]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [16:13:15]wFMCommunicate OK [16:13:15]SAM_PROTO_GetShiftState done [16:13:15]FM_GetShiftState done [16:13:15]req_shift_opened done [16:13:15]requested_item shift.open_date is exist - process it [16:13:15]req_shift_open_date [16:13:15]req_shift_open_date done [16:13:15]produce_requested_data done [16:13:15]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33419,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [16:13:15]process_action_free close_receipt [16:13:15]json_value_free [16:13:15]json_value_free done [16:13:15]process_json_proto returns [16:13:15]Send response to host [16:13:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33419,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [16:13:15]free response buf [16:13:15]execute_script done [16:13:15]execute_script returns [16:13:15]free content buf [16:13:15]Sock 10.Close socket [16:13:15]Sock 10.Thread stoped [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:14]accept exits with 7 [16:25:14]New connection [16:25:14]New thread 3066461540 created [16:25:14]Thread 3066604900 joined [16:25:14]Waiting for new connection... [16:25:14] Sock 7.Parse request [16:25:14]Sock 7.Check first char [16:25:14]Sock 7.First char is OK [16:25:14]request: POST /json_proto HTTP/1.0 [16:25:14]Method: POST [16:25:14]URL: /json_proto [16:25:14]Method is POST - this is cgi request [16:25:14]url: /json_proto [16:25:14]query_string will be loaded in cgi processing [16:25:14]execute_cgi json_proto POST (null) [16:25:14]execute_cgi path=json_proto method=POST [16:25:14]POST find Content-Length [16:25:14]Host: 172.17.35.196:8080 [16:25:14]Content-Length: 626 [16:25:14]Content-Type: application/json [16:25:14] [16:25:14]POST finish read [16:25:14]Found Content-Length = 626 [16:25:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169232", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:14]execute_script... [16:25: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)169232", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:14]POST & json_proto [16:25:14]process_json_proto [16:25:14]json parsed OK: [16:25:14]protocol is kg_v1.0 [16:25:14]action value=close_receipt [16:25:14]process_action close_receipt [16:25:14]cmd_close_receipt [16:25:14]MH_GetDate [16:25:14]Write to MH i2c: F0 00 00 37 1D 43 [16:25:14]Write i2c OK [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: F0 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: F0 09 00 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: F0 09 00 37 1D 00 71 AA 92 66 AD 14 F4 65 79 [16:25:14]GetLastDocTimeStamp 1720887197 [16:25:14]current date 1720887921 [16:25:14]FM_GetShiftState [16:25:14]SAM_PROTO_GetShiftState [16:25:14]wFMCommunicate request_size=4 [16:25:14]MH_SAM_APDU [16:25:14]CAPDU: 80 13 01 00 [16:25:14]Write to MH i2c: E2 08 00 38 1D 80 13 01 00 00 00 00 00 D2 [16:25:14]Write i2c OK [16:25:14]MH_I2C_Read... [16:25:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:14]Read from MH i2c: E2 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: E2 0E 00 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: E2 0E 00 38 1D 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 B1 [16:25:14]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [16:25:14]wFMCommunicate OK [16:25:14]SAM_PROTO_GetShiftState done [16:25:14]FM_GetShiftState done [16:25:14]opened in 1720829207 [16:25:14]opened+sec_in_day 1720915607 [16:25:14]quantity*price = 13800 [16:25:14]sum+1 = 13801 [16:25:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 39 13.07.2024 16:25 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33420 ФПД: 229814058662482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T162521&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33420&fm=229814058662482&tin=02508201610067®Number=0000000000093033&sum=13800 0 [16:25:16]StoreToDocumentArchive [16:25:16]shift 434 fd 33420 [16:25:16]save to /storage/0434/doc_00033420 [16:25:16]save last doc name /storage/0434/doc_00033420 to /storage/kkm_last_doc_name [16:25:16]save OK [16:25:16]Clear old archive folders... [16:25:16]ProcessDocumentItem done err = 0, tmpTLVsize=278 [16:25:16]tlvbuf is 00AEF710 [16:25:16]SAM_PROTO_ClearQueue [16:25:16]wFMCommunicate request_size=4 [16:25:16]MH_SAM_APDU [16:25:16]CAPDU: 80 09 00 00 [16:25:16]Write to MH i2c: E2 08 00 45 1D 80 09 00 00 00 00 00 00 D4 [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:16]Read from MH i2c: E2 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 45 1D 00 90 00 D6 [16:25:16]RAPDU: 90 00 [16:25:16]wFMCommunicate OK [16:25:16]SAM_PROTO_ClearQueue done [16:25:16]KKMCreateOFDPacket [16:25:16]OFDProtocolAddRootSTLVToBuf [16:25:16]FM_MakeSignedData [16:25:16]FM_MakeSignedData [16:25:16]SAM_PROTO_SignData [16:25:16]wFMCommunicate request_size=4 [16:25:16]MH_SAM_APDU [16:25:16]CAPDU: 80 0D 01 02 [16:25:16]Write to MH i2c: E2 08 00 46 1D 80 0D 01 02 00 00 00 00 DC [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:16]Read from MH i2c: E2 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 46 1D 00 90 00 D7 [16:25:16]RAPDU: 90 00 [16:25:16]wFMCommunicate OK [16:25:16]wFMCommunicate request_size=255 [16:25:16]MH_SAM_APDU [16:25:16]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 71 AA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 [16:25:16]Write to MH i2c: E2 02 01 47 1D 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 71 AA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 00 00 87 [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:16]Read from MH i2c: E2 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 47 1D 00 90 00 D8 [16:25:16]RAPDU: 90 00 [16:25:16]wFMCommunicate OK [16:25:16]wFMCommunicate request_size=37 [16:25:16]MH_SAM_APDU [16:25:16]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8C 82 00 00 35 04 06 00 D1 03 C1 54 BA 52 [16:25:16]Write to MH i2c: E2 28 00 48 1D 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8C 82 00 00 35 04 06 00 D1 03 C1 54 BA 52 00 00 32 [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:16]Read from MH i2c: E2 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 03 00 48 1D 00 90 00 D9 [16:25:16]RAPDU: 90 00 [16:25:16]wFMCommunicate OK [16:25:16]wFMCommunicate request_size=4 [16:25:16]MH_SAM_APDU [16:25:16]CAPDU: 80 0D 03 02 [16:25:16]Write to MH i2c: E2 08 00 49 1D 80 0D 03 02 00 00 00 00 E1 [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:16]Read from MH i2c: E2 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 0B 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 0B 00 49 1D 00 17 67 93 F8 B8 00 CB EC 90 00 5A [16:25:16]RAPDU: 17 67 93 F8 B8 00 CB EC 90 00 [16:25:16]wFMCommunicate OK [16:25:16]SAM_PROTO_SignData done [16:25:16]FM_MakeSignedData done [16:25:16]CreateOFDProtocolMessage [16:25:16]wFMCommunicate request_size=4 [16:25:16]MH_SAM_APDU [16:25:16]CAPDU: 80 11 00 00 [16:25:16]Write to MH i2c: E2 08 00 4A 1D 80 11 00 00 00 00 00 00 E1 [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:16]Read from MH i2c: E2 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 17 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: E2 17 00 4A 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2D [16:25:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:25:16]wFMCommunicate OK [16:25:16]CreateOFDProtocolMessage done [16:25:16]OFDSenderStorePacket 33420 [16:25:16]StoreOFDPacket docnum=33420 [16:25:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 9E C6 22 01 C9 F6 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 71 AA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8C 82 00 00 35 04 06 00 D1 03 C1 54 BA 52 17 67 93 F8 B8 00 CB EC [16:25:16]CheckFolder [16:25:16]dirname=/storage/ofd_packets [16:25:16]CheckFolder done [16:25:16]ProducePacketName [16:25:16]name=ofd_packets/00033420 [16:25:16]NVStorageSaveData ofd_packets/00033420 [16:25:16]File name is /storage/ofd_packets/00033420 [16:25:16]Write 328 bytes [16:25:16]NVStorageSaveData done [16:25:16]OFDSenderStorePacket done [16:25:16]KKMCreateOFDPacket done [16:25:16]NVStorageSaveData kkm_last_timestamp [16:25:16]File name is /storage/kkm_last_timestamp [16:25:16]Write 4 bytes [16:25:16]NVStorageSaveData done [16:25:16]ExternCall_PrintAddStr [16:25:16]wPrintStart [16:25:16]Write to MH i2c: 01 00 00 4B 1D 68 [16:25:16]Write i2c OK [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: 01 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: 01 07 00 [16:25:16]MH_I2C_Read... [16:25:16]Read from MH i2c: 01 07 00 4B 1D 00 00 00 00 00 FF 0F 7D [16:25:16]RasterBufferAndPrint [16:25:16]line Счет N : (3)169232 [16:25:16]line ИНН: 02508201610067 [16:25:16]line Контрольно-Кассовый Чек [16:25:16]line ПРОДАЖА [16:25:16]line Товар: 4640030092499 [16:25:16]line Сигареты ESSE SENSE Himalaya [16:25:16]line 1.000 * 138.00 [16:25:16]line = 138.00 [16:25:16]line НДС 12% НСП 1% [16:25:16]line > о реализуемом товаре [16:25:16]line ИТОГО: 138.00 [16:25:16]line НСП 1% : 1.22 [16:25:16]line НДС 12% : 14.65 [16:25:16]line Наличными: 138.00 [16:25:16]line Безнал.: 0.00 [16:25:16]line Место: АЗС № 77 "Партнер Нефть" [16:25:16]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:25:16]line СНО: Общий режим [16:25:16]line Чек 39 13.07.2024 16:25 [16:25:16]line Смена: 434 ФФД: 1.0 [16:25:16]line ЗНМ: 0300000122 [16:25:16]line РНМ: 0000000000093033 [16:25:16]line Версия ККМ: 001 [16:25:16]line ФМ: 0000000000875104 [16:25:16]line ФД: 33420 [16:25:16]line ФПД: 229814058662482 [16:25:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T162521&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33420&fm=229814058662482&tin=02508201610067®Number=0000000000093033&sum=13800 [16:25:16]line 0 [16:25:16]OFD Sender: Processing packet 33420 [packets to send 6, broken 5] [16:25:16]ProducePacketName [16:25:16]name=ofd_packets/00033420 [16:25:16]OFD Sender: To server: pG, [16:25:16]CommunicateWithHost lk.salyk.kg:30040 [16:25:16]ConnectInit lk.salyk.kg [16:25:16]written 0, free lines is 4095 [16:25:17]Connected sock=10 [16:25:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 9E C6 22 01 C9 F6 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 71 AA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8C 82 00 00 35 04 06 00 D1 03 C1 54 BA 52 17 67 93 F8 B8 00 CB EC [16:25:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E7 65 47 00 71 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8C 82 00 00 F4 03 04 00 1B 55 92 66 B6 04 01 00 00 1F 1B 42 16 E7 B5 5B 5B [16:25:17]CommunicateWithHost err = 0 [16:25:17]CheckOFDResponse [16:25:17]1017 (14) - 77093643461234 [16:25:17]1041 (16) - 0000000000875104 [16:25:17]1040 (4) - 33420 [16:25:17]1012 (4) - 13.07.2024 10:21 [16:25:17]1206 (1) - 0 [16:25:17]OFD Sender: Remove packet 33420 [16:25:17]ProducePacketName [16:25:17]name=ofd_packets/00033420 [16:25:17]NVStorageDeleteData [16:25:17]Write to MH i2c: 01 00 00 74 1D 91 [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 07 00 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 07 00 74 1D 00 00 00 00 00 D8 0C 7C [16:25:17]RasterBufferAndPrint [16:25:17]line [16:25:17]line [16:25:17]line [16:25:17]line [16:25:17]line [16:25:17]written 0, free lines is 3294 [16:25:17]MH_Cut [16:25:17]Write to MH i2c: D1 01 00 7B 1D 01 6A [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: D1 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: D1 01 00 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: D1 01 00 7B 1D 00 69 [16:25:17]Write to MH i2c: 01 00 00 7C 1D 99 [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]OFD Sender: No OFD packet to send [16:25:18]*** Cut start [16:25:18]*** Partial cut [16:25:18]*** CUTSNS_PIN = 1 [16:25:18]*** CUTSNS_PIN = 0 [16:25:18]*** Brake cut motor [16:25:18]Read from MH i2c: 01 [16:25:18]MH_I2C_Read... [16:25:18]*** Stop cut motor [16:25:18]*** Cut end [16:25:18]Read from MH i2c: 01 07 00 [16:25:18]MH_I2C_Read... [16:25:18]Read from MH i2c: 01 07 00 7C 1D 00 00 00 00 00 FF 0F AE [16:25:18]process_action close_receipt done [16:25:18]requested_data is exist [16:25:18]produce_requested_data [16:25:18]requested_item fm.sn is exist - process it [16:25:18]wFMCommunicate request_size=4 [16:25:18]MH_SAM_APDU [16:25:18]CAPDU: 80 11 00 00 [16:25:18]Write to MH i2c: E2 08 00 7D 1D 80 11 00 00 00 00 00 00 14 [16:25:18]Write i2c OK [16:25:18]MH_I2C_Read... [16:25:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:18]Read from MH i2c: E2 [16:25:18]MH_I2C_Read... [16:25:18]Read from MH i2c: E2 17 00 [16:25:18]MH_I2C_Read... [16:25:18]Read from MH i2c: E2 17 00 7D 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 60 [16:25:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:25:18]wFMCommunicate OK [16:25:18]requested_item fd.num is exist - process it [16:25:18]SAM_PROTO_GetFieldsCounters [16:25:18]wFMCommunicate request_size=4 [16:25:18]MH_SAM_APDU [16:25:18]CAPDU: 80 13 00 00 [16:25:18]Write to MH i2c: E2 08 00 7E 1D 80 13 00 00 00 00 00 00 17 [16:25:18]Write i2c OK [16:25:18]MH_I2C_Read... [16:25:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:18]Read from MH i2c: E2 [16:25:18]MH_I2C_Read... [16:25:18]Read from MH i2c: E2 62 00 [16:25:18]MH_I2C_Read... [16:25:18]Read from MH i2c: E2 62 00 7E 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8C 82 00 00 0E 04 04 00 B2 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 60 [16:25: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8C 82 00 00 0E 04 04 00 B2 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 [16:25:18]wFMCommunicate OK [16:25:18]SAM_PROTO_GetFieldsCounters done [16:25:18]requested_item shift.num is exist - process it [16:25:18]requested_item shift.opened is exist - process it [16:25:18]req_shift_opened [16:25:18]FM_GetShiftState [16:25:18]SAM_PROTO_GetShiftState [16:25:18]wFMCommunicate request_size=4 [16:25:18]MH_SAM_APDU [16:25:18]CAPDU: 80 13 01 00 [16:25:18]Write to MH i2c: E2 08 00 7F 1D 80 13 01 00 00 00 00 00 19 [16:25:18]Write i2c OK [16:25:18]MH_I2C_Read... [16:25:19]Read from MH i2c: E2 [16:25:19]MH_I2C_Read... [16:25:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:19]Read from MH i2c: E2 0E 00 [16:25:19]MH_I2C_Read... [16:25:19]Read from MH i2c: E2 0E 00 7F 1D 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 F8 [16:25:19]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [16:25:19]wFMCommunicate OK [16:25:19]SAM_PROTO_GetShiftState done [16:25:19]FM_GetShiftState done [16:25:19]req_shift_opened done [16:25:19]requested_item shift.open_date is exist - process it [16:25:19]req_shift_open_date [16:25:19]req_shift_open_date done [16:25:19]produce_requested_data done [16:25:19]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33420,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [16:25:19]process_action_free close_receipt [16:25:19]json_value_free [16:25:19]json_value_free done [16:25:19]process_json_proto returns [16:25:19]Send response to host [16:25:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33420,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [16:25:19]free response buf [16:25:19]execute_script done [16:25:19]execute_script returns [16:25:19]free content buf [16:25:19]Sock 7.Close socket [16:25:19]Sock 7.Thread stoped [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:07]OFD Sender: No OFD packet to send [16:29:12]OFD Sender: No OFD packet to send [16:29:17]OFD Sender: No OFD packet to send [16:29:22]OFD Sender: No OFD packet to send [16:29:27]OFD Sender: No OFD packet to send [16:29:32]OFD Sender: No OFD packet to send [16:29:37]OFD Sender: No OFD packet to send [16:29:42]OFD Sender: No OFD packet to send [16:29:47]OFD Sender: No OFD packet to send [16:29:52]OFD Sender: No OFD packet to send [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:32]OFD Sender: No OFD packet to send [16:30:37]OFD Sender: No OFD packet to send [16:30:42]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:23]OFD Sender: No OFD packet to send [16:39:28]OFD Sender: No OFD packet to send [16:39:33]OFD Sender: No OFD packet to send [16:39:38]OFD Sender: No OFD packet to send [16:39:43]OFD Sender: No OFD packet to send [16:39:48]OFD Sender: No OFD packet to send [16:39:53]OFD Sender: No OFD packet to send [16:39:58]OFD Sender: No OFD packet to send [16:40:03]OFD Sender: No OFD packet to send [16:40:08]OFD Sender: No OFD packet to send [16:40:13]OFD Sender: No OFD packet to send [16:40:18]OFD Sender: No OFD packet to send [16:40:23]OFD Sender: No OFD packet to send [16:40:28]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:48]OFD Sender: No OFD packet to send [16:40:53]OFD Sender: No OFD packet to send [16:40:58]OFD Sender: No OFD packet to send [16:41:03]OFD Sender: No OFD packet to send [16:41:08]OFD Sender: No OFD packet to send [16:41:13]OFD Sender: No OFD packet to send [16:41:18]OFD Sender: No OFD packet to send [16:41:23]OFD Sender: No OFD packet to send [16:41:28]OFD Sender: No OFD packet to send [16:41:33]OFD Sender: No OFD packet to send [16:41:38]OFD Sender: No OFD packet to send [16:41:43]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:49]OFD Sender: No OFD packet to send [16:57:54]OFD Sender: No OFD packet to send [16:57:59]OFD Sender: No OFD packet to send [16:58:04]OFD Sender: No OFD packet to send [16:58:09]OFD Sender: No OFD packet to send [16:58:14]OFD Sender: No OFD packet to send [16:58:19]OFD Sender: No OFD packet to send [16:58:24]OFD Sender: No OFD packet to send [16:58:29]OFD Sender: No OFD packet to send [16:58:34]OFD Sender: No OFD packet to send [16:58:39]OFD Sender: No OFD packet to send [16:58:44]OFD Sender: No OFD packet to send [16:58:49]OFD Sender: No OFD packet to send [16:58:54]OFD Sender: No OFD packet to send [16:58:59]OFD Sender: No OFD packet to send [16:59:04]OFD Sender: No OFD packet to send [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:00:24]OFD Sender: No OFD packet to send [17:00:29]OFD Sender: No OFD packet to send [17:00:34]OFD Sender: No OFD packet to send [17:00:39]OFD Sender: No OFD packet to send [17:00:44]OFD Sender: No OFD packet to send [17:00:49]OFD Sender: No OFD packet to send [17:00:54]OFD Sender: No OFD packet to send [17:00:59]OFD Sender: No OFD packet to send [17:01:04]OFD Sender: No OFD packet to send [17:01:09]OFD Sender: No OFD packet to send [17:01:14]OFD Sender: No OFD packet to send [17:01:19]OFD Sender: No OFD packet to send [17:01:24]OFD Sender: No OFD packet to send [17:01:29]OFD Sender: No OFD packet to send [17:01:34]OFD Sender: No OFD packet to send [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:19]OFD Sender: No OFD packet to send [17:05:24]OFD Sender: No OFD packet to send [17:05:29]OFD Sender: No OFD packet to send [17:05:34]OFD Sender: No OFD packet to send [17:05:39]OFD Sender: No OFD packet to send [17:05:44]OFD Sender: No OFD packet to send [17:05:49]OFD Sender: No OFD packet to send [17:05:54]OFD Sender: No OFD packet to send [17:05:59]OFD Sender: No OFD packet to send [17:06:04]OFD Sender: No OFD packet to send [17:06:09]OFD Sender: No OFD packet to send [17:06:14]OFD Sender: No OFD packet to send [17:06:19]OFD Sender: No OFD packet to send [17:06:24]OFD Sender: No OFD packet to send [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:29]OFD Sender: No OFD packet to send [17:12:34]OFD Sender: No OFD packet to send [17:12:39]OFD Sender: No OFD packet to send [17:12:44]OFD Sender: No OFD packet to send [17:12:49]OFD Sender: No OFD packet to send [17:12:54]OFD Sender: No OFD packet to send [17:12:59]OFD Sender: No OFD packet to send [17:13:04]OFD Sender: No OFD packet to send [17:13:09]OFD Sender: No OFD packet to send [17:13:14]OFD Sender: No OFD packet to send [17:13:19]OFD Sender: No OFD packet to send [17:13:24]OFD Sender: No OFD packet to send [17:13:29]OFD Sender: No OFD packet to send [17:13:34]OFD Sender: No OFD packet to send [17:13:39]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:45]OFD Sender: No OFD packet to send [17:14:50]OFD Sender: No OFD packet to send [17:14:55]OFD Sender: No OFD packet to send [17:15:00]OFD Sender: No OFD packet to send [17:15:05]OFD Sender: No OFD packet to send [17:15:10]OFD Sender: No OFD packet to send [17:15:15]OFD Sender: No OFD packet to send [17:15:20]OFD Sender: No OFD packet to send [17:15:25]OFD Sender: No OFD packet to send [17:15:30]OFD Sender: No OFD packet to send [17:15:35]OFD Sender: No OFD packet to send [17:15:40]OFD Sender: No OFD packet to send [17:15:45]OFD Sender: No OFD packet to send [17:15:50]OFD Sender: No OFD packet to send [17:15:55]OFD Sender: No OFD packet to send [17:16:00]OFD Sender: No OFD packet to send [17:16:05]OFD Sender: No OFD packet to send [17:16:10]OFD Sender: No OFD packet to send [17:16:15]OFD Sender: No OFD packet to send [17:16:20]OFD Sender: No OFD packet to send [17:16:25]OFD Sender: No OFD packet to send [17:16:30]OFD Sender: No OFD packet to send [17:16:35]OFD Sender: No OFD packet to send [17:16:40]OFD Sender: No OFD packet to send [17:16:45]OFD Sender: No OFD packet to send [17:16:50]OFD Sender: No OFD packet to send [17:16:55]OFD Sender: No OFD packet to send [17:17:00]OFD Sender: No OFD packet to send [17:17:05]OFD Sender: No OFD packet to send [17:17:10]OFD Sender: No OFD packet to send [17:17:15]OFD Sender: No OFD packet to send [17:17:20]OFD Sender: No OFD packet to send [17:17:25]OFD Sender: No OFD packet to send [17:17:30]OFD Sender: No OFD packet to send [17:17:35]OFD Sender: No OFD packet to send [17:17:40]OFD Sender: No OFD packet to send [17:17:45]OFD Sender: No OFD packet to send [17:17:50]OFD Sender: No OFD packet to send [17:17:55]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:50]OFD Sender: No OFD packet to send [17:22:55]OFD Sender: No OFD packet to send [17:23:00]OFD Sender: No OFD packet to send [17:23:05]OFD Sender: No OFD packet to send [17:23:10]OFD Sender: No OFD packet to send [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:20]accept exits with 9 [17:34:20]New connection [17:34:20]New thread 3066604900 created [17:34:20]Thread 3066461540 joined [17:34:20]Waiting for new connection... [17:34:20] Sock 9.Parse request [17:34:20]Sock 9.Check first char [17:34:20]Sock 9.First char is OK [17:34:20]request: POST /json_proto HTTP/1.0 [17:34:20]Method: POST [17:34:20]URL: /json_proto [17:34:20]Method is POST - this is cgi request [17:34:20]url: /json_proto [17:34:20]query_string will be loaded in cgi processing [17:34:20]execute_cgi json_proto POST (null) [17:34:20]execute_cgi path=json_proto method=POST [17:34:20]POST find Content-Length [17:34:20]Host: 172.17.35.196:8080 [17:34:20]Content-Length: 930 [17:34:20]Content-Type: application/json [17:34:20] [17:34:20]POST finish read [17:34:20]Found Content-Length = 930 [17:34:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169233", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870216765026", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Silver Selection", "price" : 141.00, "quantity" : 2.000, "sum" : 282.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 407.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:20]execute_script... [17:34: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)169233", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870216765026", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Silver Selection", "price" : 141.00, "quantity" : 2.000, "sum" : 282.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 407.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:20]POST & json_proto [17:34:20]process_json_proto [17:34:20]json parsed OK: [17:34:20]protocol is kg_v1.0 [17:34:20]action value=close_receipt [17:34:20]process_action close_receipt [17:34:20]cmd_close_receipt [17:34:20]MH_GetDate [17:34:20]Write to MH i2c: F0 00 00 80 1D 8C [17:34:20]Write i2c OK [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: F0 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: F0 09 00 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: F0 09 00 80 1D 00 A4 BA 92 66 AD 14 F4 65 05 [17:34:20]GetLastDocTimeStamp 1720887921 [17:34:20]current date 1720892068 [17:34:20]FM_GetShiftState [17:34:20]SAM_PROTO_GetShiftState [17:34:20]wFMCommunicate request_size=4 [17:34:20]MH_SAM_APDU [17:34:20]CAPDU: 80 13 01 00 [17:34:20]Write to MH i2c: E2 08 00 81 1D 80 13 01 00 00 00 00 00 1B [17:34:20]Write i2c OK [17:34:20]MH_I2C_Read... [17:34:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:34:21]Read from MH i2c: E2 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 0E 00 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 0E 00 81 1D 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 FA [17:34:21]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [17:34:21]wFMCommunicate OK [17:34:21]SAM_PROTO_GetShiftState done [17:34:21]FM_GetShiftState done [17:34:21]opened in 1720829207 [17:34:21]opened+sec_in_day 1720915607 [17:34:21]quantity*price = 12500 [17:34:21]sum+1 = 12501 [17:34:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870216765026 Нагр.Таб.Палоч. HEETS Silver Selection 2.000 * 141.00 = 282.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 407.00 НСП 1% : 3.61 НДС 12% : 43.22 Наличными: 407.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 40 13.07.2024 17:34 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33421 ФПД: 212682966813378 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T173428&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33421&fm=212682966813378&tin=02508201610067®Number=0000000000093033&sum=40700 0 [17:34:22]StoreToDocumentArchive [17:34:22]shift 434 fd 33421 [17:34:22]save to /storage/0434/doc_00033421 [17:34:22]save last doc name /storage/0434/doc_00033421 to /storage/kkm_last_doc_name [17:34:22]save OK [17:34:22]Clear old archive folders... [17:34:22]ProcessDocumentItem done err = 0, tmpTLVsize=400 [17:34:22]tlvbuf is 00A51890 [17:34:22]SAM_PROTO_ClearQueue [17:34:22]wFMCommunicate request_size=4 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 09 00 00 [17:34:22]Write to MH i2c: E2 08 00 8E 1D 80 09 00 00 00 00 00 00 1D [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 8E 1D 00 90 00 1F [17:34:22]RAPDU: 90 00 [17:34:22]wFMCommunicate OK [17:34:22]SAM_PROTO_ClearQueue done [17:34:22]KKMCreateOFDPacket [17:34:22]OFDProtocolAddRootSTLVToBuf [17:34:22]FM_MakeSignedData [17:34:22]FM_MakeSignedData [17:34:22]SAM_PROTO_SignData [17:34:22]wFMCommunicate request_size=4 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 0D 01 02 [17:34:22]Write to MH i2c: E2 08 00 8F 1D 80 0D 01 02 00 00 00 00 25 [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 8F 1D 00 90 00 20 [17:34:22]RAPDU: 90 00 [17:34:22]wFMCommunicate OK [17:34:22]wFMCommunicate request_size=255 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 0D 02 02 FA 03 00 90 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 9E 00 00 00 00 EB [17:34:22]Write to MH i2c: E2 02 01 90 1D 80 0D 02 02 FA 00 03 00 90 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 9E 00 00 00 00 EB 00 00 02 [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 90 1D 00 90 00 21 [17:34:22]RAPDU: 90 00 [17:34:22]wFMCommunicate OK [17:34:22]wFMCommunicate request_size=159 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 A4 BA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8D 82 00 00 35 04 06 00 C1 6F 1C AF CA C2 [17:34:22]Write to MH i2c: E2 A2 00 91 1D 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 A4 BA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8D 82 00 00 35 04 06 00 C1 6F 1C AF CA C2 00 00 5D [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 03 00 91 1D 00 90 00 22 [17:34:22]RAPDU: 90 00 [17:34:22]wFMCommunicate OK [17:34:22]wFMCommunicate request_size=4 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 0D 03 02 [17:34:22]Write to MH i2c: E2 08 00 92 1D 80 0D 03 02 00 00 00 00 2A [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 0B 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 0B 00 92 1D 00 3B 8F 37 32 6E 1F D8 D3 90 00 96 [17:34:22]RAPDU: 3B 8F 37 32 6E 1F D8 D3 90 00 [17:34:22]wFMCommunicate OK [17:34:22]SAM_PROTO_SignData done [17:34:22]FM_MakeSignedData done [17:34:22]CreateOFDProtocolMessage [17:34:22]wFMCommunicate request_size=4 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 11 00 00 [17:34:22]Write to MH i2c: E2 08 00 93 1D 80 11 00 00 00 00 00 00 2A [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 17 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 17 00 93 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 76 [17:34:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:34:22]wFMCommunicate OK [17:34:22]CreateOFDProtocolMessage done [17:34:22]OFDSenderStorePacket 33421 [17:34:22]StoreOFDPacket docnum=33421 [17:34:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A4 01 00 00 AB 05 9C 01 D1 D6 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 A4 BA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8D 82 00 00 35 04 06 00 C1 6F 1C AF CA C2 3B 8F 37 32 6E 1F D8 D3 [17:34:22]CheckFolder [17:34:22]dirname=/storage/ofd_packets [17:34:22]CheckFolder done [17:34:22]ProducePacketName [17:34:22]name=ofd_packets/00033421 [17:34:22]NVStorageSaveData ofd_packets/00033421 [17:34:22]File name is /storage/ofd_packets/00033421 [17:34:22]Write 450 bytes [17:34:22]NVStorageSaveData done [17:34:22]OFDSenderStorePacket done [17:34:22]KKMCreateOFDPacket done [17:34:22]NVStorageSaveData kkm_last_timestamp [17:34:22]File name is /storage/kkm_last_timestamp [17:34:22]Write 4 bytes [17:34:22]NVStorageSaveData done [17:34:22]ExternCall_PrintAddStr [17:34:22]wPrintStart [17:34:22]Write to MH i2c: 01 00 00 94 1D B1 [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: 01 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: 01 07 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: 01 07 00 94 1D 00 00 00 00 00 FF 0F C6 [17:34:23]RasterBufferAndPrint [17:34:23]line Счет N : (3)169233 [17:34:23]line ИНН: 02508201610067 [17:34:23]line Контрольно-Кассовый Чек [17:34:23]line ПРОДАЖА [17:34:23]line Товар: 5449000054227 [17:34:23]line Напиток Кока-Кола 1л [17:34:23]line 1.000 * 125.00 [17:34:23]line = 125.00 [17:34:23]line НДС 12% НСП 1% [17:34:23]line > о реализуемом товаре [17:34:23]line Товар: 4870216765026 [17:34:23]line Нагр.Таб.Палоч. HEETS Silver Selection [17:34:23]line 2.000 * 141.00 [17:34:23]line = 282.00 [17:34:23]line НДС 12% НСП 1% [17:34:23]line > о реализуемом товаре [17:34:23]line ИТОГО: 407.00 [17:34:23]line НСП 1% : 3.61 [17:34:23]line НДС 12% : 43.22 [17:34:23]line Наличными: 407.00 [17:34:23]line Безнал.: 0.00 [17:34:23]line Место: АЗС № 77 "Партнер Нефть" [17:34:23]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:34:23]line СНО: Общий режим [17:34:23]line Чек 40 13.07.2024 17:34 [17:34:23]line Смена: 434 ФФД: 1.0 [17:34:23]line ЗНМ: 0300000122 [17:34:23]line РНМ: 0000000000093033 [17:34:23]line Версия ККМ: 001 [17:34:23]line ФМ: 0000000000875104 [17:34:23]line ФД: 33421 [17:34:23]line ФПД: 212682966813378 [17:34:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T173428&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33421&fm=212682966813378&tin=02508201610067®Number=0000000000093033&sum=40700 [17:34:23]OFD Sender: Processing packet 33421 [packets to send 6, broken 5] [17:34:23]ProducePacketName [17:34:23]name=ofd_packets/00033421 [17:34:23]OFD Sender: To server: pG, [17:34:23]CommunicateWithHost lk.salyk.kg:30040 [17:34:23]ConnectInit lk.salyk.kg [17:34:23]line 0 [17:34:23]written 0, free lines is 4095 [17:34:23]Connected sock=11 [17:34:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A4 01 00 00 AB 05 9C 01 D1 D6 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 32 36 06 04 32 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 53 69 6C 76 65 72 20 53 65 6C 65 63 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 A4 BA 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8D 82 00 00 35 04 06 00 C1 6F 1C AF CA C2 3B 8F 37 32 6E 1F D8 D3 [17:34:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 41 71 47 00 94 B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8D 82 00 00 F4 03 04 00 4E 65 92 66 B6 04 01 00 00 2B 25 26 01 AD 24 63 D2 [17:34:23]CommunicateWithHost err = 0 [17:34:23]CheckOFDResponse [17:34:23]1017 (14) - 77093643461234 [17:34:23]1041 (16) - 0000000000875104 [17:34:23]1040 (4) - 33421 [17:34:23]1012 (4) - 13.07.2024 11:30 [17:34:23]1206 (1) - 0 [17:34:23]OFD Sender: Remove packet 33421 [17:34:23]ProducePacketName [17:34:23]name=ofd_packets/00033421 [17:34:23]NVStorageDeleteData [17:34:23]Write to MH i2c: 01 00 00 C3 1D E0 [17:34:23]Write i2c OK [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 07 00 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 07 00 C3 1D 00 00 00 00 00 8B 0C 7E [17:34:23]RasterBufferAndPrint [17:34:23]line [17:34:23]line [17:34:23]line [17:34:23]line [17:34:23]line [17:34:23]written 0, free lines is 3218 [17:34:23]MH_Cut [17:34:23]Write to MH i2c: D1 01 00 CA 1D 01 B9 [17:34:23]Write i2c OK [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: D1 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: D1 01 00 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: D1 01 00 CA 1D 00 B8 [17:34:23]Write to MH i2c: 01 00 00 CB 1D E8 [17:34:23]Write i2c OK [17:34:23]MH_I2C_Read... [17:34:23]OFD Sender: No OFD packet to send [17:34:24]*** Cut start [17:34:24]*** Partial cut [17:34:24]*** CUTSNS_PIN = 1 [17:34:24]*** CUTSNS_PIN = 0 [17:34:24]*** Brake cut motor [17:34:25]Read from MH i2c: 01 [17:34:25]MH_I2C_Read... [17:34:25]*** Stop cut motor [17:34:25]*** Cut end [17:34:25]Read from MH i2c: 01 07 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 CB 1D 00 00 00 00 00 FF 0F FD [17:34:25]process_action close_receipt done [17:34:25]requested_data is exist [17:34:25]produce_requested_data [17:34:25]requested_item fm.sn is exist - process it [17:34:25]wFMCommunicate request_size=4 [17:34:25]MH_SAM_APDU [17:34:25]CAPDU: 80 11 00 00 [17:34:25]Write to MH i2c: E2 08 00 CC 1D 80 11 00 00 00 00 00 00 63 [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:25]Read from MH i2c: E2 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: E2 17 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: E2 17 00 CC 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AF [17:34:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:34:25]wFMCommunicate OK [17:34:25]requested_item fd.num is exist - process it [17:34:25]SAM_PROTO_GetFieldsCounters [17:34:25]wFMCommunicate request_size=4 [17:34:25]MH_SAM_APDU [17:34:25]CAPDU: 80 13 00 00 [17:34:25]Write to MH i2c: E2 08 00 CD 1D 80 13 00 00 00 00 00 00 66 [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:34:25]Read from MH i2c: E2 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: E2 62 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: E2 62 00 CD 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8D 82 00 00 0E 04 04 00 B2 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 B3 [17:34:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8D 82 00 00 0E 04 04 00 B2 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 [17:34:25]wFMCommunicate OK [17:34:25]SAM_PROTO_GetFieldsCounters done [17:34:25]requested_item shift.num is exist - process it [17:34:25]requested_item shift.opened is exist - process it [17:34:25]req_shift_opened [17:34:25]FM_GetShiftState [17:34:25]SAM_PROTO_GetShiftState [17:34:25]wFMCommunicate request_size=4 [17:34:25]MH_SAM_APDU [17:34:25]CAPDU: 80 13 01 00 [17:34:25]Write to MH i2c: E2 08 00 CE 1D 80 13 01 00 00 00 00 00 68 [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:34:25]Read from MH i2c: E2 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: E2 0E 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: E2 0E 00 CE 1D 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 47 [17:34:25]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [17:34:25]wFMCommunicate OK [17:34:25]SAM_PROTO_GetShiftState done [17:34:25]FM_GetShiftState done [17:34:25]req_shift_opened done [17:34:25]requested_item shift.open_date is exist - process it [17:34:25]req_shift_open_date [17:34:25]req_shift_open_date done [17:34:25]produce_requested_data done [17:34:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33421,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [17:34:25]process_action_free close_receipt [17:34:25]json_value_free [17:34:25]json_value_free done [17:34:25]process_json_proto returns [17:34:25]Send response to host [17:34:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33421,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [17:34:25]free response buf [17:34:25]execute_script done [17:34:25]execute_script returns [17:34:25]free content buf [17:34:25]Sock 9.Close socket [17:34:25]Sock 9.Thread stoped [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:19]OFD Sender: No OFD packet to send [17:36:24]OFD Sender: No OFD packet to send [17:36:29]OFD Sender: No OFD packet to send [17:36:34]OFD Sender: No OFD packet to send [17:36:39]OFD Sender: No OFD packet to send [17:36:44]OFD Sender: No OFD packet to send [17:36:49]OFD Sender: No OFD packet to send [17:36:54]OFD Sender: No OFD packet to send [17:36:59]OFD Sender: No OFD packet to send [17:37:04]OFD Sender: No OFD packet to send [17:37:09]OFD Sender: No OFD packet to send [17:37:14]OFD Sender: No OFD packet to send [17:37:19]OFD Sender: No OFD packet to send [17:37:24]OFD Sender: No OFD packet to send [17:37:29]OFD Sender: No OFD packet to send [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:49]OFD Sender: No OFD packet to send [17:56:54]OFD Sender: No OFD packet to send [17:56:59]OFD Sender: No OFD packet to send [17:57:04]OFD Sender: No OFD packet to send [17:57:09]OFD Sender: No OFD packet to send [17:57:14]OFD Sender: No OFD packet to send [17:57:19]OFD Sender: No OFD packet to send [17:57:24]OFD Sender: No OFD packet to send [17:57:29]OFD Sender: No OFD packet to send [17:57:34]OFD Sender: No OFD packet to send [17:57:39]OFD Sender: No OFD packet to send [17:57:44]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:03]accept exits with 7 [17:59:03]New connection [17:59:03]New thread 3066461540 created [17:59:03]Thread 3066604900 joined [17:59:03]Waiting for new connection... [17:59:03] Sock 7.Parse request [17:59:03]Sock 7.Check first char [17:59:03]Sock 7.First char is OK [17:59:03]request: POST /json_proto HTTP/1.0 [17:59:03]Method: POST [17:59:03]URL: /json_proto [17:59:03]Method is POST - this is cgi request [17:59:03]url: /json_proto [17:59:03]query_string will be loaded in cgi processing [17:59:03]execute_cgi json_proto POST (null) [17:59:03]execute_cgi path=json_proto method=POST [17:59:03]POST find Content-Length [17:59:03]Host: 172.17.35.196:8080 [17:59:03]Content-Length: 1101 [17:59:03]Content-Type: application/json [17:59:03] [17:59:03]POST finish read [17:59:03]Found Content-Length = 1101 [17:59:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169234", "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": "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:03]execute_script... [17:59:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169234", "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": "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:03]POST & json_proto [17:59:03]process_json_proto [17:59:03]json parsed OK: [17:59:03]protocol is kg_v1.0 [17:59:03]action value=close_receipt [17:59:03]process_action close_receipt [17:59:03]cmd_close_receipt [17:59:03]MH_GetDate [17:59:03]Write to MH i2c: F0 00 00 CF 1D DB [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: F0 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: F0 09 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: F0 09 00 CF 1D 00 6E C0 92 66 AD 14 F4 65 24 [17:59:03]GetLastDocTimeStamp 1720892068 [17:59:03]current date 1720893550 [17:59:03]FM_GetShiftState [17:59:03]SAM_PROTO_GetShiftState [17:59:03]wFMCommunicate request_size=4 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 13 01 00 [17:59:03]Write to MH i2c: E2 08 00 D0 1D 80 13 01 00 00 00 00 00 6A [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 0E 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 0E 00 D0 1D 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 49 [17:59:03]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [17:59:03]wFMCommunicate OK [17:59:03]SAM_PROTO_GetShiftState done [17:59:03]FM_GetShiftState done [17:59:03]opened in 1720829207 [17:59:03]opened+sec_in_day 1720915607 [17:59:03]quantity*price = 13800 [17:59:03]sum+1 = 13801 [17:59:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.76 Наличными: 0.00 Безнал.: 205.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 41 13.07.2024 17:59 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33422 ФПД: 36427338599330 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T175910&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33422&fm=36427338599330&tin=02508201610067®Number=0000000000093033&sum=20500 0 [17:59:04]StoreToDocumentArchive [17:59:04]shift 434 fd 33422 [17:59:04]save to /storage/0434/doc_00033422 [17:59:04]save last doc name /storage/0434/doc_00033422 to /storage/kkm_last_doc_name [17:59:04]save OK [17:59:04]Clear old archive folders... [17:59:04]ProcessDocumentItem done err = 0, tmpTLVsize=388 [17:59:04]tlvbuf is 00A7BFD0 [17:59:04]SAM_PROTO_ClearQueue [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 09 00 00 [17:59:04]Write to MH i2c: E2 08 00 DD 1D 80 09 00 00 00 00 00 00 6C [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 DD 1D 00 90 00 6E [17:59:04]RAPDU: 90 00 [17:59:04]wFMCommunicate OK [17:59:04]SAM_PROTO_ClearQueue done [17:59:04]KKMCreateOFDPacket [17:59:04]OFDProtocolAddRootSTLVToBuf [17:59:04]FM_MakeSignedData [17:59:04]FM_MakeSignedData [17:59:04]SAM_PROTO_SignData [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 0D 01 02 [17:59:04]Write to MH i2c: E2 08 00 DE 1D 80 0D 01 02 00 00 00 00 74 [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 DE 1D 00 90 00 6F [17:59:04]RAPDU: 90 00 [17:59:04]wFMCommunicate OK [17:59:04]wFMCommunicate request_size=255 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 0D 02 02 FA 03 00 84 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [17:59:04]Write to MH i2c: E2 02 01 DF 1D 80 0D 02 02 FA 00 03 00 84 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 EF [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 DF 1D 00 90 00 70 [17:59:04]RAPDU: 90 00 [17:59:04]wFMCommunicate OK [17:59:04]wFMCommunicate request_size=147 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 0D 02 02 8E F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 6E C0 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8E 82 00 00 35 04 06 00 21 21 66 93 CB A2 [17:59:04]Write to MH i2c: E2 96 00 E0 1D 80 0D 02 02 8E 00 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 6E C0 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8E 82 00 00 35 04 06 00 21 21 66 93 CB A2 00 00 0D [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 03 00 E0 1D 00 90 00 71 [17:59:04]RAPDU: 90 00 [17:59:04]wFMCommunicate OK [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 0D 03 02 [17:59:04]Write to MH i2c: E2 08 00 E1 1D 80 0D 03 02 00 00 00 00 79 [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 0B 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 0B 00 E1 1D 00 9E F8 45 34 FA 03 3C 74 90 00 36 [17:59:04]RAPDU: 9E F8 45 34 FA 03 3C 74 90 00 [17:59:04]wFMCommunicate OK [17:59:04]SAM_PROTO_SignData done [17:59:04]FM_MakeSignedData done [17:59:04]CreateOFDProtocolMessage [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 11 00 00 [17:59:04]Write to MH i2c: E2 08 00 E2 1D 80 11 00 00 00 00 00 00 79 [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 17 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 17 00 E2 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C5 [17:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:59:04]wFMCommunicate OK [17:59:04]CreateOFDProtocolMessage done [17:59:04]OFDSenderStorePacket 33422 [17:59:04]StoreOFDPacket docnum=33422 [17:59:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 98 01 00 00 E4 02 90 01 3B 00 5A 03 01 00 03 00 84 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 6E C0 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8E 82 00 00 35 04 06 00 21 21 66 93 CB A2 9E F8 45 34 FA 03 3C 74 [17:59:04]CheckFolder [17:59:04]dirname=/storage/ofd_packets [17:59:04]CheckFolder done [17:59:04]ProducePacketName [17:59:04]name=ofd_packets/00033422 [17:59:04]NVStorageSaveData ofd_packets/00033422 [17:59:04]File name is /storage/ofd_packets/00033422 [17:59:04]Write 438 bytes [17:59:04]NVStorageSaveData done [17:59:04]OFDSenderStorePacket done [17:59:05]KKMCreateOFDPacket done [17:59:05]NVStorageSaveData kkm_last_timestamp [17:59:05]File name is /storage/kkm_last_timestamp [17:59:05]Write 4 bytes [17:59:05]NVStorageSaveData done [17:59:05]ExternCall_PrintAddStr [17:59:05]wPrintStart [17:59:05]Write to MH i2c: 01 00 00 E3 1D 00 [17:59:05]OFD Sender: Processing packet 33422 [packets to send 6, broken 5] [17:59:05]ProducePacketName [17:59:05]name=ofd_packets/00033422 [17:59:05]OFD Sender: To server: pG, [17:59:05]CommunicateWithHost lk.salyk.kg:30040 [17:59:05]ConnectInit lk.salyk.kg [17:59:05]Write i2c OK [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: 01 [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: 01 07 00 [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: 01 07 00 E3 1D 00 00 00 00 00 FF 0F 15 [17:59:05]RasterBufferAndPrint [17:59:05]line Счет N : (3)169234 [17:59:05]line ИНН: 02508201610067 [17:59:05]line Контрольно-Кассовый Чек [17:59:05]line ПРОДАЖА [17:59:05]line Товар: 4640030091645 [17:59:05]line Сигареты ESSE Exchange M [17:59:05]line 1.000 * 138.00 [17:59:05]line = 138.00 [17:59:05]line НДС 12% НСП 1% [17:59:05]line > о реализуемом товаре [17:59:05]line Товар: 6931280300549 [17:59:05]line Зажигалка Cricket ПН пьезо [17:59:05]line 1.000 * 67.00 [17:59:05]line = 67.00 [17:59:05]line НДС 12% НСП 1% [17:59:05]line > о реализуемом товаре [17:59:05]line ИТОГО: 205.00 [17:59:05]line НСП 1% : 1.81 [17:59:05]line НДС 12% : 21.76 [17:59:05]line Наличными: 0.00 [17:59:05]line Безнал.: 205.00 [17:59:05]line Место: АЗС № 77 "Партнер Нефть" [17:59:05]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:59:05]line СНО: Общий режим [17:59:05]line Чек 41 13.07.2024 17:59 [17:59:05]line Смена: 434 ФФД: 1.0 [17:59:05]line ЗНМ: 0300000122 [17:59:05]line РНМ: 0000000000093033 [17:59:05]line Версия ККМ: 001 [17:59:05]line Платежная система: АКБ Кыргызстан [17:59:05]line ФМ: 0000000000875104 [17:59:05]line ФД: 33422 [17:59:05]line ФПД: 36427338599330 [17:59:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T175910&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33422&fm=36427338599330&tin=02508201610067®Number=0000000000093033&sum=20500 [17:59:05]line 0 [17:59:05]written 0, free lines is 4095 [17:59:05]Connected sock=10 [17:59:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 98 01 00 00 E4 02 90 01 3B 00 5A 03 01 00 03 00 84 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 6E C0 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8E 82 00 00 35 04 06 00 21 21 66 93 CB A2 9E F8 45 34 FA 03 3C 74 [17:59:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 39 8E 47 00 B5 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8E 82 00 00 F4 03 04 00 18 6B 92 66 B6 04 01 00 00 89 AF 23 C0 1A 90 99 E2 [17:59:05]CommunicateWithHost err = 0 [17:59:05]CheckOFDResponse [17:59:05]1017 (14) - 77093643461234 [17:59:05]1041 (16) - 0000000000875104 [17:59:05]1040 (4) - 33422 [17:59:05]1012 (4) - 13.07.2024 11:55 [17:59:05]1206 (1) - 0 [17:59:05]OFD Sender: Remove packet 33422 [17:59:05]ProducePacketName [17:59:05]name=ofd_packets/00033422 [17:59:05]NVStorageDeleteData [17:59:05]Write to MH i2c: 01 00 00 13 1E 31 [17:59:05]Write i2c OK [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: 01 [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: 01 07 00 [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: 01 07 00 13 1E 00 00 00 00 00 82 0C C6 [17:59:05]RasterBufferAndPrint [17:59:05]line [17:59:05]line [17:59:05]line [17:59:05]line [17:59:05]line [17:59:05]written 0, free lines is 3209 [17:59:05]MH_Cut [17:59:05]Write to MH i2c: D1 01 00 1A 1E 01 0A [17:59:05]Write i2c OK [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: D1 [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: D1 01 00 [17:59:05]MH_I2C_Read... [17:59:05]Read from MH i2c: D1 01 00 1A 1E 00 09 [17:59:05]Write to MH i2c: 01 00 00 1B 1E 39 [17:59:05]Write i2c OK [17:59:05]MH_I2C_Read... [17:59:05]OFD Sender: No OFD packet to send [17:59:06]*** Cut start [17:59:06]*** Partial cut [17:59:06]*** CUTSNS_PIN = 1 [17:59:06]*** CUTSNS_PIN = 0 [17:59:06]*** Brake cut motor [17:59:07]Read from MH i2c: 01 [17:59:07]MH_I2C_Read... [17:59:07]*** Stop cut motor [17:59:07]*** Cut end [17:59:07]Read from MH i2c: 01 07 00 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: 01 07 00 1B 1E 00 00 00 00 00 FF 0F 4E [17:59:07]process_action close_receipt done [17:59:07]requested_data is exist [17:59:07]produce_requested_data [17:59:07]requested_item fm.sn is exist - process it [17:59:07]wFMCommunicate request_size=4 [17:59:07]MH_SAM_APDU [17:59:07]CAPDU: 80 11 00 00 [17:59:07]Write to MH i2c: E2 08 00 1C 1E 80 11 00 00 00 00 00 00 B4 [17:59:07]Write i2c OK [17:59:07]MH_I2C_Read... [17:59:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:07]Read from MH i2c: E2 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: E2 17 00 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: E2 17 00 1C 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 00 [17:59:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:59:07]wFMCommunicate OK [17:59:07]requested_item fd.num is exist - process it [17:59:07]SAM_PROTO_GetFieldsCounters [17:59:07]wFMCommunicate request_size=4 [17:59:07]MH_SAM_APDU [17:59:07]CAPDU: 80 13 00 00 [17:59:07]Write to MH i2c: E2 08 00 1D 1E 80 13 00 00 00 00 00 00 B7 [17:59:07]Write i2c OK [17:59:07]MH_I2C_Read... [17:59:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:59:07]Read from MH i2c: E2 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: E2 62 00 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: E2 62 00 1D 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8E 82 00 00 0E 04 04 00 B2 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 08 [17:59:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8E 82 00 00 0E 04 04 00 B2 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 [17:59:07]wFMCommunicate OK [17:59:07]SAM_PROTO_GetFieldsCounters done [17:59:07]requested_item shift.num is exist - process it [17:59:07]requested_item shift.opened is exist - process it [17:59:07]req_shift_opened [17:59:07]FM_GetShiftState [17:59:07]SAM_PROTO_GetShiftState [17:59:07]wFMCommunicate request_size=4 [17:59:07]MH_SAM_APDU [17:59:07]CAPDU: 80 13 01 00 [17:59:07]Write to MH i2c: E2 08 00 1E 1E 80 13 01 00 00 00 00 00 B9 [17:59:07]Write i2c OK [17:59:07]MH_I2C_Read... [17:59:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:07]Read from MH i2c: E2 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: E2 0E 00 [17:59:07]MH_I2C_Read... [17:59:07]Read from MH i2c: E2 0E 00 1E 1E 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 98 [17:59:07]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [17:59:07]wFMCommunicate OK [17:59:07]SAM_PROTO_GetShiftState done [17:59:07]FM_GetShiftState done [17:59:07]req_shift_opened done [17:59:07]requested_item shift.open_date is exist - process it [17:59:07]req_shift_open_date [17:59:07]req_shift_open_date done [17:59:07]produce_requested_data done [17:59:07]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33422,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [17:59:07]process_action_free close_receipt [17:59:07]json_value_free [17:59:07]json_value_free done [17:59:07]process_json_proto returns [17:59:07]Send response to host [17:59:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33422,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [17:59:07]free response buf [17:59:07]execute_script done [17:59:07]execute_script returns [17:59:07]free content buf [17:59:07]Sock 7.Close socket [17:59:07]Sock 7.Thread stoped [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:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]OFD Sender: No OFD packet to send [18:09:56]OFD Sender: No OFD packet to send [18:10:01]OFD Sender: No OFD packet to send [18:10:06]OFD Sender: No OFD packet to send [18:10:11]OFD Sender: No OFD packet to send [18:10:16]OFD Sender: No OFD packet to send [18:10:21]OFD Sender: No OFD packet to send [18:10:26]OFD Sender: No OFD packet to send [18:10:31]OFD Sender: No OFD packet to send [18:10:36]OFD Sender: No OFD packet to send [18:10:41]OFD Sender: No OFD packet to send [18:10:46]OFD Sender: No OFD packet to send [18:10:51]OFD Sender: No OFD packet to send [18:10:56]OFD Sender: No OFD packet to send [18:11:01]OFD Sender: No OFD packet to send [18:11:06]OFD Sender: No OFD packet to send [18:11:11]OFD Sender: No OFD packet to send [18:11:16]OFD Sender: No OFD packet to send [18:11:21]OFD Sender: No OFD packet to send [18:11:26]OFD Sender: No OFD packet to send [18:11:31]OFD Sender: No OFD packet to send [18:11:36]OFD Sender: No OFD packet to send [18:11:41]OFD Sender: No OFD packet to send [18:11:46]OFD Sender: No OFD packet to send [18:11:51]OFD Sender: No OFD packet to send [18:11:56]OFD Sender: No OFD packet to send [18:12:01]OFD Sender: No OFD packet to send [18:12:06]OFD Sender: No OFD packet to send [18:12:11]OFD Sender: No OFD packet to send [18:12:16]OFD Sender: No OFD packet to send [18:12:21]OFD Sender: No OFD packet to send [18:12:26]OFD Sender: No OFD packet to send [18:12:31]OFD Sender: No OFD packet to send [18:12:36]OFD Sender: No OFD packet to send [18:12:41]OFD Sender: No OFD packet to send [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25: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: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:52]OFD Sender: No OFD packet to send [18:33:57]OFD Sender: No OFD packet to send [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:12]OFD Sender: No OFD packet to send [18:34:15]accept exits with 9 [18:34:15]New connection [18:34:15]New thread 3066604900 created [18:34:15]Thread 3066461540 joined [18:34:15]Waiting for new connection... [18:34:15] Sock 9.Parse request [18:34:15]Sock 9.Check first char [18:34:15]Sock 9.First char is OK [18:34:15]request: POST /json_proto HTTP/1.0 [18:34:15]Method: POST [18:34:15]URL: /json_proto [18:34:15]Method is POST - this is cgi request [18:34:15]url: /json_proto [18:34:15]query_string will be loaded in cgi processing [18:34:15]execute_cgi json_proto POST (null) [18:34:15]execute_cgi path=json_proto method=POST [18:34:15]POST find Content-Length [18:34:15]Host: 172.17.35.196:8080 [18:34:15]Content-Length: 955 [18:34:15]Content-Type: application/json [18:34:15] [18:34:15]POST finish read [18:34:15]Found Content-Length = 955 [18:34:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169235", "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:15]execute_script... [18:34:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169235", "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:15]POST & json_proto [18:34:15]process_json_proto [18:34:15]json parsed OK: [18:34:15]protocol is kg_v1.0 [18:34:15]action value=close_receipt [18:34:15]process_action close_receipt [18:34:15]cmd_close_receipt [18:34:15]MH_GetDate [18:34:15]Write to MH i2c: F0 00 00 1F 1E 2C [18:34:15]Write i2c OK [18:34:15]MH_I2C_Read... [18:34:15]Read from MH i2c: F0 [18:34:15]MH_I2C_Read... [18:34:15]Read from MH i2c: F0 09 00 [18:34:15]MH_I2C_Read... [18:34:15]Read from MH i2c: F0 09 00 1F 1E 00 AF C8 92 66 AD 14 F4 65 BE [18:34:15]GetLastDocTimeStamp 1720893550 [18:34:15]current date 1720895663 [18:34:15]FM_GetShiftState [18:34:15]SAM_PROTO_GetShiftState [18:34:15]wFMCommunicate request_size=4 [18:34:15]MH_SAM_APDU [18:34:15]CAPDU: 80 13 01 00 [18:34:15]Write to MH i2c: E2 08 00 20 1E 80 13 01 00 00 00 00 00 BB [18:34:15]Write i2c OK [18:34:15]MH_I2C_Read... [18:34:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:16]Read from MH i2c: E2 [18:34:16]MH_I2C_Read... [18:34:16]Read from MH i2c: E2 0E 00 [18:34:16]MH_I2C_Read... [18:34:16]Read from MH i2c: E2 0E 00 20 1E 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 9A [18:34:16]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [18:34:16]wFMCommunicate OK [18:34:16]SAM_PROTO_GetShiftState done [18:34:16]FM_GetShiftState done [18:34:16]opened in 1720829207 [18:34:16]opened+sec_in_day 1720915607 [18:34:16]quantity*price = 11000 [18:34:16]sum+1 = 11001 [18:34:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46116482 Жев Orbit ягодный микс 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 42 13.07.2024 18:34 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33423 ФПД: 103392517579826 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T183423&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33423&fm=103392517579826&tin=02508201610067®Number=0000000000093033&sum=15500 0 [18:34:17]StoreToDocumentArchive [18:34:17]shift 434 fd 33423 [18:34:17]save to /storage/0434/doc_00033423 [18:34:17]save last doc name /storage/0434/doc_00033423 to /storage/kkm_last_doc_name [18:34:17]save OK [18:34:17]Clear old archive folders... [18:34:17]ProcessDocumentItem done err = 0, tmpTLVsize=399 [18:34:17]tlvbuf is 00ABC550 [18:34:17]SAM_PROTO_ClearQueue [18:34:17]wFMCommunicate request_size=4 [18:34:17]MH_SAM_APDU [18:34:17]CAPDU: 80 09 00 00 [18:34:17]Write to MH i2c: E2 08 00 2D 1E 80 09 00 00 00 00 00 00 BD [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:17]Read from MH i2c: E2 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 2D 1E 00 90 00 BF [18:34:17]RAPDU: 90 00 [18:34:17]wFMCommunicate OK [18:34:17]SAM_PROTO_ClearQueue done [18:34:17]KKMCreateOFDPacket [18:34:17]OFDProtocolAddRootSTLVToBuf [18:34:17]FM_MakeSignedData [18:34:17]FM_MakeSignedData [18:34:17]SAM_PROTO_SignData [18:34:17]wFMCommunicate request_size=4 [18:34:17]MH_SAM_APDU [18:34:17]CAPDU: 80 0D 01 02 [18:34:17]Write to MH i2c: E2 08 00 2E 1E 80 0D 01 02 00 00 00 00 C5 [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:17]Read from MH i2c: E2 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 2E 1E 00 90 00 C0 [18:34:17]RAPDU: 90 00 [18:34:17]wFMCommunicate OK [18:34:17]wFMCommunicate request_size=255 [18:34:17]MH_SAM_APDU [18:34:17]CAPDU: 80 0D 02 02 FA 03 00 8F 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 [18:34:17]Write to MH i2c: E2 02 01 2F 1E 80 0D 02 02 FA 00 03 00 8F 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 00 00 45 [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:17]Read from MH i2c: E2 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 2F 1E 00 90 00 C1 [18:34:17]RAPDU: 90 00 [18:34:17]wFMCommunicate OK [18:34:17]wFMCommunicate request_size=158 [18:34:17]MH_SAM_APDU [18:34:17]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AF C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8F 82 00 00 35 04 06 00 5E 08 F2 48 64 32 [18:34:17]Write to MH i2c: E2 A1 00 30 1E 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AF C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8F 82 00 00 35 04 06 00 5E 08 F2 48 64 32 00 00 93 [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:17]Read from MH i2c: E2 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 03 00 30 1E 00 90 00 C2 [18:34:17]RAPDU: 90 00 [18:34:17]wFMCommunicate OK [18:34:17]wFMCommunicate request_size=4 [18:34:17]MH_SAM_APDU [18:34:17]CAPDU: 80 0D 03 02 [18:34:17]Write to MH i2c: E2 08 00 31 1E 80 0D 03 02 00 00 00 00 CA [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]OFD Sender: No OFD packet to send [18:34:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:17]Read from MH i2c: E2 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 0B 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 0B 00 31 1E 00 2B 42 CF E7 5F 5C B9 F8 90 00 5A [18:34:17]RAPDU: 2B 42 CF E7 5F 5C B9 F8 90 00 [18:34:17]wFMCommunicate OK [18:34:17]SAM_PROTO_SignData done [18:34:17]FM_MakeSignedData done [18:34:17]CreateOFDProtocolMessage [18:34:17]wFMCommunicate request_size=4 [18:34:17]MH_SAM_APDU [18:34:17]CAPDU: 80 11 00 00 [18:34:17]Write to MH i2c: E2 08 00 32 1E 80 11 00 00 00 00 00 00 CA [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:17]Read from MH i2c: E2 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 17 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: E2 17 00 32 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 16 [18:34:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:34:17]wFMCommunicate OK [18:34:17]CreateOFDProtocolMessage done [18:34:17]OFDSenderStorePacket 33423 [18:34:17]StoreOFDPacket docnum=33423 [18:34:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A3 01 00 00 3A FF 9B 01 C2 8F 5A 03 01 00 03 00 8F 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AF C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8F 82 00 00 35 04 06 00 5E 08 F2 48 64 32 2B 42 CF E7 5F 5C B9 F8 [18:34:17]CheckFolder [18:34:17]dirname=/storage/ofd_packets [18:34:17]CheckFolder done [18:34:17]ProducePacketName [18:34:17]name=ofd_packets/00033423 [18:34:17]NVStorageSaveData ofd_packets/00033423 [18:34:17]File name is /storage/ofd_packets/00033423 [18:34:17]Write 449 bytes [18:34:17]NVStorageSaveData done [18:34:17]OFDSenderStorePacket done [18:34:17]KKMCreateOFDPacket done [18:34:17]NVStorageSaveData kkm_last_timestamp [18:34:17]File name is /storage/kkm_last_timestamp [18:34:17]Write 4 bytes [18:34:17]NVStorageSaveData done [18:34:17]ExternCall_PrintAddStr [18:34:17]wPrintStart [18:34:17]Write to MH i2c: 01 00 00 33 1E 51 [18:34:17]Write i2c OK [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: 01 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: 01 07 00 [18:34:17]MH_I2C_Read... [18:34:17]Read from MH i2c: 01 07 00 33 1E 00 00 00 00 00 FF 0F 66 [18:34:17]RasterBufferAndPrint [18:34:18]line Счет N : (3)169235 [18:34:18]line ИНН: 02508201610067 [18:34:18]line Контрольно-Кассовый Чек [18:34:18]line ПРОДАЖА [18:34:18]line Товар: 4870202521261 [18:34:18]line Напиток MAXI чай 1,2 лесные ягоды [18:34:18]line 1.000 * 110.00 [18:34:18]line = 110.00 [18:34:18]line НДС 12% НСП 1% [18:34:18]line > о реализуемом товаре [18:34:18]line Товар: 46116482 [18:34:18]line Жев Orbit ягодный микс [18:34:18]line 1.000 * 45.00 [18:34:18]line = 45.00 [18:34:18]line НДС 12% НСП 1% [18:34:18]line > о реализуемом товаре [18:34:18]line ИТОГО: 155.00 [18:34:18]line НСП 1% : 1.37 [18:34:18]line НДС 12% : 16.46 [18:34:18]line Наличными: 155.00 [18:34:18]line Безнал.: 0.00 [18:34:18]line Место: АЗС № 77 "Партнер Нефть" [18:34:18]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:34:18]line СНО: Общий режим [18:34:18]line Чек 42 13.07.2024 18:34 [18:34:18]line Смена: 434 ФФД: 1.0 [18:34:18]line ЗНМ: 0300000122 [18:34:18]line РНМ: 0000000000093033 [18:34:18]line Версия ККМ: 001 [18:34:18]line ФМ: 0000000000875104 [18:34:18]line ФД: 33423 [18:34:18]line ФПД: 103392517579826 [18:34:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T183423&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33423&fm=103392517579826&tin=02508201610067®Number=0000000000093033&sum=15500 [18:34:18]OFD Sender: Processing packet 33423 [packets to send 6, broken 5] [18:34:18]ProducePacketName [18:34:18]name=ofd_packets/00033423 [18:34:18]OFD Sender: To server: pG, [18:34:18]CommunicateWithHost lk.salyk.kg:30040 [18:34:18]ConnectInit lk.salyk.kg [18:34:18]line 0 [18:34:18]written 0, free lines is 4095 [18:34:18]Connected sock=10 [18:34:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 A3 01 00 00 3A FF 9B 01 C2 8F 5A 03 01 00 03 00 8F 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AF C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 8F 82 00 00 35 04 06 00 5E 08 F2 48 64 32 2B 42 CF E7 5F 5C B9 F8 [18:34:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 56 7B 47 00 BB 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 35 31 30 34 10 04 04 00 8F 82 00 00 F4 03 04 00 59 73 92 66 B6 04 01 00 00 26 2F B8 16 35 E2 5C C9 [18:34:18]CommunicateWithHost err = 0 [18:34:18]CheckOFDResponse [18:34:18]1017 (14) - 77093643461234 [18:34:18]1041 (16) - 0000000000875104 [18:34:18]1040 (4) - 33423 [18:34:18]1012 (4) - 13.07.2024 12:30 [18:34:18]1206 (1) - 0 [18:34:18]OFD Sender: Remove packet 33423 [18:34:18]ProducePacketName [18:34:18]name=ofd_packets/00033423 [18:34:18]NVStorageDeleteData [18:34:18]Write to MH i2c: 01 00 00 62 1E 80 [18:34:18]Write i2c OK [18:34:18]MH_I2C_Read... [18:34:18]Read from MH i2c: 01 [18:34:18]MH_I2C_Read... [18:34:18]Read from MH i2c: 01 07 00 [18:34:18]MH_I2C_Read... [18:34:18]Read from MH i2c: 01 07 00 62 1E 00 00 00 00 00 90 0C 23 [18:34:18]RasterBufferAndPrint [18:34:18]line [18:34:18]line [18:34:18]line [18:34:18]line [18:34:18]line [18:34:18]written 0, free lines is 3221 [18:34:18]MH_Cut [18:34:18]Write to MH i2c: D1 01 00 69 1E 01 59 [18:34:18]Write i2c OK [18:34:18]MH_I2C_Read... [18:34:18]Read from MH i2c: D1 [18:34:18]MH_I2C_Read... [18:34:18]Read from MH i2c: D1 01 00 [18:34:18]MH_I2C_Read... [18:34:18]Read from MH i2c: D1 01 00 69 1E 00 58 [18:34:18]Write to MH i2c: 01 00 00 6A 1E 88 [18:34:18]Write i2c OK [18:34:18]MH_I2C_Read... [18:34:18]OFD Sender: No OFD packet to send [18:34:19]*** Cut start [18:34:19]*** Partial cut [18:34:19]*** CUTSNS_PIN = 1 [18:34:19]*** CUTSNS_PIN = 0 [18:34:19]*** Brake cut motor [18:34:20]Read from MH i2c: 01 [18:34:20]MH_I2C_Read... [18:34:20]*** Stop cut motor [18:34:20]*** Cut end [18:34:20]Read from MH i2c: 01 07 00 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: 01 07 00 6A 1E 00 00 00 00 00 FF 0F 9D [18:34:20]process_action close_receipt done [18:34:20]requested_data is exist [18:34:20]produce_requested_data [18:34:20]requested_item fm.sn is exist - process it [18:34:20]wFMCommunicate request_size=4 [18:34:20]MH_SAM_APDU [18:34:20]CAPDU: 80 11 00 00 [18:34:20]Write to MH i2c: E2 08 00 6B 1E 80 11 00 00 00 00 00 00 03 [18:34:20]Write i2c OK [18:34:20]MH_I2C_Read... [18:34:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:20]Read from MH i2c: E2 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: E2 17 00 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: E2 17 00 6B 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4F [18:34:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:34:20]wFMCommunicate OK [18:34:20]requested_item fd.num is exist - process it [18:34:20]SAM_PROTO_GetFieldsCounters [18:34:20]wFMCommunicate request_size=4 [18:34:20]MH_SAM_APDU [18:34:20]CAPDU: 80 13 00 00 [18:34:20]Write to MH i2c: E2 08 00 6C 1E 80 13 00 00 00 00 00 00 06 [18:34:20]Write i2c OK [18:34:20]MH_I2C_Read... [18:34:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:20]Read from MH i2c: E2 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: E2 62 00 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: E2 62 00 6C 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8F 82 00 00 0E 04 04 00 B2 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 5B [18:34:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 8F 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:20]wFMCommunicate OK [18:34:20]SAM_PROTO_GetFieldsCounters done [18:34:20]requested_item shift.num is exist - process it [18:34:20]requested_item shift.opened is exist - process it [18:34:20]req_shift_opened [18:34:20]FM_GetShiftState [18:34:20]SAM_PROTO_GetShiftState [18:34:20]wFMCommunicate request_size=4 [18:34:20]MH_SAM_APDU [18:34:20]CAPDU: 80 13 01 00 [18:34:20]Write to MH i2c: E2 08 00 6D 1E 80 13 01 00 00 00 00 00 08 [18:34:20]Write i2c OK [18:34:20]MH_I2C_Read... [18:34:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:20]Read from MH i2c: E2 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: E2 0E 00 [18:34:20]MH_I2C_Read... [18:34:20]Read from MH i2c: E2 0E 00 6D 1E 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 E7 [18:34:20]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [18:34:20]wFMCommunicate OK [18:34:20]SAM_PROTO_GetShiftState done [18:34:20]FM_GetShiftState done [18:34:20]req_shift_opened done [18:34:20]requested_item shift.open_date is exist - process it [18:34:20]req_shift_open_date [18:34:20]req_shift_open_date done [18:34:20]produce_requested_data done [18:34:20]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33423,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [18:34:20]process_action_free close_receipt [18:34:20]json_value_free [18:34:20]json_value_free done [18:34:20]process_json_proto returns [18:34:20]Send response to host [18:34:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33423,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [18:34:20]free response buf [18:34:20]execute_script done [18:34:20]execute_script returns [18:34:20]free content buf [18:34:20]Sock 9.Close socket [18:34:20]Sock 9.Thread stoped [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:29]accept exits with 7 [18:35:29]New connection [18:35:29]New thread 3066461540 created [18:35:29]Thread 3066604900 joined [18:35:29]Waiting for new connection... [18:35:29] Sock 7.Parse request [18:35:29]Sock 7.Check first char [18:35:29]Sock 7.First char is OK [18:35:29]request: POST /json_proto HTTP/1.0 [18:35:29]Method: POST [18:35:29]URL: /json_proto [18:35:29]Method is POST - this is cgi request [18:35:29]url: /json_proto [18:35:29]query_string will be loaded in cgi processing [18:35:29]execute_cgi json_proto POST (null) [18:35:29]execute_cgi path=json_proto method=POST [18:35:29]POST find Content-Length [18:35:29]Host: 172.17.35.196:8080 [18:35:29]Content-Length: 931 [18:35:29]Content-Type: application/json [18:35:29] [18:35:29]POST finish read [18:35:29]Found Content-Length = 931 [18:35:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169236", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.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" : 232.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:29]execute_script... [18:35:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169236", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.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" : 232.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:29]POST & json_proto [18:35:29]process_json_proto [18:35:29]json parsed OK: [18:35:29]protocol is kg_v1.0 [18:35:29]action value=close_receipt [18:35:29]process_action close_receipt [18:35:29]cmd_close_receipt [18:35:29]MH_GetDate [18:35:29]Write to MH i2c: F0 00 00 6E 1E 7B [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: F0 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: F0 09 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: F0 09 00 6E 1E 00 F9 C8 92 66 AD 14 F4 65 57 [18:35:29]GetLastDocTimeStamp 1720895663 [18:35:29]current date 1720895737 [18:35:29]FM_GetShiftState [18:35:29]SAM_PROTO_GetShiftState [18:35:29]wFMCommunicate request_size=4 [18:35:29]MH_SAM_APDU [18:35:29]CAPDU: 80 13 01 00 [18:35:29]Write to MH i2c: E2 08 00 6F 1E 80 13 01 00 00 00 00 00 0A [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:29]Read from MH i2c: E2 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 0E 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 0E 00 6F 1E 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 E9 [18:35:29]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [18:35:29]wFMCommunicate OK [18:35:29]SAM_PROTO_GetShiftState done [18:35:29]FM_GetShiftState done [18:35:29]opened in 1720829207 [18:35:29]opened+sec_in_day 1720915607 [18:35:29]quantity*price = 15700 [18:35:29]sum+1 = 15701 [18:35:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189394 Холодный чай Fuse ягода 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 232.00 НСП 1% : 2.05 НДС 12% : 24.63 Наличными: 232.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 43 13.07.2024 18:35 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33424 ФПД: 56840992399399 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T183537&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33424&fm=56840992399399&tin=02508201610067®Number=0000000000093033&sum=23200 0 [18:35:31]StoreToDocumentArchive [18:35:31]shift 434 fd 33424 [18:35:31]save to /storage/0434/doc_00033424 [18:35:31]save last doc name /storage/0434/doc_00033424 to /storage/kkm_last_doc_name [18:35:31]save OK [18:35:31]Clear old archive folders... [18:35:31]ProcessDocumentItem done err = 0, tmpTLVsize=395 [18:35:31]tlvbuf is 00AF16D0 [18:35:31]SAM_PROTO_ClearQueue [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 09 00 00 [18:35:31]Write to MH i2c: E2 08 00 7C 1E 80 09 00 00 00 00 00 00 0C [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 7C 1E 00 90 00 0E [18:35:31]RAPDU: 90 00 [18:35:31]wFMCommunicate OK [18:35:31]SAM_PROTO_ClearQueue done [18:35:31]KKMCreateOFDPacket [18:35:31]OFDProtocolAddRootSTLVToBuf [18:35:31]FM_MakeSignedData [18:35:31]FM_MakeSignedData [18:35:31]SAM_PROTO_SignData [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 0D 01 02 [18:35:31]Write to MH i2c: E2 08 00 7D 1E 80 0D 01 02 00 00 00 00 14 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 7D 1E 00 90 00 0F [18:35:31]RAPDU: 90 00 [18:35:31]wFMCommunicate OK [18:35:31]wFMCommunicate request_size=255 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 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 A0 5A 00 00 00 00 EB 03 26 00 EF 03 [18:35:31]Write to MH i2c: E2 02 01 7E 1E 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 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 A0 5A 00 00 00 00 EB 03 26 00 EF 03 00 00 70 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 7E 1E 00 90 00 10 [18:35:31]RAPDU: 90 00 [18:35:31]wFMCommunicate OK [18:35:31]wFMCommunicate request_size=154 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 CD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 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 F9 C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 90 82 00 00 35 04 06 00 33 B2 53 29 20 27 [18:35:31]Write to MH i2c: E2 9D 00 7F 1E 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 CD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 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 F9 C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 90 82 00 00 35 04 06 00 33 B2 53 29 20 27 00 00 2A [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 03 00 7F 1E 00 90 00 11 [18:35:31]RAPDU: 90 00 [18:35:31]wFMCommunicate OK [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 0D 03 02 [18:35:31]Write to MH i2c: E2 08 00 80 1E 80 0D 03 02 00 00 00 00 19 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 0B 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 0B 00 80 1E 00 6F FA 28 BF 02 BE 26 F2 90 00 42 [18:35:31]RAPDU: 6F FA 28 BF 02 BE 26 F2 90 00 [18:35:31]wFMCommunicate OK [18:35:31]SAM_PROTO_SignData done [18:35:31]FM_MakeSignedData done [18:35:31]CreateOFDProtocolMessage [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 11 00 00 [18:35:31]Write to MH i2c: E2 08 00 81 1E 80 11 00 00 00 00 00 00 19 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 17 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 17 00 81 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 65 [18:35:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:35:31]wFMCommunicate OK [18:35:31]CreateOFDProtocolMessage done [18:35:31]OFDSenderStorePacket 33424 [18:35:31]StoreOFDPacket docnum=33424 [18:35:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 9F 01 00 00 30 E7 97 01 B7 84 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 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 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 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 F9 C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 90 82 00 00 35 04 06 00 33 B2 53 29 20 27 6F FA 28 BF 02 BE 26 F2 [18:35:31]CheckFolder [18:35:31]dirname=/storage/ofd_packets [18:35:31]CheckFolder done [18:35:31]ProducePacketName [18:35:31]name=ofd_packets/00033424 [18:35:31]NVStorageSaveData ofd_packets/00033424 [18:35:31]File name is /storage/ofd_packets/00033424 [18:35:31]Write 445 bytes [18:35:31]NVStorageSaveData done [18:35:31]OFDSenderStorePacket done [18:35:31]KKMCreateOFDPacket done [18:35:31]NVStorageSaveData kkm_last_timestamp [18:35:31]File name is /storage/kkm_last_timestamp [18:35:31]Write 4 bytes [18:35:31]NVStorageSaveData done [18:35:31]ExternCall_PrintAddStr [18:35:31]wPrintStart [18:35:31]Write to MH i2c: 01 00 00 82 1E A0 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 07 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 07 00 82 1E 00 00 00 00 00 FF 0F B5 [18:35:31]RasterBufferAndPrint [18:35:31]line Счет N : (3)169236 [18:35:31]line ИНН: 02508201610067 [18:35:31]line Контрольно-Кассовый Чек [18:35:32]line ПРОДАЖА [18:35:32]line Товар: 90162602 [18:35:32]line Энерг напиток Red bull 0,25л [18:35:32]line 1.000 * 157.00 [18:35:32]line = 157.00 [18:35:32]line НДС 12% НСП 1% [18:35:32]line > о реализуемом товаре [18:35:32]line Товар: 5449000189394 [18:35:32]line Холодный чай Fuse ягода 0,5л [18:35:32]line 1.000 * 75.00 [18:35:32]line = 75.00 [18:35:32]line НДС 12% НСП 1% [18:35:32]line > о реализуемом товаре [18:35:32]line ИТОГО: 232.00 [18:35:32]line НСП 1% : 2.05 [18:35:32]line НДС 12% : 24.63 [18:35:32]line Наличными: 232.00 [18:35:32]line Безнал.: 0.00 [18:35:32]line Место: АЗС № 77 "Партнер Нефть" [18:35:32]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:35:32]line СНО: Общий режим [18:35:32]line Чек 43 13.07.2024 18:35 [18:35:32]line Смена: 434 ФФД: 1.0 [18:35:32]line ЗНМ: 0300000122 [18:35:32]line РНМ: 0000000000093033 [18:35:32]line Версия ККМ: 001 [18:35:32]line ФМ: 0000000000875104 [18:35:32]line ФД: 33424 [18:35:32]line ФПД: 56840992399399 [18:35:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T183537&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33424&fm=56840992399399&tin=02508201610067®Number=0000000000093033&sum=23200 [18:35:32]line 0 [18:35:32]OFD Sender: Processing packet 33424 [packets to send 6, broken 5] [18:35:32]ProducePacketName [18:35:32]name=ofd_packets/00033424 [18:35:32]OFD Sender: To server: pG, [18:35:32]CommunicateWithHost lk.salyk.kg:30040 [18:35:32]ConnectInit lk.salyk.kg [18:35:32]written 0, free lines is 4095 [18:35:32]Connected sock=10 [18:35:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 9F 01 00 00 30 E7 97 01 B7 84 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 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 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 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 F9 C8 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 90 82 00 00 35 04 06 00 33 B2 53 29 20 27 6F FA 28 BF 02 BE 26 F2 [18:35:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 1D 95 47 00 51 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 90 82 00 00 F4 03 04 00 A3 73 92 66 B6 04 01 00 00 16 7D 9C 3D 63 2A CE 6E [18:35:32]CommunicateWithHost err = 0 [18:35:32]CheckOFDResponse [18:35:32]1017 (14) - 77093643461234 [18:35:32]1041 (16) - 0000000000875104 [18:35:32]1040 (4) - 33424 [18:35:32]1012 (4) - 13.07.2024 12:31 [18:35:32]1206 (1) - 0 [18:35:32]OFD Sender: Remove packet 33424 [18:35:32]ProducePacketName [18:35:32]name=ofd_packets/00033424 [18:35:32]NVStorageDeleteData [18:35:32]Write to MH i2c: 01 00 00 B0 1E CE [18:35:32]Write i2c OK [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: 01 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: 01 07 00 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: 01 07 00 B0 1E 00 00 00 00 00 9D 0C 7E [18:35:32]RasterBufferAndPrint [18:35:32]line [18:35:32]line [18:35:32]line [18:35:32]line [18:35:32]line [18:35:32]written 0, free lines is 3235 [18:35:32]MH_Cut [18:35:32]Write to MH i2c: D1 01 00 B7 1E 01 A7 [18:35:32]Write i2c OK [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: D1 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: D1 01 00 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: D1 01 00 B7 1E 00 A6 [18:35:32]Write to MH i2c: 01 00 00 B8 1E D6 [18:35:32]Write i2c OK [18:35:32]MH_I2C_Read... [18:35:32]OFD Sender: No OFD packet to send [18:35:33]*** Cut start [18:35:33]*** Partial cut [18:35:33]*** CUTSNS_PIN = 1 [18:35:33]*** CUTSNS_PIN = 0 [18:35:33]*** Brake cut motor [18:35:33]Read from MH i2c: 01 [18:35:33]MH_I2C_Read... [18:35:33]*** Stop cut motor [18:35:33]*** Cut end [18:35:33]Read from MH i2c: 01 07 00 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: 01 07 00 B8 1E 00 00 00 00 00 FF 0F EB [18:35:33]process_action close_receipt done [18:35:33]requested_data is exist [18:35:33]produce_requested_data [18:35:33]requested_item fm.sn is exist - process it [18:35:33]wFMCommunicate request_size=4 [18:35:33]MH_SAM_APDU [18:35:33]CAPDU: 80 11 00 00 [18:35:33]Write to MH i2c: E2 08 00 B9 1E 80 11 00 00 00 00 00 00 51 [18:35:33]Write i2c OK [18:35:33]MH_I2C_Read... [18:35:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:34]Read from MH i2c: E2 [18:35:34]MH_I2C_Read... [18:35:34]Read from MH i2c: E2 17 00 [18:35:34]MH_I2C_Read... [18:35:34]Read from MH i2c: E2 17 00 B9 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9D [18:35:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:35:34]wFMCommunicate OK [18:35:34]requested_item fd.num is exist - process it [18:35:34]SAM_PROTO_GetFieldsCounters [18:35:34]wFMCommunicate request_size=4 [18:35:34]MH_SAM_APDU [18:35:34]CAPDU: 80 13 00 00 [18:35:34]Write to MH i2c: E2 08 00 BA 1E 80 13 00 00 00 00 00 00 54 [18:35:34]Write i2c OK [18:35:34]MH_I2C_Read... [18:35:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:34]Read from MH i2c: E2 [18:35:34]MH_I2C_Read... [18:35:34]Read from MH i2c: E2 62 00 [18:35:34]MH_I2C_Read... [18:35:34]Read from MH i2c: E2 62 00 BA 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 90 82 00 00 0E 04 04 00 B2 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 AD [18:35:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 90 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:34]wFMCommunicate OK [18:35:34]SAM_PROTO_GetFieldsCounters done [18:35:34]requested_item shift.num is exist - process it [18:35:34]requested_item shift.opened is exist - process it [18:35:34]req_shift_opened [18:35:34]FM_GetShiftState [18:35:34]SAM_PROTO_GetShiftState [18:35:34]wFMCommunicate request_size=4 [18:35:34]MH_SAM_APDU [18:35:34]CAPDU: 80 13 01 00 [18:35:34]Write to MH i2c: E2 08 00 BB 1E 80 13 01 00 00 00 00 00 56 [18:35:34]Write i2c OK [18:35:34]MH_I2C_Read... [18:35:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:34]Read from MH i2c: E2 [18:35:34]MH_I2C_Read... [18:35:34]Read from MH i2c: E2 0E 00 [18:35:34]MH_I2C_Read... [18:35:34]Read from MH i2c: E2 0E 00 BB 1E 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 35 [18:35:34]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [18:35:34]wFMCommunicate OK [18:35:34]SAM_PROTO_GetShiftState done [18:35:34]FM_GetShiftState done [18:35:34]req_shift_opened done [18:35:34]requested_item shift.open_date is exist - process it [18:35:34]req_shift_open_date [18:35:34]req_shift_open_date done [18:35:34]produce_requested_data done [18:35:34]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33424,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [18:35:34]process_action_free close_receipt [18:35:34]json_value_free [18:35:34]json_value_free done [18:35:34]process_json_proto returns [18:35:34]Send response to host [18:35:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33424,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [18:35:34]free response buf [18:35:34]execute_script done [18:35:34]execute_script returns [18:35:34]free content buf [18:35:34]Sock 7.Close socket [18:35:34]Sock 7.Thread stoped [18:35:37]OFD Sender: No OFD packet to send [18:35:42]OFD Sender: No OFD packet to send [18:35:47]OFD Sender: No OFD packet to send [18:35:52]OFD Sender: No OFD packet to send [18:35:57]OFD Sender: No OFD packet to send [18:36:02]OFD Sender: No OFD packet to send [18:36:07]OFD Sender: No OFD packet to send [18:36:12]OFD Sender: No OFD packet to send [18:36:17]OFD Sender: No OFD packet to send [18:36:22]OFD Sender: No OFD packet to send [18:36:27]OFD Sender: No OFD packet to send [18:36:32]OFD Sender: No OFD packet to send [18:36:37]OFD Sender: No OFD packet to send [18:36:42]OFD Sender: No OFD packet to send [18:36:47]OFD Sender: No OFD packet to send [18:36:52]OFD Sender: No OFD packet to send [18:36:57]OFD Sender: No OFD packet to send [18:37:02]OFD Sender: No OFD packet to send [18:37:07]OFD Sender: No OFD packet to send [18:37:12]OFD Sender: No OFD packet to send [18:37:17]OFD Sender: No OFD packet to send [18:37:22]OFD Sender: No OFD packet to send [18:37:27]OFD Sender: No OFD packet to send [18:37:32]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:42]OFD Sender: No OFD packet to send [18:37:47]OFD Sender: No OFD packet to send [18:37:52]OFD Sender: No OFD packet to send [18:37:57]OFD Sender: No OFD packet to send [18:38:02]OFD Sender: No OFD packet to send [18:38:07]OFD Sender: No OFD packet to send [18:38:12]OFD Sender: No OFD packet to send [18:38:17]OFD Sender: No OFD packet to send [18:38:22]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:33]OFD Sender: No OFD packet to send [18:51:38]OFD Sender: No OFD packet to send [18:51:43]OFD Sender: No OFD packet to send [18:51:48]OFD Sender: No OFD packet to send [18:51:53]OFD Sender: No OFD packet to send [18:51:58]OFD Sender: No OFD packet to send [18:52:03]OFD Sender: No OFD packet to send [18:52:08]OFD Sender: No OFD packet to send [18:52:13]OFD Sender: No OFD packet to send [18:52:18]OFD Sender: No OFD packet to send [18:52:23]OFD Sender: No OFD packet to send [18:52:28]OFD Sender: No OFD packet to send [18:52:33]OFD Sender: No OFD packet to send [18:52:38]OFD Sender: No OFD packet to send [18:52:43]OFD Sender: No OFD packet to send [18:52:48]OFD Sender: No OFD packet to send [18:52:53]OFD Sender: No OFD packet to send [18:52:58]OFD Sender: No OFD packet to send [18:53:03]OFD Sender: No OFD packet to send [18:53:08]OFD Sender: No OFD packet to send [18:53:13]OFD Sender: No OFD packet to send [18:53:18]OFD Sender: No OFD packet to send [18:53:23]OFD Sender: No OFD packet to send [18:53:28]OFD Sender: No OFD packet to send [18:53:33]OFD Sender: No OFD packet to send [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:23]OFD Sender: No OFD packet to send [18:54:28]OFD Sender: No OFD packet to send [18:54:33]OFD Sender: No OFD packet to send [18:54:38]OFD Sender: No OFD packet to send [18:54:43]OFD Sender: No OFD packet to send [18:54:48]OFD Sender: No OFD packet to send [18:54:53]OFD Sender: No OFD packet to send [18:54:58]OFD Sender: No OFD packet to send [18:55:03]OFD Sender: No OFD packet to send [18:55:08]OFD Sender: No OFD packet to send [18:55:13]OFD Sender: No OFD packet to send [18:55:18]OFD Sender: No OFD packet to send [18:55:23]OFD Sender: No OFD packet to send [18:55:28]OFD Sender: No OFD packet to send [18:55:33]OFD Sender: No OFD packet to send [18:55:38]OFD Sender: No OFD packet to send [18:55:43]OFD Sender: No OFD packet to send [18:55:48]OFD Sender: No OFD packet to send [18:55:53]OFD Sender: No OFD packet to send [18:55:58]OFD Sender: No OFD packet to send [18:56:03]OFD Sender: No OFD packet to send [18:56:08]OFD Sender: No OFD packet to send [18:56:13]OFD Sender: No OFD packet to send [18:56:18]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]OFD Sender: No OFD packet to send [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:03]OFD Sender: No OFD packet to send [18:58:08]OFD Sender: No OFD packet to send [18:58:13]OFD Sender: No OFD packet to send [18:58:18]OFD Sender: No OFD packet to send [18:58:23]OFD Sender: No OFD packet to send [18:58:28]OFD Sender: No OFD packet to send [18:58:33]OFD Sender: No OFD packet to send [18:58:38]OFD Sender: No OFD packet to send [18:58:43]OFD Sender: No OFD packet to send [18:58:48]OFD Sender: No OFD packet to send [18:58:53]OFD Sender: No OFD packet to send [18:58:58]OFD Sender: No OFD packet to send [18:59:03]OFD Sender: No OFD packet to send [18:59:08]OFD Sender: No OFD packet to send [18:59:13]OFD Sender: No OFD packet to send [18:59:18]OFD Sender: No OFD packet to send [18:59:23]OFD Sender: No OFD packet to send [18:59:28]OFD Sender: No OFD packet to send [18:59:33]OFD Sender: No OFD packet to send [18:59:38]OFD Sender: No OFD packet to send [18:59:43]OFD Sender: No OFD packet to send [18:59:48]OFD Sender: No OFD packet to send [18:59:53]OFD Sender: No OFD packet to send [18:59:58]OFD Sender: No OFD packet to send [19:00:03]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:24]OFD Sender: No OFD packet to send [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:59]OFD Sender: No OFD packet to send [19:10:04]OFD Sender: No OFD packet to send [19:10:09]OFD Sender: No OFD packet to send [19:10:14]OFD Sender: No OFD packet to send [19:10:19]OFD Sender: No OFD packet to send [19:10:24]OFD Sender: No OFD packet to send [19:10:29]OFD Sender: No OFD packet to send [19:10:34]OFD Sender: No OFD packet to send [19:10:39]OFD Sender: No OFD packet to send [19:10:44]OFD Sender: No OFD packet to send [19:10:49]OFD Sender: No OFD packet to send [19:10:54]OFD Sender: No OFD packet to send [19:10:59]OFD Sender: No OFD packet to send [19:11:04]OFD Sender: No OFD packet to send [19:11:09]OFD Sender: No OFD packet to send [19:11:14]OFD Sender: No OFD packet to send [19:11:19]OFD Sender: No OFD packet to send [19:11:24]OFD Sender: No OFD packet to send [19:11:29]OFD Sender: No OFD packet to send [19:11:34]OFD Sender: No OFD packet to send [19:11:39]OFD Sender: No OFD packet to send [19:11:44]OFD Sender: No OFD packet to send [19:11:49]OFD Sender: No OFD packet to send [19:11:54]OFD Sender: No OFD packet to send [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:05]OFD Sender: No OFD packet to send [19:22:10]OFD Sender: No OFD packet to send [19:22:15]OFD Sender: No OFD packet to send [19:22:20]OFD Sender: No OFD packet to send [19:22:25]OFD Sender: No OFD packet to send [19:22:30]OFD Sender: No OFD packet to send [19:22:35]OFD Sender: No OFD packet to send [19:22:40]OFD Sender: No OFD packet to send [19:22:45]OFD Sender: No OFD packet to send [19:22:50]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:17]accept exits with 9 [19:38:17]New connection [19:38:17]New thread 3066604900 created [19:38:17]Thread 3066461540 joined [19:38:17]Waiting for new connection... [19:38:17] Sock 9.Parse request [19:38:17]Sock 9.Check first char [19:38:17]Sock 9.First char is OK [19:38:17]request: POST /json_proto HTTP/1.0 [19:38:17]Method: POST [19:38:17]URL: /json_proto [19:38:17]Method is POST - this is cgi request [19:38:17]url: /json_proto [19:38:17]query_string will be loaded in cgi processing [19:38:17]execute_cgi json_proto POST (null) [19:38:17]execute_cgi path=json_proto method=POST [19:38:17]POST find Content-Length [19:38:17]Host: 172.17.35.196:8080 [19:38:17]Content-Length: 675 [19:38:17]Content-Type: application/json [19:38:17] [19:38:17]POST finish read [19:38:17]Found Content-Length = 675 [19:38:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169237", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:38:17]execute_script... [19:38: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)169237", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:38:17]POST & json_proto [19:38:17]process_json_proto [19:38:17]json parsed OK: [19:38:17]protocol is kg_v1.0 [19:38:17]action value=close_receipt [19:38:17]process_action close_receipt [19:38:17]cmd_close_receipt [19:38:17]MH_GetDate [19:38:17]Write to MH i2c: F0 00 00 BC 1E C9 [19:38:17]Write i2c OK [19:38:17]MH_I2C_Read... [19:38:17]Read from MH i2c: F0 [19:38:17]MH_I2C_Read... [19:38:17]Read from MH i2c: F0 09 00 [19:38:17]MH_I2C_Read... [19:38:17]Read from MH i2c: F0 09 00 BC 1E 00 B1 D7 92 66 AD 14 F4 65 6C [19:38:17]GetLastDocTimeStamp 1720895737 [19:38:17]current date 1720899505 [19:38:17]FM_GetShiftState [19:38:17]SAM_PROTO_GetShiftState [19:38:17]wFMCommunicate request_size=4 [19:38:17]MH_SAM_APDU [19:38:17]CAPDU: 80 13 01 00 [19:38:17]Write to MH i2c: E2 08 00 BD 1E 80 13 01 00 00 00 00 00 58 [19:38:17]Write i2c OK [19:38:17]MH_I2C_Read... [19:38:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:38:17]Read from MH i2c: E2 [19:38:17]MH_I2C_Read... [19:38:17]Read from MH i2c: E2 0E 00 [19:38:17]MH_I2C_Read... [19:38:17]Read from MH i2c: E2 0E 00 BD 1E 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 37 [19:38:17]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [19:38:17]wFMCommunicate OK [19:38:17]SAM_PROTO_GetShiftState done [19:38:17]FM_GetShiftState done [19:38:17]opened in 1720829207 [19:38:17]opened+sec_in_day 1720915607 [19:38:17]quantity*price = 10700 [19:38:17]sum+1 = 10701 [19:38:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 44 13.07.2024 19:38 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33425 ФПД: 148896091992740 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T193825&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33425&fm=148896091992740&tin=02508201610067®Number=0000000000093033&sum=10700 0 [19:38:18]StoreToDocumentArchive [19:38:18]shift 434 fd 33425 [19:38:18]save to /storage/0434/doc_00033425 [19:38:18]save last doc name /storage/0434/doc_00033425 to /storage/kkm_last_doc_name [19:38:18]save OK [19:38:18]Clear old archive folders... [19:38:18]ProcessDocumentItem done err = 0, tmpTLVsize=287 [19:38:18]tlvbuf is B6F03780 [19:38:18]SAM_PROTO_ClearQueue [19:38:18]wFMCommunicate request_size=4 [19:38:18]MH_SAM_APDU [19:38:18]CAPDU: 80 09 00 00 [19:38:18]Write to MH i2c: E2 08 00 CA 1E 80 09 00 00 00 00 00 00 5A [19:38:18]Write i2c OK [19:38:18]MH_I2C_Read... [19:38:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:38:18]Read from MH i2c: E2 [19:38:18]MH_I2C_Read... [19:38:18]Read from MH i2c: E2 03 00 [19:38:18]MH_I2C_Read... [19:38:18]Read from MH i2c: E2 03 00 CA 1E 00 90 00 5C [19:38:18]RAPDU: 90 00 [19:38:18]wFMCommunicate OK [19:38:18]SAM_PROTO_ClearQueue done [19:38:18]KKMCreateOFDPacket [19:38:18]OFDProtocolAddRootSTLVToBuf [19:38:18]FM_MakeSignedData [19:38:18]FM_MakeSignedData [19:38:18]SAM_PROTO_SignData [19:38:18]wFMCommunicate request_size=4 [19:38:18]MH_SAM_APDU [19:38:18]CAPDU: 80 0D 01 02 [19:38:18]Write to MH i2c: E2 08 00 CB 1E 80 0D 01 02 00 00 00 00 62 [19:38:18]Write i2c OK [19:38:18]MH_I2C_Read... [19:38:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:38:18]Read from MH i2c: E2 [19:38:18]MH_I2C_Read... [19:38:18]Read from MH i2c: E2 03 00 [19:38:18]MH_I2C_Read... [19:38:18]Read from MH i2c: E2 03 00 CB 1E 00 90 00 5D [19:38:18]RAPDU: 90 00 [19:38:18]wFMCommunicate OK [19:38:18]wFMCommunicate request_size=255 [19:38:18]MH_SAM_APDU [19:38:18]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 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 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 B1 D7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 [19:38:18]Write to MH i2c: E2 02 01 CC 1E 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 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 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 B1 D7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 00 00 CE [19:38:18]Write i2c OK [19:38:18]MH_I2C_Read... [19:38:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:38:19]Read from MH i2c: E2 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 03 00 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 03 00 CC 1E 00 90 00 5E [19:38:19]RAPDU: 90 00 [19:38:19]wFMCommunicate OK [19:38:19]wFMCommunicate request_size=46 [19:38:19]MH_SAM_APDU [19:38:19]CAPDU: 80 0D 02 02 29 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 91 82 00 00 35 04 06 00 87 6B 92 AB F2 A4 [19:38:19]Write to MH i2c: E2 31 00 CD 1E 80 0D 02 02 29 00 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 91 82 00 00 35 04 06 00 87 6B 92 AB F2 A4 00 00 BA [19:38:19]Write i2c OK [19:38:19]MH_I2C_Read... [19:38:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:38:19]Read from MH i2c: E2 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 03 00 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 03 00 CD 1E 00 90 00 5F [19:38:19]RAPDU: 90 00 [19:38:19]wFMCommunicate OK [19:38:19]wFMCommunicate request_size=4 [19:38:19]MH_SAM_APDU [19:38:19]CAPDU: 80 0D 03 02 [19:38:19]Write to MH i2c: E2 08 00 CE 1E 80 0D 03 02 00 00 00 00 67 [19:38:19]Write i2c OK [19:38:19]MH_I2C_Read... [19:38:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:38:19]Read from MH i2c: E2 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 0B 00 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 0B 00 CE 1E 00 53 30 76 B2 A5 6D B8 1B 90 00 F8 [19:38:19]RAPDU: 53 30 76 B2 A5 6D B8 1B 90 00 [19:38:19]wFMCommunicate OK [19:38:19]SAM_PROTO_SignData done [19:38:19]FM_MakeSignedData done [19:38:19]CreateOFDProtocolMessage [19:38:19]wFMCommunicate request_size=4 [19:38:19]MH_SAM_APDU [19:38:19]CAPDU: 80 11 00 00 [19:38:19]Write to MH i2c: E2 08 00 CF 1E 80 11 00 00 00 00 00 00 67 [19:38:19]Write i2c OK [19:38:19]MH_I2C_Read... [19:38:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:38:19]Read from MH i2c: E2 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 17 00 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: E2 17 00 CF 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B3 [19:38:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:38:19]wFMCommunicate OK [19:38:19]CreateOFDProtocolMessage done [19:38:19]OFDSenderStorePacket 33425 [19:38:19]StoreOFDPacket docnum=33425 [19:38:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 33 01 00 00 B5 1F 2B 01 59 19 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 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 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 B1 D7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 91 82 00 00 35 04 06 00 87 6B 92 AB F2 A4 53 30 76 B2 A5 6D B8 1B [19:38:19]CheckFolder [19:38:19]dirname=/storage/ofd_packets [19:38:19]CheckFolder done [19:38:19]ProducePacketName [19:38:19]name=ofd_packets/00033425 [19:38:19]NVStorageSaveData ofd_packets/00033425 [19:38:19]File name is /storage/ofd_packets/00033425 [19:38:19]Write 337 bytes [19:38:19]NVStorageSaveData done [19:38:19]OFDSenderStorePacket done [19:38:19]KKMCreateOFDPacket done [19:38:19]NVStorageSaveData kkm_last_timestamp [19:38:19]File name is /storage/kkm_last_timestamp [19:38:19]Write 4 bytes [19:38:19]NVStorageSaveData done [19:38:19]ExternCall_PrintAddStr [19:38:19]wPrintStart [19:38:19]Write to MH i2c: 01 00 00 D0 1E EE [19:38:19]Write i2c OK [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: 01 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: 01 07 00 [19:38:19]MH_I2C_Read... [19:38:19]Read from MH i2c: 01 07 00 D0 1E 00 00 00 00 00 FF 0F 03 [19:38:19]RasterBufferAndPrint [19:38:19]line Счет N : (3)169237 [19:38:19]line ИНН: 02508201610067 [19:38:19]line Контрольно-Кассовый Чек [19:38:19]line ПРОДАЖА [19:38:19]line Товар: 5449000189332 [19:38:19]line Холодный чай Fuse персик 1л [19:38:19]line 1.000 * 107.00 [19:38:19]line = 107.00 [19:38:19]line НДС 12% НСП 1% [19:38:19]line > о реализуемом товаре [19:38:19]line ИТОГО: 107.00 [19:38:19]line НСП 1% : 0.95 [19:38:19]line НДС 12% : 11.36 [19:38:19]line Наличными: 107.00 [19:38:19]line Безнал.: 0.00 [19:38:19]line Место: АЗС № 77 "Партнер Нефть" [19:38:19]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:38:19]line СНО: Общий режим [19:38:19]line Чек 44 13.07.2024 19:38 [19:38:19]line Смена: 434 ФФД: 1.0 [19:38:19]line ЗНМ: 0300000122 [19:38:19]line РНМ: 0000000000093033 [19:38:19]line Версия ККМ: 001 [19:38:19]line ФМ: 0000000000875104 [19:38:19]line ФД: 33425 [19:38:19]line ФПД: 148896091992740 [19:38:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T193825&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33425&fm=148896091992740&tin=02508201610067®Number=0000000000093033&sum=10700 [19:38:19]line 0 [19:38:19]OFD Sender: Processing packet 33425 [packets to send 6, broken 5] [19:38:19]ProducePacketName [19:38:19]name=ofd_packets/00033425 [19:38:19]OFD Sender: To server: pG, [19:38:19]CommunicateWithHost lk.salyk.kg:30040 [19:38:19]ConnectInit lk.salyk.kg [19:38:19]written 0, free lines is 4095 [19:38:19]Connected sock=10 [19:38:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 33 01 00 00 B5 1F 2B 01 59 19 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 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 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 B1 D7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 91 82 00 00 35 04 06 00 87 6B 92 AB F2 A4 53 30 76 B2 A5 6D B8 1B [19:38:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 2F 7C 47 00 14 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 91 82 00 00 F4 03 04 00 5A 82 92 66 B6 04 01 00 00 E6 FB E9 15 CA 31 D7 6C [19:38:19]CommunicateWithHost err = 0 [19:38:19]CheckOFDResponse [19:38:19]1017 (14) - 77093643461234 [19:38:19]1041 (16) - 0000000000875104 [19:38:19]1040 (4) - 33425 [19:38:19]1012 (4) - 13.07.2024 13:34 [19:38:19]1206 (1) - 0 [19:38:19]OFD Sender: Remove packet 33425 [19:38:19]ProducePacketName [19:38:19]name=ofd_packets/00033425 [19:38:19]NVStorageDeleteData [19:38:20]Write to MH i2c: 01 00 00 F8 1E 16 [19:38:20]Write i2c OK [19:38:20]MH_I2C_Read... [19:38:20]Read from MH i2c: 01 [19:38:20]MH_I2C_Read... [19:38:20]Read from MH i2c: 01 07 00 [19:38:20]MH_I2C_Read... [19:38:20]Read from MH i2c: 01 07 00 F8 1E 00 00 00 00 00 FE 0C 27 [19:38:20]RasterBufferAndPrint [19:38:20]line [19:38:20]line [19:38:20]line [19:38:20]line [19:38:20]line [19:38:20]written 0, free lines is 3331 [19:38:20]MH_Cut [19:38:20]Write to MH i2c: D1 01 00 FF 1E 01 EF [19:38:20]Write i2c OK [19:38:20]MH_I2C_Read... [19:38:20]Read from MH i2c: D1 [19:38:20]MH_I2C_Read... [19:38:20]Read from MH i2c: D1 01 00 [19:38:20]MH_I2C_Read... [19:38:20]Read from MH i2c: D1 01 00 FF 1E 00 EE [19:38:20]Write to MH i2c: 01 00 00 00 1F 1F [19:38:20]Write i2c OK [19:38:20]MH_I2C_Read... [19:38:20]OFD Sender: No OFD packet to send [19:38:20]*** Cut start [19:38:20]*** Partial cut [19:38:20]*** CUTSNS_PIN = 1 [19:38:20]*** CUTSNS_PIN = 0 [19:38:21]*** Brake cut motor [19:38:21]Read from MH i2c: 01 [19:38:21]MH_I2C_Read... [19:38:21]*** Stop cut motor [19:38:21]*** Cut end [19:38:21]Read from MH i2c: 01 07 00 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: 01 07 00 00 1F 00 00 00 00 00 FF 0F 34 [19:38:21]process_action close_receipt done [19:38:21]requested_data is exist [19:38:21]produce_requested_data [19:38:21]requested_item fm.sn is exist - process it [19:38:21]wFMCommunicate request_size=4 [19:38:21]MH_SAM_APDU [19:38:21]CAPDU: 80 11 00 00 [19:38:21]Write to MH i2c: E2 08 00 01 1F 80 11 00 00 00 00 00 00 9A [19:38:21]Write i2c OK [19:38:21]MH_I2C_Read... [19:38:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:38:21]Read from MH i2c: E2 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: E2 17 00 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: E2 17 00 01 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E6 [19:38:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:38:21]wFMCommunicate OK [19:38:21]requested_item fd.num is exist - process it [19:38:21]SAM_PROTO_GetFieldsCounters [19:38:21]wFMCommunicate request_size=4 [19:38:21]MH_SAM_APDU [19:38:21]CAPDU: 80 13 00 00 [19:38:21]Write to MH i2c: E2 08 00 02 1F 80 13 00 00 00 00 00 00 9D [19:38:21]Write i2c OK [19:38:21]MH_I2C_Read... [19:38:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:38:21]Read from MH i2c: E2 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: E2 62 00 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: E2 62 00 02 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 91 82 00 00 0E 04 04 00 B2 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 FA [19:38:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 91 82 00 00 0E 04 04 00 B2 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 [19:38:21]wFMCommunicate OK [19:38:21]SAM_PROTO_GetFieldsCounters done [19:38:21]requested_item shift.num is exist - process it [19:38:21]requested_item shift.opened is exist - process it [19:38:21]req_shift_opened [19:38:21]FM_GetShiftState [19:38:21]SAM_PROTO_GetShiftState [19:38:21]wFMCommunicate request_size=4 [19:38:21]MH_SAM_APDU [19:38:21]CAPDU: 80 13 01 00 [19:38:21]Write to MH i2c: E2 08 00 03 1F 80 13 01 00 00 00 00 00 9F [19:38:21]Write i2c OK [19:38:21]MH_I2C_Read... [19:38:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:38:21]Read from MH i2c: E2 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: E2 0E 00 [19:38:21]MH_I2C_Read... [19:38:21]Read from MH i2c: E2 0E 00 03 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 7E [19:38:21]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [19:38:21]wFMCommunicate OK [19:38:21]SAM_PROTO_GetShiftState done [19:38:21]FM_GetShiftState done [19:38:21]req_shift_opened done [19:38:21]requested_item shift.open_date is exist - process it [19:38:21]req_shift_open_date [19:38:21]req_shift_open_date done [19:38:21]produce_requested_data done [19:38:21]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33425,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [19:38:21]process_action_free close_receipt [19:38:21]json_value_free [19:38:21]json_value_free done [19:38:21]process_json_proto returns [19:38:21]Send response to host [19:38:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33425,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [19:38:21]free response buf [19:38:21]execute_script done [19:38:21]execute_script returns [19:38:21]free content buf [19:38:21]Sock 9.Close socket [19:38:21]Sock 9.Thread stoped [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]OFD Sender: No OFD packet to send [19:42:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:20]OFD Sender: No OFD packet to send [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:51:00]OFD Sender: No OFD packet to send [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:16]OFD Sender: No OFD packet to send [19:51:21]OFD Sender: No OFD packet to send [19:51:26]OFD Sender: No OFD packet to send [19:51:31]OFD Sender: No OFD packet to send [19:51:36]OFD Sender: No OFD packet to send [19:51:41]OFD Sender: No OFD packet to send [19:51:46]OFD Sender: No OFD packet to send [19:51:51]OFD Sender: No OFD packet to send [19:51:56]OFD Sender: No OFD packet to send [19:52:01]OFD Sender: No OFD packet to send [19:52:06]OFD Sender: No OFD packet to send [19:52:11]OFD Sender: No OFD packet to send [19:52:16]OFD Sender: No OFD packet to send [19:52:21]OFD Sender: No OFD packet to send [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:26]OFD Sender: No OFD packet to send [19:54:31]OFD Sender: No OFD packet to send [19:54:36]OFD Sender: No OFD packet to send [19:54:41]OFD Sender: No OFD packet to send [19:54:46]OFD Sender: No OFD packet to send [19:54:51]OFD Sender: No OFD packet to send [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:11]OFD Sender: No OFD packet to send [20:03:16]OFD Sender: No OFD packet to send [20:03:21]OFD Sender: No OFD packet to send [20:03:26]OFD Sender: No OFD packet to send [20:03:31]OFD Sender: No OFD packet to send [20:03:36]OFD Sender: No OFD packet to send [20:03:41]OFD Sender: No OFD packet to send [20:03:46]OFD Sender: No OFD packet to send [20:03:51]OFD Sender: No OFD packet to send [20:03:56]OFD Sender: No OFD packet to send [20:04:01]OFD Sender: No OFD packet to send [20:04:06]OFD Sender: No OFD packet to send [20:04:11]OFD Sender: No OFD packet to send [20:04:16]OFD Sender: No OFD packet to send [20:04:21]OFD Sender: No OFD packet to send [20:04:26]OFD Sender: No OFD packet to send [20:04:31]OFD Sender: No OFD packet to send [20:04:36]OFD Sender: No OFD packet to send [20:04:41]OFD Sender: No OFD packet to send [20:04:46]OFD Sender: No OFD packet to send [20:04:51]OFD Sender: No OFD packet to send [20:04:56]OFD Sender: No OFD packet to send [20:05:01]OFD Sender: No OFD packet to send [20:05:06]OFD Sender: No OFD packet to send [20:05:11]OFD Sender: No OFD packet to send [20:05:16]OFD Sender: No OFD packet to send [20:05:21]OFD Sender: No OFD packet to send [20:05:26]OFD Sender: No OFD packet to send [20:05:31]OFD Sender: No OFD packet to send [20:05:36]OFD Sender: No OFD packet to send [20:05:41]OFD Sender: No OFD packet to send [20:05:46]OFD Sender: No OFD packet to send [20:05:51]OFD Sender: No OFD packet to send [20:05:56]OFD Sender: No OFD packet to send [20:06:01]OFD Sender: No OFD packet to send [20:06:06]OFD Sender: No OFD packet to send [20:06:11]OFD Sender: No OFD packet to send [20:06:16]OFD Sender: No OFD packet to send [20:06:21]OFD Sender: No OFD packet to send [20:06:26]OFD Sender: No OFD packet to send [20:06:31]OFD Sender: No OFD packet to send [20:06:36]OFD Sender: No OFD packet to send [20:06:41]OFD Sender: No OFD packet to send [20:06:46]OFD Sender: No OFD packet to send [20:06:51]OFD Sender: No OFD packet to send [20:06:56]OFD Sender: No OFD packet to send [20:07:01]OFD Sender: No OFD packet to send [20:07:06]OFD Sender: No OFD packet to send [20:07:11]OFD Sender: No OFD packet to send [20:07:16]OFD Sender: No OFD packet to send [20:07:21]OFD Sender: No OFD packet to send [20:07:26]OFD Sender: No OFD packet to send [20:07:31]OFD Sender: No OFD packet to send [20:07:36]OFD Sender: No OFD packet to send [20:07:41]OFD Sender: No OFD packet to send [20:07:46]OFD Sender: No OFD packet to send [20:07:51]OFD Sender: No OFD packet to send [20:07:56]OFD Sender: No OFD packet to send [20:08:01]OFD Sender: No OFD packet to send [20:08:06]OFD Sender: No OFD packet to send [20:08:11]OFD Sender: No OFD packet to send [20:08:16]OFD Sender: No OFD packet to send [20:08:21]OFD Sender: No OFD packet to send [20:08:26]OFD Sender: No OFD packet to send [20:08:31]OFD Sender: No OFD packet to send [20:08:36]OFD Sender: No OFD packet to send [20:08:41]OFD Sender: No OFD packet to send [20:08:46]OFD Sender: No OFD packet to send [20:08:51]OFD Sender: No OFD packet to send [20:08:56]OFD Sender: No OFD packet to send [20:09:01]OFD Sender: No OFD packet to send [20:09:06]OFD Sender: No OFD packet to send [20:09:11]OFD Sender: No OFD packet to send [20:09:16]OFD Sender: No OFD packet to send [20:09:18]accept exits with 7 [20:09:18]New connection [20:09:18]New thread 3066461540 created [20:09:18]Thread 3066604900 joined [20:09:18]Waiting for new connection... [20:09:18] Sock 7.Parse request [20:09:18]Sock 7.Check first char [20:09:18]Sock 7.First char is OK [20:09:18]request: POST /json_proto HTTP/1.0 [20:09:18]Method: POST [20:09:18]URL: /json_proto [20:09:18]Method is POST - this is cgi request [20:09:18]url: /json_proto [20:09:18]query_string will be loaded in cgi processing [20:09:18]execute_cgi json_proto POST (null) [20:09:18]execute_cgi path=json_proto method=POST [20:09:18]POST find Content-Length [20:09:18]Host: 172.17.35.196:8080 [20:09:18]Content-Length: 638 [20:09:18]Content-Type: application/json [20:09:18] [20:09:18]POST finish read [20:09:18]Found Content-Length = 638 [20:09:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169238", "tax_sys" : 0, "items" : [ { "code": "4870205390963", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 PN -40 INORGANIC COOLANT (G11) ", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:09:18]execute_script... [20:09: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)169238", "tax_sys" : 0, "items" : [ { "code": "4870205390963", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 PN -40 INORGANIC COOLANT (G11) ", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:09:18]POST & json_proto [20:09:18]process_json_proto [20:09:18]json parsed OK: [20:09:18]protocol is kg_v1.0 [20:09:18]action value=close_receipt [20:09:18]process_action close_receipt [20:09:18]cmd_close_receipt [20:09:18]MH_GetDate [20:09:18]Write to MH i2c: F0 00 00 04 1F 12 [20:09:18]Write i2c OK [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: F0 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: F0 09 00 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: F0 09 00 04 1F 00 F6 DE 92 66 AD 14 F4 65 01 [20:09:18]GetLastDocTimeStamp 1720899505 [20:09:18]current date 1720901366 [20:09:18]FM_GetShiftState [20:09:18]SAM_PROTO_GetShiftState [20:09:18]wFMCommunicate request_size=4 [20:09:18]MH_SAM_APDU [20:09:18]CAPDU: 80 13 01 00 [20:09:18]Write to MH i2c: E2 08 00 05 1F 80 13 01 00 00 00 00 00 A1 [20:09:18]Write i2c OK [20:09:18]MH_I2C_Read... [20:09:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:09:18]Read from MH i2c: E2 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: E2 0E 00 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: E2 0E 00 05 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 80 [20:09:18]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [20:09:18]wFMCommunicate OK [20:09:18]SAM_PROTO_GetShiftState done [20:09:18]FM_GetShiftState done [20:09:18]opened in 1720829207 [20:09:18]opened+sec_in_day 1720915607 [20:09:18]quantity*price = 30000 [20:09:18]sum+1 = 30001 [20:09:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 45 13.07.2024 20:09 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33426 ФПД: 75092206188122 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T200926&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33426&fm=75092206188122&tin=02508201610067®Number=0000000000093033&sum=30000 0 [20:09:19]StoreToDocumentArchive [20:09:19]shift 434 fd 33426 [20:09:19]save to /storage/0434/doc_00033426 [20:09:19]save last doc name /storage/0434/doc_00033426 to /storage/kkm_last_doc_name [20:09:19]save OK [20:09:19]Clear old archive folders... [20:09:19]ProcessDocumentItem done err = 0, tmpTLVsize=290 [20:09:19]tlvbuf is 00AE5330 [20:09:19]SAM_PROTO_ClearQueue [20:09:19]wFMCommunicate request_size=4 [20:09:19]MH_SAM_APDU [20:09:19]CAPDU: 80 09 00 00 [20:09:19]Write to MH i2c: E2 08 00 12 1F 80 09 00 00 00 00 00 00 A3 [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:09:19]Read from MH i2c: E2 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 12 1F 00 90 00 A5 [20:09:19]RAPDU: 90 00 [20:09:19]wFMCommunicate OK [20:09:19]SAM_PROTO_ClearQueue done [20:09:19]KKMCreateOFDPacket [20:09:19]OFDProtocolAddRootSTLVToBuf [20:09:19]FM_MakeSignedData [20:09:19]FM_MakeSignedData [20:09:19]SAM_PROTO_SignData [20:09:19]wFMCommunicate request_size=4 [20:09:19]MH_SAM_APDU [20:09:19]CAPDU: 80 0D 01 02 [20:09:19]Write to MH i2c: E2 08 00 13 1F 80 0D 01 02 00 00 00 00 AB [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:09:19]Read from MH i2c: E2 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 13 1F 00 90 00 A6 [20:09:19]RAPDU: 90 00 [20:09:19]wFMCommunicate OK [20:09:19]wFMCommunicate request_size=255 [20:09:19]MH_SAM_APDU [20:09:19]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 36 33 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 49 4E 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 28 47 31 31 29 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 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 F6 DE 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [20:09:19]Write to MH i2c: E2 02 01 14 1F 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 36 33 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 49 4E 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 28 47 31 31 29 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 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 F6 DE 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 53 [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 03 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 03 00 14 1F 00 90 00 A7 [20:09:20]RAPDU: 90 00 [20:09:20]wFMCommunicate OK [20:09:20]wFMCommunicate request_size=49 [20:09:20]MH_SAM_APDU [20:09:20]CAPDU: 80 0D 02 02 2C 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 92 82 00 00 35 04 06 00 44 4B C4 46 76 5A [20:09:20]Write to MH i2c: E2 34 00 15 1F 80 0D 02 02 2C 00 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 92 82 00 00 35 04 06 00 44 4B C4 46 76 5A 00 00 4A [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 03 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 03 00 15 1F 00 90 00 A8 [20:09:20]RAPDU: 90 00 [20:09:20]wFMCommunicate OK [20:09:20]wFMCommunicate request_size=4 [20:09:20]MH_SAM_APDU [20:09:20]CAPDU: 80 0D 03 02 [20:09:20]Write to MH i2c: E2 08 00 16 1F 80 0D 03 02 00 00 00 00 B0 [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 0B 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 0B 00 16 1F 00 9A B2 5E B5 39 97 F4 A7 90 00 7B [20:09:20]RAPDU: 9A B2 5E B5 39 97 F4 A7 90 00 [20:09:20]wFMCommunicate OK [20:09:20]SAM_PROTO_SignData done [20:09:20]FM_MakeSignedData done [20:09:20]CreateOFDProtocolMessage [20:09:20]wFMCommunicate request_size=4 [20:09:20]MH_SAM_APDU [20:09:20]CAPDU: 80 11 00 00 [20:09:20]Write to MH i2c: E2 08 00 17 1F 80 11 00 00 00 00 00 00 B0 [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 17 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 17 00 17 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FC [20:09:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:09:20]wFMCommunicate OK [20:09:20]CreateOFDProtocolMessage done [20:09:20]OFDSenderStorePacket 33426 [20:09:20]StoreOFDPacket docnum=33426 [20:09:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 36 01 00 00 BC 26 2E 01 6B B7 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 36 33 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 49 4E 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 28 47 31 31 29 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 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 F6 DE 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 92 82 00 00 35 04 06 00 44 4B C4 46 76 5A 9A B2 5E B5 39 97 F4 A7 [20:09:20]CheckFolder [20:09:20]dirname=/storage/ofd_packets [20:09:20]CheckFolder done [20:09:20]ProducePacketName [20:09:20]name=ofd_packets/00033426 [20:09:20]NVStorageSaveData ofd_packets/00033426 [20:09:20]File name is /storage/ofd_packets/00033426 [20:09:20]Write 340 bytes [20:09:20]NVStorageSaveData done [20:09:20]OFDSenderStorePacket done [20:09:20]KKMCreateOFDPacket done [20:09:20]NVStorageSaveData kkm_last_timestamp [20:09:20]File name is /storage/kkm_last_timestamp [20:09:20]Write 4 bytes [20:09:20]NVStorageSaveData done [20:09:20]ExternCall_PrintAddStr [20:09:20]wPrintStart [20:09:20]Write to MH i2c: 01 00 00 18 1F 37 [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: 01 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: 01 07 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: 01 07 00 18 1F 00 00 00 00 00 FF 0F 4C [20:09:20]RasterBufferAndPrint [20:09:20]line Счет N : (3)169238 [20:09:20]line ИНН: 02508201610067 [20:09:20]line Контрольно-Кассовый Чек [20:09:20]line ПРОДАЖА [20:09:20]line Товар: 4870205390963 [20:09:20]line Антифриз PN -40 INORGANIC COOLANT (G11) [20:09:20]line 1.000 * 300.00 [20:09:20]line = 300.00 [20:09:20]line НДС 12% НСП 1% [20:09:20]line > о реализуемом товаре [20:09:20]line ИТОГО: 300.00 [20:09:20]line НСП 1% : 2.65 [20:09:20]line НДС 12% : 31.86 [20:09:20]line Наличными: 300.00 [20:09:20]line Безнал.: 0.00 [20:09:20]line Место: АЗС № 77 "Партнер Нефть" [20:09:20]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:09:20]line СНО: Общий режим [20:09:20]line Чек 45 13.07.2024 20:09 [20:09:20]line Смена: 434 ФФД: 1.0 [20:09:20]line ЗНМ: 0300000122 [20:09:20]line РНМ: 0000000000093033 [20:09:20]line Версия ККМ: 001 [20:09:20]line ФМ: 0000000000875104 [20:09:20]line ФД: 33426 [20:09:20]line ФПД: 75092206188122 [20:09:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T200926&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33426&fm=75092206188122&tin=02508201610067®Number=0000000000093033&sum=30000 [20:09:20]OFD Sender: Processing packet 33426 [packets to send 6, broken 5] [20:09:20]ProducePacketName [20:09:20]name=ofd_packets/00033426 [20:09:20]OFD Sender: To server: pG, [20:09:20]CommunicateWithHost lk.salyk.kg:30040 [20:09:20]ConnectInit lk.salyk.kg [20:09:20]line 0 [20:09:20]written 0, free lines is 4095 [20:09:20]Connected sock=10 [20:09:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 36 01 00 00 BC 26 2E 01 6B B7 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 36 33 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 49 4E 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 28 47 31 31 29 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 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 F6 DE 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 92 82 00 00 35 04 06 00 44 4B C4 46 76 5A 9A B2 5E B5 39 97 F4 A7 [20:09:21]Write to MH i2c: 01 00 00 41 1F 60 [20:09:21]Write i2c OK [20:09:21]MH_I2C_Read... [20:09:21]Read from MH i2c: 01 [20:09:21]MH_I2C_Read... [20:09:21]Read from MH i2c: 01 07 00 [20:09:21]MH_I2C_Read... [20:09:21]Read from MH i2c: 01 07 00 41 1F 00 00 00 00 00 EE 0C 61 [20:09:21]RasterBufferAndPrint [20:09:21]line [20:09:21]line [20:09:21]line [20:09:21]line [20:09:21]line [20:09:21]written 0, free lines is 3316 [20:09:21]MH_Cut [20:09:21]Write to MH i2c: D1 01 00 48 1F 01 39 [20:09:21]Write i2c OK [20:09:21]MH_I2C_Read... [20:09:21]Read from MH i2c: D1 [20:09:21]MH_I2C_Read... [20:09:21]Read from MH i2c: D1 01 00 [20:09:21]MH_I2C_Read... [20:09:21]Read from MH i2c: D1 01 00 48 1F 00 38 [20:09:21]Write to MH i2c: 01 00 00 49 1F 68 [20:09:21]Write i2c OK [20:09:21]MH_I2C_Read... [20:09:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 4A 1F 47 00 4A 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 92 82 00 00 F4 03 04 00 A0 89 92 66 B6 04 01 00 00 C1 9B 82 C8 6E D2 22 01 [20:09:21]CommunicateWithHost err = 0 [20:09:21]CheckOFDResponse [20:09:21]1017 (14) - 77093643461234 [20:09:21]1041 (16) - 0000000000875104 [20:09:21]1040 (4) - 33426 [20:09:21]1012 (4) - 13.07.2024 14:05 [20:09:21]1206 (1) - 0 [20:09:21]OFD Sender: Remove packet 33426 [20:09:21]ProducePacketName [20:09:21]name=ofd_packets/00033426 [20:09:21]NVStorageDeleteData [20:09:21]OFD Sender: No OFD packet to send [20:09:21]*** Cut start [20:09:21]*** Partial cut [20:09:21]*** CUTSNS_PIN = 1 [20:09:21]*** CUTSNS_PIN = 0 [20:09:22]*** Brake cut motor [20:09:22]Read from MH i2c: 01 [20:09:22]MH_I2C_Read... [20:09:22]*** Stop cut motor [20:09:22]*** Cut end [20:09:22]Read from MH i2c: 01 07 00 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: 01 07 00 49 1F 00 00 00 00 00 FF 0F 7D [20:09:22]process_action close_receipt done [20:09:22]requested_data is exist [20:09:22]produce_requested_data [20:09:22]requested_item fm.sn is exist - process it [20:09:22]wFMCommunicate request_size=4 [20:09:22]MH_SAM_APDU [20:09:22]CAPDU: 80 11 00 00 [20:09:22]Write to MH i2c: E2 08 00 4A 1F 80 11 00 00 00 00 00 00 E3 [20:09:22]Write i2c OK [20:09:22]MH_I2C_Read... [20:09:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:09:22]Read from MH i2c: E2 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: E2 17 00 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: E2 17 00 4A 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2F [20:09:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:09:22]wFMCommunicate OK [20:09:22]requested_item fd.num is exist - process it [20:09:22]SAM_PROTO_GetFieldsCounters [20:09:22]wFMCommunicate request_size=4 [20:09:22]MH_SAM_APDU [20:09:22]CAPDU: 80 13 00 00 [20:09:22]Write to MH i2c: E2 08 00 4B 1F 80 13 00 00 00 00 00 00 E6 [20:09:22]Write i2c OK [20:09:22]MH_I2C_Read... [20:09:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:09:22]Read from MH i2c: E2 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: E2 62 00 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: E2 62 00 4B 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 92 82 00 00 0E 04 04 00 B2 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 47 [20:09:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 92 82 00 00 0E 04 04 00 B2 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 [20:09:22]wFMCommunicate OK [20:09:22]SAM_PROTO_GetFieldsCounters done [20:09:22]requested_item shift.num is exist - process it [20:09:22]requested_item shift.opened is exist - process it [20:09:22]req_shift_opened [20:09:22]FM_GetShiftState [20:09:22]SAM_PROTO_GetShiftState [20:09:22]wFMCommunicate request_size=4 [20:09:22]MH_SAM_APDU [20:09:22]CAPDU: 80 13 01 00 [20:09:22]Write to MH i2c: E2 08 00 4C 1F 80 13 01 00 00 00 00 00 E8 [20:09:22]Write i2c OK [20:09:22]MH_I2C_Read... [20:09:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:09:22]Read from MH i2c: E2 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: E2 0E 00 [20:09:22]MH_I2C_Read... [20:09:22]Read from MH i2c: E2 0E 00 4C 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C7 [20:09:22]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [20:09:22]wFMCommunicate OK [20:09:22]SAM_PROTO_GetShiftState done [20:09:22]FM_GetShiftState done [20:09:22]req_shift_opened done [20:09:22]requested_item shift.open_date is exist - process it [20:09:22]req_shift_open_date [20:09:22]req_shift_open_date done [20:09:22]produce_requested_data done [20:09:22]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33426,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [20:09:22]process_action_free close_receipt [20:09:22]json_value_free [20:09:22]json_value_free done [20:09:22]process_json_proto returns [20:09:22]Send response to host [20:09:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33426,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [20:09:22]free response buf [20:09:22]execute_script done [20:09:22]execute_script returns [20:09:22]free content buf [20:09:22]Sock 7.Close socket [20:09:22]Sock 7.Thread stoped [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:11]OFD Sender: No OFD packet to send [20:10:16]OFD Sender: No OFD packet to send [20:10:21]OFD Sender: No OFD packet to send [20:10:26]OFD Sender: No OFD packet to send [20:10:31]OFD Sender: No OFD packet to send [20:10:36]OFD Sender: No OFD packet to send [20:10:41]OFD Sender: No OFD packet to send [20:10:46]OFD Sender: No OFD packet to send [20:10:51]OFD Sender: No OFD packet to send [20:10:56]OFD Sender: No OFD packet to send [20:11:01]OFD Sender: No OFD packet to send [20:11:06]OFD Sender: No OFD packet to send [20:11:11]OFD Sender: No OFD packet to send [20:11:16]OFD Sender: No OFD packet to send [20:11:21]OFD Sender: No OFD packet to send [20:11:26]OFD Sender: No OFD packet to send [20:11:31]OFD Sender: No OFD packet to send [20:11:36]OFD Sender: No OFD packet to send [20:11:41]OFD Sender: No OFD packet to send [20:11:46]OFD Sender: No OFD packet to send [20:11:51]OFD Sender: No OFD packet to send [20:11:56]OFD Sender: No OFD packet to send [20:12:01]OFD Sender: No OFD packet to send [20:12:06]OFD Sender: No OFD packet to send [20:12:11]OFD Sender: No OFD packet to send [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:26]OFD Sender: No OFD packet to send [20:12:31]OFD Sender: No OFD packet to send [20:12:36]OFD Sender: No OFD packet to send [20:12:41]OFD Sender: No OFD packet to send [20:12:46]OFD Sender: No OFD packet to send [20:12:51]OFD Sender: No OFD packet to send [20:12:56]OFD Sender: No OFD packet to send [20:13:01]OFD Sender: No OFD packet to send [20:13:06]OFD Sender: No OFD packet to send [20:13:11]OFD Sender: No OFD packet to send [20:13:16]OFD Sender: No OFD packet to send [20:13:21]OFD Sender: No OFD packet to send [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:47]OFD Sender: No OFD packet to send [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:37]OFD Sender: No OFD packet to send [20:22:42]OFD Sender: No OFD packet to send [20:22:47]OFD Sender: No OFD packet to send [20:22:52]OFD Sender: No OFD packet to send [20:22:57]OFD Sender: No OFD packet to send [20:23:02]OFD Sender: No OFD packet to send [20:23:07]OFD Sender: No OFD packet to send [20:23:12]OFD Sender: No OFD packet to send [20:23:17]OFD Sender: No OFD packet to send [20:23:22]OFD Sender: No OFD packet to send [20:23:27]OFD Sender: No OFD packet to send [20:23:32]OFD Sender: No OFD packet to send [20:23:37]OFD Sender: No OFD packet to send [20:23:42]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:12]OFD Sender: No OFD packet to send [20:26:17]OFD Sender: No OFD packet to send [20:26:22]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:22]OFD Sender: No OFD packet to send [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:32]OFD Sender: No OFD packet to send [20:29:37]OFD Sender: No OFD packet to send [20:29:42]OFD Sender: No OFD packet to send [20:29:47]OFD Sender: No OFD packet to send [20:29:52]OFD Sender: No OFD packet to send [20:29:57]OFD Sender: No OFD packet to send [20:30:02]OFD Sender: No OFD packet to send [20:30:07]OFD Sender: No OFD packet to send [20:30:12]OFD Sender: No OFD packet to send [20:30:17]OFD Sender: No OFD packet to send [20:30:22]OFD Sender: No OFD packet to send [20:30:27]OFD Sender: No OFD packet to send [20:30:32]OFD Sender: No OFD packet to send [20:30:37]OFD Sender: No OFD packet to send [20:30:42]OFD Sender: No OFD packet to send [20:30:47]OFD Sender: No OFD packet to send [20:30:52]OFD Sender: No OFD packet to send [20:30:57]OFD Sender: No OFD packet to send [20:31:02]OFD Sender: No OFD packet to send [20:31:07]OFD Sender: No OFD packet to send [20:31:12]OFD Sender: No OFD packet to send [20:31:17]OFD Sender: No OFD packet to send [20:31:22]OFD Sender: No OFD packet to send [20:31:27]OFD Sender: No OFD packet to send [20:31:32]OFD Sender: No OFD packet to send [20:31:37]OFD Sender: No OFD packet to send [20:31:42]OFD Sender: No OFD packet to send [20:31:47]OFD Sender: No OFD packet to send [20:31:52]OFD Sender: No OFD packet to send [20:31:57]OFD Sender: No OFD packet to send [20:32:02]OFD Sender: No OFD packet to send [20:32:07]OFD Sender: No OFD packet to send [20:32:12]OFD Sender: No OFD packet to send [20:32:17]OFD Sender: No OFD packet to send [20:32:22]OFD Sender: No OFD packet to send [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]OFD Sender: No OFD packet to send [20:33:42]OFD Sender: No OFD packet to send [20:33:47]OFD Sender: No OFD packet to send [20:33:52]OFD Sender: No OFD packet to send [20:33:57]OFD Sender: No OFD packet to send [20:34:02]OFD Sender: No OFD packet to send [20:34:07]OFD Sender: No OFD packet to send [20:34:12]OFD Sender: No OFD packet to send [20:34:17]OFD Sender: No OFD packet to send [20:34:22]OFD Sender: No OFD packet to send [20:34:27]OFD Sender: No OFD packet to send [20:34:32]OFD Sender: No OFD packet to send [20:34:37]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:12]OFD Sender: No OFD packet to send [20:37:18]OFD Sender: No OFD packet to send [20:37:23]OFD Sender: No OFD packet to send [20:37:28]OFD Sender: No OFD packet to send [20:37:33]OFD Sender: No OFD packet to send [20:37:38]OFD Sender: No OFD packet to send [20:37:43]OFD Sender: No OFD packet to send [20:37:48]OFD Sender: No OFD packet to send [20:37:53]OFD Sender: No OFD packet to send [20:37:58]OFD Sender: No OFD packet to send [20:38:03]OFD Sender: No OFD packet to send [20:38:08]OFD Sender: No OFD packet to send [20:38:13]OFD Sender: No OFD packet to send [20:38:18]OFD Sender: No OFD packet to send [20:38:23]OFD Sender: No OFD packet to send [20:38:28]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:53]OFD Sender: No OFD packet to send [20:39:58]OFD Sender: No OFD packet to send [20:40:03]OFD Sender: No OFD packet to send [20:40:08]OFD Sender: No OFD packet to send [20:40:13]OFD Sender: No OFD packet to send [20:40:18]OFD Sender: No OFD packet to send [20:40:23]OFD Sender: No OFD packet to send [20:40:28]OFD Sender: No OFD packet to send [20:40:33]OFD Sender: No OFD packet to send [20:40:38]OFD Sender: No OFD packet to send [20:40:43]OFD Sender: No OFD packet to send [20:40:48]OFD Sender: No OFD packet to send [20:40:53]OFD Sender: No OFD packet to send [20:40:58]OFD Sender: No OFD packet to send [20:41:03]OFD Sender: No OFD packet to send [20:41:08]OFD Sender: No OFD packet to send [20:41:13]OFD Sender: No OFD packet to send [20:41:18]OFD Sender: No OFD packet to send [20:41:23]OFD Sender: No OFD packet to send [20:41:28]OFD Sender: No OFD packet to send [20:41:33]OFD Sender: No OFD packet to send [20:41:38]OFD Sender: No OFD packet to send [20:41:43]OFD Sender: No OFD packet to send [20:41:48]OFD Sender: No OFD packet to send [20:41:53]OFD Sender: No OFD packet to send [20:41:58]OFD Sender: No OFD packet to send [20:42:03]OFD Sender: No OFD packet to send [20:42:08]OFD Sender: No OFD packet to send [20:42:13]OFD Sender: No OFD packet to send [20:42:18]OFD Sender: No OFD packet to send [20:42:23]OFD Sender: No OFD packet to send [20:42:28]OFD Sender: No OFD packet to send [20:42:33]OFD Sender: No OFD packet to send [20:42:38]OFD Sender: No OFD packet to send [20:42:43]OFD Sender: No OFD packet to send [20:42:48]OFD Sender: No OFD packet to send [20:42:53]OFD Sender: No OFD packet to send [20:42:58]OFD Sender: No OFD packet to send [20:43:03]OFD Sender: No OFD packet to send [20:43:08]OFD Sender: No OFD packet to send [20:43:13]OFD Sender: No OFD packet to send [20:43:15]accept exits with 9 [20:43:15]New connection [20:43:15]New thread 3066604900 created [20:43:15]Thread 3066461540 joined [20:43:15]Waiting for new connection... [20:43:15] Sock 9.Parse request [20:43:15]Sock 9.Check first char [20:43:15]Sock 9.First char is OK [20:43:15]request: POST /json_proto HTTP/1.0 [20:43:15]Method: POST [20:43:15]URL: /json_proto [20:43:15]Method is POST - this is cgi request [20:43:15]url: /json_proto [20:43:15]query_string will be loaded in cgi processing [20:43:15]execute_cgi json_proto POST (null) [20:43:15]execute_cgi path=json_proto method=POST [20:43:15]POST find Content-Length [20:43:15]Host: 172.17.35.196:8080 [20:43:15]Content-Length: 1223 [20:43:15]Content-Type: application/json [20:43:15] [20:43:15]POST finish read [20:43:15]Found Content-Length = 1223 [20:43:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169239", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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" : 1.000, "sum" : 90.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" ] } } [20:43:15]execute_script... [20:43:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169239", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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" : 1.000, "sum" : 90.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" ] } } [20:43:15]POST & json_proto [20:43:15]process_json_proto [20:43:15]json parsed OK: [20:43:15]protocol is kg_v1.0 [20:43:15]action value=close_receipt [20:43:15]process_action close_receipt [20:43:15]cmd_close_receipt [20:43:15]MH_GetDate [20:43:15]Write to MH i2c: F0 00 00 4D 1F 5B [20:43:15]Write i2c OK [20:43:15]MH_I2C_Read... [20:43:15]Read from MH i2c: F0 [20:43:15]MH_I2C_Read... [20:43:15]Read from MH i2c: F0 09 00 [20:43:15]MH_I2C_Read... [20:43:15]Read from MH i2c: F0 09 00 4D 1F 00 EB E6 92 66 AD 14 F4 65 47 [20:43:15]GetLastDocTimeStamp 1720901366 [20:43:15]current date 1720903403 [20:43:15]FM_GetShiftState [20:43:15]SAM_PROTO_GetShiftState [20:43:15]wFMCommunicate request_size=4 [20:43:15]MH_SAM_APDU [20:43:15]CAPDU: 80 13 01 00 [20:43:15]Write to MH i2c: E2 08 00 4E 1F 80 13 01 00 00 00 00 00 EA [20:43:15]Write i2c OK [20:43:15]MH_I2C_Read... [20:43:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:15]Read from MH i2c: E2 [20:43:15]MH_I2C_Read... [20:43:15]Read from MH i2c: E2 0E 00 [20:43:15]MH_I2C_Read... [20:43:15]Read from MH i2c: E2 0E 00 4E 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C9 [20:43:15]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [20:43:15]wFMCommunicate OK [20:43:15]SAM_PROTO_GetShiftState done [20:43:15]FM_GetShiftState done [20:43:15]opened in 1720829207 [20:43:15]opened+sec_in_day 1720915607 [20:43:15]quantity*price = 5000 [20:43:15]sum+1 = 5001 [20:43:15]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681062 Grizzly волнистые Колбаски с горчицей 55 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 46 13.07.2024 20:43 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33427 ФПД: 53167386247508 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T204323&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33427&fm=53167386247508&tin=02508201610067®Number=0000000000093033&sum=32000 0 [20:43:17]StoreToDocumentArchive [20:43:17]shift 434 fd 33427 [20:43:17]save to /storage/0434/doc_00033427 [20:43:17]save last doc name /storage/0434/doc_00033427 to /storage/kkm_last_doc_name [20:43:17]save OK [20:43:17]Clear old archive folders... [20:43:17]ProcessDocumentItem done err = 0, tmpTLVsize=507 [20:43:17]tlvbuf is 00A6FBE0 [20:43:17]SAM_PROTO_ClearQueue [20:43:17]wFMCommunicate request_size=4 [20:43:17]MH_SAM_APDU [20:43:17]CAPDU: 80 09 00 00 [20:43:17]Write to MH i2c: E2 08 00 5B 1F 80 09 00 00 00 00 00 00 EC [20:43:17]Write i2c OK [20:43:17]MH_I2C_Read... [20:43:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:43:17]Read from MH i2c: E2 [20:43:17]MH_I2C_Read... [20:43:17]Read from MH i2c: E2 03 00 [20:43:17]MH_I2C_Read... [20:43:17]Read from MH i2c: E2 03 00 5B 1F 00 90 00 EE [20:43:17]RAPDU: 90 00 [20:43:17]wFMCommunicate OK [20:43:17]SAM_PROTO_ClearQueue done [20:43:17]KKMCreateOFDPacket [20:43:17]OFDProtocolAddRootSTLVToBuf [20:43:17]FM_MakeSignedData [20:43:17]FM_MakeSignedData [20:43:17]SAM_PROTO_SignData [20:43:17]wFMCommunicate request_size=4 [20:43:17]MH_SAM_APDU [20:43:17]CAPDU: 80 0D 01 02 [20:43:17]Write to MH i2c: E2 08 00 5C 1F 80 0D 01 02 00 00 00 00 F4 [20:43:17]Write i2c OK [20:43:17]MH_I2C_Read... [20:43:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:43:17]Read from MH i2c: E2 [20:43:17]MH_I2C_Read... [20:43:17]Read from MH i2c: E2 03 00 [20:43:17]MH_I2C_Read... [20:43:17]Read from MH i2c: E2 03 00 5C 1F 00 90 00 EF [20:43:17]RAPDU: 90 00 [20:43:17]wFMCommunicate OK [20:43:17]wFMCommunicate request_size=255 [20:43:17]MH_SAM_APDU [20:43:17]CAPDU: 80 0D 02 02 FA 03 00 FB 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [20:43:17]Write to MH i2c: E2 02 01 5D 1F 80 0D 02 02 FA 00 03 00 FB 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 40 [20:43:17]Write i2c OK [20:43:17]MH_I2C_Read... [20:43:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:17]Read from MH i2c: E2 [20:43:17]MH_I2C_Read... [20:43:17]Read from MH i2c: E2 03 00 [20:43:17]MH_I2C_Read... [20:43:17]Read from MH i2c: E2 03 00 5D 1F 00 90 00 F0 [20:43:17]RAPDU: 90 00 [20:43:17]wFMCommunicate OK [20:43:17]wFMCommunicate request_size=255 [20:43:17]MH_SAM_APDU [20:43:17]CAPDU: 80 0D 02 02 FA 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 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 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 2E 00 00 00 F4 03 04 00 EB E6 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 93 82 00 [20:43:17]Write to MH i2c: E2 02 01 5E 1F 80 0D 02 02 FA 00 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 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 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 2E 00 00 00 F4 03 04 00 EB E6 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 93 82 00 00 00 B2 [20:43:17]Write i2c OK [20:43:17]MH_I2C_Read... [20:43:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:18]Read from MH i2c: E2 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 03 00 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 03 00 5E 1F 00 90 00 F1 [20:43:18]RAPDU: 90 00 [20:43:18]wFMCommunicate OK [20:43:18]wFMCommunicate request_size=16 [20:43:18]MH_SAM_APDU [20:43:18]CAPDU: 80 0D 02 02 0B 00 35 04 06 00 30 5A FF 2B C1 54 [20:43:18]Write to MH i2c: E2 13 00 5F 1F 80 0D 02 02 0B 00 00 35 04 06 00 30 5A FF 2B C1 54 00 00 16 [20:43:18]Write i2c OK [20:43:18]MH_I2C_Read... [20:43:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:18]Read from MH i2c: E2 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 03 00 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 03 00 5F 1F 00 90 00 F2 [20:43:18]RAPDU: 90 00 [20:43:18]wFMCommunicate OK [20:43:18]wFMCommunicate request_size=4 [20:43:18]MH_SAM_APDU [20:43:18]CAPDU: 80 0D 03 02 [20:43:18]Write to MH i2c: E2 08 00 60 1F 80 0D 03 02 00 00 00 00 FA [20:43:18]Write i2c OK [20:43:18]MH_I2C_Read... [20:43:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:43:18]Read from MH i2c: E2 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 0B 00 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 0B 00 60 1F 00 56 7B 72 37 1B 06 55 5B 90 00 46 [20:43:18]RAPDU: 56 7B 72 37 1B 06 55 5B 90 00 [20:43:18]wFMCommunicate OK [20:43:18]SAM_PROTO_SignData done [20:43:18]FM_MakeSignedData done [20:43:18]CreateOFDProtocolMessage [20:43:18]wFMCommunicate request_size=4 [20:43:18]MH_SAM_APDU [20:43:18]CAPDU: 80 11 00 00 [20:43:18]Write to MH i2c: E2 08 00 61 1F 80 11 00 00 00 00 00 00 FA [20:43:18]Write i2c OK [20:43:18]MH_I2C_Read... [20:43:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:18]Read from MH i2c: E2 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 17 00 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: E2 17 00 61 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 46 [20:43:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:43:18]wFMCommunicate OK [20:43:18]CreateOFDProtocolMessage done [20:43:18]OFDSenderStorePacket 33427 [20:43:18]StoreOFDPacket docnum=33427 [20:43:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 02 00 00 18 03 07 02 7B 10 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 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 2E 00 00 00 F4 03 04 00 EB E6 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 93 82 00 00 35 04 06 00 30 5A FF 2B C1 54 56 7B 72 37 1B 06 55 5B [20:43:18]CheckFolder [20:43:18]dirname=/storage/ofd_packets [20:43:18]CheckFolder done [20:43:18]ProducePacketName [20:43:18]name=ofd_packets/00033427 [20:43:18]NVStorageSaveData ofd_packets/00033427 [20:43:18]File name is /storage/ofd_packets/00033427 [20:43:18]Write 557 bytes [20:43:18]NVStorageSaveData done [20:43:18]OFDSenderStorePacket done [20:43:18]KKMCreateOFDPacket done [20:43:18]NVStorageSaveData kkm_last_timestamp [20:43:18]File name is /storage/kkm_last_timestamp [20:43:18]Write 4 bytes [20:43:18]NVStorageSaveData done [20:43:18]ExternCall_PrintAddStr [20:43:18]wPrintStart [20:43:18]Write to MH i2c: 01 00 00 62 1F 81 [20:43:18]Write i2c OK [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: 01 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: 01 07 00 [20:43:18]MH_I2C_Read... [20:43:18]Read from MH i2c: 01 07 00 62 1F 00 00 00 00 00 FF 0F 96 [20:43:18]RasterBufferAndPrint [20:43:18]line Счет N : (3)169239 [20:43:18]line ИНН: 02508201610067 [20:43:18]line Контрольно-Кассовый Чек [20:43:18]line ПРОДАЖА [20:43:18]line Товар: 4700000160181 [20:43:18]line Вода Байтик 1л [20:43:18]line 1.000 * 50.00 [20:43:18]line = 50.00 [20:43:18]line НДС 12% НСП 1% [20:43:18]line > о реализуемом товаре [20:43:18]line Товар: 4700000480517 [20:43:18]line Пиво Живое 1л ПЭТ [20:43:18]line 1.000 * 180.00 [20:43:18]line = 180.00 [20:43:18]line НДС 12% НСП 1% [20:43:18]line > о реализуемом товаре [20:43:18]line Товар: 4870235681062 [20:43:18]line Grizzly волнистые Колбаски с горчицей 55 [20:43:18]line 1.000 * 90.00 [20:43:18]line = 90.00 [20:43:18]line НДС 12% НСП 1% [20:43:18]line > о реализуемом товаре [20:43:18]line ИТОГО: 320.00 [20:43:18]line НСП 1% : 2.83 [20:43:18]line НДС 12% : 33.98 [20:43:18]line Наличными: 320.00 [20:43:18]line Безнал.: 0.00 [20:43:18]line Место: АЗС № 77 "Партнер Нефть" [20:43:18]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:43:18]line СНО: Общий режим [20:43:18]line Чек 46 13.07.2024 20:43 [20:43:18]line Смена: 434 ФФД: 1.0 [20:43:18]line ЗНМ: 0300000122 [20:43:18]line РНМ: 0000000000093033 [20:43:18]line Версия ККМ: 001 [20:43:18]line ФМ: 0000000000875104 [20:43:18]line ФД: 33427 [20:43:18]line ФПД: 53167386247508 [20:43:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T204323&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33427&fm=53167386247508&tin=02508201610067®Number=0000000000093033&sum=32000 [20:43:18]line 0 [20:43:18]OFD Sender: Processing packet 33427 [packets to send 6, broken 5] [20:43:18]ProducePacketName [20:43:18]name=ofd_packets/00033427 [20:43:18]OFD Sender: To server: pG, [20:43:18]CommunicateWithHost lk.salyk.kg:30040 [20:43:18]ConnectInit lk.salyk.kg [20:43:18]written 0, free lines is 4095 [20:43:18]Connected sock=10 [20:43:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 02 00 00 18 03 07 02 7B 10 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 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 2E 00 00 00 F4 03 04 00 EB E6 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 93 82 00 00 35 04 06 00 30 5A FF 2B C1 54 56 7B 72 37 1B 06 55 5B [20:43:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 BD CF 47 00 D0 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 93 82 00 00 F4 03 04 00 95 91 92 66 B6 04 01 00 00 D9 74 CB D6 A2 6E 17 41 [20:43:18]CommunicateWithHost err = 0 [20:43:18]CheckOFDResponse [20:43:18]1017 (14) - 77093643461234 [20:43:18]1041 (16) - 0000000000875104 [20:43:18]1040 (4) - 33427 [20:43:18]1012 (4) - 13.07.2024 14:39 [20:43:18]1206 (1) - 0 [20:43:18]OFD Sender: Remove packet 33427 [20:43:18]ProducePacketName [20:43:18]name=ofd_packets/00033427 [20:43:18]NVStorageDeleteData [20:43:19]Write to MH i2c: 01 00 00 97 1F B6 [20:43:19]Write i2c OK [20:43:19]MH_I2C_Read... [20:43:19]Read from MH i2c: 01 [20:43:19]MH_I2C_Read... [20:43:19]Read from MH i2c: 01 07 00 [20:43:19]MH_I2C_Read... [20:43:19]Read from MH i2c: 01 07 00 97 1F 00 00 00 00 00 2E 0C F7 [20:43:19]RasterBufferAndPrint [20:43:19]line [20:43:19]line [20:43:19]line [20:43:19]line [20:43:19]line [20:43:19]written 0, free lines is 3124 [20:43:19]MH_Cut [20:43:19]Write to MH i2c: D1 01 00 9E 1F 01 8F [20:43:19]Write i2c OK [20:43:19]MH_I2C_Read... [20:43:19]Read from MH i2c: D1 [20:43:19]MH_I2C_Read... [20:43:19]Read from MH i2c: D1 01 00 [20:43:19]MH_I2C_Read... [20:43:19]Read from MH i2c: D1 01 00 9E 1F 00 8E [20:43:19]Write to MH i2c: 01 00 00 9F 1F BE [20:43:19]Write i2c OK [20:43:19]MH_I2C_Read... [20:43:19]OFD Sender: No OFD packet to send [20:43:19]*** Cut start [20:43:19]*** Partial cut [20:43:19]*** CUTSNS_PIN = 1 [20:43:20]*** CUTSNS_PIN = 0 [20:43:20]*** Brake cut motor [20:43:20]Read from MH i2c: 01 [20:43:20]MH_I2C_Read... [20:43:20]*** Stop cut motor [20:43:20]*** Cut end [20:43:20]Read from MH i2c: 01 07 00 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: 01 07 00 9F 1F 00 00 00 00 00 FF 0F D3 [20:43:20]process_action close_receipt done [20:43:20]requested_data is exist [20:43:20]produce_requested_data [20:43:20]requested_item fm.sn is exist - process it [20:43:20]wFMCommunicate request_size=4 [20:43:20]MH_SAM_APDU [20:43:20]CAPDU: 80 11 00 00 [20:43:20]Write to MH i2c: E2 08 00 A0 1F 80 11 00 00 00 00 00 00 39 [20:43:20]Write i2c OK [20:43:20]MH_I2C_Read... [20:43:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:20]Read from MH i2c: E2 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: E2 17 00 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: E2 17 00 A0 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 85 [20:43:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:43:20]wFMCommunicate OK [20:43:20]requested_item fd.num is exist - process it [20:43:20]SAM_PROTO_GetFieldsCounters [20:43:20]wFMCommunicate request_size=4 [20:43:20]MH_SAM_APDU [20:43:20]CAPDU: 80 13 00 00 [20:43:20]Write to MH i2c: E2 08 00 A1 1F 80 13 00 00 00 00 00 00 3C [20:43:20]Write i2c OK [20:43:20]MH_I2C_Read... [20:43:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:43:20]Read from MH i2c: E2 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: E2 62 00 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: E2 62 00 A1 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 93 82 00 00 0E 04 04 00 B2 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 A1 [20:43:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 93 82 00 00 0E 04 04 00 B2 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 [20:43:20]wFMCommunicate OK [20:43:20]SAM_PROTO_GetFieldsCounters done [20:43:20]requested_item shift.num is exist - process it [20:43:20]requested_item shift.opened is exist - process it [20:43:20]req_shift_opened [20:43:20]FM_GetShiftState [20:43:20]SAM_PROTO_GetShiftState [20:43:20]wFMCommunicate request_size=4 [20:43:20]MH_SAM_APDU [20:43:20]CAPDU: 80 13 01 00 [20:43:20]Write to MH i2c: E2 08 00 A2 1F 80 13 01 00 00 00 00 00 3E [20:43:20]Write i2c OK [20:43:20]MH_I2C_Read... [20:43:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:20]Read from MH i2c: E2 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: E2 0E 00 [20:43:20]MH_I2C_Read... [20:43:20]Read from MH i2c: E2 0E 00 A2 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 1D [20:43:20]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [20:43:20]wFMCommunicate OK [20:43:20]SAM_PROTO_GetShiftState done [20:43:20]FM_GetShiftState done [20:43:20]req_shift_opened done [20:43:20]requested_item shift.open_date is exist - process it [20:43:20]req_shift_open_date [20:43:20]req_shift_open_date done [20:43:20]produce_requested_data done [20:43:20]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33427,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [20:43:20]process_action_free close_receipt [20:43:20]json_value_free [20:43:20]json_value_free done [20:43:20]process_json_proto returns [20:43:20]Send response to host [20:43:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33427,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [20:43:20]free response buf [20:43:20]execute_script done [20:43:20]execute_script returns [20:43:20]free content buf [20:43:20]Sock 9.Close socket [20:43:20]Sock 9.Thread stoped [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:47]accept exits with 7 [20:44:47]New connection [20:44:47]New thread 3066461540 created [20:44:47]Thread 3066604900 joined [20:44:47]Waiting for new connection... [20:44:47] Sock 7.Parse request [20:44:47]Sock 7.Check first char [20:44:47]Sock 7.First char is OK [20:44:47]request: POST /json_proto HTTP/1.0 [20:44:47]Method: POST [20:44:47]URL: /json_proto [20:44:47]Method is POST - this is cgi request [20:44:47]url: /json_proto [20:44:47]query_string will be loaded in cgi processing [20:44:47]execute_cgi json_proto POST (null) [20:44:47]execute_cgi path=json_proto method=POST [20:44:47]POST find Content-Length [20:44:47]Host: 172.17.35.196:8080 [20:44:47]Content-Length: 783 [20:44:47]Content-Type: application/json [20:44:47] [20:44:47]POST finish read [20:44:47]Found Content-Length = 783 [20:44:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169240", "tax_sys" : 0, "items" : [ { "code": "4860114390178", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A\u043E\u0433\u043E\u043B\u044C\u043D\u044B\u0439 \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0422\u0430\u0440\u0445", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:47]execute_script... [20:44: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)169240", "tax_sys" : 0, "items" : [ { "code": "4860114390178", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A\u043E\u0433\u043E\u043B\u044C\u043D\u044B\u0439 \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0422\u0430\u0440\u0445", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:47]POST & json_proto [20:44:47]process_json_proto [20:44:47]json parsed OK: [20:44:47]protocol is kg_v1.0 [20:44:47]action value=close_receipt [20:44:47]process_action close_receipt [20:44:47]cmd_close_receipt [20:44:47]MH_GetDate [20:44:47]Write to MH i2c: F0 00 00 A3 1F B1 [20:44:47]Write i2c OK [20:44:47]MH_I2C_Read... [20:44:47]Read from MH i2c: F0 [20:44:47]MH_I2C_Read... [20:44:47]Read from MH i2c: F0 09 00 [20:44:47]MH_I2C_Read... [20:44:47]Read from MH i2c: F0 09 00 A3 1F 00 47 E7 92 66 AD 14 F4 65 FA [20:44:47]GetLastDocTimeStamp 1720903403 [20:44:47]current date 1720903495 [20:44:47]FM_GetShiftState [20:44:47]SAM_PROTO_GetShiftState [20:44:47]wFMCommunicate request_size=4 [20:44:47]MH_SAM_APDU [20:44:47]CAPDU: 80 13 01 00 [20:44:47]Write to MH i2c: E2 08 00 A4 1F 80 13 01 00 00 00 00 00 40 [20:44:47]Write i2c OK [20:44:47]MH_I2C_Read... [20:44:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:47]Read from MH i2c: E2 [20:44:47]MH_I2C_Read... [20:44:47]Read from MH i2c: E2 0E 00 [20:44:47]MH_I2C_Read... [20:44:47]Read from MH i2c: E2 0E 00 A4 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 1F [20:44:47]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [20:44:47]wFMCommunicate OK [20:44:47]SAM_PROTO_GetShiftState done [20:44:47]FM_GetShiftState done [20:44:47]opened in 1720829207 [20:44:47]opened+sec_in_day 1720915607 [20:44:47]quantity*price = 15500 [20:44:47]sum+1 = 15501 [20:44:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 47 13.07.2024 20:44 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33428 ФПД: 159247050771663 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T204455&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33428&fm=159247050771663&tin=02508201610067®Number=0000000000093033&sum=15500 0 [20:44:48]StoreToDocumentArchive [20:44:48]shift 434 fd 33428 [20:44:48]save to /storage/0434/doc_00033428 [20:44:48]save last doc name /storage/0434/doc_00033428 to /storage/kkm_last_doc_name [20:44:48]save OK [20:44:48]Clear old archive folders... [20:44:48]ProcessDocumentItem done err = 0, tmpTLVsize=319 [20:44:48]tlvbuf is B6F006A0 [20:44:48]SAM_PROTO_ClearQueue [20:44:48]wFMCommunicate request_size=4 [20:44:48]MH_SAM_APDU [20:44:48]CAPDU: 80 09 00 00 [20:44:48]Write to MH i2c: E2 08 00 B1 1F 80 09 00 00 00 00 00 00 42 [20:44:48]Write i2c OK [20:44:48]MH_I2C_Read... [20:44:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:44:48]Read from MH i2c: E2 [20:44:48]MH_I2C_Read... [20:44:48]Read from MH i2c: E2 03 00 [20:44:48]MH_I2C_Read... [20:44:48]Read from MH i2c: E2 03 00 B1 1F 00 90 00 44 [20:44:48]RAPDU: 90 00 [20:44:48]wFMCommunicate OK [20:44:48]SAM_PROTO_ClearQueue done [20:44:48]KKMCreateOFDPacket [20:44:48]OFDProtocolAddRootSTLVToBuf [20:44:48]FM_MakeSignedData [20:44:48]FM_MakeSignedData [20:44:48]SAM_PROTO_SignData [20:44:48]wFMCommunicate request_size=4 [20:44:48]MH_SAM_APDU [20:44:48]CAPDU: 80 0D 01 02 [20:44:48]Write to MH i2c: E2 08 00 B2 1F 80 0D 01 02 00 00 00 00 4A [20:44:48]Write i2c OK [20:44:48]MH_I2C_Read... [20:44:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:44:48]Read from MH i2c: E2 [20:44:48]MH_I2C_Read... [20:44:48]Read from MH i2c: E2 03 00 [20:44:48]MH_I2C_Read... [20:44:48]Read from MH i2c: E2 03 00 B2 1F 00 90 00 45 [20:44:48]RAPDU: 90 00 [20:44:48]wFMCommunicate OK [20:44:48]wFMCommunicate request_size=255 [20:44:48]MH_SAM_APDU [20:44:48]CAPDU: 80 0D 02 02 FA 03 00 3F 01 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 37 38 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 A2 D0 B0 D1 80 D1 85 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 47 E7 [20:44:48]Write to MH i2c: E2 02 01 B3 1F 80 0D 02 02 FA 00 03 00 3F 01 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 37 38 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 A2 D0 B0 D1 80 D1 85 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 47 E7 00 00 86 [20:44:48]Write i2c OK [20:44:48]MH_I2C_Read... [20:44:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:48]Read from MH i2c: E2 [20:44:48]MH_I2C_Read... [20:44:48]Read from MH i2c: E2 03 00 [20:44:48]MH_I2C_Read... [20:44:48]Read from MH i2c: E2 03 00 B3 1F 00 90 00 46 [20:44:48]RAPDU: 90 00 [20:44:48]wFMCommunicate OK [20:44:48]wFMCommunicate request_size=78 [20:44:48]MH_SAM_APDU [20:44:48]CAPDU: 80 0D 02 02 49 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 94 82 00 00 35 04 06 00 90 D5 97 E4 8C CF [20:44:48]Write to MH i2c: E2 51 00 B4 1F 80 0D 02 02 49 00 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 94 82 00 00 35 04 06 00 90 D5 97 E4 8C CF 00 00 78 [20:44:48]Write i2c OK [20:44:48]MH_I2C_Read... [20:44:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:49]Read from MH i2c: E2 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: E2 03 00 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: E2 03 00 B4 1F 00 90 00 47 [20:44:49]RAPDU: 90 00 [20:44:49]wFMCommunicate OK [20:44:49]wFMCommunicate request_size=4 [20:44:49]MH_SAM_APDU [20:44:49]CAPDU: 80 0D 03 02 [20:44:49]Write to MH i2c: E2 08 00 B5 1F 80 0D 03 02 00 00 00 00 4F [20:44:49]Write i2c OK [20:44:49]MH_I2C_Read... [20:44:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:44:49]Read from MH i2c: E2 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: E2 0B 00 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: E2 0B 00 B5 1F 00 B5 67 4F B9 92 C4 1F 9E 90 00 87 [20:44:49]RAPDU: B5 67 4F B9 92 C4 1F 9E 90 00 [20:44:49]wFMCommunicate OK [20:44:49]SAM_PROTO_SignData done [20:44:49]FM_MakeSignedData done [20:44:49]CreateOFDProtocolMessage [20:44:49]wFMCommunicate request_size=4 [20:44:49]MH_SAM_APDU [20:44:49]CAPDU: 80 11 00 00 [20:44:49]Write to MH i2c: E2 08 00 B6 1F 80 11 00 00 00 00 00 00 4F [20:44:49]Write i2c OK [20:44:49]MH_I2C_Read... [20:44:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:49]Read from MH i2c: E2 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: E2 17 00 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: E2 17 00 B6 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9B [20:44:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:44:49]wFMCommunicate OK [20:44:49]CreateOFDProtocolMessage done [20:44:49]OFDSenderStorePacket 33428 [20:44:49]StoreOFDPacket docnum=33428 [20:44:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 53 01 00 00 96 F3 4B 01 55 25 5A 03 01 00 03 00 3F 01 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 37 38 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 A2 D0 B0 D1 80 D1 85 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 47 E7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 94 82 00 00 35 04 06 00 90 D5 97 E4 8C CF B5 67 4F B9 92 C4 1F 9E [20:44:49]CheckFolder [20:44:49]dirname=/storage/ofd_packets [20:44:49]CheckFolder done [20:44:49]ProducePacketName [20:44:49]name=ofd_packets/00033428 [20:44:49]NVStorageSaveData ofd_packets/00033428 [20:44:49]File name is /storage/ofd_packets/00033428 [20:44:49]Write 369 bytes [20:44:49]NVStorageSaveData done [20:44:49]OFDSenderStorePacket done [20:44:49]KKMCreateOFDPacket done [20:44:49]NVStorageSaveData kkm_last_timestamp [20:44:49]File name is /storage/kkm_last_timestamp [20:44:49]Write 4 bytes [20:44:49]NVStorageSaveData done [20:44:49]ExternCall_PrintAddStr [20:44:49]wPrintStart [20:44:49]Write to MH i2c: 01 00 00 B7 1F D6 [20:44:49]Write i2c OK [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: 01 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: 01 07 00 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: 01 07 00 B7 1F 00 00 00 00 00 FF 0F EB [20:44:49]RasterBufferAndPrint [20:44:49]line Счет N : (3)169240 [20:44:49]line ИНН: 02508201610067 [20:44:49]line Контрольно-Кассовый Чек [20:44:49]line ПРОДАЖА [20:44:49]line Товар: 4860114390178 [20:44:49]line Напиток безалкогольный газированный Тарх [20:44:49]line 1.000 * 155.00 [20:44:49]line = 155.00 [20:44:49]line НДС 12% НСП 1% [20:44:49]line > о реализуемом товаре [20:44:49]line ИТОГО: 155.00 [20:44:49]line НСП 1% : 1.37 [20:44:49]line НДС 12% : 16.46 [20:44:49]line Наличными: 155.00 [20:44:49]line Безнал.: 0.00 [20:44:49]line Место: АЗС № 77 "Партнер Нефть" [20:44:49]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:44:49]line СНО: Общий режим [20:44:49]line Чек 47 13.07.2024 20:44 [20:44:49]line Смена: 434 ФФД: 1.0 [20:44:49]line ЗНМ: 0300000122 [20:44:49]line РНМ: 0000000000093033 [20:44:49]line Версия ККМ: 001 [20:44:49]line ФМ: 0000000000875104 [20:44:49]line ФД: 33428 [20:44:49]line ФПД: 159247050771663 [20:44:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T204455&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33428&fm=159247050771663&tin=02508201610067®Number=0000000000093033&sum=15500 [20:44:49]line 0 [20:44:49]OFD Sender: Processing packet 33428 [packets to send 6, broken 5] [20:44:49]ProducePacketName [20:44:49]name=ofd_packets/00033428 [20:44:49]OFD Sender: To server: pG, [20:44:49]CommunicateWithHost lk.salyk.kg:30040 [20:44:49]ConnectInit lk.salyk.kg [20:44:49]written 0, free lines is 4095 [20:44:49]Connected sock=10 [20:44:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 53 01 00 00 96 F3 4B 01 55 25 5A 03 01 00 03 00 3F 01 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 37 38 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 A2 D0 B0 D1 80 D1 85 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 47 E7 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 94 82 00 00 35 04 06 00 90 D5 97 E4 8C CF B5 67 4F B9 92 C4 1F 9E [20:44:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A3 24 47 00 4C 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 35 31 30 34 10 04 04 00 94 82 00 00 F4 03 04 00 F0 91 92 66 B6 04 01 00 00 CF 38 52 00 6C 05 4A AC [20:44:49]CommunicateWithHost err = 0 [20:44:49]CheckOFDResponse [20:44:49]1017 (14) - 77093643461234 [20:44:49]1041 (16) - 0000000000875104 [20:44:49]1040 (4) - 33428 [20:44:49]1012 (4) - 13.07.2024 14:40 [20:44:49]1206 (1) - 0 [20:44:49]OFD Sender: Remove packet 33428 [20:44:49]ProducePacketName [20:44:49]name=ofd_packets/00033428 [20:44:49]NVStorageDeleteData [20:44:49]Write to MH i2c: 01 00 00 E0 1F FF [20:44:49]Write i2c OK [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: 01 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: 01 07 00 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: 01 07 00 E0 1F 00 00 00 00 00 E8 0C FA [20:44:49]RasterBufferAndPrint [20:44:49]line [20:44:49]line [20:44:49]line [20:44:49]line [20:44:49]line [20:44:49]written 0, free lines is 3310 [20:44:49]MH_Cut [20:44:49]Write to MH i2c: D1 01 00 E7 1F 01 D8 [20:44:49]Write i2c OK [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: D1 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: D1 01 00 [20:44:49]MH_I2C_Read... [20:44:49]Read from MH i2c: D1 01 00 E7 1F 00 D7 [20:44:49]Write to MH i2c: 01 00 00 E8 1F 07 [20:44:49]Write i2c OK [20:44:49]MH_I2C_Read... [20:44:50]OFD Sender: No OFD packet to send [20:44:50]*** Cut start [20:44:50]*** Partial cut [20:44:50]*** CUTSNS_PIN = 1 [20:44:50]*** CUTSNS_PIN = 0 [20:44:51]*** Brake cut motor [20:44:51]Read from MH i2c: 01 [20:44:51]MH_I2C_Read... [20:44:51]*** Stop cut motor [20:44:51]*** Cut end [20:44:51]Read from MH i2c: 01 07 00 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: 01 07 00 E8 1F 00 00 00 00 00 FF 0F 1C [20:44:51]process_action close_receipt done [20:44:51]requested_data is exist [20:44:51]produce_requested_data [20:44:51]requested_item fm.sn is exist - process it [20:44:51]wFMCommunicate request_size=4 [20:44:51]MH_SAM_APDU [20:44:51]CAPDU: 80 11 00 00 [20:44:51]Write to MH i2c: E2 08 00 E9 1F 80 11 00 00 00 00 00 00 82 [20:44:51]Write i2c OK [20:44:51]MH_I2C_Read... [20:44:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:51]Read from MH i2c: E2 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: E2 17 00 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: E2 17 00 E9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CE [20:44:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:44:51]wFMCommunicate OK [20:44:51]requested_item fd.num is exist - process it [20:44:51]SAM_PROTO_GetFieldsCounters [20:44:51]wFMCommunicate request_size=4 [20:44:51]MH_SAM_APDU [20:44:51]CAPDU: 80 13 00 00 [20:44:51]Write to MH i2c: E2 08 00 EA 1F 80 13 00 00 00 00 00 00 85 [20:44:51]Write i2c OK [20:44:51]MH_I2C_Read... [20:44:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:44:51]Read from MH i2c: E2 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: E2 62 00 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: E2 62 00 EA 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 94 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [20:44:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 94 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:44:51]wFMCommunicate OK [20:44:51]SAM_PROTO_GetFieldsCounters done [20:44:51]requested_item shift.num is exist - process it [20:44:51]requested_item shift.opened is exist - process it [20:44:51]req_shift_opened [20:44:51]FM_GetShiftState [20:44:51]SAM_PROTO_GetShiftState [20:44:51]wFMCommunicate request_size=4 [20:44:51]MH_SAM_APDU [20:44:51]CAPDU: 80 13 01 00 [20:44:51]Write to MH i2c: E2 08 00 EB 1F 80 13 01 00 00 00 00 00 87 [20:44:51]Write i2c OK [20:44:51]MH_I2C_Read... [20:44:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:51]Read from MH i2c: E2 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: E2 0E 00 [20:44:51]MH_I2C_Read... [20:44:51]Read from MH i2c: E2 0E 00 EB 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 66 [20:44:51]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [20:44:51]wFMCommunicate OK [20:44:51]SAM_PROTO_GetShiftState done [20:44:51]FM_GetShiftState done [20:44:51]req_shift_opened done [20:44:51]requested_item shift.open_date is exist - process it [20:44:51]req_shift_open_date [20:44:51]req_shift_open_date done [20:44:51]produce_requested_data done [20:44:51]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33428,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [20:44:51]process_action_free close_receipt [20:44:51]json_value_free [20:44:51]json_value_free done [20:44:51]process_json_proto returns [20:44:51]Send response to host [20:44:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33428,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [20:44:51]free response buf [20:44:51]execute_script done [20:44:51]execute_script returns [20:44:51]free content buf [20:44:51]Sock 7.Close socket [20:44:51]Sock 7.Thread stoped [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:41]OFD Sender: No OFD packet to send [21:14:46]OFD Sender: No OFD packet to send [21:14:51]OFD Sender: No OFD packet to send [21:14:56]OFD Sender: No OFD packet to send [21:15:01]OFD Sender: No OFD packet to send [21:15:06]OFD Sender: No OFD packet to send [21:15:11]OFD Sender: No OFD packet to send [21:15:16]OFD Sender: No OFD packet to send [21:15:21]OFD Sender: No OFD packet to send [21:15:26]OFD Sender: No OFD packet to send [21:15:31]OFD Sender: No OFD packet to send [21:15:36]OFD Sender: No OFD packet to send [21:15:41]OFD Sender: No OFD packet to send [21:15:46]OFD Sender: No OFD packet to send [21:15:51]OFD Sender: No OFD packet to send [21:15:56]OFD Sender: No OFD packet to send [21:16:01]OFD Sender: No OFD packet to send [21:16:06]OFD Sender: No OFD packet to send [21:16:11]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:47]OFD Sender: No OFD packet to send [21:20:52]OFD Sender: No OFD packet to send [21:20:57]OFD Sender: No OFD packet to send [21:21:02]OFD Sender: No OFD packet to send [21:21:07]OFD Sender: No OFD packet to send [21:21:12]OFD Sender: No OFD packet to send [21:21:17]OFD Sender: No OFD packet to send [21:21:22]OFD Sender: No OFD packet to send [21:21:27]OFD Sender: No OFD packet to send [21:21:32]OFD Sender: No OFD packet to send [21:21:37]OFD Sender: No OFD packet to send [21:21:42]OFD Sender: No OFD packet to send [21:21:47]OFD Sender: No OFD packet to send [21:21:52]OFD Sender: No OFD packet to send [21:21:57]OFD Sender: No OFD packet to send [21:22:02]OFD Sender: No OFD packet to send [21:22:07]OFD Sender: No OFD packet to send [21:22:12]OFD Sender: No OFD packet to send [21:22:17]OFD Sender: No OFD packet to send [21:22:22]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:02]OFD Sender: No OFD packet to send [21:24:07]OFD Sender: No OFD packet to send [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:37]OFD Sender: No OFD packet to send [21:24:42]OFD Sender: No OFD packet to send [21:24:47]OFD Sender: No OFD packet to send [21:24:52]OFD Sender: No OFD packet to send [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:32]OFD Sender: No OFD packet to send [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:07]OFD Sender: No OFD packet to send [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]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:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:17]accept exits with 9 [21:52:17]New connection [21:52:17]New thread 3066604900 created [21:52:17]Thread 3066461540 joined [21:52:17]Waiting for new connection... [21:52:17] Sock 9.Parse request [21:52:17]Sock 9.Check first char [21:52:17]Sock 9.First char is OK [21:52:17]request: POST /json_proto HTTP/1.0 [21:52:17]Method: POST [21:52:17]URL: /json_proto [21:52:17]Method is POST - this is cgi request [21:52:17]url: /json_proto [21:52:17]query_string will be loaded in cgi processing [21:52:17]execute_cgi json_proto POST (null) [21:52:17]execute_cgi path=json_proto method=POST [21:52:17]POST find Content-Length [21:52:17]Host: 172.17.35.196:8080 [21:52:17]Content-Length: 678 [21:52:17]Content-Type: application/json [21:52:17] [21:52:17]POST finish read [21:52:17]Found Content-Length = 678 [21:52:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169241", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:17]execute_script... [21:52: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)169241", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:17]POST & json_proto [21:52:17]process_json_proto [21:52:17]json parsed OK: [21:52:17]protocol is kg_v1.0 [21:52:17]action value=close_receipt [21:52:17]process_action close_receipt [21:52:17]cmd_close_receipt [21:52:17]MH_GetDate [21:52:17]Write to MH i2c: F0 00 00 EC 1F FA [21:52:17]Write i2c OK [21:52:17]MH_I2C_Read... [21:52:17]Read from MH i2c: F0 [21:52:17]MH_I2C_Read... [21:52:17]Read from MH i2c: F0 09 00 [21:52:17]MH_I2C_Read... [21:52:17]Read from MH i2c: F0 09 00 EC 1F 00 19 F7 92 66 AD 14 F4 65 25 [21:52:17]GetLastDocTimeStamp 1720903495 [21:52:17]current date 1720907545 [21:52:17]FM_GetShiftState [21:52:17]SAM_PROTO_GetShiftState [21:52:17]wFMCommunicate request_size=4 [21:52:17]MH_SAM_APDU [21:52:17]CAPDU: 80 13 01 00 [21:52:17]Write to MH i2c: E2 08 00 ED 1F 80 13 01 00 00 00 00 00 89 [21:52:17]Write i2c OK [21:52:17]MH_I2C_Read... [21:52:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:17]Read from MH i2c: E2 [21:52:17]MH_I2C_Read... [21:52:17]Read from MH i2c: E2 0E 00 [21:52:17]MH_I2C_Read... [21:52:17]Read from MH i2c: E2 0E 00 ED 1F 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 68 [21:52:17]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [21:52:17]wFMCommunicate OK [21:52:17]SAM_PROTO_GetShiftState done [21:52:17]FM_GetShiftState done [21:52:17]opened in 1720829207 [21:52:17]opened+sec_in_day 1720915607 [21:52:17]quantity*price = 11000 [21:52:17]sum+1 = 11001 [21:52:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 49 13.07.2024 22:11 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33430 ФПД: 52220603010952 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221140&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33430&fm=52220603010952&tin=02508201610067®Number=0000000000093033&sum=10000 0 [22:11:41]StoreToDocumentArchive [22:11:41]shift 434 fd 33430 [22:11:41]save to /storage/0434/doc_00033430 [22:11:41]save last doc name /storage/0434/doc_00033430 to /storage/kkm_last_doc_name [22:11:41]save OK [22:11:41]Clear old archive folders... [22:11:41]ProcessDocumentItem done err = 0, tmpTLVsize=267 [22:11:41]tlvbuf is 01387560 [22:11:41]SAM_PROTO_ClearQueue [22:11:41]wFMCommunicate request_size=4 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 09 00 00 [22:11:41]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [22:11:41]RAPDU: 90 00 [22:11:41]wFMCommunicate OK [22:11:41]SAM_PROTO_ClearQueue done [22:11:41]KKMCreateOFDPacket [22:11:41]OFDProtocolAddRootSTLVToBuf [22:11:41]FM_MakeSignedData [22:11:41]FM_MakeSignedData [22:11:41]SAM_PROTO_SignData [22:11:41]wFMCommunicate request_size=4 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 0D 01 02 [22:11:41]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [22:11:41]RAPDU: 90 00 [22:11:41]wFMCommunicate OK [22:11:41]wFMCommunicate request_size=255 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9C FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 [22:11:41]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9C FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 00 00 CF [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [22:11:41]RAPDU: 90 00 [22:11:41]wFMCommunicate OK [22:11:41]wFMCommunicate request_size=26 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 0D 02 02 15 31 30 34 10 04 04 00 96 82 00 00 35 04 06 00 2F 7E 8E 7E 0F 88 [22:11:41]Write to MH i2c: E2 1D 00 2E 00 80 0D 02 02 15 00 31 30 34 10 04 04 00 96 82 00 00 35 04 06 00 2F 7E 8E 7E 0F 88 00 00 26 [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [22:11:41]RAPDU: 90 00 [22:11:41]wFMCommunicate OK [22:11:41]wFMCommunicate request_size=4 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 0D 03 02 [22:11:41]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 0B 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 0B 00 2F 00 00 DA B9 08 53 96 1A D4 A4 90 00 C1 [22:11:41]RAPDU: DA B9 08 53 96 1A D4 A4 90 00 [22:11:41]wFMCommunicate OK [22:11:41]SAM_PROTO_SignData done [22:11:41]FM_MakeSignedData done [22:11:41]CreateOFDProtocolMessage [22:11:41]wFMCommunicate request_size=4 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 11 00 00 [22:11:41]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 17 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F6 [22:11:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:11:41]wFMCommunicate OK [22:11:41]CreateOFDProtocolMessage done [22:11:41]OFDSenderStorePacket 33430 [22:11:41]StoreOFDPacket docnum=33430 [22:11:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 1F 01 00 00 C5 3B 17 01 3A 2E 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9C FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 96 82 00 00 35 04 06 00 2F 7E 8E 7E 0F 88 DA B9 08 53 96 1A D4 A4 [22:11:41]CheckFolder [22:11:41]dirname=/storage/ofd_packets [22:11:41]CheckFolder done [22:11:41]ProducePacketName [22:11:41]name=ofd_packets/00033430 [22:11:41]NVStorageSaveData ofd_packets/00033430 [22:11:41]File name is /storage/ofd_packets/00033430 [22:11:41]Write 317 bytes [22:11:41]NVStorageSaveData done [22:11:41]OFDSenderStorePacket done [22:11:41]KKMCreateOFDPacket done [22:11:41]NVStorageSaveData kkm_last_timestamp [22:11:41]File name is /storage/kkm_last_timestamp [22:11:41]Write 4 bytes [22:11:41]NVStorageSaveData done [22:11:41]ExternCall_PrintAddStr [22:11:41]wPrintStart [22:11:41]Write to MH i2c: 01 00 00 31 00 31 [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: 01 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: 01 07 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [22:11:41]RasterBufferAndPrint [22:11:41]line Счет N : (3)169242 [22:11:41]line ИНН: 02508201610067 [22:11:41]line Контрольно-Кассовый Чек [22:11:41]line ПРОДАЖА [22:11:41]line Товар: 4700000160181 [22:11:41]line Вода Байтик 1л [22:11:41]line 2.000 * 50.00 [22:11:41]line = 100.00 [22:11:41]line НДС 12% НСП 1% [22:11:41]line > о реализуемом товаре [22:11:41]line ИТОГО: 100.00 [22:11:41]line НСП 1% : 0.88 [22:11:41]line НДС 12% : 10.62 [22:11:41]line Наличными: 100.00 [22:11:41]line Безнал.: 0.00 [22:11:41]line Место: АЗС № 77 "Партнер Нефть" [22:11:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:11:41]line СНО: Общий режим [22:11:41]line Чек 49 13.07.2024 22:11 [22:11:41]line Смена: 434 ФФД: 1.0 [22:11:41]line ЗНМ: 0300000122 [22:11:41]line РНМ: 0000000000093033 [22:11:41]line Версия ККМ: 001 [22:11:41]line ФМ: 0000000000875104 [22:11:41]line ФД: 33430 [22:11:41]line ФПД: 52220603010952 [22:11:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221140&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33430&fm=52220603010952&tin=02508201610067®Number=0000000000093033&sum=10000 [22:11:41]line 0 [22:11:41]written 0, free lines is 4095 [22:11:41]OFD Sender: Processing packet 33430 [packets to send 6, broken 5] [22:11:41]ProducePacketName [22:11:41]name=ofd_packets/00033430 [22:11:41]OFD Sender: To server: pG, [22:11:41]CommunicateWithHost lk.salyk.kg:30040 [22:11:41]ConnectInit lk.salyk.kg [22:11:41]Connected sock=10 [22:11:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 1F 01 00 00 C5 3B 17 01 3A 2E 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9C FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 96 82 00 00 35 04 06 00 2F 7E 8E 7E 0F 88 DA B9 08 53 96 1A D4 A4 [22:11:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 CA 9C 47 00 F1 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 96 82 00 00 F4 03 04 00 46 A6 92 66 B6 04 01 00 00 F7 A5 F4 1E 2A E7 C8 A4 [22:11:42]CommunicateWithHost err = 0 [22:11:42]CheckOFDResponse [22:11:42]1017 (14) - 77093643461234 [22:11:42]1041 (16) - 0000000000875104 [22:11:42]1040 (4) - 33430 [22:11:42]1012 (4) - 13.07.2024 16:07 [22:11:42]1206 (1) - 0 [22:11:42]OFD Sender: Remove packet 33430 [22:11:42]ProducePacketName [22:11:42]name=ofd_packets/00033430 [22:11:42]NVStorageDeleteData [22:11:42]Write to MH i2c: 01 00 00 59 00 59 [22:11:42]Write i2c OK [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: 01 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: 01 07 00 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 0F 0D 7C [22:11:42]RasterBufferAndPrint [22:11:42]line [22:11:42]line [22:11:42]line [22:11:42]line [22:11:42]line [22:11:42]written 0, free lines is 3359 [22:11:42]MH_Cut [22:11:42]Write to MH i2c: D1 01 00 60 00 01 32 [22:11:42]Write i2c OK [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: D1 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: D1 01 00 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: D1 01 00 60 00 00 31 [22:11:42]Write to MH i2c: 01 00 00 61 00 61 [22:11:42]Write i2c OK [22:11:42]MH_I2C_Read... [22:11:42]OFD Sender: No OFD packet to send [22:11:42]*** Cut start [22:11:42]*** Partial cut [22:11:42]*** CUTSNS_PIN = 1 [22:11:43]*** CUTSNS_PIN = 0 [22:11:43]*** Brake cut motor [22:11:43]Read from MH i2c: 01 *** Stop cut motor [22:11:43] [22:11:43]*** Cut end [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: 01 07 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [22:11:43]process_action close_receipt done [22:11:43]requested_data is exist [22:11:43]produce_requested_data [22:11:43]requested_item fm.sn is exist - process it [22:11:43]wFMCommunicate request_size=4 [22:11:43]MH_SAM_APDU [22:11:43]CAPDU: 80 11 00 00 [22:11:43]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 17 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 28 [22:11:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:11:43]wFMCommunicate OK [22:11:43]requested_item fd.num is exist - process it [22:11:43]SAM_PROTO_GetFieldsCounters [22:11:43]wFMCommunicate request_size=4 [22:11:43]MH_SAM_APDU [22:11:43]CAPDU: 80 13 00 00 [22:11:43]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 62 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 96 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [22:11:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 96 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:11:43]wFMCommunicate OK [22:11:43]SAM_PROTO_GetFieldsCounters done [22:11:43]requested_item shift.num is exist - process it [22:11:43]requested_item shift.opened is exist - process it [22:11:43]req_shift_opened [22:11:43]FM_GetShiftState [22:11:43]SAM_PROTO_GetShiftState [22:11:43]wFMCommunicate request_size=4 [22:11:43]MH_SAM_APDU [22:11:43]CAPDU: 80 13 01 00 [22:11:43]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 0E 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C0 [22:11:43]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:11:43]wFMCommunicate OK [22:11:43]SAM_PROTO_GetShiftState done [22:11:43]FM_GetShiftState done [22:11:43]req_shift_opened done [22:11:43]requested_item shift.open_date is exist - process it [22:11:43]req_shift_open_date [22:11:43]req_shift_open_date done [22:11:43]produce_requested_data done [22:11:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33430,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [22:11:43]process_action_free close_receipt [22:11:43]json_value_free [22:11:43]json_value_free done [22:11:43]process_json_proto returns [22:11:43]Send response to host [22:11:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33430,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [22:11:43]free response buf [22:11:43]execute_script done [22:11:43]execute_script returns [22:11:43]free content buf [22:11:43]Sock 5.Close socket [22:11:43]Sock 5.Thread stoped [22:11:45]accept exits with 9 [22:11:45]New connection [22:11:45]New thread 3067444580 created [22:11:45]Thread 3067587940 joined [22:11:45]Waiting for new connection... [22:11:45] Sock 9.Parse request [22:11:45]Sock 9.Check first char [22:11:45]Sock 9.First char is OK [22:11:45]request: POST /json_proto HTTP/1.0 [22:11:45]Method: POST [22:11:45]URL: /json_proto [22:11:45]Method is POST - this is cgi request [22:11:45]url: /json_proto [22:11:45]query_string will be loaded in cgi processing [22:11:45]execute_cgi json_proto POST (null) [22:11:45]execute_cgi path=json_proto method=POST [22:11:45]POST find Content-Length [22:11:45]Host: 172.17.35.196:8080 [22:11:45]Content-Length: 660 [22:11:45]Content-Type: application/json [22:11:45] [22:11:45]POST finish read [22:11:45]Found Content-Length = 660 [22:11:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169243", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:45]execute_script... [22:11: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)169243", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:45]POST & json_proto [22:11:45]process_json_proto [22:11:45]json parsed OK: [22:11:45]protocol is kg_v1.0 [22:11:45]action value=close_receipt [22:11:45]process_action close_receipt [22:11:45]cmd_close_receipt [22:11:45]MH_GetDate [22:11:45]Write to MH i2c: F0 00 00 65 00 54 [22:11:45]Write i2c OK [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: F0 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: F0 09 00 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: F0 09 00 65 00 00 A2 FB 92 66 AD 14 F4 65 0C [22:11:45]GetLastDocTimeStamp 1720908700 [22:11:45]current date 1720908706 [22:11:45]FM_GetShiftState [22:11:45]SAM_PROTO_GetShiftState [22:11:45]wFMCommunicate request_size=4 [22:11:45]MH_SAM_APDU [22:11:45]CAPDU: 80 13 01 00 [22:11:45]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [22:11:45]Write i2c OK [22:11:45]MH_I2C_Read... [22:11:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:45]Read from MH i2c: E2 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 0E 00 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 C2 [22:11:45]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:11:45]wFMCommunicate OK [22:11:45]SAM_PROTO_GetShiftState done [22:11:45]FM_GetShiftState done [22:11:45]opened in 1720829207 [22:11:45]opened+sec_in_day 1720915607 [22:11:45]quantity*price = 15500 [22:11:45]sum+1 = 15501 [22:11:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 50 13.07.2024 22:11 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33431 ФПД: 196805284922868 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221146&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33431&fm=196805284922868&tin=02508201610067®Number=0000000000093033&sum=15500 0 [22:11:47]StoreToDocumentArchive [22:11:47]shift 434 fd 33431 [22:11:47]save to /storage/0434/doc_00033431 [22:11:47]save last doc name /storage/0434/doc_00033431 to /storage/kkm_last_doc_name [22:11:47]save OK [22:11:47]Clear old archive folders... [22:11:47]ProcessDocumentItem done err = 0, tmpTLVsize=280 [22:11:47]tlvbuf is 01387180 [22:11:47]SAM_PROTO_ClearQueue [22:11:47]wFMCommunicate request_size=4 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 09 00 00 [22:11:47]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [22:11:47]RAPDU: 90 00 [22:11:47]wFMCommunicate OK [22:11:47]SAM_PROTO_ClearQueue done [22:11:47]KKMCreateOFDPacket [22:11:47]OFDProtocolAddRootSTLVToBuf [22:11:47]FM_MakeSignedData [22:11:47]FM_MakeSignedData [22:11:47]SAM_PROTO_SignData [22:11:47]wFMCommunicate request_size=4 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 0D 01 02 [22:11:47]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [22:11:47]RAPDU: 90 00 [22:11:47]wFMCommunicate OK [22:11:47]wFMCommunicate request_size=255 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 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 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A2 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [22:11:47]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 18 01 1E 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 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A2 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 79 [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [22:11:47]RAPDU: 90 00 [22:11:47]wFMCommunicate OK [22:11:47]wFMCommunicate request_size=39 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 97 82 00 00 35 04 06 00 B2 FE 4D 19 05 F4 [22:11:47]Write to MH i2c: E2 2A 00 76 00 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 97 82 00 00 35 04 06 00 B2 FE 4D 19 05 F4 00 00 CC [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [22:11:47]RAPDU: 90 00 [22:11:47]wFMCommunicate OK [22:11:47]wFMCommunicate request_size=4 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 0D 03 02 [22:11:47]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 0B 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 0B 00 77 00 00 7D 64 45 8E EB B7 72 65 90 00 20 [22:11:47]RAPDU: 7D 64 45 8E EB B7 72 65 90 00 [22:11:47]wFMCommunicate OK [22:11:47]SAM_PROTO_SignData done [22:11:47]FM_MakeSignedData done [22:11:47]CreateOFDProtocolMessage [22:11:47]wFMCommunicate request_size=4 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 11 00 00 [22:11:47]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 17 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 3E [22:11:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:11:47]wFMCommunicate OK [22:11:47]CreateOFDProtocolMessage done [22:11:47]OFDSenderStorePacket 33431 [22:11:47]StoreOFDPacket docnum=33431 [22:11:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 D5 30 24 01 CD 9E 5A 03 01 00 03 00 18 01 1E 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 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A2 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 97 82 00 00 35 04 06 00 B2 FE 4D 19 05 F4 7D 64 45 8E EB B7 72 65 [22:11:47]CheckFolder [22:11:47]dirname=/storage/ofd_packets [22:11:47]CheckFolder done [22:11:47]ProducePacketName [22:11:47]name=ofd_packets/00033431 [22:11:47]NVStorageSaveData ofd_packets/00033431 [22:11:47]File name is /storage/ofd_packets/00033431 [22:11:47]Write 330 bytes [22:11:47]NVStorageSaveData done [22:11:47]OFDSenderStorePacket done [22:11:47]KKMCreateOFDPacket done [22:11:47]NVStorageSaveData kkm_last_timestamp [22:11:47]File name is /storage/kkm_last_timestamp [22:11:47]Write 4 bytes [22:11:47]NVStorageSaveData done [22:11:47]ExternCall_PrintAddStr [22:11:47]wPrintStart [22:11:47]Write to MH i2c: 01 00 00 79 00 79 [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: 01 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: 01 07 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [22:11:47]RasterBufferAndPrint [22:11:47]line Счет N : (3)169243 [22:11:47]line ИНН: 02508201610067 [22:11:47]line Контрольно-Кассовый Чек [22:11:47]line ПРОДАЖА [22:11:47]line Товар: 5449000000439 [22:11:47]line Напиток Кока-Кола 1,5л [22:11:47]line 1.000 * 155.00 [22:11:47]line = 155.00 [22:11:47]line НДС 12% НСП 1% [22:11:47]line > о реализуемом товаре [22:11:47]line ИТОГО: 155.00 [22:11:47]line НСП 1% : 1.37 [22:11:47]line НДС 12% : 16.46 [22:11:47]line Наличными: 155.00 [22:11:47]line Безнал.: 0.00 [22:11:47]line Место: АЗС № 77 "Партнер Нефть" [22:11:47]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:11:47]line СНО: Общий режим [22:11:47]line Чек 50 13.07.2024 22:11 [22:11:47]line Смена: 434 ФФД: 1.0 [22:11:47]line ЗНМ: 0300000122 [22:11:47]line РНМ: 0000000000093033 [22:11:47]line Версия ККМ: 001 [22:11:47]line ФМ: 0000000000875104 [22:11:47]line ФД: 33431 [22:11:47]line ФПД: 196805284922868 [22:11:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221146&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33431&fm=196805284922868&tin=02508201610067®Number=0000000000093033&sum=15500 [22:11:47]line 0 [22:11:47]written 0, free lines is 4095 [22:11:47]OFD Sender: Processing packet 33431 [packets to send 6, broken 5] [22:11:47]ProducePacketName [22:11:47]name=ofd_packets/00033431 [22:11:47]OFD Sender: To server: pG, [22:11:47]CommunicateWithHost lk.salyk.kg:30040 [22:11:47]ConnectInit lk.salyk.kg [22:11:47]Connected sock=10 [22:11:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 D5 30 24 01 CD 9E 5A 03 01 00 03 00 18 01 1E 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 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A2 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 97 82 00 00 35 04 06 00 B2 FE 4D 19 05 F4 7D 64 45 8E EB B7 72 65 [22:11:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 79 E3 47 00 54 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 35 31 30 34 10 04 04 00 97 82 00 00 F4 03 04 00 4C A6 92 66 B6 04 01 00 00 4A F9 2E 9C CB 15 E8 23 [22:11:48]CommunicateWithHost err = 0 [22:11:48]CheckOFDResponse [22:11:48]1017 (14) - 77093643461234 [22:11:48]1041 (16) - 0000000000875104 [22:11:48]1040 (4) - 33431 [22:11:48]1012 (4) - 13.07.2024 16:07 [22:11:48]1206 (1) - 0 [22:11:48]OFD Sender: Remove packet 33431 [22:11:48]ProducePacketName [22:11:48]name=ofd_packets/00033431 [22:11:48]NVStorageDeleteData [22:11:48]Write to MH i2c: 01 00 00 A1 00 A1 [22:11:48]Write i2c OK [22:11:48]MH_I2C_Read... [22:11:48]Read from MH i2c: 01 [22:11:48]MH_I2C_Read... [22:11:48]Read from MH i2c: 01 07 00 [22:11:48]MH_I2C_Read... [22:11:48]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 11 0D C6 [22:11:48]RasterBufferAndPrint [22:11:48]line [22:11:48]line [22:11:48]line [22:11:48]line [22:11:48]line [22:11:48]written 0, free lines is 3366 [22:11:48]MH_Cut [22:11:48]Write to MH i2c: D1 01 00 A8 00 01 7A [22:11:48]Write i2c OK [22:11:48]MH_I2C_Read... [22:11:48]Read from MH i2c: D1 [22:11:48]MH_I2C_Read... [22:11:48]Read from MH i2c: D1 01 00 [22:11:48]MH_I2C_Read... [22:11:48]Read from MH i2c: D1 01 00 A8 00 00 79 [22:11:48]Write to MH i2c: 01 00 00 A9 00 A9 [22:11:48]Write i2c OK [22:11:48]MH_I2C_Read... [22:11:48]OFD Sender: No OFD packet to send [22:11:48]*** Cut start [22:11:48]*** Partial cut [22:11:48]*** CUTSNS_PIN = 1 [22:11:49]*** CUTSNS_PIN = 0 [22:11:49]*** Brake cut motor [22:11:49]Read from MH i2c: 01 *** Stop cut motor [22:11:49] [22:11:49]*** Cut end [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: 01 07 00 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: 01 07 00 A9 00 00 00 00 00 00 FF 0F BE [22:11:49]process_action close_receipt done [22:11:49]requested_data is exist [22:11:49]produce_requested_data [22:11:49]requested_item fm.sn is exist - process it [22:11:49]wFMCommunicate request_size=4 [22:11:49]MH_SAM_APDU [22:11:49]CAPDU: 80 11 00 00 [22:11:49]Write to MH i2c: E2 08 00 AA 00 80 11 00 00 00 00 00 00 24 [22:11:49]Write i2c OK [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: *** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:49]E2 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: E2 17 00 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: E2 17 00 AA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 70 [22:11:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:11:49]wFMCommunicate OK [22:11:49]requested_item fd.num is exist - process it [22:11:49]SAM_PROTO_GetFieldsCounters [22:11:49]wFMCommunicate request_size=4 [22:11:49]MH_SAM_APDU [22:11:49]CAPDU: 80 13 00 00 [22:11:49]Write to MH i2c: E2 08 00 AB 00 80 13 00 00 00 00 00 00 27 [22:11:49]Write i2c OK [22:11:49]MH_I2C_Read... [22:11:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:49]Read from MH i2c: E2 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: E2 62 00 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: E2 62 00 AB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 97 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [22:11:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 97 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:11:49]wFMCommunicate OK [22:11:49]SAM_PROTO_GetFieldsCounters done [22:11:49]requested_item shift.num is exist - process it [22:11:49]requested_item shift.opened is exist - process it [22:11:49]req_shift_opened [22:11:49]FM_GetShiftState [22:11:49]SAM_PROTO_GetShiftState [22:11:49]wFMCommunicate request_size=4 [22:11:49]MH_SAM_APDU [22:11:49]CAPDU: 80 13 01 00 [22:11:49]Write to MH i2c: E2 08 00 AC 00 80 13 01 00 00 00 00 00 29 [22:11:49]Write i2c OK [22:11:49]MH_I2C_Read... [22:11:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:49]Read from MH i2c: E2 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: E2 0E 00 [22:11:49]MH_I2C_Read... [22:11:49]Read from MH i2c: E2 0E 00 AC 00 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 08 [22:11:49]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:11:49]wFMCommunicate OK [22:11:49]SAM_PROTO_GetShiftState done [22:11:49]FM_GetShiftState done [22:11:49]req_shift_opened done [22:11:49]requested_item shift.open_date is exist - process it [22:11:49]req_shift_open_date [22:11:49]req_shift_open_date done [22:11:49]produce_requested_data done [22:11:49]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33431,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [22:11:49]process_action_free close_receipt [22:11:49]json_value_free [22:11:49]json_value_free done [22:11:49]process_json_proto returns [22:11:49]Send response to host [22:11:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33431,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [22:11:49]free response buf [22:11:49]execute_script done [22:11:49]execute_script returns [22:11:49]free content buf [22:11:49]Sock 9.Close socket [22:11:49]Sock 9.Thread stoped [22:11:50]accept exits with 5 [22:11:50]New connection [22:11:50]New thread 3067587940 created [22:11:50]Thread 3067444580 joined [22:11:50]Waiting for new connection... [22:11:50] Sock 5.Parse request [22:11:50]Sock 5.Check first char [22:11:50]Sock 5.First char is OK [22:11:50]request: POST /json_proto HTTP/1.0 [22:11:50]Method: POST [22:11:50]URL: /json_proto [22:11:50]Method is POST - this is cgi request [22:11:50]url: /json_proto [22:11:50]query_string will be loaded in cgi processing [22:11:50]execute_cgi json_proto POST (null) [22:11:50]execute_cgi path=json_proto method=POST [22:11:50]POST find Content-Length [22:11:50]Host: 172.17.35.196:8080 [22:11:50]Content-Length: 717 [22:11:50]Content-Type: application/json [22:11:50] [22:11:50]POST finish read [22:11:50]Found Content-Length = 717 [22:11:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169244", "tax_sys" : 0, "items" : [ { "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:50]execute_script... [22:11:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169244", "tax_sys" : 0, "items" : [ { "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:50]POST & json_proto [22:11:50]process_json_proto [22:11:50]json parsed OK: [22:11:50]protocol is kg_v1.0 [22:11:50]action value=close_receipt [22:11:50]process_action close_receipt [22:11:50]cmd_close_receipt [22:11:50]MH_GetDate [22:11:50]Write to MH i2c: F0 00 00 AD 00 9C [22:11:50]Write i2c OK [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: F0 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: F0 09 00 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: F0 09 00 AD 00 00 A7 FB 92 66 AD 14 F4 65 59 [22:11:50]GetLastDocTimeStamp 1720908706 [22:11:50]current date 1720908711 [22:11:50]FM_GetShiftState [22:11:50]SAM_PROTO_GetShiftState [22:11:50]wFMCommunicate request_size=4 [22:11:50]MH_SAM_APDU [22:11:50]CAPDU: 80 13 01 00 [22:11:50]Write to MH i2c: E2 08 00 AE 00 80 13 01 00 00 00 00 00 2B [22:11:50]Write i2c OK [22:11:50]MH_I2C_Read... [22:11:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:50]Read from MH i2c: E2 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: E2 0E 00 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: E2 0E 00 AE 00 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 0A [22:11:50]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:11:50]wFMCommunicate OK [22:11:50]SAM_PROTO_GetShiftState done [22:11:50]FM_GetShiftState done [22:11:50]opened in 1720829207 [22:11:50]opened+sec_in_day 1720915607 [22:11:50]quantity*price = 14000 [22:11:50]sum+1 = 14001 [22:11:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 51 13.07.2024 22:11 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33432 ФПД: 227472463013564 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221151&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33432&fm=227472463013564&tin=02508201610067®Number=0000000000093033&sum=14000 0 [22:11:52]StoreToDocumentArchive [22:11:52]shift 434 fd 33432 [22:11:52]save to /storage/0434/doc_00033432 [22:11:52]save last doc name /storage/0434/doc_00033432 to /storage/kkm_last_doc_name [22:11:52]save OK [22:11:52]Clear old archive folders... [22:11:52]ProcessDocumentItem done err = 0, tmpTLVsize=298 [22:11:52]tlvbuf is 0133C620 [22:11:52]SAM_PROTO_ClearQueue [22:11:52]wFMCommunicate request_size=4 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 09 00 00 [22:11:52]Write to MH i2c: E2 08 00 BB 00 80 09 00 00 00 00 00 00 2D [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 BB 00 00 90 00 2F [22:11:52]RAPDU: 90 00 [22:11:52]wFMCommunicate OK [22:11:52]SAM_PROTO_ClearQueue done [22:11:52]KKMCreateOFDPacket [22:11:52]OFDProtocolAddRootSTLVToBuf [22:11:52]FM_MakeSignedData [22:11:52]FM_MakeSignedData [22:11:52]SAM_PROTO_SignData [22:11:52]wFMCommunicate request_size=4 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 0D 01 02 [22:11:52]Write to MH i2c: E2 08 00 BC 00 80 0D 01 02 00 00 00 00 35 [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [22:11:52]RAPDU: 90 00 [22:11:52]wFMCommunicate OK [22:11:52]wFMCommunicate request_size=255 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 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 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A7 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [22:11:52]Write to MH i2c: E2 02 01 BD 00 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 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 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A7 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 CA [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [22:11:52]RAPDU: 90 00 [22:11:52]wFMCommunicate OK [22:11:52]wFMCommunicate request_size=57 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 98 82 00 00 35 04 06 00 CE E2 8F 5A A6 BC [22:11:52]Write to MH i2c: E2 3C 00 BE 00 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 98 82 00 00 35 04 06 00 CE E2 8F 5A A6 BC 00 00 FC [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [22:11:52]RAPDU: 90 00 [22:11:52]wFMCommunicate OK [22:11:52]wFMCommunicate request_size=4 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 0D 03 02 [22:11:52]Write to MH i2c: E2 08 00 BF 00 80 0D 03 02 00 00 00 00 3A [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 0B 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 0B 00 BF 00 00 72 CA 21 6C FC 3B CE 95 90 00 9E [22:11:53]RAPDU: 72 CA 21 6C FC 3B CE 95 90 00 [22:11:53]wFMCommunicate OK [22:11:53]SAM_PROTO_SignData done [22:11:53]FM_MakeSignedData done [22:11:53]CreateOFDProtocolMessage [22:11:53]wFMCommunicate request_size=4 [22:11:53]MH_SAM_APDU [22:11:53]CAPDU: 80 11 00 00 [22:11:53]Write to MH i2c: E2 08 00 C0 00 80 11 00 00 00 00 00 00 3A [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:53]Read from MH i2c: E2 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: E2 17 00 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: E2 17 00 C0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 86 [22:11:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:11:53]wFMCommunicate OK [22:11:53]CreateOFDProtocolMessage done [22:11:53]OFDSenderStorePacket 33432 [22:11:53]StoreOFDPacket docnum=33432 [22:11:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 01 00 00 3A 57 36 01 E1 56 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 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 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A7 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 98 82 00 00 35 04 06 00 CE E2 8F 5A A6 BC 72 CA 21 6C FC 3B CE 95 [22:11:53]CheckFolder [22:11:53]dirname=/storage/ofd_packets [22:11:53]CheckFolder done [22:11:53]ProducePacketName [22:11:53]name=ofd_packets/00033432 [22:11:53]NVStorageSaveData ofd_packets/00033432 [22:11:53]File name is /storage/ofd_packets/00033432 [22:11:53]Write 348 bytes [22:11:53]NVStorageSaveData done [22:11:53]OFDSenderStorePacket done [22:11:53]KKMCreateOFDPacket done [22:11:53]NVStorageSaveData kkm_last_timestamp [22:11:53]File name is /storage/kkm_last_timestamp [22:11:53]Write 4 bytes [22:11:53]NVStorageSaveData done [22:11:53]ExternCall_PrintAddStr [22:11:53]wPrintStart [22:11:53]Write to MH i2c: 01 00 00 C1 00 C1 [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 07 00 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 07 00 C1 00 00 00 00 00 00 FF 0F D6 [22:11:53]RasterBufferAndPrint [22:11:53]line Счет N : (3)169244 [22:11:53]line ИНН: 02508201610067 [22:11:53]line Контрольно-Кассовый Чек [22:11:53]line ПРОДАЖА [22:11:53]line Товар: 4700007110073 [22:11:53]line Сэндвич с кетчупом Талас Даамы [22:11:53]line 2.000 * 70.00 [22:11:53]line = 140.00 [22:11:53]line НДС 12% НСП 1% [22:11:53]line > о реализуемом товаре [22:11:53]line ИТОГО: 140.00 [22:11:53]line НСП 1% : 1.24 [22:11:53]line НДС 12% : 14.87 [22:11:53]line Наличными: 140.00 [22:11:53]line Безнал.: 0.00 [22:11:53]line Место: АЗС № 77 "Партнер Нефть" [22:11:53]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:11:53]line СНО: Общий режим [22:11:53]line Чек 51 13.07.2024 22:11 [22:11:53]line Смена: 434 ФФД: 1.0 [22:11:53]line ЗНМ: 0300000122 [22:11:53]line РНМ: 0000000000093033 [22:11:53]line Версия ККМ: 001 [22:11:53]line ФМ: 0000000000875104 [22:11:53]line ФД: 33432 [22:11:53]line ФПД: 227472463013564 [22:11:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221151&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33432&fm=227472463013564&tin=02508201610067®Number=0000000000093033&sum=14000 [22:11:53]line 0 [22:11:53]written 0, free lines is 4095 [22:11:53]OFD Sender: Processing packet 33432 [packets to send 6, broken 5] [22:11:53]ProducePacketName [22:11:53]name=ofd_packets/00033432 [22:11:53]OFD Sender: To server: pG, [22:11:53]CommunicateWithHost lk.salyk.kg:30040 [22:11:53]ConnectInit lk.salyk.kg [22:11:53]Connected sock=10 [22:11:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 01 00 00 3A 57 36 01 E1 56 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 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 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A7 FB 92 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 98 82 00 00 35 04 06 00 CE E2 8F 5A A6 BC 72 CA 21 6C FC 3B CE 95 [22:11:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 1B C3 47 00 20 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 98 82 00 00 F4 03 04 00 51 A6 92 66 B6 04 01 00 00 8A F4 7A F1 1C 35 45 A9 [22:11:53]CommunicateWithHost err = 0 [22:11:53]CheckOFDResponse [22:11:53]1017 (14) - 77093643461234 [22:11:53]1041 (16) - 0000000000875104 [22:11:53]1040 (4) - 33432 [22:11:53]1012 (4) - 13.07.2024 16:07 [22:11:53]1206 (1) - 0 [22:11:53]OFD Sender: Remove packet 33432 [22:11:53]ProducePacketName [22:11:53]name=ofd_packets/00033432 [22:11:53]NVStorageDeleteData [22:11:53]Write to MH i2c: 01 00 00 EA 00 EA [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 07 00 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 07 00 EA 00 00 00 00 00 00 65 0D 63 [22:11:53]RasterBufferAndPrint [22:11:53]line [22:11:53]line [22:11:53]line [22:11:53]line [22:11:53]line [22:11:53]written 0, free lines is 3452 [22:11:53]MH_Cut [22:11:53]Write to MH i2c: D1 01 00 F1 00 01 C3 [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: D1 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: D1 01 00 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: D1 01 00 F1 00 00 C2 [22:11:53]Write to MH i2c: 01 00 00 F2 00 F2 [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:54]OFD Sender: No OFD packet to send [22:11:54]*** Cut start [22:11:54]*** Partial cut [22:11:54]*** CUTSNS_PIN = 1 [22:11:54]*** CUTSNS_PIN = 0 [22:11:54]*** Brake cut motor [22:11:54]Read from MH i2c: 01 [22:11:54]MH_I2C_Read... [22:11:54]*** Stop cut motor [22:11:54]*** Cut end [22:11:54]Read from MH i2c: 01 07 00 [22:11:54]MH_I2C_Read... [22:11:54]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 FF 0F 07 [22:11:54]process_action close_receipt done [22:11:54]requested_data is exist [22:11:54]produce_requested_data [22:11:54]requested_item fm.sn is exist - process it [22:11:54]wFMCommunicate request_size=4 [22:11:54]MH_SAM_APDU [22:11:54]CAPDU: 80 11 00 00 [22:11:54]Write to MH i2c: E2 08 00 F3 00 80 11 00 00 00 00 00 00 6D [22:11:54]Write i2c OK [22:11:54]MH_I2C_Read... [22:11:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:55]Read from MH i2c: E2 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 17 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 17 00 F3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B9 [22:11:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:11:55]wFMCommunicate OK [22:11:55]requested_item fd.num is exist - process it [22:11:55]SAM_PROTO_GetFieldsCounters [22:11:55]wFMCommunicate request_size=4 [22:11:55]MH_SAM_APDU [22:11:55]CAPDU: 80 13 00 00 [22:11:55]Write to MH i2c: E2 08 00 F4 00 80 13 00 00 00 00 00 00 70 [22:11:55]Write i2c OK [22:11:55]MH_I2C_Read... [22:11:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:55]Read from MH i2c: E2 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 62 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 62 00 F4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 98 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [22:11:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 98 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:11:55]wFMCommunicate OK [22:11:55]SAM_PROTO_GetFieldsCounters done [22:11:55]requested_item shift.num is exist - process it [22:11:55]requested_item shift.opened is exist - process it [22:11:55]req_shift_opened [22:11:55]FM_GetShiftState [22:11:55]SAM_PROTO_GetShiftState [22:11:55]wFMCommunicate request_size=4 [22:11:55]MH_SAM_APDU [22:11:55]CAPDU: 80 13 01 00 [22:11:55]Write to MH i2c: E2 08 00 F5 00 80 13 01 00 00 00 00 00 72 [22:11:55]Write i2c OK [22:11:55]MH_I2C_Read... [22:11:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:55]Read from MH i2c: E2 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 0E 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 0E 00 F5 00 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 51 [22:11:55]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:11:55]wFMCommunicate OK [22:11:55]SAM_PROTO_GetShiftState done [22:11:55]FM_GetShiftState done [22:11:55]req_shift_opened done [22:11:55]requested_item shift.open_date is exist - process it [22:11:55]req_shift_open_date [22:11:55]req_shift_open_date done [22:11:55]produce_requested_data done [22:11:55]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33432,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [22:11:55]process_action_free close_receipt [22:11:55]json_value_free [22:11:55]json_value_free done [22:11:55]process_json_proto returns [22:11:55]Send response to host [22:11:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33432,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [22:11:55]free response buf [22:11:55]execute_script done [22:11:55]execute_script returns [22:11:55]free content buf [22:11:55]Sock 5.Close socket [22:11:55]Sock 5.Thread stoped [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16: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:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:15]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:30]OFD Sender: No OFD packet to send [22:40:35]OFD Sender: No OFD packet to send [22:40:40]OFD Sender: No OFD packet to send [22:40:45]OFD Sender: No OFD packet to send [22:40:50]OFD Sender: No OFD packet to send [22:40:55]OFD Sender: No OFD packet to send [22:41:00]OFD Sender: No OFD packet to send [22:41:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:45]OFD Sender: No OFD packet to send [22:41:50]OFD Sender: No OFD packet to send [22:41:55]OFD Sender: No OFD packet to send [22:42:00]OFD Sender: No OFD packet to send [22:42:05]OFD Sender: No OFD packet to send [22:42:10]OFD Sender: No OFD packet to send [22:42:15]OFD Sender: No OFD packet to send [22:42:20]OFD Sender: No OFD packet to send [22:42:25]OFD Sender: No OFD packet to send [22:42:30]OFD Sender: No OFD packet to send [22:42:35]OFD Sender: No OFD packet to send [22:42:40]OFD Sender: No OFD packet to send [22:42:45]OFD Sender: No OFD packet to send [22:42:50]OFD Sender: No OFD packet to send [22:42:55]OFD Sender: No OFD packet to send [22:43:00]OFD Sender: No OFD packet to send [22:43:05]OFD Sender: No OFD packet to send [22:43:10]OFD Sender: No OFD packet to send [22:43:15]OFD Sender: No OFD packet to send [22:43:20]OFD Sender: No OFD packet to send [22:43:25]OFD Sender: No OFD packet to send [22:43:30]OFD Sender: No OFD packet to send [22:43:35]OFD Sender: No OFD packet to send [22:43:40]OFD Sender: No OFD packet to send [22:43:45]OFD Sender: No OFD packet to send [22:43:50]OFD Sender: No OFD packet to send [22:43:55]OFD Sender: No OFD packet to send [22:44:00]OFD Sender: No OFD packet to send [22:44:05]OFD Sender: No OFD packet to send [22:44:10]OFD Sender: No OFD packet to send [22:44:15]OFD Sender: No OFD packet to send [22:44:20]OFD Sender: No OFD packet to send [22:44:25]OFD Sender: No OFD packet to send [22:44:30]OFD Sender: No OFD packet to send [22:44:35]OFD Sender: No OFD packet to send [22:44:40]OFD Sender: No OFD packet to send [22:44:45]OFD Sender: No OFD packet to send [22:44:50]OFD Sender: No OFD packet to send [22:44:55]OFD Sender: No OFD packet to send [22:45:00]OFD Sender: No OFD packet to send [22:45:05]OFD Sender: No OFD packet to send [22:45:10]OFD Sender: No OFD packet to send [22:45:15]OFD Sender: No OFD packet to send [22:45:20]OFD Sender: No OFD packet to send [22:45:25]OFD Sender: No OFD packet to send [22:45:30]OFD Sender: No OFD packet to send [22:45:35]OFD Sender: No OFD packet to send [22:45:40]OFD Sender: No OFD packet to send [22:45:45]OFD Sender: No OFD packet to send [22:45:50]OFD Sender: No OFD packet to send [22:45:55]OFD Sender: No OFD packet to send [22:46:00]OFD Sender: No OFD packet to send [22:46:05]OFD Sender: No OFD packet to send [22:46:10]OFD Sender: No OFD packet to send [22:46:15]OFD Sender: No OFD packet to send [22:46:20]OFD Sender: No OFD packet to send [22:46:25]OFD Sender: No OFD packet to send [22:46:30]OFD Sender: No OFD packet to send [22:46:35]OFD Sender: No OFD packet to send [22:46:40]OFD Sender: No OFD packet to send [22:46:45]OFD Sender: No OFD packet to send [22:46:50]OFD Sender: No OFD packet to send [22:46:55]OFD Sender: No OFD packet to send [22:47:00]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:50]OFD Sender: No OFD packet to send [22:47:55]OFD Sender: No OFD packet to send [22:48:00]OFD Sender: No OFD packet to send [22:48:05]OFD Sender: No OFD packet to send [22:48:10]OFD Sender: No OFD packet to send [22:48:15]OFD Sender: No OFD packet to send [22:48:20]OFD Sender: No OFD packet to send [22:48:25]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:50]OFD Sender: No OFD packet to send [22:49:55]OFD Sender: No OFD packet to send [22:50:00]OFD Sender: No OFD packet to send [22:50:05]OFD Sender: No OFD packet to send [22:50:10]OFD Sender: No OFD packet to send [22:50:15]OFD Sender: No OFD packet to send [22:50:20]OFD Sender: No OFD packet to send [22:50:25]OFD Sender: No OFD packet to send [22:50:30]OFD Sender: No OFD packet to send [22:50:35]OFD Sender: No OFD packet to send [22:50:40]OFD Sender: No OFD packet to send [22:50:45]OFD Sender: No OFD packet to send [22:50:50]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:57:56]accept exits with 9 [22:57:56]New connection [22:57:56]New thread 3067444580 created [22:57:56]Thread 3067587940 joined [22:57:56]Waiting for new connection... [22:57:56] Sock 9.Parse request [22:57:56]Sock 9.Check first char [22:57:56]Sock 9.First char is OK [22:57:56]request: POST /json_proto HTTP/1.0 [22:57:56]Method: POST [22:57:56]URL: /json_proto [22:57:56]Method is POST - this is cgi request [22:57:56]url: /json_proto [22:57:56]query_string will be loaded in cgi processing [22:57:56]execute_cgi json_proto POST (null) [22:57:56]execute_cgi path=json_proto method=POST [22:57:56]POST find Content-Length [22:57:56]Host: 172.17.35.196:8080 [22:57:56]Content-Length: 842 [22:57:56]Content-Type: application/json [22:57:56] [22:57:56]POST finish read [22:57:56]Found Content-Length = 842 [22:57:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670841", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 12.070, "sum" : 800.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 800.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:57:56]execute_script... [22:57: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 : (1)5670841", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 12.070, "sum" : 800.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 800.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:57:56]POST & json_proto [22:57:56]process_json_proto [22:57:56]json parsed OK: [22:57:56]protocol is kg_v1.0 [22:57:56]action value=close_receipt [22:57:56]process_action close_receipt [22:57:56]cmd_close_receipt [22:57:56]MH_GetDate [22:57:56]Write to MH i2c: F0 00 00 F6 00 E5 [22:57:56]Write i2c OK [22:57:56]MH_I2C_Read... [22:57:56]Read from MH i2c: F0 [22:57:56]MH_I2C_Read... [22:57:56]Read from MH i2c: F0 09 00 [22:57:56]MH_I2C_Read... [22:57:56]Read from MH i2c: F0 09 00 F6 00 00 75 06 93 66 AD 14 F4 65 7C [22:57:56]GetLastDocTimeStamp 1720908711 [22:57:56]current date 1720911477 [22:57:56]FM_GetShiftState [22:57:56]SAM_PROTO_GetShiftState [22:57:56]wFMCommunicate request_size=4 [22:57:56]MH_SAM_APDU [22:57:56]CAPDU: 80 13 01 00 [22:57:56]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [22:57:56]Write i2c OK [22:57:56]MH_I2C_Read... [22:57:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:56]Read from MH i2c: E2 [22:57:56]MH_I2C_Read... [22:57:56]Read from MH i2c: E2 0E 00 [22:57:56]MH_I2C_Read... [22:57:56]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 53 [22:57:56]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:57:56]wFMCommunicate OK [22:57:56]SAM_PROTO_GetShiftState done [22:57:56]FM_GetShiftState done [22:57:56]opened in 1720829207 [22:57:56]opened+sec_in_day 1720915607 [22:57:56]quantity*price = 80024 [22:57:56]sum+1 = 80025 [22:57:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 800.24 НСП 1% : 7.08 НДС 12% : 84.98 Наличными: 0.00 Безнал.: 800.24 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 52 13.07.2024 22:57 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33433 ФПД: 157958012473776 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T225757&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33433&fm=157958012473776&tin=02508201610067®Number=0000000000093033&sum=80024 [22:57:57]StoreToDocumentArchive [22:57:57]shift 434 fd 33433 [22:57:57]save to /storage/0434/doc_00033433 [22:57:57]save last doc name /storage/0434/doc_00033433 to /storage/kkm_last_doc_name [22:57:57]save OK [22:57:57]Clear old archive folders... [22:57:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:57:57]tlvbuf is 01364560 [22:57:57]SAM_PROTO_ClearQueue [22:57:57]wFMCommunicate request_size=4 [22:57:57]MH_SAM_APDU [22:57:57]CAPDU: 80 09 00 00 [22:57:57]Write to MH i2c: E2 08 00 04 01 80 09 00 00 00 00 00 00 77 [22:57:57]Write i2c OK [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 [22:57:57]MH_I2C_Read... [22:57:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:57:57]Read from MH i2c: E2 03 00 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [22:57:57]RAPDU: 90 00 [22:57:57]wFMCommunicate OK [22:57:57]SAM_PROTO_ClearQueue done [22:57:57]KKMCreateOFDPacket [22:57:57]OFDProtocolAddRootSTLVToBuf [22:57:57]FM_MakeSignedData [22:57:57]FM_MakeSignedData [22:57:57]SAM_PROTO_SignData [22:57:57]wFMCommunicate request_size=4 [22:57:57]MH_SAM_APDU [22:57:57]CAPDU: 80 0D 01 02 [22:57:57]Write to MH i2c: E2 08 00 05 01 80 0D 01 02 00 00 00 00 7F [22:57:57]Write i2c OK [22:57:57]MH_I2C_Read... [22:57:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:57:57]Read from MH i2c: E2 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [22:57:57]RAPDU: 90 00 [22:57:57]wFMCommunicate OK [22:57:57]wFMCommunicate request_size=255 [22:57:57]MH_SAM_APDU [22:57:57]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 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 75 06 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 99 82 00 00 35 04 06 00 8F [22:57:57]Write to MH i2c: E2 02 01 06 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 75 06 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 99 82 00 00 35 04 06 00 8F 00 00 60 [22:57:57]Write i2c OK [22:57:57]MH_I2C_Read... [22:57:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:57]Read from MH i2c: E2 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [22:57:57]RAPDU: 90 00 [22:57:57]wFMCommunicate OK [22:57:57]wFMCommunicate request_size=10 [22:57:57]MH_SAM_APDU [22:57:57]CAPDU: 80 0D 02 02 05 A9 77 39 11 B0 [22:57:57]Write to MH i2c: E2 0D 00 07 01 80 0D 02 02 05 00 A9 77 39 11 B0 00 00 A6 [22:57:57]Write i2c OK [22:57:57]MH_I2C_Read... [22:57:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:57]Read from MH i2c: E2 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [22:57:57]RAPDU: 90 00 [22:57:57]wFMCommunicate OK [22:57:57]wFMCommunicate request_size=4 [22:57:57]MH_SAM_APDU [22:57:57]CAPDU: 80 0D 03 02 [22:57:57]Write to MH i2c: E2 08 00 08 01 80 0D 03 02 00 00 00 00 84 [22:57:57]Write i2c OK [22:57:57]MH_I2C_Read... [22:57:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:57:57]Read from MH i2c: E2 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 0B 00 [22:57:57]MH_I2C_Read... [22:57:57]Read from MH i2c: E2 0B 00 08 01 00 AA 89 4E B6 AB E4 73 A7 90 00 65 [22:57:57]RAPDU: AA 89 4E B6 AB E4 73 A7 90 00 [22:57:57]wFMCommunicate OK [22:57:57]SAM_PROTO_SignData done [22:57:57]FM_MakeSignedData done [22:57:57]CreateOFDProtocolMessage [22:57:57]wFMCommunicate request_size=4 [22:57:57]MH_SAM_APDU [22:57:57]CAPDU: 80 11 00 00 [22:57:57]Write to MH i2c: E2 08 00 09 01 80 11 00 00 00 00 00 00 84 [22:57:57]Write i2c OK [22:57:57]MH_I2C_Read... [22:57:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:58]Read from MH i2c: E2 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: E2 17 00 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: E2 17 00 09 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D0 [22:57:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:57:58]wFMCommunicate OK [22:57:58]CreateOFDProtocolMessage done [22:57:58]OFDSenderStorePacket 33433 [22:57:58]StoreOFDPacket docnum=33433 [22:57:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 A5 6F 07 01 2A 08 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 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 75 06 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 99 82 00 00 35 04 06 00 8F A9 77 39 11 B0 AA 89 4E B6 AB E4 73 A7 [22:57:58]CheckFolder [22:57:58]dirname=/storage/ofd_packets [22:57:58]CheckFolder done [22:57:58]ProducePacketName [22:57:58]name=ofd_packets/00033433 [22:57:58]NVStorageSaveData ofd_packets/00033433 [22:57:58]File name is /storage/ofd_packets/00033433 [22:57:58]Write 301 bytes [22:57:58]NVStorageSaveData done [22:57:58]OFDSenderStorePacket done [22:57:58]KKMCreateOFDPacket done [22:57:58]NVStorageSaveData kkm_last_timestamp [22:57:58]File name is /storage/kkm_last_timestamp [22:57:58]Write 4 bytes [22:57:58]NVStorageSaveData done [22:57:58]ExternCall_PrintAddStr [22:57:58]wPrintStart [22:57:58]Write to MH i2c: 01 00 00 0A 01 0B [22:57:58]Write i2c OK [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: 01 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: 01 07 00 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: 01 07 00 0A 01 00 00 00 00 00 FF 0F 20 [22:57:58]RasterBufferAndPrint [22:57:58]line Счет N : (1)5670841 [22:57:58]line ИНН: 02508201610067 [22:57:58]line Контрольно-Кассовый Чек [22:57:58]line ПРОДАЖА [22:57:58]line ТРК (МРК, ГНК) : 13 [22:57:58]line Товар: 2710124130 [22:57:58]line Аи-92-К-5 [22:57:58]line 12.070 * 66.30 [22:57:58]line = 800.24 [22:57:58]line НДС 12% НСП 1% [22:57:58]line > о реализуемом товаре [22:57:58]line ИТОГО: 800.24 [22:57:58]line НСП 1% : 7.08 [22:57:58]line НДС 12% : 84.98 [22:57:58]line Наличными: 0.00 [22:57:58]line Безнал.: 800.24 [22:57:58]line Место: АЗС № 77 "Партнер Нефть" [22:57:58]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:57:58]line СНО: Общий режим [22:57:58]line Чек 52 13.07.2024 22:57 [22:57:58]line Смена: 434 ФФД: 1.0 [22:57:58]line ЗНМ: 0300000122 [22:57:58]line РНМ: 0000000000093033 [22:57:58]line Версия ККМ: 001 [22:57:58]line Платежная система: АКБ Кыргызстан [22:57:58]line ФМ: 0000000000875104 [22:57:58]line ФД: 33433 [22:57:58]line ФПД: 157958012473776 [22:57:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T225757&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33433&fm=157958012473776&tin=02508201610067®Number=0000000000093033&sum=80024 [22:57:58]OFD Sender: Processing packet 33433 [packets to send 6, broken 5] [22:57:58]ProducePacketName [22:57:58]name=ofd_packets/00033433 [22:57:58]OFD Sender: To server: pG, [22:57:58]CommunicateWithHost lk.salyk.kg:30040 [22:57:58]ConnectInit lk.salyk.kg [22:57:58]written 0, free lines is 4095 [22:57:58]Connected sock=10 [22:57:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 A5 6F 07 01 2A 08 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 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 75 06 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 99 82 00 00 35 04 06 00 8F A9 77 39 11 B0 AA 89 4E B6 AB E4 73 A7 [22:57:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F8 6E 47 00 55 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 99 82 00 00 F4 03 04 00 1E B1 92 66 B6 04 01 00 00 9A 7B D5 50 6A 98 DD 73 [22:57:58]CommunicateWithHost err = 0 [22:57:58]CheckOFDResponse [22:57:58]1017 (14) - 77093643461234 [22:57:58]1041 (16) - 0000000000875104 [22:57:58]1040 (4) - 33433 [22:57:58]1012 (4) - 13.07.2024 16:53 [22:57:58]1206 (1) - 0 [22:57:58]OFD Sender: Remove packet 33433 [22:57:58]ProducePacketName [22:57:58]name=ofd_packets/00033433 [22:57:58]NVStorageDeleteData [22:57:58]Write to MH i2c: 01 00 00 34 01 35 [22:57:58]Write i2c OK [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: 01 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: 01 07 00 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: 01 07 00 34 01 00 00 00 00 00 F5 0C 3D [22:57:58]RasterBufferAndPrint [22:57:58]line [22:57:58]line [22:57:58]line [22:57:58]line [22:57:58]line [22:57:58]written 0, free lines is 3324 [22:57:58]MH_Cut [22:57:58]Write to MH i2c: D1 01 00 3B 01 01 0E [22:57:58]Write i2c OK [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: D1 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: D1 01 00 [22:57:58]MH_I2C_Read... [22:57:58]Read from MH i2c: D1 01 00 3B 01 00 0D [22:57:58]Write to MH i2c: 01 00 00 3C 01 3D [22:57:58]Write i2c OK [22:57:58]MH_I2C_Read... [22:57:59]OFD Sender: No OFD packet to send [22:57:59]*** Cut start [22:57:59]*** Partial cut [22:57:59]*** CUTSNS_PIN = 1 [22:57:59]*** CUTSNS_PIN = 0 [22:57:59]*** Brake cut motor [22:58:00]Read from MH i2c: 01 [22:58:00]MH_I2C_Read... [22:58:00]*** Stop cut motor [22:58:00]*** Cut end [22:58:00]Read from MH i2c: 01 07 00 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: 01 07 00 3C 01 00 00 00 00 00 FF 0F 52 [22:58:00]process_action close_receipt done [22:58:00]requested_data is exist [22:58:00]produce_requested_data [22:58:00]requested_item fm.sn is exist - process it [22:58:00]wFMCommunicate request_size=4 [22:58:00]MH_SAM_APDU [22:58:00]CAPDU: 80 11 00 00 [22:58:00]Write to MH i2c: E2 08 00 3D 01 80 11 00 00 00 00 00 00 B8 [22:58:00]Write i2c OK [22:58:00]MH_I2C_Read... [22:58:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:58:00]Read from MH i2c: E2 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: E2 17 00 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: E2 17 00 3D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 04 [22:58:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:58:00]wFMCommunicate OK [22:58:00]requested_item fd.num is exist - process it [22:58:00]SAM_PROTO_GetFieldsCounters [22:58:00]wFMCommunicate request_size=4 [22:58:00]MH_SAM_APDU [22:58:00]CAPDU: 80 13 00 00 [22:58:00]Write to MH i2c: E2 08 00 3E 01 80 13 00 00 00 00 00 00 BB [22:58:00]Write i2c OK [22:58:00]MH_I2C_Read... [22:58:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:58:00]Read from MH i2c: E2 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: E2 62 00 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: E2 62 00 3E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 99 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [22:58:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 99 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:58:00]wFMCommunicate OK [22:58:00]SAM_PROTO_GetFieldsCounters done [22:58:00]requested_item shift.num is exist - process it [22:58:00]requested_item shift.opened is exist - process it [22:58:00]req_shift_opened [22:58:00]FM_GetShiftState [22:58:00]SAM_PROTO_GetShiftState [22:58:00]wFMCommunicate request_size=4 [22:58:00]MH_SAM_APDU [22:58:00]CAPDU: 80 13 01 00 [22:58:00]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [22:58:00]Write i2c OK [22:58:00]MH_I2C_Read... [22:58:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:58:00]Read from MH i2c: E2 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: E2 0E 00 [22:58:00]MH_I2C_Read... [22:58:00]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 9C [22:58:00]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [22:58:00]wFMCommunicate OK [22:58:00]SAM_PROTO_GetShiftState done [22:58:00]FM_GetShiftState done [22:58:00]req_shift_opened done [22:58:00]requested_item shift.open_date is exist - process it [22:58:00]req_shift_open_date [22:58:00]req_shift_open_date done [22:58:00]produce_requested_data done [22:58:00]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33433,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [22:58:00]process_action_free close_receipt [22:58:00]json_value_free [22:58:00]json_value_free done [22:58:00]process_json_proto returns [22:58:00]Send response to host [22:58:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33433,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [22:58:00]free response buf [22:58:00]execute_script done [22:58:00]execute_script returns [22:58:00]free content buf [22:58:00]Sock 9.Close socket [22:58:00]Sock 9.Thread stoped [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [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:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:51]accept exits with 8 [23:10:51]New connection [23:10:51]New thread 3067587940 created [23:10:51]Thread 3067444580 joined [23:10:51]Waiting for new connection... [23:10:51] Sock 8.Parse request [23:10:51]Sock 8.Check first char [23:10:51]Sock 8.First char is OK [23:10:51]request: POST /json_proto HTTP/1.0 [23:10:51]Method: POST [23:10:51]URL: /json_proto [23:10:51]Method is POST - this is cgi request [23:10:51]url: /json_proto [23:10:51]query_string will be loaded in cgi processing [23:10:51]execute_cgi json_proto POST (null) [23:10:51]execute_cgi path=json_proto method=POST [23:10:51]POST find Content-Length [23:10:51]Host: 172.17.35.196:8080 [23:10:51]Content-Length: 919 [23:10:51]Content-Type: application/json [23:10:51] [23:10:51]POST finish read [23:10:51]Found Content-Length = 919 [23:10:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169245", "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" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:10:51]execute_script... [23:10: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)169245", "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" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:10:51]POST & json_proto [23:10:51]process_json_proto [23:10:51]json parsed OK: [23:10:51]protocol is kg_v1.0 [23:10:51]action value=close_receipt [23:10:51]process_action close_receipt [23:10:51]cmd_close_receipt [23:10:51]MH_GetDate [23:10:51]Write to MH i2c: F0 00 00 40 01 30 [23:10:51]Write i2c OK [23:10:51]MH_I2C_Read... [23:10:51]Read from MH i2c: F0 [23:10:51]MH_I2C_Read... [23:10:51]Read from MH i2c: F0 09 00 [23:10:51]MH_I2C_Read... [23:10:51]Read from MH i2c: F0 09 00 40 01 00 7C 09 93 66 AD 14 F4 65 D1 [23:10:51]GetLastDocTimeStamp 1720911477 [23:10:51]current date 1720912252 [23:10:51]FM_GetShiftState [23:10:51]SAM_PROTO_GetShiftState [23:10:51]wFMCommunicate request_size=4 [23:10:51]MH_SAM_APDU [23:10:51]CAPDU: 80 13 01 00 [23:10:51]Write to MH i2c: E2 08 00 41 01 80 13 01 00 00 00 00 00 BF [23:10:51]Write i2c OK [23:10:51]MH_I2C_Read... [23:10:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:51]Read from MH i2c: E2 [23:10:51]MH_I2C_Read... [23:10:51]Read from MH i2c: E2 0E 00 [23:10:51]MH_I2C_Read... [23:10:51]Read from MH i2c: E2 0E 00 41 01 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 9E [23:10:51]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [23:10:51]wFMCommunicate OK [23:10:51]SAM_PROTO_GetShiftState done [23:10:51]FM_GetShiftState done [23:10:51]opened in 1720829207 [23:10:51]opened+sec_in_day 1720915607 [23:10:51]quantity*price = 25000 [23:10:51]sum+1 = 25001 [23:10:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 0.00 Безнал.: 250.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 53 13.07.2024 23:10 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33434 ФПД: 21322533353527 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T231052&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33434&fm=21322533353527&tin=02508201610067®Number=0000000000093033&sum=25000 0 [23:10:52]StoreToDocumentArchive [23:10:52]shift 434 fd 33434 [23:10:52]save to /storage/0434/doc_00033434 [23:10:52]save last doc name /storage/0434/doc_00033434 to /storage/kkm_last_doc_name [23:10:52]save OK [23:10:52]Clear old archive folders... [23:10:52]ProcessDocumentItem done err = 0, tmpTLVsize=302 [23:10:52]tlvbuf is 0132D9B0 [23:10:52]SAM_PROTO_ClearQueue [23:10:52]wFMCommunicate request_size=4 [23:10:52]MH_SAM_APDU [23:10:52]CAPDU: 80 09 00 00 [23:10:52]Write to MH i2c: E2 08 00 4E 01 80 09 00 00 00 00 00 00 C1 [23:10:52]Write i2c OK [23:10:52]MH_I2C_Read... [23:10:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:10:52]Read from MH i2c: E2 [23:10:52]MH_I2C_Read... [23:10:52]Read from MH i2c: E2 03 00 [23:10:52]MH_I2C_Read... [23:10:52]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [23:10:52]RAPDU: 90 00 [23:10:52]wFMCommunicate OK [23:10:52]SAM_PROTO_ClearQueue done [23:10:52]KKMCreateOFDPacket [23:10:52]OFDProtocolAddRootSTLVToBuf [23:10:52]FM_MakeSignedData [23:10:52]FM_MakeSignedData [23:10:52]SAM_PROTO_SignData [23:10:52]wFMCommunicate request_size=4 [23:10:52]MH_SAM_APDU [23:10:52]CAPDU: 80 0D 01 02 [23:10:52]Write to MH i2c: E2 08 00 4F 01 80 0D 01 02 00 00 00 00 C9 [23:10:52]Write i2c OK [23:10:52]MH_I2C_Read... [23:10:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:10:52]Read from MH i2c: E2 [23:10:52]MH_I2C_Read... [23:10:52]Read from MH i2c: E2 03 00 [23:10:52]MH_I2C_Read... [23:10:52]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [23:10:52]RAPDU: 90 00 [23:10:52]wFMCommunicate OK [23:10:52]wFMCommunicate request_size=255 [23:10:52]MH_SAM_APDU [23:10:52]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 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 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 7C 09 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 [23:10:52]Write to MH i2c: E2 02 01 50 01 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 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 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 7C 09 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 00 00 F9 [23:10:52]Write i2c OK [23:10:52]MH_I2C_Read... [23:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:53]Read from MH i2c: E2 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 03 00 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [23:10:53]RAPDU: 90 00 [23:10:53]wFMCommunicate OK [23:10:53]wFMCommunicate request_size=61 [23:10:53]MH_SAM_APDU [23:10:53]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9A 82 00 00 35 04 06 00 13 64 8A 06 B8 37 [23:10:53]Write to MH i2c: E2 40 00 51 01 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9A 82 00 00 35 04 06 00 13 64 8A 06 B8 37 00 00 05 [23:10:53]Write i2c OK [23:10:53]MH_I2C_Read... [23:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:53]Read from MH i2c: E2 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 03 00 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 03 00 51 01 00 90 00 C6 [23:10:53]RAPDU: 90 00 [23:10:53]wFMCommunicate OK [23:10:53]wFMCommunicate request_size=4 [23:10:53]MH_SAM_APDU [23:10:53]CAPDU: 80 0D 03 02 [23:10:53]Write to MH i2c: E2 08 00 52 01 80 0D 03 02 00 00 00 00 CE [23:10:53]Write i2c OK [23:10:53]MH_I2C_Read... [23:10:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:10:53]Read from MH i2c: E2 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 0B 00 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 0B 00 52 01 00 F5 EA AD 04 D9 72 E5 64 90 00 F3 [23:10:53]RAPDU: F5 EA AD 04 D9 72 E5 64 90 00 [23:10:53]wFMCommunicate OK [23:10:53]SAM_PROTO_SignData done [23:10:53]FM_MakeSignedData done [23:10:53]CreateOFDProtocolMessage [23:10:53]wFMCommunicate request_size=4 [23:10:53]MH_SAM_APDU [23:10:53]CAPDU: 80 11 00 00 [23:10:53]Write to MH i2c: E2 08 00 53 01 80 11 00 00 00 00 00 00 CE [23:10:53]Write i2c OK [23:10:53]MH_I2C_Read... [23:10:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:53]Read from MH i2c: E2 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 17 00 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: E2 17 00 53 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1A [23:10:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:10:53]wFMCommunicate OK [23:10:53]CreateOFDProtocolMessage done [23:10:53]OFDSenderStorePacket 33434 [23:10:53]StoreOFDPacket docnum=33434 [23:10:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 42 01 00 00 85 CB 3A 01 6A 34 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 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 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 7C 09 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9A 82 00 00 35 04 06 00 13 64 8A 06 B8 37 F5 EA AD 04 D9 72 E5 64 [23:10:53]CheckFolder [23:10:53]dirname=/storage/ofd_packets [23:10:53]CheckFolder done [23:10:53]ProducePacketName [23:10:53]name=ofd_packets/00033434 [23:10:53]NVStorageSaveData ofd_packets/00033434 [23:10:53]File name is /storage/ofd_packets/00033434 [23:10:53]Write 352 bytes [23:10:53]NVStorageSaveData done [23:10:53]OFDSenderStorePacket done [23:10:53]KKMCreateOFDPacket done [23:10:53]NVStorageSaveData kkm_last_timestamp [23:10:53]File name is /storage/kkm_last_timestamp [23:10:53]Write 4 bytes [23:10:53]NVStorageSaveData done [23:10:53]ExternCall_PrintAddStr [23:10:53]wPrintStart [23:10:53]Write to MH i2c: 01 00 00 54 01 55 [23:10:53]Write i2c OK [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: 01 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: 01 07 00 [23:10:53]MH_I2C_Read... [23:10:53]Read from MH i2c: 01 07 00 54 01 00 00 00 00 00 FF 0F 6A [23:10:53]RasterBufferAndPrint [23:10:53]line Счет N : (3)169245 [23:10:53]line ИНН: 02508201610067 [23:10:53]line Контрольно-Кассовый Чек [23:10:53]line ПРОДАЖА [23:10:53]line Товар: 4606532000189 [23:10:53]line Тормозная жидкость РосДот-4 0,455кг [23:10:53]line 1.000 * 250.00 [23:10:53]line = 250.00 [23:10:53]line НДС 12% НСП 1% [23:10:53]line > о реализуемом товаре [23:10:53]line ИТОГО: 250.00 [23:10:53]line НСП 1% : 2.21 [23:10:53]line НДС 12% : 26.55 [23:10:53]line Наличными: 0.00 [23:10:53]line Безнал.: 250.00 [23:10:53]line Место: АЗС № 77 "Партнер Нефть" [23:10:53]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [23:10:53]line СНО: Общий режим [23:10:53]line Чек 53 13.07.2024 23:10 [23:10:53]line Смена: 434 ФФД: 1.0 [23:10:53]line ЗНМ: 0300000122 [23:10:53]line РНМ: 0000000000093033 [23:10:53]line Версия ККМ: 001 [23:10:53]line Платежная система: АКБ Кыргызстан [23:10:53]line ФМ: 0000000000875104 [23:10:53]line ФД: 33434 [23:10:53]line ФПД: 21322533353527 [23:10:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T231052&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33434&fm=21322533353527&tin=02508201610067®Number=0000000000093033&sum=25000 [23:10:53]line 0 [23:10:53]OFD Sender: Processing packet 33434 [packets to send 6, broken 5] [23:10:53]ProducePacketName [23:10:53]name=ofd_packets/00033434 [23:10:53]OFD Sender: To server: pG, [23:10:53]CommunicateWithHost lk.salyk.kg:30040 [23:10:53]ConnectInit lk.salyk.kg [23:10:53]written 0, free lines is 4095 [23:10:53]Connected sock=9 [23:10:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 42 01 00 00 85 CB 3A 01 6A 34 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 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 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 7C 09 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9A 82 00 00 35 04 06 00 13 64 8A 06 B8 37 F5 EA AD 04 D9 72 E5 64 [23:10:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F8 02 47 00 96 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9A 82 00 00 F4 03 04 00 25 B4 92 66 B6 04 01 00 00 EB 44 E5 9F 99 39 78 E6 [23:10:54]CommunicateWithHost err = 0 [23:10:54]CheckOFDResponse [23:10:54]1017 (14) - 77093643461234 [23:10:54]1041 (16) - 0000000000875104 [23:10:54]1040 (4) - 33434 [23:10:54]1012 (4) - 13.07.2024 17:06 [23:10:54]1206 (1) - 0 [23:10:54]OFD Sender: Remove packet 33434 [23:10:54]ProducePacketName [23:10:54]name=ofd_packets/00033434 [23:10:54]NVStorageDeleteData [23:10:54]Write to MH i2c: 01 00 00 7F 01 80 [23:10:54]Write i2c OK [23:10:54]MH_I2C_Read... [23:10:54]Read from MH i2c: 01 [23:10:54]MH_I2C_Read... [23:10:54]Read from MH i2c: 01 07 00 [23:10:54]MH_I2C_Read... [23:10:54]Read from MH i2c: 01 07 00 7F 01 00 00 00 00 00 BA 0C 4D [23:10:54]RasterBufferAndPrint [23:10:54]line [23:10:54]line [23:10:54]line [23:10:54]line [23:10:54]line [23:10:54]written 0, free lines is 3264 [23:10:54]MH_Cut [23:10:54]Write to MH i2c: D1 01 00 86 01 01 59 [23:10:54]Write i2c OK [23:10:54]MH_I2C_Read... [23:10:54]Read from MH i2c: D1 [23:10:54]MH_I2C_Read... [23:10:54]Read from MH i2c: D1 01 00 [23:10:54]MH_I2C_Read... [23:10:54]Read from MH i2c: D1 01 00 86 01 00 58 [23:10:54]Write to MH i2c: 01 00 00 87 01 88 [23:10:54]Write i2c OK [23:10:54]MH_I2C_Read... [23:10:54]OFD Sender: No OFD packet to send [23:10:54]*** Cut start [23:10:54]*** Partial cut [23:10:54]*** CUTSNS_PIN = 1 [23:10:55]*** CUTSNS_PIN = 0 [23:10:55]*** Brake cut motor [23:10:55]Read from MH i2c: 01 [23:10:55]MH_I2C_Read... [23:10:55]*** Stop cut motor [23:10:55]*** Cut end [23:10:55]Read from MH i2c: 01 07 00 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: 01 07 00 87 01 00 00 00 00 00 FF 0F 9D [23:10:55]process_action close_receipt done [23:10:55]requested_data is exist [23:10:55]produce_requested_data [23:10:55]requested_item fm.sn is exist - process it [23:10:55]wFMCommunicate request_size=4 [23:10:55]MH_SAM_APDU [23:10:55]CAPDU: 80 11 00 00 [23:10:55]Write to MH i2c: E2 08 00 88 01 80 11 00 00 00 00 00 00 03 [23:10:55]Write i2c OK [23:10:55]MH_I2C_Read... [23:10:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:55]Read from MH i2c: E2 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: E2 17 00 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: E2 17 00 88 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4F [23:10:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:10:55]wFMCommunicate OK [23:10:55]requested_item fd.num is exist - process it [23:10:55]SAM_PROTO_GetFieldsCounters [23:10:55]wFMCommunicate request_size=4 [23:10:55]MH_SAM_APDU [23:10:55]CAPDU: 80 13 00 00 [23:10:55]Write to MH i2c: E2 08 00 89 01 80 13 00 00 00 00 00 00 06 [23:10:55]Write i2c OK [23:10:55]MH_I2C_Read... [23:10:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:10:55]Read from MH i2c: E2 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: E2 62 00 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: E2 62 00 89 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9A 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [23:10:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9A 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:10:55]wFMCommunicate OK [23:10:55]SAM_PROTO_GetFieldsCounters done [23:10:55]requested_item shift.num is exist - process it [23:10:55]requested_item shift.opened is exist - process it [23:10:55]req_shift_opened [23:10:55]FM_GetShiftState [23:10:55]SAM_PROTO_GetShiftState [23:10:55]wFMCommunicate request_size=4 [23:10:55]MH_SAM_APDU [23:10:55]CAPDU: 80 13 01 00 [23:10:55]Write to MH i2c: E2 08 00 8A 01 80 13 01 00 00 00 00 00 08 [23:10:55]Write i2c OK [23:10:55]MH_I2C_Read... [23:10:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:55]Read from MH i2c: E2 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: E2 0E 00 [23:10:55]MH_I2C_Read... [23:10:55]Read from MH i2c: E2 0E 00 8A 01 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 E7 [23:10:55]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [23:10:55]wFMCommunicate OK [23:10:55]SAM_PROTO_GetShiftState done [23:10:55]FM_GetShiftState done [23:10:55]req_shift_opened done [23:10:55]requested_item shift.open_date is exist - process it [23:10:55]req_shift_open_date [23:10:55]req_shift_open_date done [23:10:55]produce_requested_data done [23:10:55]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33434,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [23:10:55]process_action_free close_receipt [23:10:55]json_value_free [23:10:55]json_value_free done [23:10:55]process_json_proto returns [23:10:55]Send response to host [23:10:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33434,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [23:10:55]free response buf [23:10:55]execute_script done [23:10:55]execute_script returns [23:10:55]free content buf [23:10:55]Sock 8.Close socket [23:10:55]Sock 8.Thread stoped [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21: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]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]accept exits with 10 [23:31:40]New connection [23:31:40]New thread 3067444580 created [23:31:40]Thread 3067587940 joined [23:31:40]Waiting for new connection... [23:31:40] Sock 10.Parse request [23:31:40]Sock 10.Check first char [23:31:40]Sock 10.First char is OK [23:31:40]request: POST /json_proto HTTP/1.0 [23:31:40]Method: POST [23:31:40]URL: /json_proto [23:31:40]Method is POST - this is cgi request [23:31:40]url: /json_proto [23:31:40]query_string will be loaded in cgi processing [23:31:40]execute_cgi json_proto POST (null) [23:31:40]execute_cgi path=json_proto method=POST [23:31:40]POST find Content-Length [23:31:40]Host: 172.17.35.196:8080 [23:31:40]Content-Length: 621 [23:31:40]Content-Type: application/json [23:31:40] [23:31:40]POST finish read [23:31:40]Found Content-Length = 621 [23:31:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169246", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:40]execute_script... [23:31: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)169246", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:40]POST & json_proto [23:31:40]process_json_proto [23:31:40]json parsed OK: [23:31:40]protocol is kg_v1.0 [23:31:40]action value=close_receipt [23:31:40]process_action close_receipt [23:31:40]cmd_close_receipt [23:31:40]MH_GetDate [23:31:40]Write to MH i2c: F0 00 00 8B 01 7B [23:31:40]Write i2c OK [23:31:40]MH_I2C_Read... [23:31:40]Read from MH i2c: F0 [23:31:40]MH_I2C_Read... [23:31:40]Read from MH i2c: F0 09 00 [23:31:40]MH_I2C_Read... [23:31:40]Read from MH i2c: F0 09 00 8B 01 00 5D 0E 93 66 AD 14 F4 65 02 [23:31:40]GetLastDocTimeStamp 1720912252 [23:31:40]current date 1720913501 [23:31:40]FM_GetShiftState [23:31:40]SAM_PROTO_GetShiftState [23:31:40]wFMCommunicate request_size=4 [23:31:40]MH_SAM_APDU [23:31:40]CAPDU: 80 13 01 00 [23:31:40]Write to MH i2c: E2 08 00 8C 01 80 13 01 00 00 00 00 00 0A [23:31:40]Write i2c OK [23:31:40]MH_I2C_Read... [23:31:40]OFD Sender: No OFD packet to send [23:31:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:40]Read from MH i2c: E2 [23:31:40]MH_I2C_Read... [23:31:40]Read from MH i2c: E2 0E 00 [23:31:40]MH_I2C_Read... [23:31:40]Read from MH i2c: E2 0E 00 8C 01 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 E9 [23:31:40]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [23:31:40]wFMCommunicate OK [23:31:40]SAM_PROTO_GetShiftState done [23:31:40]FM_GetShiftState done [23:31:40]opened in 1720829207 [23:31:40]opened+sec_in_day 1720915607 [23:31:40]quantity*price = 14000 [23:31:40]sum+1 = 14001 [23:31:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 54 13.07.2024 23:31 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33435 ФПД: 196120364593821 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T233141&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33435&fm=196120364593821&tin=02508201610067®Number=0000000000093033&sum=14000 0 [23:31:41]StoreToDocumentArchive [23:31:41]shift 434 fd 33435 [23:31:41]save to /storage/0434/doc_00033435 [23:31:41]save last doc name /storage/0434/doc_00033435 to /storage/kkm_last_doc_name [23:31:41]save OK [23:31:41]Clear old archive folders... [23:31:41]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:31:41]tlvbuf is 0132CE80 [23:31:41]SAM_PROTO_ClearQueue [23:31:41]wFMCommunicate request_size=4 [23:31:41]MH_SAM_APDU [23:31:41]CAPDU: 80 09 00 00 [23:31:41]Write to MH i2c: E2 08 00 99 01 80 09 00 00 00 00 00 00 0C [23:31:41]Write i2c OK [23:31:41]MH_I2C_Read... [23:31:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:31:41]Read from MH i2c: E2 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: E2 03 00 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: E2 03 00 99 01 00 90 00 0E [23:31:41]RAPDU: 90 00 [23:31:41]wFMCommunicate OK [23:31:41]SAM_PROTO_ClearQueue done [23:31:41]KKMCreateOFDPacket [23:31:41]OFDProtocolAddRootSTLVToBuf [23:31:41]FM_MakeSignedData [23:31:41]FM_MakeSignedData [23:31:41]SAM_PROTO_SignData [23:31:41]wFMCommunicate request_size=4 [23:31:41]MH_SAM_APDU [23:31:41]CAPDU: 80 0D 01 02 [23:31:41]Write to MH i2c: E2 08 00 9A 01 80 0D 01 02 00 00 00 00 14 [23:31:41]Write i2c OK [23:31:41]MH_I2C_Read... [23:31:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:31:41]Read from MH i2c: E2 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: E2 03 00 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: E2 03 00 9A 01 00 90 00 0F [23:31:41]RAPDU: 90 00 [23:31:41]wFMCommunicate OK [23:31:41]wFMCommunicate request_size=255 [23:31:41]MH_SAM_APDU [23:31:41]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 5D 0E 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [23:31:41]Write to MH i2c: E2 02 01 9B 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 5D 0E 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 4F [23:31:41]Write i2c OK [23:31:41]MH_I2C_Read... [23:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:42]Read from MH i2c: E2 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 9B 01 00 90 00 10 [23:31:42]RAPDU: 90 00 [23:31:42]wFMCommunicate OK [23:31:42]wFMCommunicate request_size=32 [23:31:42]MH_SAM_APDU [23:31:42]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 9B 82 00 00 35 04 06 00 B2 5E D4 AA 32 9D [23:31:42]Write to MH i2c: E2 23 00 9C 01 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 9B 82 00 00 35 04 06 00 B2 5E D4 AA 32 9D 00 00 E7 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:42]Read from MH i2c: E2 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 9C 01 00 90 00 11 [23:31:42]RAPDU: 90 00 [23:31:42]wFMCommunicate OK [23:31:42]wFMCommunicate request_size=4 [23:31:42]MH_SAM_APDU [23:31:42]CAPDU: 80 0D 03 02 [23:31:42]Write to MH i2c: E2 08 00 9D 01 80 0D 03 02 00 00 00 00 19 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:31:42]Read from MH i2c: E2 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 0B 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 0B 00 9D 01 00 B8 D4 D8 94 AE 4B 0B 69 90 00 7F [23:31:42]RAPDU: B8 D4 D8 94 AE 4B 0B 69 90 00 [23:31:42]wFMCommunicate OK [23:31:42]SAM_PROTO_SignData done [23:31:42]FM_MakeSignedData done [23:31:42]CreateOFDProtocolMessage [23:31:42]wFMCommunicate request_size=4 [23:31:42]MH_SAM_APDU [23:31:42]CAPDU: 80 11 00 00 [23:31:42]Write to MH i2c: E2 08 00 9E 01 80 11 00 00 00 00 00 00 19 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:42]Read from MH i2c: E2 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 17 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 17 00 9E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 65 [23:31:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:31:42]wFMCommunicate OK [23:31:42]CreateOFDProtocolMessage done [23:31:42]OFDSenderStorePacket 33435 [23:31:42]StoreOFDPacket docnum=33435 [23:31:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 29 2E 1D 01 7F 35 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 5D 0E 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9B 82 00 00 35 04 06 00 B2 5E D4 AA 32 9D B8 D4 D8 94 AE 4B 0B 69 [23:31:42]CheckFolder [23:31:42]dirname=/storage/ofd_packets [23:31:42]CheckFolder done [23:31:42]ProducePacketName [23:31:42]name=ofd_packets/00033435 [23:31:42]NVStorageSaveData ofd_packets/00033435 [23:31:42]File name is /storage/ofd_packets/00033435 [23:31:42]Write 323 bytes [23:31:42]NVStorageSaveData done [23:31:42]OFDSenderStorePacket done [23:31:42]KKMCreateOFDPacket done [23:31:42]NVStorageSaveData kkm_last_timestamp [23:31:42]File name is /storage/kkm_last_timestamp [23:31:42]Write 4 bytes [23:31:42]NVStorageSaveData done [23:31:42]ExternCall_PrintAddStr [23:31:42]wPrintStart [23:31:42]Write to MH i2c: 01 00 00 9F 01 A0 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: 01 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: 01 07 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: 01 07 00 9F 01 00 00 00 00 00 FF 0F B5 [23:31:42]RasterBufferAndPrint [23:31:42]line Счет N : (3)169246 [23:31:42]line ИНН: 02508201610067 [23:31:42]line Контрольно-Кассовый Чек [23:31:42]line ПРОДАЖА [23:31:42]line Товар: 48743570 [23:31:42]line Сигареты Winston XStyle Blue [23:31:42]line 1.000 * 140.00 [23:31:42]line = 140.00 [23:31:42]line НДС 12% НСП 1% [23:31:42]line > о реализуемом товаре [23:31:42]line ИТОГО: 140.00 [23:31:42]line НСП 1% : 1.24 [23:31:42]line НДС 12% : 14.87 [23:31:42]line Наличными: 140.00 [23:31:42]line Безнал.: 0.00 [23:31:42]line Место: АЗС № 77 "Партнер Нефть" [23:31:42]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [23:31:42]line СНО: Общий режим [23:31:42]line Чек 54 13.07.2024 23:31 [23:31:42]line Смена: 434 ФФД: 1.0 [23:31:42]line ЗНМ: 0300000122 [23:31:42]line РНМ: 0000000000093033 [23:31:42]line Версия ККМ: 001 [23:31:42]line ФМ: 0000000000875104 [23:31:42]line ФД: 33435 [23:31:42]line ФПД: 196120364593821 [23:31:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T233141&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33435&fm=196120364593821&tin=02508201610067®Number=0000000000093033&sum=14000 [23:31:42]OFD Sender: Processing packet 33435 [packets to send 6, broken 5] [23:31:42]ProducePacketName [23:31:42]name=ofd_packets/00033435 [23:31:42]OFD Sender: To server: pG, [23:31:42]CommunicateWithHost lk.salyk.kg:30040 [23:31:42]ConnectInit lk.salyk.kg [23:31:42]line 0 [23:31:42]written 0, free lines is 4095 [23:31:42]Connected sock=9 [23:31:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 29 2E 1D 01 7F 35 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 5D 0E 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9B 82 00 00 35 04 06 00 B2 5E D4 AA 32 9D B8 D4 D8 94 AE 4B 0B 69 [23:31:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 EA 02 47 00 A6 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9B 82 00 00 F4 03 04 00 06 B9 92 66 B6 04 01 00 00 C0 98 D3 FD 85 39 41 30 [23:31:42]CommunicateWithHost err = 0 [23:31:42]CheckOFDResponse [23:31:42]1017 (14) - 77093643461234 [23:31:42]1041 (16) - 0000000000875104 [23:31:42]1040 (4) - 33435 [23:31:42]1012 (4) - 13.07.2024 17:27 [23:31:42]1206 (1) - 0 [23:31:42]OFD Sender: Remove packet 33435 [23:31:42]ProducePacketName [23:31:42]name=ofd_packets/00033435 [23:31:42]NVStorageDeleteData [23:31:42]Write to MH i2c: 01 00 00 C7 01 C8 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: 01 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: 01 07 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: 01 07 00 C7 01 00 00 00 00 00 EF 0C CA [23:31:42]RasterBufferAndPrint [23:31:42]line [23:31:42]line [23:31:42]line [23:31:42]line [23:31:42]line [23:31:42]written 0, free lines is 3317 [23:31:42]MH_Cut [23:31:42]Write to MH i2c: D1 01 00 CE 01 01 A1 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: D1 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: D1 01 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: D1 01 00 CE 01 00 A0 [23:31:42]Write to MH i2c: 01 00 00 CF 01 D0 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:43]OFD Sender: No OFD packet to send [23:31:43]*** Cut start [23:31:43]*** Partial cut [23:31:43]*** CUTSNS_PIN = 1 [23:31:43]*** CUTSNS_PIN = 0 [23:31:43]*** Brake cut motor [23:31:44]Read from MH i2c: 01 [23:31:44]MH_I2C_Read... [23:31:44]*** Stop cut motor [23:31:44]*** Cut end [23:31:44]Read from MH i2c: 01 07 00 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: 01 07 00 CF 01 00 00 00 00 00 FF 0F E5 [23:31:44]process_action close_receipt done [23:31:44]requested_data is exist [23:31:44]produce_requested_data [23:31:44]requested_item fm.sn is exist - process it [23:31:44]wFMCommunicate request_size=4 [23:31:44]MH_SAM_APDU [23:31:44]CAPDU: 80 11 00 00 [23:31:44]Write to MH i2c: E2 08 00 D0 01 80 11 00 00 00 00 00 00 4B [23:31:44]Write i2c OK [23:31:44]MH_I2C_Read... [23:31:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:44]Read from MH i2c: E2 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: E2 17 00 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: E2 17 00 D0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 97 [23:31:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:31:44]wFMCommunicate OK [23:31:44]requested_item fd.num is exist - process it [23:31:44]SAM_PROTO_GetFieldsCounters [23:31:44]wFMCommunicate request_size=4 [23:31:44]MH_SAM_APDU [23:31:44]CAPDU: 80 13 00 00 [23:31:44]Write to MH i2c: E2 08 00 D1 01 80 13 00 00 00 00 00 00 4E [23:31:44]Write i2c OK [23:31:44]MH_I2C_Read... [23:31:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:31:44]Read from MH i2c: E2 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: E2 62 00 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: E2 62 00 D1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9B 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 D3 [23:31: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9B 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:31:44]wFMCommunicate OK [23:31:44]SAM_PROTO_GetFieldsCounters done [23:31:44]requested_item shift.num is exist - process it [23:31:44]requested_item shift.opened is exist - process it [23:31:44]req_shift_opened [23:31:44]FM_GetShiftState [23:31:44]SAM_PROTO_GetShiftState [23:31:44]wFMCommunicate request_size=4 [23:31:44]MH_SAM_APDU [23:31:44]CAPDU: 80 13 01 00 [23:31:44]Write to MH i2c: E2 08 00 D2 01 80 13 01 00 00 00 00 00 50 [23:31:44]Write i2c OK [23:31:44]MH_I2C_Read... [23:31:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:44]Read from MH i2c: E2 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: E2 0E 00 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: E2 0E 00 D2 01 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 2F [23:31:44]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [23:31:44]wFMCommunicate OK [23:31:44]SAM_PROTO_GetShiftState done [23:31:44]FM_GetShiftState done [23:31:44]req_shift_opened done [23:31:44]requested_item shift.open_date is exist - process it [23:31:44]req_shift_open_date [23:31:44]req_shift_open_date done [23:31:44]produce_requested_data done [23:31:44]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33435,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [23:31:44]process_action_free close_receipt [23:31:44]json_value_free [23:31:44]json_value_free done [23:31:44]process_json_proto returns [23:31:44]Send response to host [23:31:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33435,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [23:31:44]free response buf [23:31:44]execute_script done [23:31:44]execute_script returns [23:31:44]free content buf [23:31:44]Sock 10.Close socket [23:31:44]Sock 10.Thread stoped [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:58]OFD Sender: No OFD packet to send [23:33:03]OFD Sender: No OFD packet to send [23:33:08]OFD Sender: No OFD packet to send [23:33:13]OFD Sender: No OFD packet to send [23:33:18]OFD Sender: No OFD packet to send [23:33:23]OFD Sender: No OFD packet to send [23:33:28]OFD Sender: No OFD packet to send [23:33:33]OFD Sender: No OFD packet to send [23:33:38]OFD Sender: No OFD packet to send [23:33:43]OFD Sender: No OFD packet to send [23:33:48]OFD Sender: No OFD packet to send [23:33:53]OFD Sender: No OFD packet to send [23:33:58]OFD Sender: No OFD packet to send [23:34:03]OFD Sender: No OFD packet to send [23:34:08]OFD Sender: No OFD packet to send [23:34:13]OFD Sender: No OFD packet to send [23:34:18]OFD Sender: No OFD packet to send [23:34:23]OFD Sender: No OFD packet to send [23:34:28]OFD Sender: No OFD packet to send [23:34:33]OFD Sender: No OFD packet to send [23:34:38]OFD Sender: No OFD packet to send [23:34:43]OFD Sender: No OFD packet to send [23:34:48]OFD Sender: No OFD packet to send [23:34:53]OFD Sender: No OFD packet to send [23:34:58]OFD Sender: No OFD packet to send [23:35:03]OFD Sender: No OFD packet to send [23:35:08]OFD Sender: No OFD packet to send [23:35:13]OFD Sender: No OFD packet to send [23:35:18]OFD Sender: No OFD packet to send [23:35:23]OFD Sender: No OFD packet to send [23:35:28]OFD Sender: No OFD packet to send [23:35:33]OFD Sender: No OFD packet to send [23:35:38]OFD Sender: No OFD packet to send [23:35:43]OFD Sender: No OFD packet to send [23:35:48]OFD Sender: No OFD packet to send [23:35:53]OFD Sender: No OFD packet to send [23:35:58]OFD Sender: No OFD packet to send [23:36:03]OFD Sender: No OFD packet to send [23:36:08]OFD Sender: No OFD packet to send [23:36:13]OFD Sender: No OFD packet to send [23:36:18]OFD Sender: No OFD packet to send [23:36:23]OFD Sender: No OFD packet to send [23:36:28]OFD Sender: No OFD packet to send [23:36:33]OFD Sender: No OFD packet to send [23:36:38]OFD Sender: No OFD packet to send [23:36:43]OFD Sender: No OFD packet to send [23:36:48]OFD Sender: No OFD packet to send [23:36:53]OFD Sender: No OFD packet to send [23:36:58]OFD Sender: No OFD packet to send [23:37:03]OFD Sender: No OFD packet to send [23:37:08]OFD Sender: No OFD packet to send [23:37:13]OFD Sender: No OFD packet to send [23:37:18]OFD Sender: No OFD packet to send [23:37:23]OFD Sender: No OFD packet to send [23:37:28]OFD Sender: No OFD packet to send [23:37:33]OFD Sender: No OFD packet to send [23:37:38]OFD Sender: No OFD packet to send [23:37:43]OFD Sender: No OFD packet to send [23:37:48]OFD Sender: No OFD packet to send [23:37:53]OFD Sender: No OFD packet to send [23:37:58]OFD Sender: No OFD packet to send [23:38:03]OFD Sender: No OFD packet to send [23:38:08]OFD Sender: No OFD packet to send [23:38:13]OFD Sender: No OFD packet to send [23:38:18]OFD Sender: No OFD packet to send [23:38:23]OFD Sender: No OFD packet to send [23:38:28]OFD Sender: No OFD packet to send [23:38:33]OFD Sender: No OFD packet to send [23:38:38]OFD Sender: No OFD packet to send [23:38:43]OFD Sender: No OFD packet to send [23:38:48]OFD Sender: No OFD packet to send [23:38:53]OFD Sender: No OFD packet to send [23:38:58]OFD Sender: No OFD packet to send [23:39:03]OFD Sender: No OFD packet to send [23:39:08]OFD Sender: No OFD packet to send [23:39:13]OFD Sender: No OFD packet to send [23:39:18]OFD Sender: No OFD packet to send [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:33]accept exits with 8 [23:40:33]New connection [23:40:33]New thread 3067587940 created [23:40:33]Thread 3067444580 joined [23:40:33]Waiting for new connection... [23:40:33] Sock 8.Parse request [23:40:33]Sock 8.Check first char [23:40:33]Sock 8.First char is OK [23:40:33]request: POST /json_proto HTTP/1.0 [23:40:33]Method: POST [23:40:33]URL: /json_proto [23:40:33]Method is POST - this is cgi request [23:40:33]url: /json_proto [23:40:33]query_string will be loaded in cgi processing [23:40:33]execute_cgi json_proto POST (null) [23:40:33]execute_cgi path=json_proto method=POST [23:40:33]POST find Content-Length [23:40:33]Host: 172.17.35.196:8080 [23:40:33]Content-Length: 1220 [23:40:33]Content-Type: application/json [23:40:33] [23:40:33]POST finish read [23:40:33]Found Content-Length = 1220 [23:40:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169247", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 505.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:33]execute_script... [23:40: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)169247", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 505.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:33]POST & json_proto [23:40:33]process_json_proto [23:40:33]json parsed OK: [23:40:33]protocol is kg_v1.0 [23:40:33]action value=close_receipt [23:40:33]process_action close_receipt [23:40:33]cmd_close_receipt [23:40:33]MH_GetDate [23:40:33]Write to MH i2c: F0 00 00 D3 01 C3 [23:40:33]Write i2c OK [23:40:33]MH_I2C_Read... [23:40:33]Read from MH i2c: F0 [23:40:33]MH_I2C_Read... [23:40:33]Read from MH i2c: F0 09 00 [23:40:33]MH_I2C_Read... [23:40:33]Read from MH i2c: F0 09 00 D3 01 00 72 10 93 66 AD 14 F4 65 61 [23:40:33]GetLastDocTimeStamp 1720913501 [23:40:33]current date 1720914034 [23:40:33]FM_GetShiftState [23:40:33]SAM_PROTO_GetShiftState [23:40:33]wFMCommunicate request_size=4 [23:40:33]MH_SAM_APDU [23:40:33]CAPDU: 80 13 01 00 [23:40:33]Write to MH i2c: E2 08 00 D4 01 80 13 01 00 00 00 00 00 52 [23:40:33]Write i2c OK [23:40:33]MH_I2C_Read... [23:40:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:33]Read from MH i2c: E2 [23:40:33]MH_I2C_Read... [23:40:33]Read from MH i2c: E2 0E 00 [23:40:33]MH_I2C_Read... [23:40:33]Read from MH i2c: E2 0E 00 D4 01 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 31 [23:40:33]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [23:40:33]wFMCommunicate OK [23:40:33]SAM_PROTO_GetShiftState done [23:40:33]FM_GetShiftState done [23:40:33]opened in 1720829207 [23:40:33]opened+sec_in_day 1720915607 [23:40:33]quantity*price = 39500 [23:40:33]sum+1 = 39501 [23:40:33]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 505.00 НСП 1% : 4.47 НДС 12% : 53.63 Наличными: 0.00 Безнал.: 505.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 55 13.07.2024 23:40 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33436 ФПД: 224407889104779 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T234035&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33436&fm=224407889104779&tin=02508201610067®Number=0000000000093033&sum=50500 0 [23:40:34]StoreToDocumentArchive [23:40:34]shift 434 fd 33436 [23:40:34]save to /storage/0434/doc_00033436 [23:40:34]save last doc name /storage/0434/doc_00033436 to /storage/kkm_last_doc_name [23:40:34]save OK [23:40:34]Clear old archive folders... [23:40:34]ProcessDocumentItem done err = 0, tmpTLVsize=429 [23:40:34]tlvbuf is 01346000 [23:40:34]SAM_PROTO_ClearQueue [23:40:34]wFMCommunicate request_size=4 [23:40:34]MH_SAM_APDU [23:40:34]CAPDU: 80 09 00 00 [23:40:34]Write to MH i2c: E2 08 00 E1 01 80 09 00 00 00 00 00 00 54 [23:40:34]Write i2c OK [23:40:34]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 E1 01 00 90 00 56 [23:40:35]RAPDU: 90 00 [23:40:35]wFMCommunicate OK [23:40:35]SAM_PROTO_ClearQueue done [23:40:35]KKMCreateOFDPacket [23:40:35]OFDProtocolAddRootSTLVToBuf [23:40:35]FM_MakeSignedData [23:40:35]FM_MakeSignedData [23:40:35]SAM_PROTO_SignData [23:40:35]wFMCommunicate request_size=4 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 0D 01 02 [23:40:35]Write to MH i2c: E2 08 00 E2 01 80 0D 01 02 00 00 00 00 5C [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 E2 01 00 90 00 57 [23:40:35]RAPDU: 90 00 [23:40:35]wFMCommunicate OK [23:40:35]wFMCommunicate request_size=255 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 0D 02 02 FA 03 00 AD 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 [23:40:35]Write to MH i2c: E2 02 01 E3 01 80 0D 02 02 FA 00 03 00 AD 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 EE [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 E3 01 00 90 00 58 [23:40:35]RAPDU: 90 00 [23:40:35]wFMCommunicate OK [23:40:35]wFMCommunicate request_size=188 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 0D 02 02 B7 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 C5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 C5 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 10 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9C 82 00 00 35 04 06 00 CC 19 08 83 CF 8B [23:40:35]Write to MH i2c: E2 BF 00 E4 01 80 0D 02 02 B7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 C5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 C5 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 10 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9C 82 00 00 35 04 06 00 CC 19 08 83 CF 8B 00 00 DC [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 E4 01 00 90 00 59 [23:40:35]RAPDU: 90 00 [23:40:35]wFMCommunicate OK [23:40:35]wFMCommunicate request_size=4 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 0D 03 02 [23:40:35]Write to MH i2c: E2 08 00 E5 01 80 0D 03 02 00 00 00 00 61 [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 0B 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 0B 00 E5 01 00 71 68 FF 03 2F DB 1D 58 90 00 BC [23:40:35]RAPDU: 71 68 FF 03 2F DB 1D 58 90 00 [23:40:35]wFMCommunicate OK [23:40:35]SAM_PROTO_SignData done [23:40:35]FM_MakeSignedData done [23:40:35]CreateOFDProtocolMessage [23:40:35]wFMCommunicate request_size=4 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 11 00 00 [23:40:35]Write to MH i2c: E2 08 00 E6 01 80 11 00 00 00 00 00 00 61 [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 17 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 17 00 E6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AD [23:40:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:40:35]wFMCommunicate OK [23:40:35]CreateOFDProtocolMessage done [23:40:35]OFDSenderStorePacket 33436 [23:40:35]StoreOFDPacket docnum=33436 [23:40:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 C1 01 00 00 3A 3D B9 01 9B AC 5A 03 01 00 03 00 AD 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 C5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 C5 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 10 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9C 82 00 00 35 04 06 00 CC 19 08 83 CF 8B 71 68 FF 03 2F DB 1D 58 [23:40:35]CheckFolder [23:40:36]dirname=/storage/ofd_packets [23:40:36]CheckFolder done [23:40:36]ProducePacketName [23:40:36]name=ofd_packets/00033436 [23:40:36]NVStorageSaveData ofd_packets/00033436 [23:40:36]File name is /storage/ofd_packets/00033436 [23:40:36]Write 479 bytes [23:40:36]NVStorageSaveData done [23:40:36]OFDSenderStorePacket done [23:40:36]KKMCreateOFDPacket done [23:40:36]NVStorageSaveData kkm_last_timestamp [23:40:36]File name is /storage/kkm_last_timestamp [23:40:36]Write 4 bytes [23:40:36]NVStorageSaveData done [23:40:36]ExternCall_PrintAddStr [23:40:36]wPrintStart [23:40:36]Write to MH i2c: 01 00 00 E7 01 E8 [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 07 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 07 00 E7 01 00 00 00 00 00 FF 0F FD [23:40:36]RasterBufferAndPrint [23:40:36]line Счет N : (3)169247 [23:40:36]line ИНН: 02508201610067 [23:40:36]line Контрольно-Кассовый Чек [23:40:36]line ПРОДАЖА [23:40:36]line Товар: 0010420131003133 [23:40:36]line Уголь древесный Партнер Нефть 3кг [23:40:36]line 1.000 * 395.00 [23:40:36]line = 395.00 [23:40:36]line НДС 12% НСП 1% [23:40:36]line > о реализуемом товаре [23:40:36]line Товар: 4870022003305 [23:40:36]line Напиток Gorilla эн нат ж/б 0,5/0,45л [23:40:36]line 1.000 * 110.00 [23:40:36]line = 110.00 [23:40:36]line НДС 12% НСП 1% [23:40:36]line > о реализуемом товаре [23:40:36]line ИТОГО: 505.00 [23:40:36]line НСП 1% : 4.47 [23:40:36]line НДС 12% : 53.63 [23:40:36]line Наличными: 0.00 [23:40:36]line Безнал.: 505.00 [23:40:36]line Место: АЗС № 77 "Партнер Нефть" [23:40:36]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [23:40:36]line СНО: Общий режим [23:40:36]line Чек 55 13.07.2024 23:40 [23:40:36]line Смена: 434 ФФД: 1.0 [23:40:36]line ЗНМ: 0300000122 [23:40:36]line РНМ: 0000000000093033 [23:40:36]line Версия ККМ: 001 [23:40:36]line Платежная система: АКБ Кыргызстан [23:40:36]line ФМ: 0000000000875104 [23:40:36]line ФД: 33436 [23:40:36]line ФПД: 224407889104779 [23:40:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T234035&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33436&fm=224407889104779&tin=02508201610067®Number=0000000000093033&sum=50500 [23:40:36]line 0 [23:40:36]written 0, free lines is 4095 [23:40:36]OFD Sender: Processing packet 33436 [packets to send 6, broken 5] [23:40:36]ProducePacketName [23:40:36]name=ofd_packets/00033436 [23:40:36]OFD Sender: To server: pG, [23:40:36]CommunicateWithHost lk.salyk.kg:30040 [23:40:36]ConnectInit lk.salyk.kg [23:40:36]Connected sock=10 [23:40:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 C1 01 00 00 3A 3D B9 01 9B AC 5A 03 01 00 03 00 AD 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 C5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 C5 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 10 93 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9C 82 00 00 35 04 06 00 CC 19 08 83 CF 8B 71 68 FF 03 2F DB 1D 58 [23:40:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 9D C8 47 00 A7 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9C 82 00 00 F4 03 04 00 1C BB 92 66 B6 04 01 00 00 A5 B3 93 EA E6 7F FA BD [23:40:36]CommunicateWithHost err = 0 [23:40:36]CheckOFDResponse [23:40:36]1017 (14) - 77093643461234 [23:40:36]1041 (16) - 0000000000875104 [23:40:36]1040 (4) - 33436 [23:40:36]1012 (4) - 13.07.2024 17:36 [23:40:36]1206 (1) - 0 [23:40:36]OFD Sender: Remove packet 33436 [23:40:36]ProducePacketName [23:40:36]name=ofd_packets/00033436 [23:40:36]NVStorageDeleteData [23:40:36]Write to MH i2c: 01 00 00 19 02 1B [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 07 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 07 00 19 02 00 00 00 00 00 61 0C 8F [23:40:36]RasterBufferAndPrint [23:40:36]line [23:40:36]line [23:40:36]line [23:40:36]line [23:40:36]line [23:40:36]written 0, free lines is 3176 [23:40:36]MH_Cut [23:40:36]Write to MH i2c: D1 01 00 20 02 01 F4 [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: D1 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: D1 01 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: D1 01 00 20 02 00 F3 [23:40:36]Write to MH i2c: 01 00 00 21 02 23 [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]OFD Sender: No OFD packet to send [23:40:37]*** Cut start [23:40:37]*** Partial cut [23:40:37]*** CUTSNS_PIN = 1 [23:40:37]*** CUTSNS_PIN = 0 [23:40:37]*** Brake cut motor [23:40:38]Read from MH i2c: 01 [23:40:38]MH_I2C_Read... [23:40:38]*** Stop cut motor [23:40:38]*** Cut end [23:40:38]Read from MH i2c: 01 07 00 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: 01 07 00 21 02 00 00 00 00 00 FF 0F 38 [23:40:38]process_action close_receipt done [23:40:38]requested_data is exist [23:40:38]produce_requested_data [23:40:38]requested_item fm.sn is exist - process it [23:40:38]wFMCommunicate request_size=4 [23:40:38]MH_SAM_APDU [23:40:38]CAPDU: 80 11 00 00 [23:40:38]Write to MH i2c: E2 08 00 22 02 80 11 00 00 00 00 00 00 9E [23:40:38]Write i2c OK [23:40:38]MH_I2C_Read... [23:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:38]Read from MH i2c: E2 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 17 00 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 17 00 22 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EA [23:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:40:38]wFMCommunicate OK [23:40:38]requested_item fd.num is exist - process it [23:40:38]SAM_PROTO_GetFieldsCounters [23:40:38]wFMCommunicate request_size=4 [23:40:38]MH_SAM_APDU [23:40:38]CAPDU: 80 13 00 00 [23:40:38]Write to MH i2c: E2 08 00 23 02 80 13 00 00 00 00 00 00 A1 [23:40:38]Write i2c OK [23:40:38]MH_I2C_Read... [23:40:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:40:38]Read from MH i2c: E2 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 62 00 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 62 00 23 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [23:40:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:40:38]wFMCommunicate OK [23:40:38]SAM_PROTO_GetFieldsCounters done [23:40:38]requested_item shift.num is exist - process it [23:40:38]requested_item shift.opened is exist - process it [23:40:38]req_shift_opened [23:40:38]FM_GetShiftState [23:40:38]SAM_PROTO_GetShiftState [23:40:38]wFMCommunicate request_size=4 [23:40:38]MH_SAM_APDU [23:40:38]CAPDU: 80 13 01 00 [23:40:38]Write to MH i2c: E2 08 00 24 02 80 13 01 00 00 00 00 00 A3 [23:40:38]Write i2c OK [23:40:38]MH_I2C_Read... [23:40:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:38]Read from MH i2c: E2 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 0E 00 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 0E 00 24 02 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 82 [23:40:38]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [23:40:38]wFMCommunicate OK [23:40:38]SAM_PROTO_GetShiftState done [23:40:38]FM_GetShiftState done [23:40:38]req_shift_opened done [23:40:38]requested_item shift.open_date is exist - process it [23:40:38]req_shift_open_date [23:40:38]req_shift_open_date done [23:40:38]produce_requested_data done [23:40:38]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [23:40:38]process_action_free close_receipt [23:40:38]json_value_free [23:40:38]json_value_free done [23:40:38]process_json_proto returns [23:40:38]Send response to host [23:40:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [23:40:38]free response buf [23:40:38]execute_script done [23:40:38]execute_script returns [23:40:38]free content buf [23:40:38]Sock 8.Close socket [23:40:38]Sock 8.Thread stoped [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:13]accept exits with 9 [00:00:13]New connection [00:00:13]New thread 3067444580 created [00:00:13]Thread 3067587940 joined [00:00:13]Waiting for new connection... [00:00:13] Sock 9.Parse request [00:00:13]Sock 9.Check first char [00:00:13]Sock 9.First char is OK [00:00:13]request: POST /json_proto HTTP/1.0 [00:00:13]Method: POST [00:00:13]URL: /json_proto [00:00:13]Method is POST - this is cgi request [00:00:13]url: /json_proto [00:00:13]query_string will be loaded in cgi processing [00:00:13]execute_cgi json_proto POST (null) [00:00:13]execute_cgi path=json_proto method=POST [00:00:13]POST find Content-Length [00:00:13]Host: 172.17.35.196:8080 [00:00:13]Content-Length: 215 [00:00:13]Content-Type: application/json [00:00:13] [00:00:13]POST finish read [00:00:13]Found Content-Length = 215 [00:00:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:13]execute_script... [00:00:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:13]POST & json_proto [00:00:13]process_json_proto [00:00:13]json parsed OK: [00:00:13]protocol is kg_v1.0 [00:00:13]action value=get_value [00:00:13]process_action get_value [00:00:13]cmd_get_value [00:00:13]process_action get_value done [00:00:13]requested_data is exist [00:00:13]produce_requested_data [00:00:13]requested_item kkm.sn is exist - process it [00:00:13]requested_item kkm.ver is exist - process it [00:00:13]requested_item fm.sn is exist - process it [00:00:13]wFMCommunicate request_size=4 [00:00:13]MH_SAM_APDU [00:00:13]CAPDU: 80 11 00 00 [00:00:13]Write to MH i2c: E2 08 00 25 02 80 11 00 00 00 00 00 00 A1 [00:00:13]Write i2c OK [00:00:13]MH_I2C_Read... [00:00:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:13]Read from MH i2c: E2 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 17 00 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 17 00 25 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 ED [00:00:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:00:13]wFMCommunicate OK [00:00:13]requested_item fd.num is exist - process it [00:00:13]SAM_PROTO_GetFieldsCounters [00:00:13]wFMCommunicate request_size=4 [00:00:13]MH_SAM_APDU [00:00:13]CAPDU: 80 13 00 00 [00:00:13]Write to MH i2c: E2 08 00 26 02 80 13 00 00 00 00 00 00 A4 [00:00:13]Write i2c OK [00:00:13]MH_I2C_Read... [00:00:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:13]Read from MH i2c: E2 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 62 00 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 62 00 26 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [00:00:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:13]wFMCommunicate OK [00:00:13]SAM_PROTO_GetFieldsCounters done [00:00:13]requested_item shift.num is exist - process it [00:00:13]requested_item shift.opened is exist - process it [00:00:13]req_shift_opened [00:00:13]FM_GetShiftState [00:00:13]SAM_PROTO_GetShiftState [00:00:13]wFMCommunicate request_size=4 [00:00:13]MH_SAM_APDU [00:00:13]CAPDU: 80 13 01 00 [00:00:13]Write to MH i2c: E2 08 00 27 02 80 13 01 00 00 00 00 00 A6 [00:00:13]Write i2c OK [00:00:13]MH_I2C_Read... [00:00:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:13]Read from MH i2c: E2 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 0E 00 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 0E 00 27 02 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 85 [00:00:13]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [00:00:13]wFMCommunicate OK [00:00:13]SAM_PROTO_GetShiftState done [00:00:13]FM_GetShiftState done [00:00:13]req_shift_opened done [00:00:13]requested_item shift.open_date is exist - process it [00:00:13]req_shift_open_date [00:00:13]req_shift_open_date done [00:00:13]produce_requested_data done [00:00:13]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [00:00:13]process_action_free get_value [00:00:13]json_value_free [00:00:13]json_value_free done [00:00:13]process_json_proto returns [00:00:13]Send response to host [00:00:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [00:00:13]free response buf [00:00:13]execute_script done [00:00:13]execute_script returns [00:00:13]free content buf [00:00:13]Sock 9.Close socket [00:00:13]Sock 9.Thread stoped [00:00:13]accept exits with 8 [00:00:13]New connection [00:00:13]New thread 3067587940 created [00:00:13]Thread 3067444580 joined [00:00:13]Waiting for new connection... [00:00:13] Sock 8.Parse request [00:00:13]Sock 8.Check first char [00:00:13]Sock 8.First char is OK [00:00:13]request: POST /json_proto HTTP/1.0 [00:00:13]Method: POST [00:00:13]URL: /json_proto [00:00:13]Method is POST - this is cgi request [00:00:13]url: /json_proto [00:00:13]query_string will be loaded in cgi processing [00:00:13]execute_cgi json_proto POST (null) [00:00:13]execute_cgi path=json_proto method=POST [00:00:13]POST find Content-Length [00:00:13]Host: 172.17.35.196:8080 [00:00:13]Content-Length: 331 [00:00:13]Content-Type: application/json [00:00:13] [00:00:13]POST finish read [00:00:13]Found Content-Length = 331 [00:00:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:13]execute_script... [00:00:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:14]POST & json_proto [00:00:14]process_json_proto [00:00:14]json parsed OK: [00:00:14]protocol is kg_v1.0 [00:00:14]action value=get_value [00:00:14]process_action get_value [00:00:14]cmd_get_value [00:00:14]process_action get_value done [00:00:14]requested_data is exist [00:00:14]produce_requested_data [00:00:14]requested_item fm.sale.total is exist - process it [00:00:14]SAM_PROTO_GetFMData [00:00:14]wFMCommunicate request_size=4 [00:00:14]MH_SAM_APDU [00:00:14]CAPDU: 80 13 03 00 [00:00:14]Write to MH i2c: E2 08 00 28 02 80 13 03 00 00 00 00 00 A9 [00:00:14]Write i2c OK [00:00:14]MH_I2C_Read... [00:00:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:14]Read from MH i2c: E2 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 28 02 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 A2 [00:00:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:00:14]wFMCommunicate OK [00:00:14]wFMCommunicate request_size=4 [00:00:14]MH_SAM_APDU [00:00:14]CAPDU: 80 17 00 00 [00:00:14]Write to MH i2c: E2 08 00 29 02 80 17 00 00 00 00 00 00 AB [00:00:14]Write i2c OK [00:00:14]MH_I2C_Read... [00:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:14]Read from MH i2c: E2 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 29 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 68 [00:00:14]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:00:14]wFMCommunicate OK [00:00:14]wFMCommunicate request_size=4 [00:00:14]MH_SAM_APDU [00:00:14]CAPDU: 80 17 00 00 [00:00:14]Write to MH i2c: E2 08 00 2A 02 80 17 00 00 00 00 00 00 AC [00:00:14]Write i2c OK [00:00:14]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 FD 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 FD 00 2A 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 C1 [00:00:15]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:00:15]wFMCommunicate OK [00:00:15]wFMCommunicate request_size=4 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 17 00 00 [00:00:15]Write to MH i2c: E2 08 00 2B 02 80 17 00 00 00 00 00 00 AD [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 FD 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 FD 00 2B 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 25 [00:00:15]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:00:15]wFMCommunicate OK [00:00:15]wFMCommunicate request_size=4 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 17 00 00 [00:00:15]Write to MH i2c: E2 08 00 2C 02 80 17 00 00 00 00 00 00 AE [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 E1 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 E1 00 2C 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9C [00:00:15]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:15]wFMCommunicate OK [00:00:15]SAM_PROTO_GetFMData done [00:00:15]requested_item fm.sale_refund.total is exist - process it [00:00:15]requested_item fm.buy.total is exist - process it [00:00:15]requested_item shift.sale.total is exist - process it [00:00:15]SAM_PROTO_GetShiftData [00:00:15]wFMCommunicate request_size=4 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 13 02 00 [00:00:15]Write to MH i2c: E2 08 00 2D 02 80 13 02 00 00 00 00 00 AD [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 2D 02 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B9 [00:00:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=4 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 17 00 00 [00:00:16]Write to MH i2c: E2 08 00 2E 02 80 17 00 00 00 00 00 00 B0 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 2E 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D2 [00:00:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=4 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 17 00 00 [00:00:16]Write to MH i2c: E2 08 00 2F 02 80 17 00 00 00 00 00 00 B1 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 2F 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 68 [00:00:16]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:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=4 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 17 00 00 [00:00:16]Write to MH i2c: E2 08 00 30 02 80 17 00 00 00 00 00 00 B2 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 FD 00 30 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 24 [00:00:16]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:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=4 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 17 00 00 [00:00:16]Write to MH i2c: E2 08 00 31 02 80 17 00 00 00 00 00 00 B3 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 CB 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 CB 00 31 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9C [00:00:17]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:17]wFMCommunicate OK [00:00:17]SAM_PROTO_GetShiftData done [00:00:17]requested_item shift.sale.total_cash is exist - process it [00:00:17]requested_item shift.sale_refund.total is exist - process it [00:00:17]requested_item shift.sale_refund.total_cash is exist - process it [00:00:17]requested_item shift.buy.total is exist - process it [00:00:17]requested_item shift.buy.total_cash is exist - process it [00:00:17]produce_requested_data done [00:00:17]produce_requested_data return {"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.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:17]process_action_free get_value [00:00:17]json_value_free [00:00:17]json_value_free done [00:00:17]process_json_proto returns [00:00:17]Send response to host [00:00:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.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:17]free response buf [00:00:17]execute_script done [00:00:17]execute_script returns [00:00:17]free content buf [00:00:17]Sock 8.Close socket [00:00:17]Sock 8.Thread stoped [00:00:17]accept exits with 9 [00:00:17]New connection [00:00:17]New thread 3067444580 created [00:00:17]Thread 3067587940 joined [00:00:17]Waiting for new connection... [00:00:17] Sock 9.Parse request [00:00:17]Sock 9.Check first char [00:00:17]Sock 9.First char is OK [00:00:17]request: POST /json_proto HTTP/1.0 [00:00:17]Method: POST [00:00:17]URL: /json_proto [00:00:17]Method is POST - this is cgi request [00:00:17]url: /json_proto [00:00:17]query_string will be loaded in cgi processing [00:00:17]execute_cgi json_proto POST (null) [00:00:17]execute_cgi path=json_proto method=POST [00:00:17]POST find Content-Length [00:00:17]Host: 172.17.35.196:8080 [00:00:17]Content-Length: 331 [00:00:17]Content-Type: application/json [00:00:17] [00:00:17]POST finish read [00:00:17]Found Content-Length = 331 [00:00:17]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:17]execute_script... [00:00:17]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:17]POST & json_proto [00:00:17]process_json_proto [00:00:17]json parsed OK: [00:00:17]protocol is kg_v1.0 [00:00:17]action value=get_value [00:00:17]process_action get_value [00:00:17]cmd_get_value [00:00:17]process_action get_value done [00:00:17]requested_data is exist [00:00:17]produce_requested_data [00:00:17]requested_item fm.sale.total is exist - process it [00:00:17]SAM_PROTO_GetFMData [00:00:17]wFMCommunicate request_size=4 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 13 03 00 [00:00:17]Write to MH i2c: E2 08 00 32 02 80 13 03 00 00 00 00 00 B3 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 FD 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 FD 00 32 02 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 AC [00:00:17]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:00:17]wFMCommunicate OK [00:00:17]wFMCommunicate request_size=4 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 17 00 00 [00:00:17]Write to MH i2c: E2 08 00 33 02 80 17 00 00 00 00 00 00 B5 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]OFD Sender: No OFD packet to send [00:00:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:18]Read from MH i2c: E2 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: E2 FD 00 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: E2 FD 00 33 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 72 [00:00:18]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:00:18]wFMCommunicate OK [00:00:18]wFMCommunicate request_size=4 [00:00:18]MH_SAM_APDU [00:00:18]CAPDU: 80 17 00 00 [00:00:18]Write to MH i2c: E2 08 00 34 02 80 17 00 00 00 00 00 00 B6 [00:00:18]Write i2c OK [00:00:18]MH_I2C_Read... [00:00:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:18]Read from MH i2c: E2 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: E2 FD 00 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: E2 FD 00 34 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 CB [00:00:18]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:00:18]wFMCommunicate OK [00:00:18]wFMCommunicate request_size=4 [00:00:18]MH_SAM_APDU [00:00:18]CAPDU: 80 17 00 00 [00:00:18]Write to MH i2c: E2 08 00 35 02 80 17 00 00 00 00 00 00 B7 [00:00:18]Write i2c OK [00:00:18]MH_I2C_Read... [00:00:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:18]Read from MH i2c: E2 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: E2 FD 00 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: E2 FD 00 35 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 2F [00:00:18]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:00:18]wFMCommunicate OK [00:00:18]wFMCommunicate request_size=4 [00:00:18]MH_SAM_APDU [00:00:18]CAPDU: 80 17 00 00 [00:00:18]Write to MH i2c: E2 08 00 36 02 80 17 00 00 00 00 00 00 B8 [00:00:18]Write i2c OK [00:00:18]MH_I2C_Read... [00:00:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:00:19]Read from MH i2c: E2 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 E1 00 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 E1 00 36 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [00:00:19]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:19]wFMCommunicate OK [00:00:19]SAM_PROTO_GetFMData done [00:00:19]requested_item fm.sale_refund.total is exist - process it [00:00:19]requested_item fm.buy.total is exist - process it [00:00:19]requested_item shift.sale.total is exist - process it [00:00:19]SAM_PROTO_GetShiftData [00:00:19]wFMCommunicate request_size=4 [00:00:19]MH_SAM_APDU [00:00:19]CAPDU: 80 13 02 00 [00:00:19]Write to MH i2c: E2 08 00 37 02 80 13 02 00 00 00 00 00 B7 [00:00:19]Write i2c OK [00:00:19]MH_I2C_Read... [00:00:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:19]Read from MH i2c: E2 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 FD 00 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 FD 00 37 02 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 C3 [00:00:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:19]wFMCommunicate OK [00:00:19]wFMCommunicate request_size=4 [00:00:19]MH_SAM_APDU [00:00:19]CAPDU: 80 17 00 00 [00:00:19]Write to MH i2c: E2 08 00 38 02 80 17 00 00 00 00 00 00 BA [00:00:19]Write i2c OK [00:00:19]MH_I2C_Read... [00:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:20]Read from MH i2c: E2 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 38 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DC [00:00:20]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:20]wFMCommunicate OK [00:00:20]wFMCommunicate request_size=4 [00:00:20]MH_SAM_APDU [00:00:20]CAPDU: 80 17 00 00 [00:00:20]Write to MH i2c: E2 08 00 39 02 80 17 00 00 00 00 00 00 BB [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:20]Read from MH i2c: E2 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 39 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 72 [00:00:20]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:20]wFMCommunicate OK [00:00:20]wFMCommunicate request_size=4 [00:00:20]MH_SAM_APDU [00:00:20]CAPDU: 80 17 00 00 [00:00:20]Write to MH i2c: E2 08 00 3A 02 80 17 00 00 00 00 00 00 BC [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:20]Read from MH i2c: E2 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 3A 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2E [00:00:20]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:20]wFMCommunicate OK [00:00:20]wFMCommunicate request_size=4 [00:00:20]MH_SAM_APDU [00:00:20]CAPDU: 80 17 00 00 [00:00:20]Write to MH i2c: E2 08 00 3B 02 80 17 00 00 00 00 00 00 BD [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:21]Read from MH i2c: E2 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 CB 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 CB 00 3B 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [00:00:21]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:21]wFMCommunicate OK [00:00:21]SAM_PROTO_GetShiftData done [00:00:21]requested_item shift.sale.total_cash is exist - process it [00:00:21]requested_item shift.sale_refund.total is exist - process it [00:00:21]requested_item shift.sale_refund.total_cash is exist - process it [00:00:21]requested_item shift.buy.total is exist - process it [00:00:21]requested_item shift.buy.total_cash is exist - process it [00:00:21]produce_requested_data done [00:00:21]produce_requested_data return {"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.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:21]process_action_free get_value [00:00:21]json_value_free [00:00:21]json_value_free done [00:00:21]process_json_proto returns [00:00:21]Send response to host [00:00:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.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:21]free response buf [00:00:21]execute_script done [00:00:21]execute_script returns [00:00:21]free content buf [00:00:21]Sock 9.Close socket [00:00:21]Sock 9.Thread stoped [00:00:21]accept exits with 8 [00:00:21]New connection [00:00:21]New thread 3067587940 created [00:00:21]Thread 3067444580 joined [00:00:21]Waiting for new connection... [00:00:21] Sock 8.Parse request [00:00:21]Sock 8.Check first char [00:00:21]Sock 8.First char is OK [00:00:21]request: POST /json_proto HTTP/1.0 [00:00:21]Method: POST [00:00:21]URL: /json_proto [00:00:21]Method is POST - this is cgi request [00:00:21]url: /json_proto [00:00:21]query_string will be loaded in cgi processing [00:00:21]execute_cgi json_proto POST (null) [00:00:21]execute_cgi path=json_proto method=POST [00:00:21]POST find Content-Length [00:00:21]Host: 172.17.35.196:8080 [00:00:21]Content-Length: 281 [00:00:21]Content-Type: application/json [00:00:21] [00:00:21]POST finish read [00:00:21]Found Content-Length = 281 [00:00:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:21]execute_script... [00:00:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:21]POST & json_proto [00:00:21]process_json_proto [00:00:21]json parsed OK: [00:00:21]protocol is kg_v1.0 [00:00:21]action value=x_report [00:00:21]process_action x_report [00:00:21]cmd_x_report [00:00:21]MH_GetDate [00:00:21]Write to MH i2c: F0 00 00 3C 02 2D [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: F0 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: F0 09 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: F0 09 00 3C 02 00 16 15 93 66 AD 14 F4 65 74 [00:00:21]GetLastDocTimeStamp 1720914035 [00:00:21]current date 1720915222 [00:00:21]FM_GetShiftState [00:00:21]SAM_PROTO_GetShiftState [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 13 01 00 [00:00:21]Write to MH i2c: E2 08 00 3D 02 80 13 01 00 00 00 00 00 BC [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:21]Read from MH i2c: E2 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 0E 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 0E 00 3D 02 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 9B [00:00:21]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [00:00:21]wFMCommunicate OK [00:00:21]SAM_PROTO_GetShiftState done [00:00:21]FM_GetShiftState done [00:00:21]KKMCreateXReportDocument [00:00:21]Load OK [00:00:21]Malloc new data [00:00:21]MH_GetDate [00:00:21]Write to MH i2c: F0 00 00 3E 02 2F [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: F0 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: F0 09 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: F0 09 00 3E 02 00 16 15 93 66 AD 14 F4 65 76 [00:00:21]Malloc new data [00:00:21]Malloc new data [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 11 00 00 [00:00:21]Write to MH i2c: E2 08 00 3F 02 80 11 00 00 00 00 00 00 BB [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:21]Read from MH i2c: E2 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 17 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 17 00 3F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 07 [00:00:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:00:21]wFMCommunicate OK [00:00:21]SAM_PROTO_GetFieldsCounters [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 13 00 00 [00:00:21]Write to MH i2c: E2 08 00 40 02 80 13 00 00 00 00 00 00 BE [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:21]Read from MH i2c: E2 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 62 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 62 00 40 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 47 [00:00:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:21]wFMCommunicate OK [00:00:21]SAM_PROTO_GetFieldsCounters done [00:00:21]Malloc new data [00:00:21]Malloc new data [00:00:21]Malloc new data [00:00:21]KKMCreateXReportDocument OK [00:00:21]KKMSetXReportData OK [00:00:21]KKMPrepareXReportFMData [00:00:21]SAM_PROTO_GetShiftData [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 13 02 00 [00:00:21]Write to MH i2c: E2 08 00 41 02 80 13 02 00 00 00 00 00 C1 [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 41 02 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 CD [00:00:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:22]wFMCommunicate OK [00:00:22]wFMCommunicate request_size=4 [00:00:22]MH_SAM_APDU [00:00:22]CAPDU: 80 17 00 00 [00:00:22]Write to MH i2c: E2 08 00 42 02 80 17 00 00 00 00 00 00 C4 [00:00:22]Write i2c OK [00:00:22]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 42 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 E6 [00:00:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:22]wFMCommunicate OK [00:00:22]wFMCommunicate request_size=4 [00:00:22]MH_SAM_APDU [00:00:22]CAPDU: 80 17 00 00 [00:00:22]Write to MH i2c: E2 08 00 43 02 80 17 00 00 00 00 00 00 C5 [00:00:22]Write i2c OK [00:00:22]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 43 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 7C [00:00:22]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:23]wFMCommunicate OK [00:00:23]wFMCommunicate request_size=4 [00:00:23]MH_SAM_APDU [00:00:23]CAPDU: 80 17 00 00 [00:00:23]Write to MH i2c: E2 08 00 44 02 80 17 00 00 00 00 00 00 C6 [00:00:23]OFD Sender: No OFD packet to send [00:00:23]Write i2c OK [00:00:23]MH_I2C_Read... [00:00:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:23]Read from MH i2c: E2 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 44 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 38 [00:00:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:23]wFMCommunicate OK [00:00:23]wFMCommunicate request_size=4 [00:00:23]MH_SAM_APDU [00:00:23]CAPDU: 80 17 00 00 [00:00:23]Write to MH i2c: E2 08 00 45 02 80 17 00 00 00 00 00 00 C7 [00:00:23]Write i2c OK [00:00:23]MH_I2C_Read... [00:00:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:23]Read from MH i2c: E2 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 CB 00 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 CB 00 45 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B0 [00:00:23]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:23]wFMCommunicate OK [00:00:23]SAM_PROTO_GetShiftData done [00:00:23]1194 (1194) - счетчики итогов смены [00:00:23] 1134 (4) - 55 - количество чеков со всеми признаками расчетов [00:00:23] 1129 (155) - счетчики операций «приход» [00:00:23] 1135 (4) - 55 - количество чеков по признаку расчетов [00:00:23] 1201 (3) - 11991.24 - общая итоговая сумма в чеках [00:00:23] 1136 (3) - 8226.00 - итоговая сумма в чеках наличными [00:00:23] 1138 (3) - 3765.24 - итоговая сумма в чеках безналичными [00:00:23] 1024 (122) - суммы налогов [00:00:23] 1006 (9) - суммы НДС [00:00:23] 1010 (1) - 0% - код ставки НДС [00:00:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:23] 1006 (12) - суммы НДС [00:00:23] 1010 (1) - 12% - код ставки НДС [00:00:23] 1011 (3) - 1273.42 - сумма НДС по ставке [00:00:23] 1007 (9) - суммы НСП [00:00:23] 1014 (1) - 0% - код ставки НСП [00:00:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:23] 1007 (11) - суммы НСП [00:00:23] 1014 (1) - 1% - код ставки НСП [00:00:23] 1015 (2) - 106.10 - сумма НСП по ставке [00:00:23] 1007 (9) - суммы НСП [00:00:23] 1014 (1) - 2% - код ставки НСП [00:00:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:23] 1007 (9) - суммы НСП [00:00:23] 1014 (1) - 3% - код ставки НСП [00:00:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:23] 1007 (9) - суммы НСП [00:00:23] 1014 (1) - 5% - код ставки НСП [00:00:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:23] 1007 (9) - суммы НСП [00:00:23] 1014 (1) - 0,50% - код ставки НСП [00:00:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:23] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1130 (141) - счетчики операций «возврат прихода» [00:00:24] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:24] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:24] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:24] 1024 (117) - суммы налогов [00:00:24] 1006 (9) - суммы НДС [00:00:24] 1010 (1) - 0% - код ставки НДС [00:00:24] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:24] 1006 (9) - суммы НДС [00:00:24] 1010 (1) - 12% - код ставки НДС [00:00:24] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 0% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 2% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 3% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 5% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 0,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1131 (141) - счетчики операций «расход» [00:00:24] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:24] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:24] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:24] 1024 (117) - суммы налогов [00:00:24] 1006 (9) - суммы НДС [00:00:24] 1010 (1) - 0% - код ставки НДС [00:00:24] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:24] 1006 (9) - суммы НДС [00:00:24] 1010 (1) - 12% - код ставки НДС [00:00:24] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 0% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 2% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 3% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 5% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 0,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1132 (141) - счетчики операций «возврат расхода» [00:00:24] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:24] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:24] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:24] 1024 (117) - суммы налогов [00:00:24] 1006 (9) - суммы НДС [00:00:24] 1010 (1) - 0% - код ставки НДС [00:00:24] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:24] 1006 (9) - суммы НДС [00:00:24] 1010 (1) - 12% - код ставки НДС [00:00:24] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 0% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 2% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 3% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 5% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 0,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1007 (9) - суммы НСП [00:00:24] 1014 (1) - 1,50% - код ставки НСП [00:00:24] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:24] 1133 (588) - - счетчики коррекции - не используются [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1194 (04AA) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1134 (046E) [00:00:24]Malloc new data [00:00:24]Processing tag 1129 (0469) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1135 (046F) [00:00:24]Malloc new data [00:00:24]Processing tag 1201 (04B1) [00:00:24]Malloc new data [00:00:24]Processing tag 1136 (0470) [00:00:24]Malloc new data [00:00:24]Processing tag 1138 (0472) [00:00:24]Malloc new data [00:00:24]Processing tag 1024 (0400) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1006 (03EE) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1010 (03F2) [00:00:24]Malloc new data [00:00:24]Processing tag 1011 (03F3) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1006 (03EE) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1010 (03F2) [00:00:24]Malloc new data [00:00:24]Processing tag 1011 (03F3) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]SetTLVBufToDocument err=0 [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1130 (046A) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1135 (046F) [00:00:24]Malloc new data [00:00:24]Processing tag 1201 (04B1) [00:00:24]Malloc new data [00:00:24]Processing tag 1136 (0470) [00:00:24]Malloc new data [00:00:24]Processing tag 1138 (0472) [00:00:24]Malloc new data [00:00:24]Processing tag 1024 (0400) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1006 (03EE) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1010 (03F2) [00:00:24]Malloc new data [00:00:24]Processing tag 1011 (03F3) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1006 (03EE) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1010 (03F2) [00:00:24]Malloc new data [00:00:24]Processing tag 1011 (03F3) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]SetTLVBufToDocument err=0 [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1131 (046B) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1135 (046F) [00:00:24]Malloc new data [00:00:24]Processing tag 1201 (04B1) [00:00:24]Malloc new data [00:00:24]Processing tag 1136 (0470) [00:00:24]Malloc new data [00:00:24]Processing tag 1138 (0472) [00:00:24]Malloc new data [00:00:24]Processing tag 1024 (0400) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1006 (03EE) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1010 (03F2) [00:00:24]Malloc new data [00:00:24]Processing tag 1011 (03F3) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1006 (03EE) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1010 (03F2) [00:00:24]Malloc new data [00:00:24]Processing tag 1011 (03F3) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:24]SetTLVBufToDocument [00:00:24]Processing tag 1014 (03F6) [00:00:24]Malloc new data [00:00:24]Processing tag 1015 (03F7) [00:00:24]Malloc new data [00:00:24]SetTLVBufToDocument err=0 [00:00:24]Processing tag 1007 (03EF) [00:00:24]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]SetTLVBufToDocument err=0 [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1132 (046C) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1135 (046F) [00:00:25]Malloc new data [00:00:25]Processing tag 1201 (04B1) [00:00:25]Malloc new data [00:00:25]Processing tag 1136 (0470) [00:00:25]Malloc new data [00:00:25]Processing tag 1138 (0472) [00:00:25]Malloc new data [00:00:25]Processing tag 1024 (0400) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1006 (03EE) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1010 (03F2) [00:00:25]Malloc new data [00:00:25]Processing tag 1011 (03F3) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1006 (03EE) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1010 (03F2) [00:00:25]Malloc new data [00:00:25]Processing tag 1011 (03F3) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1007 (03EF) [00:00:25]Load OK [00:00:25]SetTLVBufToDocument [00:00:25]Processing tag 1014 (03F6) [00:00:25]Malloc new data [00:00:25]Processing tag 1015 (03F7) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]SetTLVBufToDocument err=0 [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Processing tag 1133 (046D) [00:00:25]Malloc new data [00:00:25]SetTLVBufToDocument err=0 [00:00:25]SetTLVBufToDocument err=0 [00:00:25]Malloc new data [00:00:25]SAM_PROTO_GetFMData [00:00:25]wFMCommunicate request_size=4 [00:00:25]MH_SAM_APDU [00:00:25]CAPDU: 80 13 03 00 [00:00:25]Write to MH i2c: E2 08 00 46 02 80 13 03 00 00 00 00 00 C7 [00:00:25]Write i2c OK [00:00:25]MH_I2C_Read... [00:00:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:25]Read from MH i2c: E2 [00:00:25]MH_I2C_Read... [00:00:25]Read from MH i2c: E2 FD 00 [00:00:25]MH_I2C_Read... [00:00:25]Read from MH i2c: E2 FD 00 46 02 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 C0 [00:00:25]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:00:25]wFMCommunicate OK [00:00:25]wFMCommunicate request_size=4 [00:00:25]MH_SAM_APDU [00:00:25]CAPDU: 80 17 00 00 [00:00:25]Write to MH i2c: E2 08 00 47 02 80 17 00 00 00 00 00 00 C9 [00:00:25]Write i2c OK [00:00:25]MH_I2C_Read... [00:00:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:26]Read from MH i2c: E2 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 FD 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 FD 00 47 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 86 [00:00:26]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:00:26]wFMCommunicate OK [00:00:26]wFMCommunicate request_size=4 [00:00:26]MH_SAM_APDU [00:00:26]CAPDU: 80 17 00 00 [00:00:26]Write to MH i2c: E2 08 00 48 02 80 17 00 00 00 00 00 00 CA [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:26]Read from MH i2c: E2 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 FD 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: E2 FD 00 48 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 DF [00:00:26]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:00:26]wFMCommunicate OK [00:00:26]wFMCommunicate request_size=4 [00:00:26]MH_SAM_APDU [00:00:26]CAPDU: 80 17 00 00 [00:00:26]Write to MH i2c: E2 08 00 49 02 80 17 00 00 00 00 00 00 CB [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:27]Read from MH i2c: E2 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 FD 00 49 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 43 [00:00:27]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:00:27]wFMCommunicate OK [00:00:27]wFMCommunicate request_size=4 [00:00:27]MH_SAM_APDU [00:00:27]CAPDU: 80 17 00 00 [00:00:27]Write to MH i2c: E2 08 00 4A 02 80 17 00 00 00 00 00 00 CC [00:00:27]Write i2c OK [00:00:27]MH_I2C_Read... [00:00:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:00:27]Read from MH i2c: E2 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 E1 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: E2 E1 00 4A 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BA [00:00:27]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:27]wFMCommunicate OK [00:00:27]SAM_PROTO_GetFMData done [00:00:27]FM_GetFMData:85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 OFD Sender: No OFD packet to send [00:00:28]F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:28]oper:6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:28]total:B2 6B B4 3F [00:00:28]Malloc new data [00:00:28]oper:6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:28]total:BC 87 2D 02 [00:00:28]Malloc new data [00:00:28]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:28]total: [00:00:28]Malloc new data [00:00:28]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:28]total: [00:00:28]Malloc new data [00:00:28]KKMPrepareXReportFMData err=0 [00:00:28]Х отчет ИНН: 02508201610067 Кассир: Эгенбердиева Д. 14.07.2024 00:00 Смена: 266 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Всего чеков: 55 ИТОГИ ПРИХОД Чеков: 55 Общий итог: 11991.24 Итого наличными: 8226.00 Итого безнал.: 3765.24 НДС 0% : 0.00 НДС 12% : 1273.42 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 106.10 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 8226.00 НС Приход: 10687886.58 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875104 [00:00:28]StoreToDocumentArchive [00:00:28]MH_GetDate [00:00:28]Write to MH i2c: F0 00 00 4B 02 3C [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: F0 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: F0 09 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: F0 09 00 4B 02 00 1D 15 93 66 AD 14 F4 65 8A [00:00:28]shift 266 fd 1720915229 [00:00:28]Create dir for shift 0266 [00:00:28]save to /storage/0266/doc_1720915229 [00:00:28]save last doc name /storage/0266/doc_1720915229 to /storage/kkm_last_doc_name [00:00:28]save OK [00:00:28]Clear old archive folders... [00:00:28]NVStorageSaveData kkm_last_timestamp [00:00:28]File name is /storage/kkm_last_timestamp [00:00:28]Write 4 bytes [00:00:28]NVStorageSaveData done [00:00:28]ExternCall_PrintAddStr [00:00:28]wPrintStart [00:00:28]Write to MH i2c: 01 00 00 4C 02 4E [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: 01 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: 01 07 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: 01 07 00 4C 02 00 00 00 00 00 FF 0F 63 [00:00:28]RasterBufferAndPrint [00:00:28]line Х отчет [00:00:28]line ИНН: 02508201610067 [00:00:28]line Кассир: Эгенбердиева Д. [00:00:28]line 14.07.2024 00:00 [00:00:28]line Смена: 266 [00:00:28]line РНМ: 0000000000093033 [00:00:28]line ЗНМ: 0300000122 [00:00:28]line СНО: Общий режим [00:00:28]line Всего чеков: 55 [00:00:28]line ИТОГИ ПРИХОД [00:00:28]line Чеков: 55 [00:00:28]line Общий итог: 11991.24 [00:00:28]line Итого наличными: 8226.00 [00:00:28]line Итого безнал.: 3765.24 [00:00:28]line НДС 0% : 0.00 [00:00:28]line НДС 12% : 1273.42 [00:00:28]line НСП 0% : 0.00 [00:00:28]line НСП 1,50% : 0.00 [00:00:28]line НСП 0,50% : 0.00 [00:00:28]line НСП 5% : 0.00 [00:00:28]line НСП 3% : 0.00 [00:00:28]line НСП 2% : 0.00 [00:00:28]line НСП 1% : 106.10 [00:00:28]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:28]line Чеков: 0 [00:00:28]line Общий итог: 0.00 [00:00:28]line Итого наличными: 0.00 [00:00:28]line Итого безнал.: 0.00 [00:00:28]line НДС 0% : 0.00 [00:00:28]line НДС 12% : 0.00 [00:00:28]line НСП 0% : 0.00 [00:00:28]line НСП 1,50% : 0.00 [00:00:28]line НСП 0,50% : 0.00 [00:00:28]line НСП 5% : 0.00 [00:00:28]line НСП 3% : 0.00 [00:00:28]line НСП 2% : 0.00 [00:00:28]line НСП 1% : 0.00 [00:00:28]line ИТОГИ РАСХОД [00:00:28]line Чеков: 0 [00:00:28]line Общий итог: 0.00 [00:00:28]line Итого наличными: 0.00 [00:00:28]line Итого безнал.: 0.00 [00:00:28]line НДС 0% : 0.00 [00:00:28]line НДС 12% : 0.00 [00:00:28]line НСП 0% : 0.00 [00:00:28]line НСП 1,50% : 0.00 [00:00:28]line НСП 0,50% : 0.00 [00:00:28]line НСП 5% : 0.00 [00:00:28]line НСП 3% : 0.00 [00:00:28]line НСП 2% : 0.00 [00:00:28]line НСП 1% : 0.00 [00:00:28]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:28]line Чеков: 0 [00:00:28]line Общий итог: 0.00 [00:00:28]line Итого наличными: 0.00 [00:00:28]line Итого безнал.: 0.00 [00:00:28]line НДС 0% : 0.00 [00:00:28]line НДС 12% : 0.00 [00:00:28]line НСП 0% : 0.00 [00:00:28]line НСП 1,50% : 0.00 [00:00:28]line НСП 0,50% : 0.00 [00:00:28]line НСП 5% : 0.00 [00:00:28]line НСП 3% : 0.00 [00:00:28]line НСП 2% : 0.00 [00:00:28]line НСП 1% : 0.00 [00:00:28]line Сумма внесений: 0.00 [00:00:28]line Сумма выплат: 0.00 [00:00:28]line Нал. в кассе: 8226.00 [00:00:28]line НС Приход: 10687886.58 [00:00:28]line НС Возвр.Прихода: 365383.00 [00:00:28]line НС Расход: 0.00 [00:00:28]line НС Возвр.Расхода: 0.00 [00:00:28]line ФМ: 0000000000875104 [00:00:28]written 0, free lines is 4095 [00:00:29]Write to MH i2c: 01 00 00 97 02 99 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: 01 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: 01 07 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: 01 07 00 97 02 00 00 00 00 00 A5 0A 4F [00:00:29]RasterBufferAndPrint [00:00:29]line [00:00:29]line [00:00:29]line [00:00:29]line [00:00:29]line [00:00:29]written 0, free lines is 2759 [00:00:29]MH_Cut [00:00:29]Write to MH i2c: D1 01 00 9E 02 01 72 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: D1 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: D1 01 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: D1 01 00 9E 02 00 71 [00:00:29]Write to MH i2c: 01 00 00 9F 02 A1 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:30]*** Cut start [00:00:30]*** Partial cut [00:00:30]*** CUTSNS_PIN = 1 [00:00:30]*** CUTSNS_PIN = 0 [00:00:31]*** Brake cut motor [00:00:31]Read from MH i2c: 01 [00:00:31]MH_I2C_Read... [00:00:31]*** Stop cut motor [00:00:31]*** Cut end [00:00:31]Read from MH i2c: 01 07 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: 01 07 00 9F 02 00 00 00 00 00 FF 0F B6 [00:00:31]process_action x_report done [00:00:31]requested_data is exist [00:00:31]produce_requested_data [00:00:31]requested_item fd.num is exist - process it [00:00:31]SAM_PROTO_GetFieldsCounters [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 13 00 00 [00:00:31]Write to MH i2c: E2 08 00 A0 02 80 13 00 00 00 00 00 00 1E [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 62 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 62 00 A0 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [00:00: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 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:31]wFMCommunicate OK [00:00:31]SAM_PROTO_GetFieldsCounters done [00:00:31]requested_item shift.num is exist - process it [00:00:31]requested_item shift.opened is exist - process it [00:00:31]req_shift_opened [00:00:31]FM_GetShiftState [00:00:31]SAM_PROTO_GetShiftState [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 13 01 00 [00:00:31]Write to MH i2c: E2 08 00 A1 02 80 13 01 00 00 00 00 00 20 [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 0E 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 0E 00 A1 02 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 FF [00:00:31]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [00:00:31]wFMCommunicate OK [00:00:31]SAM_PROTO_GetShiftState done [00:00:31]FM_GetShiftState done [00:00:31]req_shift_opened done [00:00:31]requested_item shift.open_date is exist - process it [00:00:31]req_shift_open_date [00:00:31]req_shift_open_date done [00:00:31]produce_requested_data done [00:00:31]produce_requested_data return {"fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [00:00:31]process_action_free x_report [00:00:31]json_value_free [00:00:31]json_value_free done [00:00:31]process_json_proto returns [00:00:31]Send response to host [00:00:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [00:00:31]free response buf [00:00:31]execute_script done [00:00:31]execute_script returns [00:00:31]free content buf [00:00:31]Sock 8.Close socket [00:00:31]Sock 8.Thread stoped [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:04]accept exits with 9 [00:01:04]New connection [00:01:04]New thread 3067444580 created [00:01:04]Thread 3067587940 joined [00:01:04]Waiting for new connection... [00:01:04] Sock 9.Parse request [00:01:04]Sock 9.Check first char [00:01:04]Sock 9.First char is OK [00:01:04]request: POST /json_proto HTTP/1.0 [00:01:04]Method: POST [00:01:04]URL: /json_proto [00:01:04]Method is POST - this is cgi request [00:01:04]url: /json_proto [00:01:04]query_string will be loaded in cgi processing [00:01:04]execute_cgi json_proto POST (null) [00:01:04]execute_cgi path=json_proto method=POST [00:01:04]POST find Content-Length [00:01:04]Host: 172.17.35.196:8080 [00:01:04]Content-Length: 215 [00:01:04]Content-Type: application/json [00:01:04] [00:01:04]POST finish read [00:01:04]Found Content-Length = 215 [00:01:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:04]execute_script... [00:01:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:04]POST & json_proto [00:01:04]process_json_proto [00:01:04]json parsed OK: [00:01:04]protocol is kg_v1.0 [00:01:04]action value=get_value [00:01:04]process_action get_value [00:01:04]cmd_get_value [00:01:04]process_action get_value done [00:01:04]requested_data is exist [00:01:04]produce_requested_data [00:01:04]requested_item kkm.sn is exist - process it [00:01:04]requested_item kkm.ver is exist - process it [00:01:04]requested_item fm.sn is exist - process it [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 11 00 00 [00:01:04]Write to MH i2c: E2 08 00 A2 02 80 11 00 00 00 00 00 00 1E [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 17 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 17 00 A2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6A [00:01:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:01:04]wFMCommunicate OK [00:01:04]requested_item fd.num is exist - process it [00:01:04]SAM_PROTO_GetFieldsCounters [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 13 00 00 [00:01:04]Write to MH i2c: E2 08 00 A3 02 80 13 00 00 00 00 00 00 21 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 62 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 62 00 A3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [00:01:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9C 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:04]wFMCommunicate OK [00:01:04]SAM_PROTO_GetFieldsCounters done [00:01:04]requested_item shift.num is exist - process it [00:01:04]requested_item shift.opened is exist - process it [00:01:04]req_shift_opened [00:01:04]FM_GetShiftState [00:01:04]SAM_PROTO_GetShiftState [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 13 01 00 [00:01:04]Write to MH i2c: E2 08 00 A4 02 80 13 01 00 00 00 00 00 23 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 0E 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 0E 00 A4 02 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 02 [00:01:04]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [00:01:04]wFMCommunicate OK [00:01:04]SAM_PROTO_GetShiftState done [00:01:04]FM_GetShiftState done [00:01:04]req_shift_opened done [00:01:04]requested_item shift.open_date is exist - process it [00:01:04]req_shift_open_date [00:01:04]req_shift_open_date done [00:01:04]produce_requested_data done [00:01:04]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [00:01:04]process_action_free get_value [00:01:04]json_value_free [00:01:04]json_value_free done [00:01:04]process_json_proto returns [00:01:04]Send response to host [00:01:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33436,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [00:01:04]free response buf [00:01:04]execute_script done [00:01:04]execute_script returns [00:01:04]free content buf [00:01:04]Sock 9.Close socket [00:01:04]Sock 9.Thread stoped [00:01:04]accept exits with 8 [00:01:04]New connection [00:01:04]New thread 3067587940 created [00:01:04]Thread 3067444580 joined [00:01:04]Waiting for new connection... [00:01:04] Sock 8.Parse request [00:01:04]Sock 8.Check first char [00:01:04]Sock 8.First char is OK [00:01:04]request: POST /json_proto HTTP/1.0 [00:01:04]Method: POST [00:01:04]URL: /json_proto [00:01:04]Method is POST - this is cgi request [00:01:04]url: /json_proto [00:01:04]query_string will be loaded in cgi processing [00:01:04]execute_cgi json_proto POST (null) [00:01:04]execute_cgi path=json_proto method=POST [00:01:04]POST find Content-Length [00:01:04]Host: 172.17.35.196:8080 [00:01:04]Content-Length: 331 [00:01:04]Content-Type: application/json [00:01:04] [00:01:04]POST finish read [00:01:04]Found Content-Length = 331 [00:01:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:04]execute_script... [00:01:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:04]POST & json_proto [00:01:04]process_json_proto [00:01:04]json parsed OK: [00:01:04]protocol is kg_v1.0 [00:01:04]action value=get_value [00:01:04]process_action get_value [00:01:04]cmd_get_value [00:01:04]process_action get_value done [00:01:04]requested_data is exist [00:01:04]produce_requested_data [00:01:04]requested_item fm.sale.total is exist - process it [00:01:04]SAM_PROTO_GetFMData [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 13 03 00 [00:01:04]Write to MH i2c: E2 08 00 A5 02 80 13 03 00 00 00 00 00 26 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 A5 02 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 1F [00:01:05]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 17 00 00 [00:01:05]Write to MH i2c: E2 08 00 A6 02 80 17 00 00 00 00 00 00 28 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 A6 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 E5 [00:01:05]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 17 00 00 [00:01:05]Write to MH i2c: E2 08 00 A7 02 80 17 00 00 00 00 00 00 29 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 A7 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 3E [00:01:05]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 17 00 00 [00:01:05]Write to MH i2c: E2 08 00 A8 02 80 17 00 00 00 00 00 00 2A [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 A8 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 A2 [00:01:05]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 17 00 00 [00:01:05]Write to MH i2c: E2 08 00 A9 02 80 17 00 00 00 00 00 00 2B [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 E1 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 E1 00 A9 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 19 [00:01:06]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:06]wFMCommunicate OK [00:01:06]SAM_PROTO_GetFMData done [00:01:06]requested_item fm.sale_refund.total is exist - process it [00:01:06]requested_item fm.buy.total is exist - process it [00:01:06]requested_item shift.sale.total is exist - process it [00:01:06]SAM_PROTO_GetShiftData [00:01:06]wFMCommunicate request_size=4 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 13 02 00 [00:01:06]Write to MH i2c: E2 08 00 AA 02 80 13 02 00 00 00 00 00 2A [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 FD 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 FD 00 AA 02 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 36 [00:01:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:06]wFMCommunicate OK [00:01:06]wFMCommunicate request_size=4 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 17 00 00 [00:01:06]Write to MH i2c: E2 08 00 AB 02 80 17 00 00 00 00 00 00 2D [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 AB 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 4F [00:01:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 17 00 00 [00:01:07]Write to MH i2c: E2 08 00 AC 02 80 17 00 00 00 00 00 00 2E [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 AC 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 E5 [00:01:07]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:07]wFMCommunicate OK [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 17 00 00 [00:01:07]Write to MH i2c: E2 08 00 AD 02 80 17 00 00 00 00 00 00 2F [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 AD 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A1 [00:01:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:07]wFMCommunicate OK [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 17 00 00 [00:01:07]Write to MH i2c: E2 08 00 AE 02 80 17 00 00 00 00 00 00 30 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 CB 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 CB 00 AE 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 19 [00:01:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:08]wFMCommunicate OK [00:01:08]SAM_PROTO_GetShiftData done [00:01:08]requested_item shift.sale.total_cash is exist - process it [00:01:08]requested_item shift.sale_refund.total is exist - process it [00:01:08]requested_item shift.sale_refund.total_cash is exist - process it [00:01:08]requested_item shift.buy.total is exist - process it [00:01:08]requested_item shift.buy.total_cash is exist - process it [00:01:08]produce_requested_data done [00:01:08]produce_requested_data return {"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:01:08]process_action_free get_value [00:01:08]json_value_free [00:01:08]json_value_free done [00:01:08]process_json_proto returns [00:01:08]Send response to host [00:01:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:01:08]free response buf [00:01:08]execute_script done [00:01:08]execute_script returns [00:01:08]free content buf [00:01:08]Sock 8.Close socket [00:01:08]Sock 8.Thread stoped [00:01:08]OFD Sender: No OFD packet to send [00:01:08]accept exits with 9 [00:01:08]New connection [00:01:08]New thread 3067444580 created [00:01:08]Thread 3067587940 joined [00:01:08]Waiting for new connection... [00:01:08] Sock 9.Parse request [00:01:08]Sock 9.Check first char [00:01:08]Sock 9.First char is OK [00:01:08]request: POST /json_proto HTTP/1.0 [00:01:08]Method: POST [00:01:08]URL: /json_proto [00:01:08]Method is POST - this is cgi request [00:01:08]url: /json_proto [00:01:08]query_string will be loaded in cgi processing [00:01:08]execute_cgi json_proto POST (null) [00:01:08]execute_cgi path=json_proto method=POST [00:01:08]POST find Content-Length [00:01:08]Host: 172.17.35.196:8080 [00:01:08]Content-Length: 331 [00:01:08]Content-Type: application/json [00:01:08] [00:01:08]POST finish read [00:01:08]Found Content-Length = 331 [00:01:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:08]execute_script... [00:01:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:08]POST & json_proto [00:01:08]process_json_proto [00:01:08]json parsed OK: [00:01:08]protocol is kg_v1.0 [00:01:08]action value=get_value [00:01:08]process_action get_value [00:01:08]cmd_get_value [00:01:08]process_action get_value done [00:01:08]requested_data is exist [00:01:08]produce_requested_data [00:01:08]requested_item fm.sale.total is exist - process it [00:01:08]SAM_PROTO_GetFMData [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 13 03 00 [00:01:08]Write to MH i2c: E2 08 00 AF 02 80 13 03 00 00 00 00 00 30 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 AF 02 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 29 [00:01:08]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 17 00 00 [00:01:08]Write to MH i2c: E2 08 00 B0 02 80 17 00 00 00 00 00 00 32 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 B0 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 EF [00:01:09]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:01:09]wFMCommunicate OK [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 17 00 00 [00:01:09]Write to MH i2c: E2 08 00 B1 02 80 17 00 00 00 00 00 00 33 [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 B1 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 48 [00:01:09]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:01:09]wFMCommunicate OK [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 17 00 00 [00:01:09]Write to MH i2c: E2 08 00 B2 02 80 17 00 00 00 00 00 00 34 [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 B2 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 AC [00:01:09]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:01:10]wFMCommunicate OK [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 17 00 00 [00:01:10]Write to MH i2c: E2 08 00 B3 02 80 17 00 00 00 00 00 00 35 [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 E1 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 E1 00 B3 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 23 [00:01:10]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:10]wFMCommunicate OK [00:01:10]SAM_PROTO_GetFMData done [00:01:10]requested_item fm.sale_refund.total is exist - process it [00:01:10]requested_item fm.buy.total is exist - process it [00:01:10]requested_item shift.sale.total is exist - process it [00:01:10]SAM_PROTO_GetShiftData [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 13 02 00 [00:01:10]Write to MH i2c: E2 08 00 B4 02 80 13 02 00 00 00 00 00 34 [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 B4 02 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 40 [00:01:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:11]wFMCommunicate OK [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 17 00 00 [00:01:11]Write to MH i2c: E2 08 00 B5 02 80 17 00 00 00 00 00 00 37 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:11]Read from MH i2c: E2 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 FD 00 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 FD 00 B5 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 59 [00:01:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:11]wFMCommunicate OK [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 17 00 00 [00:01:11]Write to MH i2c: E2 08 00 B6 02 80 17 00 00 00 00 00 00 38 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:11]Read from MH i2c: E2 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 FD 00 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 FD 00 B6 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 EF [00:01:11]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:11]wFMCommunicate OK [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 17 00 00 [00:01:11]Write to MH i2c: E2 08 00 B7 02 80 17 00 00 00 00 00 00 39 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 B7 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 AB [00:01:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:12]wFMCommunicate OK [00:01:12]wFMCommunicate request_size=4 [00:01:12]MH_SAM_APDU [00:01:12]CAPDU: 80 17 00 00 [00:01:12]Write to MH i2c: E2 08 00 B8 02 80 17 00 00 00 00 00 00 3A [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 CB 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 CB 00 B8 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 23 [00:01:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:12]wFMCommunicate OK [00:01:12]SAM_PROTO_GetShiftData done [00:01:12]requested_item shift.sale.total_cash is exist - process it [00:01:12]requested_item shift.sale_refund.total is exist - process it [00:01:12]requested_item shift.sale_refund.total_cash is exist - process it [00:01:12]requested_item shift.buy.total is exist - process it [00:01:12]requested_item shift.buy.total_cash is exist - process it [00:01:12]produce_requested_data done [00:01:12]produce_requested_data return {"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:01:12]process_action_free get_value [00:01:12]json_value_free [00:01:12]json_value_free done [00:01:12]process_json_proto returns [00:01:12]Send response to host [00:01:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:01:12]free response buf [00:01:12]execute_script done [00:01:12]execute_script returns [00:01:12]free content buf [00:01:12]Sock 9.Close socket [00:01:12]Sock 9.Thread stoped [00:01:12]accept exits with 8 [00:01:12]New connection [00:01:12]New thread 3067587940 created [00:01:12]Thread 3067444580 joined [00:01:12]Waiting for new connection... [00:01:12] Sock 8.Parse request [00:01:12]Sock 8.Check first char [00:01:12]Sock 8.First char is OK [00:01:12]request: POST /json_proto HTTP/1.0 [00:01:12]Method: POST [00:01:12]URL: /json_proto [00:01:12]Method is POST - this is cgi request [00:01:12]url: /json_proto [00:01:12]query_string will be loaded in cgi processing [00:01:12]execute_cgi json_proto POST (null) [00:01:12]execute_cgi path=json_proto method=POST [00:01:12]POST find Content-Length [00:01:12]Host: 172.17.35.196:8080 [00:01:12]Content-Length: 284 [00:01:12]Content-Type: application/json [00:01:12] [00:01:12]POST finish read [00:01:12]Found Content-Length = 284 [00:01:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:12]execute_script... [00:01:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:12]POST & json_proto [00:01:12]process_json_proto [00:01:12]json parsed OK: [00:01:12]protocol is kg_v1.0 [00:01:12]action value=close_shift [00:01:12]process_action close_shift [00:01:12]cmd_close_shift [00:01:12]MH_GetDate [00:01:12]Write to MH i2c: F0 00 00 B9 02 AA [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: F0 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: F0 09 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: F0 09 00 B9 02 00 4A 15 93 66 AD 14 F4 65 25 [00:01:12]GetLastDocTimeStamp 1720915222 [00:01:12]current date 1720915274 [00:01:12]FM_GetShiftState [00:01:12]SAM_PROTO_GetShiftState [00:01:12]wFMCommunicate request_size=4 [00:01:12]MH_SAM_APDU [00:01:12]CAPDU: 80 13 01 00 [00:01:12]Write to MH i2c: E2 08 00 BA 02 80 13 01 00 00 00 00 00 39 [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 0E 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 0E 00 BA 02 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 18 [00:01:12]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [00:01:12]wFMCommunicate OK [00:01:12]SAM_PROTO_GetShiftState done [00:01:12]FM_GetShiftState done [00:01:12]KKMCreateCloseShiftDocument [00:01:12]Load OK [00:01:12]Malloc new data [00:01:12]MH_GetDate [00:01:12]Write to MH i2c: F0 00 00 BB 02 AC [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: F0 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: F0 09 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: F0 09 00 BB 02 00 4A 15 93 66 AD 14 F4 65 27 [00:01:13]Malloc new data [00:01:13]Malloc new data [00:01:13]Malloc new data [00:01:13]Malloc new data [00:01:13]KKMCreateCloseShiftDocument OK [00:01:13]KKMSetCloseShiftData OK [00:01:13]ProcessDocumentItem done err = 0, tmpTLVsize=79 [00:01:13]tlvbuf is 013A6690 [00:01:13]KKMLoadAndSignCloseShiftData [00:01:13]SAM_PROTO_ProcessDocument [00:01:13]wFMCommunicate request_size=9 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 15 01 00 04 05 00 4F 00 [00:01:13]Write to MH i2c: E2 0C 00 BC 02 80 15 01 00 04 00 05 00 4F 00 00 00 99 [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 BC 02 00 90 00 32 [00:01:13]RAPDU: 90 00 [00:01:13]wFMCommunicate OK [00:01:13]wFMCommunicate request_size=23 [00:01:13]MH_SAM_APDU [00:01:13]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:01:13]Write to MH i2c: E2 1A 00 BD 02 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 34 [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 BD 02 00 90 00 33 [00:01:13]RAPDU: 90 00 [00:01:13]wFMCommunicate OK [00:01:13]wFMCommunicate request_size=38 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 [00:01:13]Write to MH i2c: E2 29 00 BE 02 80 15 02 00 21 00 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 00 00 6D [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 BE 02 00 90 00 34 [00:01:13]RAPDU: 90 00 [00:01:13]wFMCommunicate OK [00:01:13]wFMCommunicate request_size=13 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 15 02 00 08 F4 03 04 00 4A 15 93 66 [00:01:13]Write to MH i2c: E2 10 00 BF 02 80 15 02 00 08 00 F4 03 04 00 4A 15 93 66 00 00 A4 [00:01:13]OFD Sender: No OFD packet to send [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 BF 02 00 90 00 35 [00:01:13]RAPDU: 90 00 [00:01:13]wFMCommunicate OK [00:01:13]wFMCommunicate request_size=25 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [00:01:13]Write to MH i2c: E2 1C 00 C0 02 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 9D [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 03 00 C0 02 00 90 00 36 [00:01:13]RAPDU: 90 00 [00:01:13]wFMCommunicate OK [00:01:13]wFMCommunicate request_size=4 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 15 03 00 [00:01:13]Write to MH i2c: E2 08 00 C1 02 80 15 03 00 00 00 00 00 44 [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:14]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:01:14]Read from MH i2c: E2 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 C1 02 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9D 82 00 00 0E 04 04 00 B2 01 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 2A [00:01:14]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9D 82 00 00 0E 04 04 00 B2 01 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:01:14]wFMCommunicate OK [00:01:14]SAM_PROTO_ProcessDocument answer len = 1265 [00:01:14]SAM_PROTO_ProcessDocument remain to read = 1017 [00:01:14]wFMCommunicate request_size=4 [00:01:14]MH_SAM_APDU [00:01:14]CAPDU: 80 17 00 00 [00:01:14]Write to MH i2c: E2 08 00 C2 02 80 17 00 00 00 00 00 00 44 [00:01:14]Write i2c OK [00:01:14]MH_I2C_Read... [00:01:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:14]Read from MH i2c: E2 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 C2 02 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 8D [00:01:14]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:01:14]wFMCommunicate OK [00:01:14]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:14]SAM_PROTO_ProcessDocument remain to read = 767 [00:01:14]wFMCommunicate request_size=4 [00:01:14]MH_SAM_APDU [00:01:14]CAPDU: 80 17 00 00 [00:01:14]Write to MH i2c: E2 08 00 C3 02 80 17 00 00 00 00 00 00 45 [00:01:14]Write i2c OK [00:01:14]MH_I2C_Read... [00:01:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:15]Read from MH i2c: E2 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 FD 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 FD 00 C3 02 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 A7 [00:01:15]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:01:15]wFMCommunicate OK [00:01:15]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:15]SAM_PROTO_ProcessDocument remain to read = 517 [00:01:15]wFMCommunicate request_size=4 [00:01:15]MH_SAM_APDU [00:01:15]CAPDU: 80 17 00 00 [00:01:15]Write to MH i2c: E2 08 00 C4 02 80 17 00 00 00 00 00 00 46 [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:15]Read from MH i2c: E2 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 FD 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 FD 00 C4 02 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 D0 [00:01:15]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:01:15]wFMCommunicate OK [00:01:15]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:15]SAM_PROTO_ProcessDocument remain to read = 267 [00:01:15]wFMCommunicate request_size=4 [00:01:15]MH_SAM_APDU [00:01:15]CAPDU: 80 17 00 00 [00:01:15]Write to MH i2c: E2 08 00 C5 02 80 17 00 00 00 00 00 00 47 [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 FD 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 FD 00 C5 02 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 0F [00:01:16]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:01:16]wFMCommunicate OK [00:01:16]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:16]SAM_PROTO_ProcessDocument remain to read = 17 [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 17 00 00 [00:01:16]Write to MH i2c: E2 08 00 C6 02 80 17 00 00 00 00 00 00 48 [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 14 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 14 00 C6 02 00 01 00 06 F7 03 00 00 35 04 06 00 F7 F4 25 9B EA 09 90 00 2B [00:01:16]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 F7 F4 25 9B EA 09 90 00 [00:01:16]wFMCommunicate OK [00:01:16]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:01:16]SAM_PROTO_ProcessDocument done [00:01:16]1209 (1) - 1.0 - номер версии ФФД [00:01:16]1041 (16) - 0000000000875104 - номер ФМ [00:01:16]1040 (4) - 33437 - номер ФД [00:01:16]1038 (4) - 434 - номер смены [00:01:16]1118 (4) - 55 - количество кассовых чеков за смену [00:01:16]1111 (4) - 57 - общее количество ФД за смену [00:01:16]1194 (1194) - счетчики итогов смены [00:01:16] 1134 (4) - 55 - количество чеков со всеми признаками расчетов [00:01:16] 1129 (155) - счетчики операций «приход» [00:01:16] 1135 (4) - 55 - количество чеков по признаку расчетов [00:01:16] 1201 (3) - 11991.24 - общая итоговая сумма в чеках [00:01:16] 1136 (3) - 8226.00 - итоговая сумма в чеках наличными [00:01:16] 1138 (3) - 3765.24 - итоговая сумма в чеках безналичными [00:01:16] 1024 (122) - суммы налогов [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 0% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1006 (12) - суммы НДС [00:01:16] 1010 (1) - 12% - код ставки НДС [00:01:16] 1011 (3) - 1273.42 - сумма НДС по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (11) - суммы НСП [00:01:16] 1014 (1) - 1% - код ставки НСП [00:01:16] 1015 (2) - 106.10 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 2% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 3% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 5% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1130 (141) - счетчики операций «возврат прихода» [00:01:16] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:16] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:16] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:16] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:16] 1024 (117) - суммы налогов [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 0% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 12% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 2% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 3% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 5% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1131 (141) - счетчики операций «расход» [00:01:16] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:16] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:16] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:16] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:16] 1024 (117) - суммы налогов [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 0% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 12% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 2% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 3% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 5% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1132 (141) - счетчики операций «возврат расхода» [00:01:16] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:16] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:16] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:16] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:16] 1024 (117) - суммы налогов [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 0% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1006 (9) - суммы НДС [00:01:16] 1010 (1) - 12% - код ставки НДС [00:01:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 2% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 3% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 5% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 0,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1007 (9) - суммы НСП [00:01:16] 1014 (1) - 1,50% - код ставки НСП [00:01:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:16] 1133 (588) - - счетчики коррекции - не используются [00:01:16]1077 (6) - 272627975055881 - ФПД [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1209 (04B9) [00:01:16]Malloc new data [00:01:16]Processing tag 1041 (0411) [00:01:16]Processing tag 1040 (0410) [00:01:16]Malloc new data [00:01:16]Processing tag 1038 (040E) [00:01:16]Malloc new data [00:01:16]Processing tag 1118 (045E) [00:01:16]Malloc new data [00:01:16]Processing tag 1111 (0457) [00:01:16]Malloc new data [00:01:16]Processing tag 1194 (04AA) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1134 (046E) [00:01:16]Malloc new data [00:01:16]Processing tag 1129 (0469) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1135 (046F) [00:01:16]Malloc new data [00:01:16]Processing tag 1201 (04B1) [00:01:16]Malloc new data [00:01:16]Processing tag 1136 (0470) [00:01:16]Malloc new data [00:01:16]Processing tag 1138 (0472) [00:01:16]Malloc new data [00:01:16]Processing tag 1024 (0400) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1006 (03EE) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1010 (03F2) [00:01:16]Malloc new data [00:01:16]Processing tag 1011 (03F3) [00:01:16]Malloc new data [00:01:16]SetTLVBufToDocument err=0 [00:01:16]Processing tag 1006 (03EE) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1010 (03F2) [00:01:16]Malloc new data [00:01:16]Processing tag 1011 (03F3) [00:01:16]Malloc new data [00:01:16]SetTLVBufToDocument err=0 [00:01:16]Processing tag 1007 (03EF) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1014 (03F6) [00:01:16]Malloc new data [00:01:16]Processing tag 1015 (03F7) [00:01:16]Malloc new data [00:01:16]SetTLVBufToDocument err=0 [00:01:16]Processing tag 1007 (03EF) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1014 (03F6) [00:01:16]Malloc new data [00:01:16]Processing tag 1015 (03F7) [00:01:16]Malloc new data [00:01:16]SetTLVBufToDocument err=0 [00:01:16]Processing tag 1007 (03EF) [00:01:16]Load OK [00:01:16]SetTLVBufToDocument [00:01:16]Processing tag 1014 (03F6) [00:01:16]Malloc new data [00:01:16]Processing tag 1015 (03F7) [00:01:16]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1130 (046A) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1135 (046F) [00:01:17]Malloc new data [00:01:17]Processing tag 1201 (04B1) [00:01:17]Malloc new data [00:01:17]Processing tag 1136 (0470) [00:01:17]Malloc new data [00:01:17]Processing tag 1138 (0472) [00:01:17]Malloc new data [00:01:17]Processing tag 1024 (0400) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1006 (03EE) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1010 (03F2) [00:01:17]Malloc new data [00:01:17]Processing tag 1011 (03F3) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1006 (03EE) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1010 (03F2) [00:01:17]Malloc new data [00:01:17]Processing tag 1011 (03F3) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1131 (046B) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1135 (046F) [00:01:17]Malloc new data [00:01:17]Processing tag 1201 (04B1) [00:01:17]Malloc new data [00:01:17]Processing tag 1136 (0470) [00:01:17]Malloc new data [00:01:17]Processing tag 1138 (0472) [00:01:17]Malloc new data [00:01:17]Processing tag 1024 (0400) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1006 (03EE) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1010 (03F2) [00:01:17]Malloc new data [00:01:17]Processing tag 1011 (03F3) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1006 (03EE) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1010 (03F2) [00:01:17]Malloc new data [00:01:17]Processing tag 1011 (03F3) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1132 (046C) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1135 (046F) [00:01:17]Malloc new data [00:01:17]Processing tag 1201 (04B1) [00:01:17]Malloc new data [00:01:17]Processing tag 1136 (0470) [00:01:17]Malloc new data [00:01:17]Processing tag 1138 (0472) [00:01:17]Malloc new data [00:01:17]Processing tag 1024 (0400) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1006 (03EE) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1010 (03F2) [00:01:17]Malloc new data [00:01:17]Processing tag 1011 (03F3) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1006 (03EE) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1010 (03F2) [00:01:17]Malloc new data [00:01:17]Processing tag 1011 (03F3) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1007 (03EF) [00:01:17]Load OK [00:01:17]SetTLVBufToDocument [00:01:17]Processing tag 1014 (03F6) [00:01:17]Malloc new data [00:01:17]Processing tag 1015 (03F7) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1133 (046D) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Processing tag 1077 (0435) [00:01:17]Malloc new data [00:01:17]SetTLVBufToDocument err=0 [00:01:17]Malloc new data [00:01:17]SAM_PROTO_GetFMData [00:01:17]wFMCommunicate request_size=4 [00:01:17]MH_SAM_APDU [00:01:17]CAPDU: 80 13 03 00 [00:01:17]Write to MH i2c: E2 08 00 C7 02 80 13 03 00 00 00 00 00 48 [00:01:17]Write i2c OK [00:01:17]MH_I2C_Read... [00:01:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:18]Read from MH i2c: E2 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 FD 00 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 FD 00 C7 02 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 41 [00:01:18]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:01:18]wFMCommunicate OK [00:01:18]wFMCommunicate request_size=4 [00:01:18]MH_SAM_APDU [00:01:18]CAPDU: 80 17 00 00 [00:01:18]Write to MH i2c: E2 08 00 C8 02 80 17 00 00 00 00 00 00 4A [00:01:18]OFD Sender: No OFD packet to send [00:01:18]Write i2c OK [00:01:18]MH_I2C_Read... [00:01:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:18]Read from MH i2c: E2 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 FD 00 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 FD 00 C8 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 07 [00:01:18]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:01:19]wFMCommunicate OK [00:01:19]wFMCommunicate request_size=4 [00:01:19]MH_SAM_APDU [00:01:19]CAPDU: 80 17 00 00 [00:01:19]Write to MH i2c: E2 08 00 C9 02 80 17 00 00 00 00 00 00 4B [00:01:19]Write i2c OK [00:01:19]MH_I2C_Read... [00:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:19]Read from MH i2c: E2 [00:01:19]MH_I2C_Read... [00:01:19]Read from MH i2c: E2 FD 00 [00:01:19]MH_I2C_Read... [00:01:19]Read from MH i2c: E2 FD 00 C9 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 60 [00:01:19]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:01:19]wFMCommunicate OK [00:01:19]wFMCommunicate request_size=4 [00:01:19]MH_SAM_APDU [00:01:19]CAPDU: 80 17 00 00 [00:01:19]Write to MH i2c: E2 08 00 CA 02 80 17 00 00 00 00 00 00 4C [00:01:19]Write i2c OK [00:01:19]MH_I2C_Read... [00:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:19]Read from MH i2c: E2 [00:01:19]MH_I2C_Read... [00:01:19]Read from MH i2c: E2 FD 00 [00:01:19]MH_I2C_Read... [00:01:19]Read from MH i2c: E2 FD 00 CA 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 C4 [00:01:20]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:01:20]wFMCommunicate OK [00:01:20]wFMCommunicate request_size=4 [00:01:20]MH_SAM_APDU [00:01:20]CAPDU: 80 17 00 00 [00:01:20]Write to MH i2c: E2 08 00 CB 02 80 17 00 00 00 00 00 00 4D [00:01:20]Write i2c OK [00:01:20]MH_I2C_Read... [00:01:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:01:20]Read from MH i2c: E2 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 E1 00 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 E1 00 CB 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3B [00:01:20]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:20]wFMCommunicate OK [00:01:20]SAM_PROTO_GetFMData done [00:01:20]Malloc new data [00:01:20]Malloc new data [00:01:20]Malloc new data [00:01:20]Malloc new data [00:01:20]KKMLoadAndSignCloseShiftData err=0 [00:01:20]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Эгенбердиева Д. 14.07.2024 00:01 Смена: 434 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Чеков за смену: 55 ФД за смену: 57 Всего чеков: 55 ИТОГИ ПРИХОД Чеков: 55 Общий итог: 11991.24 Итого наличными: 8226.00 Итого безнал.: 3765.24 НДС 0% : 0.00 НДС 12% : 1273.42 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 106.10 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 8226.00 НС Приход: 10687886.58 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 33437 ФМ: 0000000000875104 ФПД: 272627975055881 [00:01:20]StoreToDocumentArchive [00:01:20]shift 434 fd 33437 [00:01:20]save to /storage/0434/doc_00033437 [00:01:20]save last doc name /storage/0434/doc_00033437 to /storage/kkm_last_doc_name [00:01:20]save OK [00:01:20]Clear old archive folders... [00:01:20]Remove dir /storage/0266 [00:01:20]opendir ok [00:01:20]file . [00:01:20]file .. [00:01:20]file doc_1720915229 [00:01:20]remove file /storage/0266/doc_1720915229 [00:01:20]remove dir /storage/0266 [00:01:20]NVStorageSaveData kkm_registers [00:01:20]File name is /storage/kkm_registers [00:01:20]Write 24 bytes [00:01:20]NVStorageSaveData done [00:01:20]NVStorageSaveData kkm_registers [00:01:20]File name is /storage/kkm_registers [00:01:20]Write 24 bytes [00:01:20]NVStorageSaveData done [00:01:20]ProcessDocumentItem done err = 0, tmpTLVsize=1387 [00:01:20]tlvbuf is 013604E0 [00:01:20]SAM_PROTO_ClearQueue [00:01:20]wFMCommunicate request_size=4 [00:01:20]MH_SAM_APDU [00:01:20]CAPDU: 80 09 00 00 [00:01:20]Write to MH i2c: E2 08 00 CC 02 80 09 00 00 00 00 00 00 40 [00:01:20]Write i2c OK [00:01:20]MH_I2C_Read... [00:01:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:01:20]Read from MH i2c: E2 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 03 00 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 03 00 CC 02 00 90 00 42 [00:01:20]RAPDU: 90 00 [00:01:20]wFMCommunicate OK [00:01:20]SAM_PROTO_ClearQueue done [00:01:20]KKMCreateOFDPacket [00:01:20]OFDProtocolAddRootSTLVToBuf [00:01:20]FM_MakeSignedData [00:01:20]FM_MakeSignedData [00:01:20]SAM_PROTO_SignData [00:01:20]wFMCommunicate request_size=4 [00:01:20]MH_SAM_APDU [00:01:20]CAPDU: 80 0D 01 02 [00:01:20]Write to MH i2c: E2 08 00 CD 02 80 0D 01 02 00 00 00 00 48 [00:01:20]Write i2c OK [00:01:20]MH_I2C_Read... [00:01:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:01:20]Read from MH i2c: E2 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 03 00 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 03 00 CD 02 00 90 00 43 [00:01:20]RAPDU: 90 00 [00:01:20]wFMCommunicate OK [00:01:20]wFMCommunicate request_size=255 [00:01:20]MH_SAM_APDU [00:01:20]CAPDU: 80 0D 02 02 FA 05 00 6B 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 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 4A 15 93 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 AA 04 D5 04 6E 04 04 00 37 00 00 00 69 04 A2 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 01 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:01:21]Write to MH i2c: E2 02 01 CE 02 80 0D 02 02 FA 00 05 00 6B 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 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 4A 15 93 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 AA 04 D5 04 6E 04 04 00 37 00 00 00 69 04 A2 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 01 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 00 B7 [00:01:21]Write i2c OK [00:01:21]MH_I2C_Read... [00:01:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:21]Read from MH i2c: E2 [00:01:21]MH_I2C_Read... [00:01:21]Read from MH i2c: E2 03 00 [00:01:21]MH_I2C_Read... [00:01:21]Read from MH i2c: E2 03 00 CE 02 00 90 00 44 [00:01:21]RAPDU: 90 00 [00:01:21]wFMCommunicate OK [00:01:21]wFMCommunicate request_size=255 [00:01:21]MH_SAM_APDU [00:01:21]CAPDU: 80 0D 02 02 FA 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 72 29 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 [00:01:21]Write to MH i2c: E2 02 01 CF 02 80 0D 02 02 FA 00 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 72 29 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 00 00 55 [00:01:21]Write i2c OK [00:01:21]MH_I2C_Read... [00:01:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:22]Read from MH i2c: E2 [00:01:22]MH_I2C_Read... [00:01:22]Read from MH i2c: E2 03 00 [00:01:22]MH_I2C_Read... [00:01:22]Read from MH i2c: E2 03 00 CF 02 00 90 00 45 [00:01:22]RAPDU: 90 00 [00:01:22]wFMCommunicate OK [00:01:22]wFMCommunicate request_size=255 [00:01:22]MH_SAM_APDU [00:01:22]CAPDU: 80 0D 02 02 FA 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:01:22]Write to MH i2c: E2 02 01 D0 02 80 0D 02 02 FA 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 00 10 [00:01:22]Write i2c OK [00:01:22]MH_I2C_Read... [00:01:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:22]Read from MH i2c: E2 [00:01:22]MH_I2C_Read... [00:01:22]Read from MH i2c: E2 03 00 [00:01:22]MH_I2C_Read... [00:01:22]Read from MH i2c: E2 03 00 D0 02 00 90 00 46 [00:01:22]RAPDU: 90 00 [00:01:22]wFMCommunicate OK [00:01:22]wFMCommunicate request_size=255 [00:01:22]MH_SAM_APDU [00:01:22]CAPDU: 80 0D 02 02 FA 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 [00:01:22]Write to MH i2c: E2 02 01 D1 02 80 0D 02 02 FA 00 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 00 00 09 [00:01:23]Write i2c OK [00:01:23]MH_I2C_Read... [00:01:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:23]Read from MH i2c: E2 [00:01:23]MH_I2C_Read... [00:01:23]Read from MH i2c: E2 03 00 [00:01:23]MH_I2C_Read... [00:01:23]Read from MH i2c: E2 03 00 D1 02 00 90 00 47 [00:01:23]RAPDU: 90 00 [00:01:23]wFMCommunicate OK [00:01:23]wFMCommunicate request_size=255 [00:01:23]MH_SAM_APDU [00:01:23]CAPDU: 80 0D 02 02 FA 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE [00:01:23]Write to MH i2c: E2 02 01 D2 02 80 0D 02 02 FA 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 OFD Sender: No OFD packet to send [00:01:23]09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 00 00 DA [00:01:23]Write i2c OK [00:01:23]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 03 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 03 00 D2 02 00 90 00 48 [00:01:24]RAPDU: 90 00 [00:01:24]wFMCommunicate OK [00:01:24]wFMCommunicate request_size=146 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 0D 02 02 8D 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9D 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 F7 F4 25 9B EA 09 [00:01:24]Write to MH i2c: E2 95 00 D3 02 80 0D 02 02 8D 00 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9D 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 F7 F4 25 9B EA 09 00 00 52 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 03 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [00:01:24]RAPDU: 90 00 [00:01:24]wFMCommunicate OK [00:01:24]wFMCommunicate request_size=4 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 0D 03 02 [00:01:24]Write to MH i2c: E2 08 00 D4 02 80 0D 03 02 00 00 00 00 51 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 0B 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 0B 00 D4 02 00 64 49 B1 48 5E 6B 85 47 90 00 8D [00:01:24]RAPDU: 64 49 B1 48 5E 6B 85 47 90 00 [00:01:24]wFMCommunicate OK [00:01:24]SAM_PROTO_SignData done [00:01:24]FM_MakeSignedData done [00:01:24]CreateOFDProtocolMessage [00:01:24]wFMCommunicate request_size=4 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 11 00 00 [00:01:24]Write to MH i2c: E2 08 00 D5 02 80 11 00 00 00 00 00 00 51 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:24]Read from MH i2c: E2 17 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 17 00 D5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9D [00:01:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:01:24]wFMCommunicate OK [00:01:24]CreateOFDProtocolMessage done [00:01:24]OFDSenderStorePacket 33437 [00:01:24]StoreOFDPacket docnum=33437 [00:01:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 7F 05 00 00 BF 8A 77 05 D7 06 5A 05 01 00 05 00 6B 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 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 4A 15 93 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 AA 04 D5 04 6E 04 04 00 37 00 00 00 69 04 A2 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 01 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 72 29 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 9D 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 F7 F4 25 9B EA 09 64 49 B1 48 5E 6B 85 47 [00:01:25]CheckFolder [00:01:25]dirname=/storage/ofd_packets [00:01:25]CheckFolder done [00:01:25]ProducePacketName [00:01:25]name=ofd_packets/00033437 [00:01:25]NVStorageSaveData ofd_packets/00033437 [00:01:25]File name is /storage/ofd_packets/00033437 [00:01:25]Write 1437 bytes [00:01:25]NVStorageSaveData done [00:01:25]OFDSenderStorePacket done [00:01:25]KKMCreateOFDPacket done [00:01:25]NVStorageSaveData kkm_last_timestamp [00:01:25]File name is /storage/kkm_last_timestamp [00:01:25]Write 4 bytes [00:01:25]NVStorageSaveData done [00:01:25]ExternCall_PrintAddStr [00:01:25]wPrintStart [00:01:25]Write to MH i2c: 01 00 00 D6 02 D8 [00:01:25]Write i2c OK [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: 01 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: 01 07 00 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: 01 07 00 D6 02 00 00 00 00 00 FF 0F ED [00:01:25]RasterBufferAndPrint [00:01:25]line Отчет о закрытии смены [00:01:25]line ФФД: 1.0 [00:01:25]line ИНН: 02508201610067 [00:01:25]line Кассир: Эгенбердиева Д. [00:01:25]line 14.07.2024 00:01 [00:01:25]line Смена: 434 [00:01:25]line РНМ: 0000000000093033 [00:01:25]line ЗНМ: 0300000122 [00:01:25]line СНО: Общий режим [00:01:25]line Чеков за смену: 55 [00:01:25]line ФД за смену: 57 [00:01:25]line Всего чеков: 55 [00:01:25]line ИТОГИ ПРИХОД [00:01:25]line Чеков: 55 [00:01:25]line Общий итог: 11991.24 [00:01:25]line Итого наличными: 8226.00 [00:01:25]line Итого безнал.: 3765.24 [00:01:25]line НДС 0% : 0.00 [00:01:25]line НДС 12% : 1273.42 [00:01:25]line НСП 0% : 0.00 [00:01:25]line НСП 1,50% : 0.00 [00:01:25]line НСП 0,50% : 0.00 [00:01:25]line НСП 5% : 0.00 [00:01:25]line НСП 3% : 0.00 [00:01:25]line НСП 2% : 0.00 [00:01:25]line НСП 1% : 106.10 [00:01:25]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:25]line Чеков: 0 [00:01:25]line Общий итог: 0.00 [00:01:25]line Итого наличными: 0.00 [00:01:25]OFD Sender: Processing packet 33437 [packets to send 6, broken 5] [00:01:25]ProducePacketName [00:01:25]name=ofd_packets/00033437 [00:01:25]OFD Sender: To server: pG, [00:01:25]CommunicateWithHost lk.salyk.kg:30040 [00:01:25]ConnectInit lk.salyk.kg [00:01:25]line Итого безнал.: 0.00 [00:01:25]line НДС 0% : 0.00 [00:01:25]line НДС 12% : 0.00 [00:01:25]line НСП 0% : 0.00 [00:01:25]line НСП 1,50% : 0.00 [00:01:25]line НСП 0,50% : 0.00 [00:01:25]line НСП 5% : 0.00 [00:01:25]line НСП 3% : 0.00 [00:01:25]line НСП 2% : 0.00 [00:01:25]line НСП 1% : 0.00 [00:01:25]line ИТОГИ РАСХОД [00:01:25]line Чеков: 0 [00:01:25]line Общий итог: 0.00 [00:01:25]line Итого наличными: 0.00 [00:01:25]line Итого безнал.: 0.00 [00:01:25]line НДС 0% : 0.00 [00:01:25]line НДС 12% : 0.00 [00:01:25]line НСП 0% : 0.00 [00:01:25]line НСП 1,50% : 0.00 [00:01:25]line НСП 0,50% : 0.00 [00:01:25]line НСП 5% : 0.00 [00:01:25]line НСП 3% : 0.00 [00:01:25]line НСП 2% : 0.00 [00:01:25]line НСП 1% : 0.00 [00:01:25]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:25]line Чеков: 0 [00:01:25]line Общий итог: 0.00 [00:01:25]line Итого наличными: 0.00 [00:01:25]line Итого безнал.: 0.00 [00:01:25]line НДС 0% : 0.00 [00:01:25]line НДС 12% : 0.00 [00:01:25]line НСП 0% : 0.00 [00:01:25]line НСП 1,50% : 0.00 [00:01:25]line НСП 0,50% : 0.00 [00:01:25]line НСП 5% : 0.00 [00:01:25]line НСП 3% : 0.00 [00:01:25]line НСП 2% : 0.00 [00:01:25]line НСП 1% : 0.00 [00:01:25]line Сумма внесений: 0.00 [00:01:25]line Сумма выплат: 0.00 [00:01:25]line Нал. в кассе: 8226.00 [00:01:25]line НС Приход: 10687886.58 [00:01:25]line НС Возвр.Прихода: 365383.00 [00:01:25]line НС Расход: 0.00 [00:01:25]line НС Возвр.Расхода: 0.00 [00:01:25]line ФД: 33437 [00:01:25]line ФМ: 0000000000875104 [00:01:25]line ФПД: 272627975055881 [00:01:25]written 0, free lines is 4095 [00:01:25]Connected sock=10 [00:01:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 7F 05 00 00 BF 8A 77 05 D7 06 5A 05 01 00 05 00 6B 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 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F4 03 04 00 4A 15 93 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 AA 04 D5 04 6E 04 04 00 37 00 00 00 69 04 A2 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 01 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 72 29 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 Write to MH i2c: B1 01 04 00 00 00 00 26 70 03 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 29 F2 [00:01:26]03 Write i2c OK [00:01:26]01 MH_I2C_Read... [00:01:26]00 Read from MH i2c: 00 01 F3 [00:01:26]03 MH_I2C_Read... [00:01:26]00 00 EE 03 09 00 F2 03 01 00 01 F3 03 Read from MH i2c: 00 01 00 07 EF 00 03 [00:01:26]09 MH_I2C_Read... [00:01:26]00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 Read from MH i2c: 00 01 01 07 F7 00 03 26 00 03 00 00 EF 00 03 00 09 00 00 00 F6 A8 03 0A 01 E2 00 [00:01:26]02 RasterBufferAndPrint [00:01:26]F7 line [00:01:26]03 line [00:01:26]00 00 line [00:01:26]EF line [00:01:26]03 line [00:01:26]09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 written 0, free lines is 2870 [00:01:26]03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 MH_Cut [00:01:26]F7 Write to MH i2c: 03 D1 00 01 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 00 04 2D 8D 03 00 01 6F 02 04 [00:01:26]04 00 Write i2c OK [00:01:26]00 MH_I2C_Read... [00:01:26]00 00 00 B1 04 00 00 70 04 00 00 72 Read from MH i2c: 04 D1 00 [00:01:26]00 MH_I2C_Read... [00:01:26]00 Read from MH i2c: 04 D1 75 01 00 00 EE [00:01:26]03 MH_I2C_Read... [00:01:26]09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 Read from MH i2c: 00 D1 EF 01 03 00 09 2D 00 03 F6 00 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 01 00 [00:01:26]01 Write to MH i2c: F7 01 03 00 00 00 00 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 9D 82 00 00 11 04 10 00 30 30 30 30 30 30 30 03 30 31 30 [00:01:26]30 38 Write i2c OK [00:01:26]37 MH_I2C_Read... [00:01:26]35 31 30 34 35 04 06 00 F7 F4 25 9B EA 09 64 49 B1 48 5E 6B 85 47 [00:01:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 AB A7 47 00 86 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9D 82 00 00 F4 03 04 00 FE BF 92 66 B6 04 01 00 00 10 74 D7 CB D3 2F 9F AA [00:01:26]CommunicateWithHost err = 0 [00:01:26]CheckOFDResponse [00:01:26]1017 (14) - 77093643461234 [00:01:26]1041 (16) - 0000000000875104 [00:01:26]1040 (4) - 33437 [00:01:26]1012 (4) - 13.07.2024 17:57 [00:01:26]1206 (1) - 0 [00:01:26]OFD Sender: Remove packet 33437 [00:01:26]ProducePacketName [00:01:26]name=ofd_packets/00033437 [00:01:26]NVStorageDeleteData [00:01:27]*** Cut start [00:01:27]*** Partial cut [00:01:27]*** CUTSNS_PIN = 1 [00:01:27]OFD Sender: No OFD packet to send [00:01:27]*** CUTSNS_PIN = 0 [00:01:27]*** Brake cut motor [00:01:27]Read from MH i2c: 01 [00:01:27]MH_I2C_Read... [00:01:27]*** Stop cut motor [00:01:27]Read from MH i2c: 01 07 00 [00:01:27]MH_I2C_Read... [00:01:27]*** Cut end [00:01:27]Read from MH i2c: 01 07 00 2E 03 00 00 00 00 00 FF 0F 46 [00:01:27]process_action close_shift done [00:01:27]requested_data is exist [00:01:27]produce_requested_data [00:01:27]requested_item fd.num is exist - process it [00:01:27]SAM_PROTO_GetFieldsCounters [00:01:27]wFMCommunicate request_size=4 [00:01:27]MH_SAM_APDU [00:01:27]CAPDU: 80 13 00 00 [00:01:27]Write to MH i2c: E2 08 00 2F 03 80 13 00 00 00 00 00 00 AE [00:01:27]Write i2c OK [00:01:27]MH_I2C_Read... [00:01:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:27]Read from MH i2c: E2 [00:01:27]MH_I2C_Read... [00:01:27]Read from MH i2c: E2 62 00 [00:01:27]MH_I2C_Read... [00:01:27]Read from MH i2c: E2 62 00 2F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9D 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [00:01:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9D 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:28]wFMCommunicate OK [00:01:28]SAM_PROTO_GetFieldsCounters done [00:01:28]requested_item shift.num is exist - process it [00:01:28]requested_item shift.opened is exist - process it [00:01:28]req_shift_opened [00:01:28]FM_GetShiftState [00:01:28]SAM_PROTO_GetShiftState [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 13 01 00 [00:01:28]Write to MH i2c: E2 08 00 30 03 80 13 01 00 00 00 00 00 B0 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 0E 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 0E 00 30 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BB [00:01:28]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:28]wFMCommunicate OK [00:01:28]SAM_PROTO_GetShiftState done [00:01:28]FM_GetShiftState done [00:01:28]req_shift_opened done [00:01:28]requested_item shift.open_date is exist - process it [00:01:28]req_shift_open_date [00:01:28]FM_GetShiftState [00:01:28]SAM_PROTO_GetShiftState [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 13 01 00 [00:01:28]Write to MH i2c: E2 08 00 31 03 80 13 01 00 00 00 00 00 B1 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 0E 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 0E 00 31 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BC [00:01:28]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:28]wFMCommunicate OK [00:01:28]SAM_PROTO_GetShiftState done [00:01:28]FM_GetShiftState done [00:01:28]req_shift_open_date done [00:01:28]produce_requested_data done [00:01:28]produce_requested_data return {"fd.num":33437,"shift.num":434,"shift.opened":0,"shift.open_date":0} [00:01:28]process_action_free close_shift [00:01:28]json_value_free [00:01:28]json_value_free done [00:01:28]process_json_proto returns [00:01:28]Send response to host [00:01:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33437,"shift.num":434,"shift.opened":0,"shift.open_date":0}}} [00:01:28]free response buf [00:01:28]execute_script done [00:01:28]execute_script returns [00:01:28]free content buf [00:01:28]Sock 8.Close socket [00:01:28]Sock 8.Thread stoped [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:04]accept exits with 9 [00:10:04]New connection [00:10:04]New thread 3067444580 created [00:10:04]Thread 3067587940 joined [00:10:04]Waiting for new connection... [00:10:04] Sock 9.Parse request [00:10:04]Sock 9.Check first char [00:10:04]Sock 9.First char is OK [00:10:04]request: POST /json_proto HTTP/1.0 [00:10:04]Method: POST [00:10:04]URL: /json_proto [00:10:04]Method is POST - this is cgi request [00:10:04]url: /json_proto [00:10:04]query_string will be loaded in cgi processing [00:10:04]execute_cgi json_proto POST (null) [00:10:04]execute_cgi path=json_proto method=POST [00:10:04]POST find Content-Length [00:10:04]Host: 172.17.35.196:8080 [00:10:04]Content-Length: 215 [00:10:04]Content-Type: application/json [00:10:04] [00:10:04]POST finish read [00:10:04]Found Content-Length = 215 [00:10:04]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:10:04]execute_script... [00:10:04]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:10:04]POST & json_proto [00:10:04]process_json_proto [00:10:04]json parsed OK: [00:10:04]protocol is kg_v1.0 [00:10:04]action value=get_value [00:10:04]process_action get_value [00:10:04]cmd_get_value [00:10:04]process_action get_value done [00:10:04]requested_data is exist [00:10:04]produce_requested_data [00:10:04]requested_item kkm.sn is exist - process it [00:10:04]requested_item kkm.ver is exist - process it [00:10:04]requested_item fm.sn is exist - process it [00:10:04]wFMCommunicate request_size=4 [00:10:04]MH_SAM_APDU [00:10:04]CAPDU: 80 11 00 00 [00:10:04]Write to MH i2c: E2 08 00 32 03 80 11 00 00 00 00 00 00 AF [00:10:04]Write i2c OK [00:10:04]MH_I2C_Read... [00:10:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:04]Read from MH i2c: E2 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 17 00 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 17 00 32 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FB [00:10:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:10:04]wFMCommunicate OK [00:10:04]requested_item fd.num is exist - process it [00:10:04]SAM_PROTO_GetFieldsCounters [00:10:04]wFMCommunicate request_size=4 [00:10:04]MH_SAM_APDU [00:10:04]CAPDU: 80 13 00 00 [00:10:04]Write to MH i2c: E2 08 00 33 03 80 13 00 00 00 00 00 00 B2 [00:10:04]Write i2c OK [00:10:04]MH_I2C_Read... [00:10:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:04]Read from MH i2c: E2 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 62 00 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 62 00 33 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9D 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [00:10:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9D 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:04]wFMCommunicate OK [00:10:04]SAM_PROTO_GetFieldsCounters done [00:10:04]requested_item shift.num is exist - process it [00:10:04]requested_item shift.opened is exist - process it [00:10:04]req_shift_opened [00:10:04]FM_GetShiftState [00:10:04]SAM_PROTO_GetShiftState [00:10:04]wFMCommunicate request_size=4 [00:10:04]MH_SAM_APDU [00:10:04]CAPDU: 80 13 01 00 [00:10:04]Write to MH i2c: E2 08 00 34 03 80 13 01 00 00 00 00 00 B4 [00:10:04]Write i2c OK [00:10:04]MH_I2C_Read... [00:10:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:04]Read from MH i2c: E2 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 0E 00 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 0E 00 34 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BF [00:10:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:10:04]wFMCommunicate OK [00:10:04]SAM_PROTO_GetShiftState done [00:10:04]FM_GetShiftState done [00:10:04]req_shift_opened done [00:10:04]requested_item shift.open_date is exist - process it [00:10:04]req_shift_open_date [00:10:04]FM_GetShiftState [00:10:04]SAM_PROTO_GetShiftState [00:10:04]wFMCommunicate request_size=4 [00:10:04]MH_SAM_APDU [00:10:04]CAPDU: 80 13 01 00 [00:10:04]Write to MH i2c: E2 08 00 35 03 80 13 01 00 00 00 00 00 B5 [00:10:04]Write i2c OK [00:10:04]MH_I2C_Read... [00:10:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:04]Read from MH i2c: E2 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 0E 00 [00:10:04]MH_I2C_Read... [00:10:04]Read from MH i2c: E2 0E 00 35 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C0 [00:10:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:10:04]wFMCommunicate OK [00:10:04]SAM_PROTO_GetShiftState done [00:10:04]FM_GetShiftState done [00:10:04]req_shift_open_date done [00:10:04]produce_requested_data done [00:10:04]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33437,"shift.num":434,"shift.opened":0,"shift.open_date":0} [00:10:04]process_action_free get_value [00:10:04]json_value_free [00:10:04]json_value_free done [00:10:04]process_json_proto returns [00:10:04]Send response to host [00:10:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33437,"shift.num":434,"shift.opened":0,"shift.open_date":0}}} [00:10:04]free response buf [00:10:04]execute_script done [00:10:04]execute_script returns [00:10:04]free content buf [00:10:04]Sock 9.Close socket [00:10:04]Sock 9.Thread stoped [00:10:04]accept exits with 8 [00:10:04]New connection [00:10:04]New thread 3067587940 created [00:10:04]Thread 3067444580 joined [00:10:04]Waiting for new connection... [00:10:04] Sock 8.Parse request [00:10:04]Sock 8.Check first char [00:10:04]Sock 8.First char is OK [00:10:04]request: POST /json_proto HTTP/1.0 [00:10:04]Method: POST [00:10:04]URL: /json_proto [00:10:04]Method is POST - this is cgi request [00:10:04]url: /json_proto [00:10:04]query_string will be loaded in cgi processing [00:10:04]execute_cgi json_proto POST (null) [00:10:04]execute_cgi path=json_proto method=POST [00:10:04]POST find Content-Length [00:10:04]Host: 172.17.35.196:8080 [00:10:04]Content-Length: 331 [00:10:04]Content-Type: application/json [00:10:04] [00:10:04]POST finish read [00:10:04]Found Content-Length = 331 [00:10:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:04]execute_script... [00:10:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:04]POST & json_proto [00:10:04]process_json_proto [00:10:04]json parsed OK: [00:10:04]protocol is kg_v1.0 [00:10:04]action value=get_value [00:10:04]process_action get_value [00:10:04]cmd_get_value [00:10:04]process_action get_value done [00:10:04]requested_data is exist [00:10:04]produce_requested_data [00:10:04]requested_item fm.sale.total is exist - process it [00:10:04]SAM_PROTO_GetFMData [00:10:04]wFMCommunicate request_size=4 [00:10:04]MH_SAM_APDU [00:10:04]CAPDU: 80 13 03 00 [00:10:04]Write to MH i2c: E2 08 00 36 03 80 13 03 00 00 00 00 00 B8 [00:10:04]Write i2c OK [00:10:04]MH_I2C_Read... [00:10:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:05]Read from MH i2c: E2 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 36 03 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 B1 [00:10:05]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:10:05]wFMCommunicate OK [00:10:05]wFMCommunicate request_size=4 [00:10:05]MH_SAM_APDU [00:10:05]CAPDU: 80 17 00 00 [00:10:05]Write to MH i2c: E2 08 00 37 03 80 17 00 00 00 00 00 00 BA [00:10:05]Write i2c OK [00:10:05]MH_I2C_Read... [00:10:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:05]Read from MH i2c: E2 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 37 03 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 77 [00:10:05]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:10:05]wFMCommunicate OK [00:10:05]wFMCommunicate request_size=4 [00:10:05]MH_SAM_APDU [00:10:05]CAPDU: 80 17 00 00 [00:10:05]Write to MH i2c: E2 08 00 38 03 80 17 00 00 00 00 00 00 BB [00:10:05]Write i2c OK [00:10:05]MH_I2C_Read... [00:10:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:05]Read from MH i2c: E2 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 38 03 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D0 [00:10:05]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:10:05]wFMCommunicate OK [00:10:05]wFMCommunicate request_size=4 [00:10:05]MH_SAM_APDU [00:10:05]CAPDU: 80 17 00 00 [00:10:05]Write to MH i2c: E2 08 00 39 03 80 17 00 00 00 00 00 00 BC [00:10:05]Write i2c OK [00:10:05]MH_I2C_Read... [00:10:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:05]Read from MH i2c: E2 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 FD 00 39 03 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 34 [00:10:05]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:10:05]wFMCommunicate OK [00:10:05]wFMCommunicate request_size=4 [00:10:05]MH_SAM_APDU [00:10:05]CAPDU: 80 17 00 00 [00:10:05]Write to MH i2c: E2 08 00 3A 03 80 17 00 00 00 00 00 00 BD [00:10:05]Write i2c OK [00:10:05]MH_I2C_Read... [00:10:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:10:06]Read from MH i2c: E2 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: E2 E1 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: E2 E1 00 3A 03 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AB [00:10:06]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:06]wFMCommunicate OK [00:10:06]SAM_PROTO_GetFMData done [00:10:06]requested_item fm.sale_refund.total is exist - process it [00:10:06]requested_item fm.buy.total is exist - process it [00:10:06]requested_item shift.sale.total is exist - process it [00:10:06]SAM_PROTO_GetShiftData [00:10:06]wFMCommunicate request_size=4 [00:10:06]MH_SAM_APDU [00:10:06]CAPDU: 80 13 02 00 [00:10:06]Write to MH i2c: E2 08 00 3B 03 80 13 02 00 00 00 00 00 BC [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:06]Read from MH i2c: E2 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: E2 FD 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: E2 FD 00 3B 03 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 C8 [00:10:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 14 4C 12 70 04 03 00 48 8D 0C 72 04 03 00 CC BE 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E F1 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 72 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:10:06]wFMCommunicate OK [00:10:06]wFMCommunicate request_size=4 [00:10:06]MH_SAM_APDU [00:10:06]CAPDU: 80 17 00 00 [00:10:06]Write to MH i2c: E2 08 00 3C 03 80 17 00 00 00 00 00 00 BF [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:06]Read from MH i2c: E2 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: E2 FD 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: E2 FD 00 3C 03 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 E1 [00:10:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:10:06]wFMCommunicate OK [00:10:06]wFMCommunicate request_size=4 [00:10:06]MH_SAM_APDU [00:10:06]CAPDU: 80 17 00 00 [00:10:06]Write to MH i2c: E2 08 00 3D 03 80 17 00 00 00 00 00 00 C0 [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:07]Read from MH i2c: E2 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 FD 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 FD 00 3D 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 77 [00:10:07]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:10:07]wFMCommunicate OK [00:10:07]wFMCommunicate request_size=4 [00:10:07]MH_SAM_APDU [00:10:07]CAPDU: 80 17 00 00 [00:10:07]Write to MH i2c: E2 08 00 3E 03 80 17 00 00 00 00 00 00 C1 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:07]Read from MH i2c: E2 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 FD 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 FD 00 3E 03 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 33 [00:10:07]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:10:07]wFMCommunicate OK [00:10:07]wFMCommunicate request_size=4 [00:10:07]MH_SAM_APDU [00:10:07]CAPDU: 80 17 00 00 [00:10:07]Write to MH i2c: E2 08 00 3F 03 80 17 00 00 00 00 00 00 C2 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]OFD Sender: No OFD packet to send [00:10:07]Read from MH i2c: E2 [00:10:07]MH_I2C_Read... [00:10:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:07]Read from MH i2c: E2 CB 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 CB 00 3F 03 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 AB [00:10:07]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:10:07]wFMCommunicate OK [00:10:07]SAM_PROTO_GetShiftData done [00:10:07]requested_item shift.sale.total_cash is exist - process it [00:10:07]requested_item shift.sale_refund.total is exist - process it [00:10:07]requested_item shift.sale_refund.total_cash is exist - process it [00:10:07]requested_item shift.buy.total is exist - process it [00:10:07]requested_item shift.buy.total_cash is exist - process it [00:10:07]produce_requested_data done [00:10:07]produce_requested_data return {"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.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:10:07]process_action_free get_value [00:10:07]json_value_free [00:10:07]json_value_free done [00:10:07]process_json_proto returns [00:10:07]Send response to host [00:10:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":11991.24,"shift.sale.total_cash":8226.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:10:07]free response buf [00:10:07]execute_script done [00:10:07]execute_script returns [00:10:07]free content buf [00:10:07]Sock 8.Close socket [00:10:07]Sock 8.Thread stoped [00:10:07]accept exits with 9 [00:10:07]New connection [00:10:07]New thread 3067444580 created [00:10:07]Thread 3067587940 joined [00:10:07]Waiting for new connection... [00:10:07] Sock 9.Parse request [00:10:07]Sock 9.Check first char [00:10:07]Sock 9.First char is OK [00:10:07]request: POST /json_proto HTTP/1.0 [00:10:07]Method: POST [00:10:07]URL: /json_proto [00:10:07]Method is POST - this is cgi request [00:10:07]url: /json_proto [00:10:07]query_string will be loaded in cgi processing [00:10:07]execute_cgi json_proto POST (null) [00:10:07]execute_cgi path=json_proto method=POST [00:10:07]POST find Content-Length [00:10:07]Host: 172.17.35.196:8080 [00:10:07]Content-Length: 277 [00:10:07]Content-Type: application/json [00:10:07] [00:10:07]POST finish read [00:10:07]Found Content-Length = 277 [00:10:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0443\u043C\u0434\u0430\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:07]execute_script... [00:10:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0443\u043C\u0434\u0430\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:07]POST & json_proto [00:10:07]process_json_proto [00:10:07]json parsed OK: [00:10:07]protocol is kg_v1.0 [00:10:07]action value=open_shift [00:10:07]process_action open_shift [00:10:07]cmd_open_shift [00:10:07]MH_GetDate [00:10:07]Write to MH i2c: F0 00 00 40 03 32 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: F0 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: F0 09 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: F0 09 00 40 03 00 61 17 93 66 AD 14 F4 65 C6 [00:10:07]GetLastDocTimeStamp 1720915274 [00:10:07]current date 1720915809 [00:10:07]FM_GetShiftState [00:10:07]SAM_PROTO_GetShiftState [00:10:07]wFMCommunicate request_size=4 [00:10:07]MH_SAM_APDU [00:10:07]CAPDU: 80 13 01 00 [00:10:07]Write to MH i2c: E2 08 00 41 03 80 13 01 00 00 00 00 00 C1 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:07]Read from MH i2c: E2 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 0E 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 0E 00 41 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CC [00:10:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:10:07]wFMCommunicate OK [00:10:07]SAM_PROTO_GetShiftState done [00:10:07]FM_GetShiftState done [00:10:07]KKMCreateOpenShiftDocument [00:10:07]Load OK [00:10:07]Malloc new data [00:10:07]MH_GetDate [00:10:07]Write to MH i2c: F0 00 00 42 03 34 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: F0 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: F0 09 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: F0 09 00 42 03 00 61 17 93 66 AD 14 F4 65 C8 [00:10:07]Malloc new data [00:10:07]KKMCreateOpenShiftDocument OK [00:10:07]KKMSetOpenShiftData OK [00:10:07]ProcessDocumentItem done err = 0, tmpTLVsize=206 [00:10:07]tlvbuf is 013A26D0 [00:10:07]KKMLoadAndSignOpenShiftData [00:10:07]SAM_PROTO_ProcessDocument [00:10:07]wFMCommunicate request_size=9 [00:10:07]MH_SAM_APDU [00:10:07]CAPDU: 80 15 01 00 04 02 00 CE 00 [00:10:07]Write to MH i2c: E2 0C 00 43 03 80 15 01 00 04 00 02 00 CE 00 00 00 9D [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:10:07]Read from MH i2c: E2 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 03 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: E2 03 00 43 03 00 90 00 BA [00:10:07]RAPDU: 90 00 [00:10:07]wFMCommunicate OK [00:10:07]wFMCommunicate request_size=23 [00:10:07]MH_SAM_APDU [00:10:07]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:10:07]Write to MH i2c: E2 1A 00 44 03 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 BC [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 44 03 00 90 00 BB [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=36 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9A D1 83 D0 BC D0 B4 D0 B0 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 [00:10:08]Write to MH i2c: E2 27 00 45 03 80 15 02 00 1F 00 FD 03 1B 00 D0 9A D1 83 D0 BC D0 B4 D0 B0 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 00 00 87 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 45 03 00 90 00 BC [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=89 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 15 02 00 54 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 [00:10:08]Write to MH i2c: E2 5C 00 46 03 80 15 02 00 54 00 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 00 00 42 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 46 03 00 90 00 BD [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=50 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:10:08]Write to MH i2c: E2 35 00 47 03 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 47 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 47 03 00 90 00 BE [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=13 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 15 02 00 08 F4 03 04 00 61 17 93 66 [00:10:08]Write to MH i2c: E2 10 00 48 03 80 15 02 00 08 00 F4 03 04 00 61 17 93 66 00 00 47 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 48 03 00 90 00 BF [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=25 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [00:10:08]Write to MH i2c: E2 1C 00 49 03 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 27 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 49 03 00 90 00 C0 [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=4 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 15 03 00 [00:10:08]Write to MH i2c: E2 08 00 4A 03 80 15 03 00 00 00 00 00 CE [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 38 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 38 00 4A 03 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9E 82 00 00 0E 04 04 00 B3 01 00 00 35 04 06 00 0D 5F 72 34 E6 8E 90 00 ED [00:10:08]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9E 82 00 00 0E 04 04 00 B3 01 00 00 35 04 06 00 0D 5F 72 34 E6 8E 90 00 [00:10:08]wFMCommunicate OK [00:10:08]SAM_PROTO_ProcessDocument answer len = 51 [00:10:08]SAM_PROTO_ProcessDocument done [00:10:08]SetTLVBufToDocument [00:10:08]Processing tag 1209 (04B9) [00:10:08]Malloc new data [00:10:08]Processing tag 1041 (0411) [00:10:08]Processing tag 1040 (0410) [00:10:08]Malloc new data [00:10:08]Processing tag 1038 (040E) [00:10:08]Malloc new data [00:10:08]Processing tag 1077 (0435) [00:10:08]Malloc new data [00:10:08]SetTLVBufToDocument err=0 [00:10:08]KKMLoadAndSignOpenShiftData store KKM data [00:10:08]KKMLoadAndSignOpenShiftData err=0 [00:10:08]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Кумданбеков Э. Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 Место: АЗС № 77 "Партнер Нефть" 14.07.2024 00:10 Смена: 435 РНМ: 0000000000093033 ЗНМ: 0300000122 ФД: 33438 ФМ: 0000000000875104 ФПД: 14703589123726 [00:10:08]StoreToDocumentArchive [00:10:08]shift 435 fd 33438 [00:10:08]Create dir for shift 0435 [00:10:08]save to /storage/0435/doc_00033438 [00:10:08]save last doc name /storage/0435/doc_00033438 to /storage/kkm_last_doc_name [00:10:08]save OK [00:10:08]Clear old archive folders... [00:10:08]Remove dir /storage/0434 [00:10:08]opendir ok [00:10:08]file . [00:10:08]file .. [00:10:08]file doc_00033381 [00:10:08]remove file /storage/0434/doc_00033381 [00:10:08]file doc_00033382 [00:10:08]remove file /storage/0434/doc_00033382 [00:10:08]file doc_00033383 [00:10:08]remove file /storage/0434/doc_00033383 [00:10:08]file doc_00033384 [00:10:08]remove file /storage/0434/doc_00033384 [00:10:08]file doc_00033385 [00:10:08]remove file /storage/0434/doc_00033385 [00:10:08]file doc_00033386 [00:10:08]remove file /storage/0434/doc_00033386 [00:10:08]file doc_00033387 [00:10:08]remove file /storage/0434/doc_00033387 [00:10:08]file doc_00033388 [00:10:08]remove file /storage/0434/doc_00033388 [00:10:08]file doc_00033389 [00:10:08]remove file /storage/0434/doc_00033389 [00:10:08]file doc_00033390 [00:10:08]remove file /storage/0434/doc_00033390 [00:10:08]file doc_00033391 [00:10:08]remove file /storage/0434/doc_00033391 [00:10:08]file doc_00033392 [00:10:08]remove file /storage/0434/doc_00033392 [00:10:08]file doc_00033393 [00:10:08]remove file /storage/0434/doc_00033393 [00:10:08]file doc_00033394 [00:10:08]remove file /storage/0434/doc_00033394 [00:10:08]file doc_00033395 [00:10:08]remove file /storage/0434/doc_00033395 [00:10:08]file doc_00033396 [00:10:08]remove file /storage/0434/doc_00033396 [00:10:08]file doc_00033397 [00:10:08]remove file /storage/0434/doc_00033397 [00:10:08]file doc_00033398 [00:10:08]remove file /storage/0434/doc_00033398 [00:10:08]file doc_00033399 [00:10:08]remove file /storage/0434/doc_00033399 [00:10:08]file doc_00033400 [00:10:08]remove file /storage/0434/doc_00033400 [00:10:08]file doc_00033401 [00:10:08]remove file /storage/0434/doc_00033401 [00:10:08]file doc_00033402 [00:10:08]remove file /storage/0434/doc_00033402 [00:10:08]file doc_00033403 [00:10:08]remove file /storage/0434/doc_00033403 [00:10:08]file doc_00033404 [00:10:08]remove file /storage/0434/doc_00033404 [00:10:08]file doc_00033405 [00:10:08]remove file /storage/0434/doc_00033405 [00:10:08]file doc_00033406 [00:10:08]remove file /storage/0434/doc_00033406 [00:10:08]file doc_00033407 [00:10:08]remove file /storage/0434/doc_00033407 [00:10:08]file doc_00033408 [00:10:08]remove file /storage/0434/doc_00033408 [00:10:08]file doc_00033409 [00:10:08]remove file /storage/0434/doc_00033409 [00:10:08]file doc_00033410 [00:10:08]remove file /storage/0434/doc_00033410 [00:10:08]file doc_00033411 [00:10:08]remove file /storage/0434/doc_00033411 [00:10:08]file doc_00033412 [00:10:08]remove file /storage/0434/doc_00033412 [00:10:08]file doc_00033413 [00:10:08]remove file /storage/0434/doc_00033413 [00:10:08]file doc_00033414 [00:10:08]remove file /storage/0434/doc_00033414 [00:10:08]file doc_00033415 [00:10:08]remove file /storage/0434/doc_00033415 [00:10:08]file doc_00033416 [00:10:08]remove file /storage/0434/doc_00033416 [00:10:08]file doc_00033417 [00:10:08]remove file /storage/0434/doc_00033417 [00:10:08]file doc_00033418 [00:10:08]remove file /storage/0434/doc_00033418 [00:10:08]file doc_00033419 [00:10:08]remove file /storage/0434/doc_00033419 [00:10:08]file doc_00033420 [00:10:08]remove file /storage/0434/doc_00033420 [00:10:08]file doc_00033421 [00:10:08]remove file /storage/0434/doc_00033421 [00:10:08]file doc_00033422 [00:10:08]remove file /storage/0434/doc_00033422 [00:10:08]file doc_00033423 [00:10:08]remove file /storage/0434/doc_00033423 [00:10:08]file doc_00033424 [00:10:08]remove file /storage/0434/doc_00033424 [00:10:08]file doc_00033425 [00:10:08]remove file /storage/0434/doc_00033425 [00:10:08]file doc_00033426 [00:10:08]remove file /storage/0434/doc_00033426 [00:10:08]file doc_00033427 [00:10:08]remove file /storage/0434/doc_00033427 [00:10:08]file doc_00033428 [00:10:08]remove file /storage/0434/doc_00033428 [00:10:08]file doc_00033429 [00:10:08]remove file /storage/0434/doc_00033429 [00:10:08]file doc_00033430 [00:10:08]remove file /storage/0434/doc_00033430 [00:10:08]file doc_00033431 [00:10:08]remove file /storage/0434/doc_00033431 [00:10:08]file doc_00033432 [00:10:08]remove file /storage/0434/doc_00033432 [00:10:08]file doc_00033433 [00:10:08]remove file /storage/0434/doc_00033433 [00:10:08]file doc_00033434 [00:10:08]remove file /storage/0434/doc_00033434 [00:10:08]file doc_00033435 [00:10:08]remove file /storage/0434/doc_00033435 [00:10:08]file doc_00033436 [00:10:08]remove file /storage/0434/doc_00033436 [00:10:08]file doc_00033437 [00:10:08]remove file /storage/0434/doc_00033437 [00:10:08]remove dir /storage/0434 [00:10:08]ProcessDocumentItem done err = 0, tmpTLVsize=257 [00:10:08]tlvbuf is 013A7320 [00:10:08]SAM_PROTO_ClearQueue [00:10:08]wFMCommunicate request_size=4 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 09 00 00 [00:10:08]Write to MH i2c: E2 08 00 4B 03 80 09 00 00 00 00 00 00 C0 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 4B 03 00 90 00 C2 [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]SAM_PROTO_ClearQueue done [00:10:08]KKMCreateOFDPacket [00:10:08]OFDProtocolAddRootSTLVToBuf [00:10:08]FM_MakeSignedData [00:10:08]FM_MakeSignedData [00:10:08]SAM_PROTO_SignData [00:10:08]wFMCommunicate request_size=4 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 0D 01 02 [00:10:08]Write to MH i2c: E2 08 00 4C 03 80 0D 01 02 00 00 00 00 C8 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 03 00 4C 03 00 90 00 C3 [00:10:08]RAPDU: 90 00 [00:10:08]wFMCommunicate OK [00:10:08]wFMCommunicate request_size=255 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 0D 02 02 FA 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D1 83 D0 BC D0 B4 D0 B0 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 61 17 93 66 0E 04 04 00 B3 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9E 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 [00:10:09]Write to MH i2c: E2 02 01 4D 03 80 0D 02 02 FA 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D1 83 D0 BC D0 B4 D0 B0 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 61 17 93 66 0E 04 04 00 B3 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9E 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 00 00 73 [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 03 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 03 00 4D 03 00 90 00 C4 [00:10:09]RAPDU: 90 00 [00:10:09]wFMCommunicate OK [00:10:09]wFMCommunicate request_size=16 [00:10:09]MH_SAM_APDU [00:10:09]CAPDU: 80 0D 02 02 0B 34 35 04 06 00 0D 5F 72 34 E6 8E [00:10:09]Write to MH i2c: E2 13 00 4E 03 80 0D 02 02 0B 00 34 35 04 06 00 0D 5F 72 34 E6 8E 00 00 DA [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 03 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 03 00 4E 03 00 90 00 C5 [00:10:09]RAPDU: 90 00 [00:10:09]wFMCommunicate OK [00:10:09]wFMCommunicate request_size=4 [00:10:09]MH_SAM_APDU [00:10:09]CAPDU: 80 0D 03 02 [00:10:09]Write to MH i2c: E2 08 00 4F 03 80 0D 03 02 00 00 00 00 CD [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 0B 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 0B 00 4F 03 00 18 B9 A6 3E AD 6D 42 91 90 00 70 [00:10:09]RAPDU: 18 B9 A6 3E AD 6D 42 91 90 00 [00:10:09]wFMCommunicate OK [00:10:09]SAM_PROTO_SignData done [00:10:09]FM_MakeSignedData done [00:10:09]CreateOFDProtocolMessage [00:10:09]wFMCommunicate request_size=4 [00:10:09]MH_SAM_APDU [00:10:09]CAPDU: 80 11 00 00 [00:10:09]Write to MH i2c: E2 08 00 50 03 80 11 00 00 00 00 00 00 CD [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 17 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 17 00 50 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 19 [00:10:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:10:09]wFMCommunicate OK [00:10:09]CreateOFDProtocolMessage done [00:10:09]OFDSenderStorePacket 33438 [00:10:09]StoreOFDPacket docnum=33438 [00:10:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 15 01 00 00 AA 26 0D 01 CF 57 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D1 83 D0 BC D0 B4 D0 B0 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 61 17 93 66 0E 04 04 00 B3 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9E 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 0D 5F 72 34 E6 8E 18 B9 A6 3E AD 6D 42 91 [00:10:09]CheckFolder [00:10:09]dirname=/storage/ofd_packets [00:10:09]CheckFolder done [00:10:09]ProducePacketName [00:10:09]name=ofd_packets/00033438 [00:10:09]NVStorageSaveData ofd_packets/00033438 [00:10:09]File name is /storage/ofd_packets/00033438 [00:10:09]Write 307 bytes [00:10:09]NVStorageSaveData done [00:10:09]OFDSenderStorePacket done [00:10:09]KKMCreateOFDPacket done [00:10:09]NVStorageSaveData kkm_last_timestamp [00:10:09]File name is /storage/kkm_last_timestamp [00:10:09]Write 4 bytes [00:10:09]NVStorageSaveData done [00:10:09]ExternCall_PrintAddStr [00:10:09]wPrintStart [00:10:09]Write to MH i2c: 01 00 00 51 03 54 [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: 01 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: 01 07 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 FF 0F 69 [00:10:09]RasterBufferAndPrint [00:10:09]line Отчет об открытии смены [00:10:09]line ФФД: 1.0 [00:10:09]line ИНН: 02508201610067 [00:10:09]line Кассир: Кумданбеков Э. [00:10:09]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:10:09]line Место: АЗС № 77 "Партнер Нефть" [00:10:09]line 14.07.2024 00:10 [00:10:09]line Смена: 435 [00:10:09]line РНМ: 0000000000093033 [00:10:09]line ЗНМ: 0300000122 [00:10:09]line ФД: 33438 [00:10:09]line ФМ: 0000000000875104 [00:10:09]line ФПД: 14703589123726 [00:10:09]written 0, free lines is 4095 [00:10:09]OFD Sender: Processing packet 33438 [packets to send 6, broken 5] [00:10:09]ProducePacketName [00:10:09]name=ofd_packets/00033438 [00:10:09]OFD Sender: To server: pG, [00:10:09]CommunicateWithHost lk.salyk.kg:30040 [00:10:09]ConnectInit lk.salyk.kg [00:10:10]Connected sock=10 [00:10:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 15 01 00 00 AA 26 0D 01 CF 57 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9A D1 83 D0 BC D0 B4 D0 B0 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 61 17 93 66 0E 04 04 00 B3 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9E 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 0D 5F 72 34 E6 8E 18 B9 A6 3E AD 6D 42 91 [00:10:10]Write to MH i2c: 01 00 00 63 03 66 [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: 01 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: 01 07 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: 01 07 00 63 03 00 00 00 00 00 5F 0E DA [00:10:10]RasterBufferAndPrint [00:10:10]line [00:10:10]line [00:10:10]line [00:10:10]line [00:10:10]line [00:10:10]written 0, free lines is 3691 [00:10:10]MH_Cut [00:10:10]Write to MH i2c: D1 01 00 6A 03 01 3F [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: D1 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: D1 01 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: D1 01 00 6A 03 00 3E [00:10:10]Write to MH i2c: 01 00 00 6B 03 6E [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 69 50 47 00 7E 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9E 82 00 00 F4 03 04 00 0A C2 92 66 B6 04 01 00 00 84 46 5E CD 8B 8A AB B9 [00:10:10]CommunicateWithHost err = 0 [00:10:10]CheckOFDResponse [00:10:10]1017 (14) - 77093643461234 [00:10:10]1041 (16) - 0000000000875104 [00:10:10]1040 (4) - 33438 [00:10:10]1012 (4) - 13.07.2024 18:06 [00:10:10]1206 (1) - 0 [00:10:10]OFD Sender: Remove packet 33438 [00:10:10]ProducePacketName [00:10:10]name=ofd_packets/00033438 [00:10:10]NVStorageDeleteData [00:10:10]*** Cut start [00:10:10]*** Partial cut [00:10:10]*** CUTSNS_PIN = 1 [00:10:10]*** CUTSNS_PIN = 0 [00:10:10]OFD Sender: No OFD packet to send [00:10:10]*** Brake cut motor [00:10:11]Read from MH i2c: 01 [00:10:11]MH_I2C_Read... [00:10:11]*** Stop cut motor [00:10:11]*** Cut end [00:10:11]Read from MH i2c: 01 07 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: 01 07 00 6B 03 00 00 00 00 00 FF 0F 83 [00:10:11]process_action open_shift done [00:10:11]requested_data is exist [00:10:11]produce_requested_data [00:10:11]requested_item fd.num is exist - process it [00:10:11]SAM_PROTO_GetFieldsCounters [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 13 00 00 [00:10:11]Write to MH i2c: E2 08 00 6C 03 80 13 00 00 00 00 00 00 EB [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 62 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 62 00 6C 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9E 82 00 00 0E 04 04 00 B3 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 D2 [00:10:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9E 82 00 00 0E 04 04 00 B3 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:10:11]wFMCommunicate OK [00:10:11]SAM_PROTO_GetFieldsCounters done [00:10:11]requested_item shift.num is exist - process it [00:10:11]requested_item shift.opened is exist - process it [00:10:11]req_shift_opened [00:10:11]FM_GetShiftState [00:10:11]SAM_PROTO_GetShiftState [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 13 01 00 [00:10:11]Write to MH i2c: E2 08 00 6D 03 80 13 01 00 00 00 00 00 ED [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 0E 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 0E 00 6D 03 00 09 00 01 61 17 93 66 00 00 00 00 90 00 6A [00:10:11]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [00:10:11]wFMCommunicate OK [00:10:11]SAM_PROTO_GetShiftState done [00:10:11]FM_GetShiftState done [00:10:11]req_shift_opened done [00:10:11]requested_item shift.open_date is exist - process it [00:10:11]req_shift_open_date [00:10:11]req_shift_open_date done [00:10:11]produce_requested_data done [00:10:11]produce_requested_data return {"fd.num":33438,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809} [00:10:11]process_action_free open_shift [00:10:11]json_value_free [00:10:11]json_value_free done [00:10:11]process_json_proto returns [00:10:11]Send response to host [00:10:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33438,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809}}} [00:10:11]free response buf [00:10:11]execute_script done [00:10:11]execute_script returns [00:10:11]free content buf [00:10:11]Sock 9.Close socket [00:10:11]Sock 9.Thread stoped [00:10:11]accept exits with 8 [00:10:11]New connection [00:10:11]New thread 3067587940 created [00:10:11]Thread 3067444580 joined [00:10:11]Waiting for new connection... [00:10:11] Sock 8.Parse request [00:10:11]Sock 8.Check first char [00:10:11]Sock 8.First char is OK [00:10:11]request: POST /json_proto HTTP/1.0 [00:10:11]Method: POST [00:10:11]URL: /json_proto [00:10:11]Method is POST - this is cgi request [00:10:11]url: /json_proto [00:10:11]query_string will be loaded in cgi processing [00:10:11]execute_cgi json_proto POST (null) [00:10:11]execute_cgi path=json_proto method=POST [00:10:11]POST find Content-Length [00:10:11]Host: 172.17.35.196:8080 [00:10:11]Content-Length: 331 [00:10:11]Content-Type: application/json [00:10:11] [00:10:11]POST finish read [00:10:11]Found Content-Length = 331 [00:10:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:11]execute_script... [00:10:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:11]POST & json_proto [00:10:11]process_json_proto [00:10:11]json parsed OK: [00:10:11]protocol is kg_v1.0 [00:10:11]action value=get_value [00:10:11]process_action get_value [00:10:11]cmd_get_value [00:10:11]process_action get_value done [00:10:11]requested_data is exist [00:10:11]produce_requested_data [00:10:11]requested_item fm.sale.total is exist - process it [00:10:11]SAM_PROTO_GetFMData [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 13 03 00 [00:10:11]Write to MH i2c: E2 08 00 6E 03 80 13 03 00 00 00 00 00 F0 [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 6E 03 00 C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 E9 [00:10:11]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 38 7F 00 00 69 04 A0 00 6F 04 04 00 57 7E 00 00 B1 04 04 00 B2 6B B4 3F 70 04 04 00 DC 80 00 35 72 04 04 00 D6 EA B3 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 8C 05 C4 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 4A 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:10:12]wFMCommunicate OK [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 17 00 00 [00:10:12]Write to MH i2c: E2 08 00 6F 03 80 17 00 00 00 00 00 00 F2 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 6F 03 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 AF [00:10:12]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:10:12]wFMCommunicate OK [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 17 00 00 [00:10:12]Write to MH i2c: E2 08 00 70 03 80 17 00 00 00 00 00 00 F3 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 70 03 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 08 [00:10:12]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:10:12]wFMCommunicate OK [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 17 00 00 [00:10:12]Write to MH i2c: E2 08 00 71 03 80 17 00 00 00 00 00 00 F4 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 71 03 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 6C [00:10:13]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 72 03 80 17 00 00 00 00 00 00 F5 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 E1 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 E1 00 72 03 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E3 [00:10:13]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:13]wFMCommunicate OK [00:10:13]SAM_PROTO_GetFMData done [00:10:13]requested_item fm.sale_refund.total is exist - process it [00:10:13]requested_item fm.buy.total is exist - process it [00:10:13]requested_item shift.sale.total is exist - process it [00:10:13]SAM_PROTO_GetShiftData [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 13 02 00 [00:10:13]Write to MH i2c: E2 08 00 73 03 80 13 02 00 00 00 00 00 F4 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 73 03 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 67 [00:10:14]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:10:14]wFMCommunicate OK [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 17 00 00 [00:10:14]Write to MH i2c: E2 08 00 74 03 80 17 00 00 00 00 00 00 F7 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 74 03 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 FF [00:10:14]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:10:14]wFMCommunicate OK [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 17 00 00 [00:10:14]Write to MH i2c: E2 08 00 75 03 80 17 00 00 00 00 00 00 F8 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 75 03 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 CA [00:10:14]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:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 76 03 80 17 00 00 00 00 00 00 F9 [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 76 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 6B [00:10:15]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:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 77 03 80 17 00 00 00 00 00 00 FA [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 BD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 BD 00 77 03 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 E0 [00:10:15]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:10:15]wFMCommunicate OK [00:10:15]SAM_PROTO_GetShiftData done [00:10:15]requested_item shift.sale.total_cash is exist - process it [00:10:15]requested_item shift.sale_refund.total is exist - process it [00:10:15]requested_item shift.sale_refund.total_cash is exist - process it [00:10:15]requested_item shift.buy.total is exist - process it [00:10:15]requested_item shift.buy.total_cash is exist - process it [00:10:15]produce_requested_data done [00:10:15]produce_requested_data return {"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:15]process_action_free get_value [00:10:15]json_value_free [00:10:15]json_value_free done [00:10:15]process_json_proto returns [00:10:15]Send response to host [00:10:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10687886.58,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:15]free response buf [00:10:15]execute_script done [00:10:15]execute_script returns [00:10:15]free content buf [00:10:15]Sock 8.Close socket [00:10:15]Sock 8.Thread stoped [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:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:26]accept exits with 9 [00:19:26]New connection [00:19:26]New thread 3067444580 created [00:19:26]Thread 3067587940 joined [00:19:26]Waiting for new connection... [00:19:26] Sock 9.Parse request [00:19:26]Sock 9.Check first char [00:19:26]Sock 9.First char is OK [00:19:26]request: POST /json_proto HTTP/1.0 [00:19:26]Method: POST [00:19:26]URL: /json_proto [00:19:26]Method is POST - this is cgi request [00:19:26]url: /json_proto [00:19:26]query_string will be loaded in cgi processing [00:19:26]execute_cgi json_proto POST (null) [00:19:26]execute_cgi path=json_proto method=POST [00:19:26]POST find Content-Length [00:19:26]Host: 172.17.35.196:8080 [00:19:26]Content-Length: 879 [00:19:26]Content-Type: application/json [00:19:26] [00:19:26]POST finish read [00:19:26]Found Content-Length = 879 [00:19:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169249", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:26]execute_script... [00:19: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)169249", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:26]POST & json_proto [00:19:26]process_json_proto [00:19:26]json parsed OK: [00:19:26]protocol is kg_v1.0 [00:19:26]action value=close_receipt [00:19:26]process_action close_receipt [00:19:26]cmd_close_receipt [00:19:26]MH_GetDate [00:19:26]Write to MH i2c: F0 00 00 78 03 6A [00:19:26]Write i2c OK [00:19:26]MH_I2C_Read... [00:19:26]Read from MH i2c: F0 [00:19:26]MH_I2C_Read... [00:19:26]Read from MH i2c: F0 09 00 [00:19:26]MH_I2C_Read... [00:19:26]Read from MH i2c: F0 09 00 78 03 00 8F 19 93 66 AD 14 F4 65 2E [00:19:26]GetLastDocTimeStamp 1720915809 [00:19:26]current date 1720916367 [00:19:26]FM_GetShiftState [00:19:26]SAM_PROTO_GetShiftState [00:19:26]wFMCommunicate request_size=4 [00:19:26]MH_SAM_APDU [00:19:26]CAPDU: 80 13 01 00 [00:19:26]Write to MH i2c: E2 08 00 79 03 80 13 01 00 00 00 00 00 F9 [00:19:26]Write i2c OK [00:19:26]MH_I2C_Read... [00:19:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:26]Read from MH i2c: E2 [00:19:26]MH_I2C_Read... [00:19:26]Read from MH i2c: E2 0E 00 [00:19:26]MH_I2C_Read... [00:19:26]Read from MH i2c: E2 0E 00 79 03 00 09 00 01 61 17 93 66 00 00 00 00 90 00 76 [00:19:26]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [00:19:26]wFMCommunicate OK [00:19:26]SAM_PROTO_GetShiftState done [00:19:26]FM_GetShiftState done [00:19:26]opened in 1720915809 [00:19:26]opened+sec_in_day 1721002209 [00:19:26]quantity*price = 11000 [00:19:26]sum+1 = 11001 [00:19:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 1 14.07.2024 00:19 Смена: 435 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33439 ФПД: 190124457114773 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T001927&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33439&fm=190124457114773&tin=02508201610067®Number=0000000000093033&sum=11000 0 [00:19:27]StoreToDocumentArchive [00:19:27]shift 435 fd 33439 [00:19:27]save to /storage/0435/doc_00033439 [00:19:27]save last doc name /storage/0435/doc_00033439 to /storage/kkm_last_doc_name [00:19:27]save OK [00:19:27]Clear old archive folders... [00:19:27]ProcessDocumentItem done err = 0, tmpTLVsize=294 [00:19:27]tlvbuf is 0132A6F0 [00:19:27]SAM_PROTO_ClearQueue [00:19:27]wFMCommunicate request_size=4 [00:19:27]MH_SAM_APDU [00:19:27]CAPDU: 80 09 00 00 [00:19:27]Write to MH i2c: E2 08 00 86 03 80 09 00 00 00 00 00 00 FB [00:19:27]Write i2c OK [00:19:27]MH_I2C_Read... [00:19:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:19:27]Read from MH i2c: E2 [00:19:27]MH_I2C_Read... [00:19:27]Read from MH i2c: E2 03 00 [00:19:27]MH_I2C_Read... [00:19:27]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [00:19:27]RAPDU: 90 00 [00:19:27]wFMCommunicate OK [00:19:27]SAM_PROTO_ClearQueue done [00:19:27]KKMCreateOFDPacket [00:19:27]OFDProtocolAddRootSTLVToBuf [00:19:27]FM_MakeSignedData [00:19:27]FM_MakeSignedData [00:19:27]SAM_PROTO_SignData [00:19:27]wFMCommunicate request_size=4 [00:19:27]MH_SAM_APDU [00:19:27]CAPDU: 80 0D 01 02 [00:19:27]Write to MH i2c: E2 08 00 87 03 80 0D 01 02 00 00 00 00 03 [00:19:27]Write i2c OK [00:19:27]MH_I2C_Read... [00:19:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:19:27]Read from MH i2c: E2 [00:19:27]MH_I2C_Read... [00:19:27]Read from MH i2c: E2 03 00 [00:19:27]MH_I2C_Read... [00:19:27]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [00:19:27]RAPDU: 90 00 [00:19:27]wFMCommunicate OK [00:19:27]wFMCommunicate request_size=255 [00:19:27]MH_SAM_APDU [00:19:27]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 8F 19 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [00:19:27]Write to MH i2c: E2 02 01 88 03 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 8F 19 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 39 [00:19:27]Write i2c OK [00:19:27]MH_I2C_Read... [00:19:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:27]Read from MH i2c: E2 [00:19:27]MH_I2C_Read... [00:19:27]Read from MH i2c: E2 03 00 [00:19:27]MH_I2C_Read... [00:19:27]Read from MH i2c: E2 03 00 88 03 00 90 00 FF [00:19:27]RAPDU: 90 00 [00:19:27]wFMCommunicate OK [00:19:27]wFMCommunicate request_size=53 [00:19:27]MH_SAM_APDU [00:19:27]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9F 82 00 00 35 04 06 00 AC EA CC BA BC 95 [00:19:27]Write to MH i2c: E2 38 00 89 03 80 0D 02 02 30 00 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9F 82 00 00 35 04 06 00 AC EA CC BA BC 95 00 00 7B [00:19:27]Write i2c OK [00:19:27]MH_I2C_Read... [00:19:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:28]Read from MH i2c: E2 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 03 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 03 00 89 03 00 90 00 00 [00:19:28]RAPDU: 90 00 [00:19:28]wFMCommunicate OK [00:19:28]wFMCommunicate request_size=4 [00:19:28]MH_SAM_APDU [00:19:28]CAPDU: 80 0D 03 02 [00:19:28]Write to MH i2c: E2 08 00 8A 03 80 0D 03 02 00 00 00 00 08 [00:19:28]Write i2c OK [00:19:28]MH_I2C_Read... [00:19:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:19:28]Read from MH i2c: E2 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 0B 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 0B 00 8A 03 00 9A 75 B4 65 8D BB F5 26 90 00 94 [00:19:28]RAPDU: 9A 75 B4 65 8D BB F5 26 90 00 [00:19:28]wFMCommunicate OK [00:19:28]SAM_PROTO_SignData done [00:19:28]FM_MakeSignedData done [00:19:28]CreateOFDProtocolMessage [00:19:28]wFMCommunicate request_size=4 [00:19:28]MH_SAM_APDU [00:19:28]CAPDU: 80 11 00 00 [00:19:28]Write to MH i2c: E2 08 00 8B 03 80 11 00 00 00 00 00 00 08 [00:19:28]Write i2c OK [00:19:28]MH_I2C_Read... [00:19:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:28]Read from MH i2c: E2 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 17 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: E2 17 00 8B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 54 [00:19:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:19:28]wFMCommunicate OK [00:19:28]CreateOFDProtocolMessage done [00:19:28]OFDSenderStorePacket 33439 [00:19:28]StoreOFDPacket docnum=33439 [00:19:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3A 01 00 00 20 76 32 01 AE 18 5A 03 01 00 03 00 26 01 1E 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 8F 19 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9F 82 00 00 35 04 06 00 AC EA CC BA BC 95 9A 75 B4 65 8D BB F5 26 [00:19:28]CheckFolder [00:19:28]dirname=/storage/ofd_packets [00:19:28]CheckFolder done [00:19:28]ProducePacketName [00:19:28]name=ofd_packets/00033439 [00:19:28]NVStorageSaveData ofd_packets/00033439 [00:19:28]File name is /storage/ofd_packets/00033439 [00:19:28]Write 344 bytes [00:19:28]NVStorageSaveData done [00:19:28]OFDSenderStorePacket done [00:19:28]KKMCreateOFDPacket done [00:19:28]NVStorageSaveData kkm_last_timestamp [00:19:28]File name is /storage/kkm_last_timestamp [00:19:28]Write 4 bytes [00:19:28]NVStorageSaveData done [00:19:28]ExternCall_PrintAddStr [00:19:28]wPrintStart [00:19:28]Write to MH i2c: 01 00 00 8C 03 8F [00:19:28]OFD Sender: Processing packet 33439 [packets to send 6, broken 5] [00:19:28]ProducePacketName [00:19:28]name=ofd_packets/00033439 [00:19:28]OFD Sender: To server: pG, [00:19:28]CommunicateWithHost lk.salyk.kg:30040 [00:19:28]ConnectInit lk.salyk.kg [00:19:28]Write i2c OK [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: 01 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: 01 07 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: 01 07 00 8C 03 00 00 00 00 00 FF 0F A4 [00:19:28]RasterBufferAndPrint [00:19:28]line Счет N : (3)169249 [00:19:28]line ИНН: 02508201610067 [00:19:28]line Контрольно-Кассовый Чек [00:19:28]line ПРОДАЖА [00:19:28]line Товар: 4650243871828 [00:19:28]line Gorilla эн нап манго-кокос 0,45 ж/б [00:19:28]line 1.000 * 110.00 [00:19:28]line = 110.00 [00:19:28]line НДС 12% НСП 1% [00:19:28]line > о реализуемом товаре [00:19:28]line ИТОГО: 110.00 [00:19:28]line НСП 1% : 0.97 [00:19:28]line НДС 12% : 11.68 [00:19:28]line Наличными: 0.00 [00:19:28]line Безнал.: 110.00 [00:19:28]line Место: АЗС № 77 "Партнер Нефть" [00:19:28]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:19:28]line СНО: Общий режим [00:19:28]line Чек 1 14.07.2024 00:19 [00:19:28]line Смена: 435 ФФД: 1.0 [00:19:28]line ЗНМ: 0300000122 [00:19:28]line РНМ: 0000000000093033 [00:19:28]line Версия ККМ: 001 [00:19:28]line Платежная система: АКБ Кыргызстан [00:19:28]line ФМ: 0000000000875104 [00:19:28]line ФД: 33439 [00:19:28]line ФПД: 190124457114773 [00:19:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T001927&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33439&fm=190124457114773&tin=02508201610067®Number=0000000000093033&sum=11000 [00:19:28]line 0 [00:19:28]Connected sock=10 [00:19:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3A 01 00 00 20 76 32 01 AE 18 5A 03 01 00 03 00 26 01 1E 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 8F 19 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 9F 82 00 00 35 04 06 00 AC EA CC BA BC 95 9A 75 B4 65 8D BB F5 26 [00:19:28]written 0, free lines is 4095 [00:19:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 58 86 47 00 1C 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 35 31 30 34 10 04 04 00 9F 82 00 00 F4 03 04 00 38 C4 92 66 B6 04 01 00 00 E0 19 CD D4 C8 64 5E 72 [00:19:28]CommunicateWithHost err = 0 [00:19:28]CheckOFDResponse [00:19:28]1017 (14) - 77093643461234 [00:19:28]1041 (16) - 0000000000875104 [00:19:28]1040 (4) - 33439 [00:19:28]1012 (4) - 13.07.2024 18:15 [00:19:28]1206 (1) - 0 [00:19:28]OFD Sender: Remove packet 33439 [00:19:28]ProducePacketName [00:19:28]name=ofd_packets/00033439 [00:19:28]NVStorageDeleteData [00:19:28]Write to MH i2c: 01 00 00 B7 03 BA [00:19:28]Write i2c OK [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: 01 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: 01 07 00 [00:19:28]MH_I2C_Read... [00:19:28]Read from MH i2c: 01 07 00 B7 03 00 00 00 00 00 C6 0C 93 [00:19:28]RasterBufferAndPrint [00:19:28]line [00:19:28]line [00:19:28]line [00:19:28]line [00:19:28]line [00:19:28]written 0, free lines is 3277 [00:19:29]MH_Cut [00:19:29]Write to MH i2c: D1 01 00 BE 03 01 93 [00:19:29]Write i2c OK [00:19:29]MH_I2C_Read... [00:19:29]Read from MH i2c: D1 [00:19:29]MH_I2C_Read... [00:19:29]Read from MH i2c: D1 01 00 [00:19:29]MH_I2C_Read... [00:19:29]Read from MH i2c: D1 01 00 BE 03 00 92 [00:19:29]Write to MH i2c: 01 00 00 BF 03 C2 [00:19:29]Write i2c OK [00:19:29]MH_I2C_Read... [00:19:29]OFD Sender: No OFD packet to send [00:19:29]*** Cut start [00:19:29]*** Partial cut [00:19:29]*** CUTSNS_PIN = 1 [00:19:29]*** CUTSNS_PIN = 0 [00:19:30]*** Brake cut motor [00:19:30]Read from MH i2c: 01 [00:19:30]MH_I2C_Read... [00:19:30]*** Stop cut motor [00:19:30]*** Cut end [00:19:30]Read from MH i2c: 01 07 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: 01 07 00 BF 03 00 00 00 00 00 FF 0F D7 [00:19:30]process_action close_receipt done [00:19:30]requested_data is exist [00:19:30]produce_requested_data [00:19:30]requested_item fm.sn is exist - process it [00:19:30]wFMCommunicate request_size=4 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 11 00 00 [00:19:30]Write to MH i2c: E2 08 00 C0 03 80 11 00 00 00 00 00 00 3D [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 17 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 17 00 C0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 89 [00:19:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:19:30]wFMCommunicate OK [00:19:30]requested_item fd.num is exist - process it [00:19:30]SAM_PROTO_GetFieldsCounters [00:19:30]wFMCommunicate request_size=4 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 13 00 00 [00:19:30]Write to MH i2c: E2 08 00 C1 03 80 13 00 00 00 00 00 00 40 [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 62 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 62 00 C1 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9F 82 00 00 0E 04 04 00 B3 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 2B [00:19:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 9F 82 00 00 0E 04 04 00 B3 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:19:30]wFMCommunicate OK [00:19:30]SAM_PROTO_GetFieldsCounters done [00:19:30]requested_item shift.num is exist - process it [00:19:30]requested_item shift.opened is exist - process it [00:19:30]req_shift_opened [00:19:30]FM_GetShiftState [00:19:30]SAM_PROTO_GetShiftState [00:19:30]wFMCommunicate request_size=4 [00:19:30]MH_SAM_APDU [00:19:30]CAPDU: 80 13 01 00 [00:19:30]Write to MH i2c: E2 08 00 C2 03 80 13 01 00 00 00 00 00 42 [00:19:30]Write i2c OK [00:19:30]MH_I2C_Read... [00:19:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:30]Read from MH i2c: E2 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 0E 00 [00:19:30]MH_I2C_Read... [00:19:30]Read from MH i2c: E2 0E 00 C2 03 00 09 00 01 61 17 93 66 00 00 00 00 90 00 BF [00:19:30]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [00:19:30]wFMCommunicate OK [00:19:30]SAM_PROTO_GetShiftState done [00:19:30]FM_GetShiftState done [00:19:30]req_shift_opened done [00:19:30]requested_item shift.open_date is exist - process it [00:19:30]req_shift_open_date [00:19:30]req_shift_open_date done [00:19:30]produce_requested_data done [00:19:30]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33439,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809} [00:19:30]process_action_free close_receipt [00:19:30]json_value_free [00:19:30]json_value_free done [00:19:30]process_json_proto returns [00:19:30]Send response to host [00:19:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33439,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809}}} [00:19:30]free response buf [00:19:30]execute_script done [00:19:30]execute_script returns [00:19:30]free content buf [00:19:30]Sock 9.Close socket [00:19:30]Sock 9.Thread stoped [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:54]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:24]OFD Sender: No OFD packet to send [00:30:29]OFD Sender: No OFD packet to send [00:30:34]OFD Sender: No OFD packet to send [00:30:39]OFD Sender: No OFD packet to send [00:30:44]OFD Sender: No OFD packet to send [00:30:49]OFD Sender: No OFD packet to send [00:30:54]OFD Sender: No OFD packet to send [00:30:59]OFD Sender: No OFD packet to send [00:31:04]OFD Sender: No OFD packet to send [00:31:09]OFD Sender: No OFD packet to send [00:31:14]OFD Sender: No OFD packet to send [00:31:19]OFD Sender: No OFD packet to send [00:31:24]OFD Sender: No OFD packet to send [00:31:29]OFD Sender: No OFD packet to send [00:31:34]OFD Sender: No OFD packet to send [00:31:39]OFD Sender: No OFD packet to send [00:31:44]OFD Sender: No OFD packet to send [00:31:49]OFD Sender: No OFD packet to send [00:31:54]OFD Sender: No OFD packet to send [00:31:59]OFD Sender: No OFD packet to send [00:32:04]OFD Sender: No OFD packet to send [00:32:09]OFD Sender: No OFD packet to send [00:32:14]OFD Sender: No OFD packet to send [00:32:19]OFD Sender: No OFD packet to send [00:32:24]OFD Sender: No OFD packet to send [00:32:29]OFD Sender: No OFD packet to send [00:32:34]OFD Sender: No OFD packet to send [00:32:39]OFD Sender: No OFD packet to send [00:32:44]OFD Sender: No OFD packet to send [00:32:49]OFD Sender: No OFD packet to send [00:32:54]OFD Sender: No OFD packet to send [00:32:59]OFD Sender: No OFD packet to send [00:33:04]OFD Sender: No OFD packet to send [00:33:09]OFD Sender: No OFD packet to send [00:33:14]OFD Sender: No OFD packet to send [00:33:19]OFD Sender: No OFD packet to send [00:33:24]OFD Sender: No OFD packet to send [00:33:29]OFD Sender: No OFD packet to send [00:33:34]OFD Sender: No OFD packet to send [00:33:39]OFD Sender: No OFD packet to send [00:33:44]OFD Sender: No OFD packet to send [00:33:49]OFD Sender: No OFD packet to send [00:33:54]OFD Sender: No OFD packet to send [00:33:59]OFD Sender: No OFD packet to send [00:34:04]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:37:58]accept exits with 8 [00:37:58]New connection [00:37:58]New thread 3067587940 created [00:37:58]Thread 3067444580 joined [00:37:58]Waiting for new connection... [00:37:58] Sock 8.Parse request [00:37:58]Sock 8.Check first char [00:37:58]Sock 8.First char is OK [00:37:58]request: POST /json_proto HTTP/1.0 [00:37:58]Method: POST [00:37:58]URL: /json_proto [00:37:58]Method is POST - this is cgi request [00:37:58]url: /json_proto [00:37:58]query_string will be loaded in cgi processing [00:37:58]execute_cgi json_proto POST (null) [00:37:58]execute_cgi path=json_proto method=POST [00:37:58]POST find Content-Length [00:37:58]Host: 172.17.35.196:8080 [00:37:58]Content-Length: 786 [00:37:58]Content-Type: application/json [00:37:58] [00:37:58]POST finish read [00:37:58]Found Content-Length = 786 [00:37:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169250", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:58]execute_script... [00:37:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169250", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:58]POST & json_proto [00:37:58]process_json_proto [00:37:58]json parsed OK: [00:37:58]protocol is kg_v1.0 [00:37:58]action value=close_receipt [00:37:58]process_action close_receipt [00:37:58]cmd_close_receipt [00:37:58]MH_GetDate [00:37:58]Write to MH i2c: F0 00 00 C3 03 B5 [00:37:58]Write i2c OK [00:37:58]MH_I2C_Read... [00:37:58]Read from MH i2c: F0 [00:37:58]MH_I2C_Read... [00:37:58]Read from MH i2c: F0 09 00 [00:37:58]MH_I2C_Read... [00:37:58]Read from MH i2c: F0 09 00 C3 03 00 E7 1D 93 66 AD 14 F4 65 D5 [00:37:58]GetLastDocTimeStamp 1720916367 [00:37:58]current date 1720917479 [00:37:58]FM_GetShiftState [00:37:58]SAM_PROTO_GetShiftState [00:37:58]wFMCommunicate request_size=4 [00:37:58]MH_SAM_APDU [00:37:58]CAPDU: 80 13 01 00 [00:37:58]Write to MH i2c: E2 08 00 C4 03 80 13 01 00 00 00 00 00 44 [00:37:58]Write i2c OK [00:37:58]MH_I2C_Read... [00:37:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:58]Read from MH i2c: E2 [00:37:58]MH_I2C_Read... [00:37:58]Read from MH i2c: E2 0E 00 [00:37:58]MH_I2C_Read... [00:37:58]Read from MH i2c: E2 0E 00 C4 03 00 09 00 01 61 17 93 66 00 00 00 00 90 00 C1 [00:37:58]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [00:37:58]wFMCommunicate OK [00:37:58]SAM_PROTO_GetShiftState done [00:37:58]FM_GetShiftState done [00:37:58]opened in 1720915809 [00:37:58]opened+sec_in_day 1721002209 [00:37:58]quantity*price = 4500 [00:37:58]sum+1 = 4501 [00:37:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 2 14.07.2024 00:37 Смена: 435 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33440 ФПД: 231446795505399 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T003759&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33440&fm=231446795505399&tin=02508201610067®Number=0000000000093033&sum=4500 0 [00:37:59]StoreToDocumentArchive [00:37:59]shift 435 fd 33440 [00:37:59]save to /storage/0435/doc_00033440 [00:37:59]save last doc name /storage/0435/doc_00033440 to /storage/kkm_last_doc_name [00:37:59]save OK [00:37:59]Clear old archive folders... [00:37:59]ProcessDocumentItem done err = 0, tmpTLVsize=260 [00:37:59]tlvbuf is 01357640 [00:37:59]SAM_PROTO_ClearQueue [00:37:59]wFMCommunicate request_size=4 [00:37:59]MH_SAM_APDU [00:37:59]CAPDU: 80 09 00 00 [00:37:59]Write to MH i2c: E2 08 00 D1 03 80 09 00 00 00 00 00 00 46 [00:37:59]Write i2c OK [00:37:59]MH_I2C_Read... [00:37:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:37:59]Read from MH i2c: E2 [00:37:59]MH_I2C_Read... [00:37:59]Read from MH i2c: E2 03 00 [00:37:59]MH_I2C_Read... [00:37:59]Read from MH i2c: E2 03 00 D1 03 00 90 00 48 [00:37:59]RAPDU: 90 00 [00:37:59]wFMCommunicate OK [00:37:59]SAM_PROTO_ClearQueue done [00:37:59]KKMCreateOFDPacket [00:37:59]OFDProtocolAddRootSTLVToBuf [00:37:59]FM_MakeSignedData [00:37:59]FM_MakeSignedData [00:37:59]SAM_PROTO_SignData [00:37:59]wFMCommunicate request_size=4 [00:37:59]MH_SAM_APDU [00:37:59]CAPDU: 80 0D 01 02 [00:37:59]Write to MH i2c: E2 08 00 D2 03 80 0D 01 02 00 00 00 00 4E [00:37:59]Write i2c OK [00:37:59]MH_I2C_Read... [00:37:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:37:59]Read from MH i2c: E2 [00:37:59]MH_I2C_Read... [00:37:59]Read from MH i2c: E2 03 00 [00:37:59]MH_I2C_Read... [00:37:59]Read from MH i2c: E2 03 00 D2 03 00 90 00 49 [00:37:59]RAPDU: 90 00 [00:37:59]wFMCommunicate OK [00:37:59]wFMCommunicate request_size=255 [00:37:59]MH_SAM_APDU [00:37:59]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E7 1D 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 [00:37:59]Write to MH i2c: E2 02 01 D3 03 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E7 1D 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 00 00 6C [00:37:59]Write i2c OK [00:37:59]MH_I2C_Read... [00:38:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:00]Read from MH i2c: E2 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 03 00 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 03 00 D3 03 00 90 00 4A [00:38:00]RAPDU: 90 00 [00:38:00]wFMCommunicate OK [00:38:00]wFMCommunicate request_size=19 [00:38:00]MH_SAM_APDU [00:38:00]CAPDU: 80 0D 02 02 0E A0 82 00 00 35 04 06 00 D2 7F E8 07 CE F7 [00:38:00]Write to MH i2c: E2 16 00 D4 03 80 0D 02 02 0E 00 A0 82 00 00 35 04 06 00 D2 7F E8 07 CE F7 00 00 D3 [00:38:00]Write i2c OK [00:38:00]MH_I2C_Read... [00:38:00]OFD Sender: No OFD packet to send [00:38:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:00]Read from MH i2c: E2 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 03 00 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 03 00 D4 03 00 90 00 4B [00:38:00]RAPDU: 90 00 [00:38:00]wFMCommunicate OK [00:38:00]wFMCommunicate request_size=4 [00:38:00]MH_SAM_APDU [00:38:00]CAPDU: 80 0D 03 02 [00:38:00]Write to MH i2c: E2 08 00 D5 03 80 0D 03 02 00 00 00 00 53 [00:38:00]Write i2c OK [00:38:00]MH_I2C_Read... [00:38:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:38:00]Read from MH i2c: E2 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 0B 00 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 0B 00 D5 03 00 7A EC B5 84 98 A4 B8 8D 90 00 74 [00:38:00]RAPDU: 7A EC B5 84 98 A4 B8 8D 90 00 [00:38:00]wFMCommunicate OK [00:38:00]SAM_PROTO_SignData done [00:38:00]FM_MakeSignedData done [00:38:00]CreateOFDProtocolMessage [00:38:00]wFMCommunicate request_size=4 [00:38:00]MH_SAM_APDU [00:38:00]CAPDU: 80 11 00 00 [00:38:00]Write to MH i2c: E2 08 00 D6 03 80 11 00 00 00 00 00 00 53 [00:38:00]Write i2c OK [00:38:00]MH_I2C_Read... [00:38:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:00]Read from MH i2c: E2 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 17 00 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: E2 17 00 D6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9F [00:38:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:38:00]wFMCommunicate OK [00:38:00]CreateOFDProtocolMessage done [00:38:00]OFDSenderStorePacket 33440 [00:38:00]StoreOFDPacket docnum=33440 [00:38:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 18 01 00 00 71 59 10 01 3E 9C 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E7 1D 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A0 82 00 00 35 04 06 00 D2 7F E8 07 CE F7 7A EC B5 84 98 A4 B8 8D [00:38:00]CheckFolder [00:38:00]dirname=/storage/ofd_packets [00:38:00]CheckFolder done [00:38:00]ProducePacketName [00:38:00]name=ofd_packets/00033440 [00:38:00]NVStorageSaveData ofd_packets/00033440 [00:38:00]File name is /storage/ofd_packets/00033440 [00:38:00]Write 310 bytes [00:38:00]NVStorageSaveData done [00:38:00]OFDSenderStorePacket done [00:38:00]KKMCreateOFDPacket done [00:38:00]NVStorageSaveData kkm_last_timestamp [00:38:00]File name is /storage/kkm_last_timestamp [00:38:00]Write 4 bytes [00:38:00]NVStorageSaveData done [00:38:00]ExternCall_PrintAddStr [00:38:00]wPrintStart [00:38:00]Write to MH i2c: 01 00 00 D7 03 DA [00:38:00]Write i2c OK [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: 01 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: 01 07 00 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: 01 07 00 D7 03 00 00 00 00 00 FF 0F EF [00:38:00]RasterBufferAndPrint [00:38:00]line Счет N : (3)169250 [00:38:00]line ИНН: 02508201610067 [00:38:00]line Контрольно-Кассовый Чек [00:38:00]line ПРОДАЖА [00:38:00]line Товар: 50173617 [00:38:00]line Жев Orbit Eucalyptus [00:38:00]line 1.000 * 45.00 [00:38:00]line = 45.00 [00:38:00]line НДС 12% НСП 1% [00:38:00]line > о реализуемом товаре [00:38:00]line ИТОГО: 45.00 [00:38:00]line НСП 1% : 0.40 [00:38:00]line НДС 12% : 4.78 [00:38:00]line Наличными: 0.00 [00:38:00]line Безнал.: 45.00 [00:38:00]line Место: АЗС № 77 "Партнер Нефть" [00:38:00]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:38:00]line СНО: Общий режим [00:38:00]line Чек 2 14.07.2024 00:37 [00:38:00]line Смена: 435 ФФД: 1.0 [00:38:00]line ЗНМ: 0300000122 [00:38:00]line РНМ: 0000000000093033 [00:38:00]line Версия ККМ: 001 [00:38:00]line Платежная система: АКБ Кыргызстан [00:38:00]line ФМ: 0000000000875104 [00:38:00]line ФД: 33440 [00:38:00]line ФПД: 231446795505399 [00:38:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T003759&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33440&fm=231446795505399&tin=02508201610067®Number=0000000000093033&sum=4500 [00:38:00]OFD Sender: Processing packet 33440 [packets to send 6, broken 5] [00:38:00]ProducePacketName [00:38:00]name=ofd_packets/00033440 [00:38:00]OFD Sender: To server: pG, [00:38:00]CommunicateWithHost lk.salyk.kg:30040 [00:38:00]ConnectInit lk.salyk.kg [00:38:00]line 0 [00:38:00]written 0, free lines is 4095 [00:38:00]Connected sock=10 [00:38:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 18 01 00 00 71 59 10 01 3E 9C 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E7 1D 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A0 82 00 00 35 04 06 00 D2 7F E8 07 CE F7 7A EC B5 84 98 A4 B8 8D [00:38:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 5A CC 47 00 B8 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 35 31 30 34 10 04 04 00 A0 82 00 00 F4 03 04 00 90 C8 92 66 B6 04 01 00 00 18 E0 F2 EF 07 3E 3E E3 [00:38:00]CommunicateWithHost err = 0 [00:38:00]CheckOFDResponse [00:38:00]1017 (14) - 77093643461234 [00:38:00]1041 (16) - 0000000000875104 [00:38:00]1040 (4) - 33440 [00:38:00]1012 (4) - 13.07.2024 18:33 [00:38:00]1206 (1) - 0 [00:38:00]OFD Sender: Remove packet 33440 [00:38:00]ProducePacketName [00:38:00]name=ofd_packets/00033440 [00:38:00]NVStorageDeleteData [00:38:00]Write to MH i2c: 01 00 00 01 04 05 [00:38:00]Write i2c OK [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: 01 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: 01 07 00 [00:38:00]MH_I2C_Read... [00:38:00]Read from MH i2c: 01 07 00 01 04 00 00 00 00 00 E7 0C FF [00:38:00]RasterBufferAndPrint [00:38:00]line [00:38:00]line [00:38:00]line [00:38:00]line [00:38:00]line [00:38:01]written 0, free lines is 3309 [00:38:01]MH_Cut [00:38:01]Write to MH i2c: D1 01 00 08 04 01 DE [00:38:01]Write i2c OK [00:38:01]MH_I2C_Read... [00:38:01]Read from MH i2c: D1 [00:38:01]MH_I2C_Read... [00:38:01]Read from MH i2c: D1 01 00 [00:38:01]MH_I2C_Read... [00:38:01]Read from MH i2c: D1 01 00 08 04 00 DD [00:38:01]Write to MH i2c: 01 00 00 09 04 0D [00:38:01]Write i2c OK [00:38:01]MH_I2C_Read... [00:38:01]OFD Sender: No OFD packet to send [00:38:01]*** Cut start [00:38:01]*** Partial cut [00:38:01]*** CUTSNS_PIN = 1 [00:38:01]*** CUTSNS_PIN = 0 [00:38:02]*** Brake cut motor [00:38:02]Read from MH i2c: 01 [00:38:02]MH_I2C_Read... [00:38:02]*** Stop cut motor [00:38:02]*** Cut end [00:38:02]Read from MH i2c: 01 07 00 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: 01 07 00 09 04 00 00 00 00 00 FF 0F 22 [00:38:02]process_action close_receipt done [00:38:02]requested_data is exist [00:38:02]produce_requested_data [00:38:02]requested_item fm.sn is exist - process it [00:38:02]wFMCommunicate request_size=4 [00:38:02]MH_SAM_APDU [00:38:02]CAPDU: 80 11 00 00 [00:38:02]Write to MH i2c: E2 08 00 0A 04 80 11 00 00 00 00 00 00 88 [00:38:02]Write i2c OK [00:38:02]MH_I2C_Read... [00:38:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:02]Read from MH i2c: E2 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: E2 17 00 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: E2 17 00 0A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D4 [00:38:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:38:02]wFMCommunicate OK [00:38:02]requested_item fd.num is exist - process it [00:38:02]SAM_PROTO_GetFieldsCounters [00:38:02]wFMCommunicate request_size=4 [00:38:02]MH_SAM_APDU [00:38:02]CAPDU: 80 13 00 00 [00:38:02]Write to MH i2c: E2 08 00 0B 04 80 13 00 00 00 00 00 00 8B [00:38:02]Write i2c OK [00:38:02]MH_I2C_Read... [00:38:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:38:02]Read from MH i2c: E2 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: E2 62 00 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: E2 62 00 0B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 A0 82 00 00 0E 04 04 00 B3 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 7A [00:38:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 A0 82 00 00 0E 04 04 00 B3 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:38:02]wFMCommunicate OK [00:38:02]SAM_PROTO_GetFieldsCounters done [00:38:02]requested_item shift.num is exist - process it [00:38:02]requested_item shift.opened is exist - process it [00:38:02]req_shift_opened [00:38:02]FM_GetShiftState [00:38:02]SAM_PROTO_GetShiftState [00:38:02]wFMCommunicate request_size=4 [00:38:02]MH_SAM_APDU [00:38:02]CAPDU: 80 13 01 00 [00:38:02]Write to MH i2c: E2 08 00 0C 04 80 13 01 00 00 00 00 00 8D [00:38:02]Write i2c OK [00:38:02]MH_I2C_Read... [00:38:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:02]Read from MH i2c: E2 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: E2 0E 00 [00:38:02]MH_I2C_Read... [00:38:02]Read from MH i2c: E2 0E 00 0C 04 00 09 00 01 61 17 93 66 00 00 00 00 90 00 0A [00:38:02]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [00:38:02]wFMCommunicate OK [00:38:02]SAM_PROTO_GetShiftState done [00:38:02]FM_GetShiftState done [00:38:02]req_shift_opened done [00:38:02]requested_item shift.open_date is exist - process it [00:38:02]req_shift_open_date [00:38:02]req_shift_open_date done [00:38:02]produce_requested_data done [00:38:02]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33440,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809} [00:38:02]process_action_free close_receipt [00:38:02]json_value_free [00:38:02]json_value_free done [00:38:02]process_json_proto returns [00:38:02]Send response to host [00:38:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33440,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809}}} [00:38:02]free response buf [00:38:02]execute_script done [00:38:02]execute_script returns [00:38:02]free content buf [00:38:02]Sock 8.Close socket [00:38:02]Sock 8.Thread stoped [00:38:06]OFD Sender: No OFD packet to send [00:38:11]OFD Sender: No OFD packet to send [00:38:16]OFD Sender: No OFD packet to send [00:38:21]OFD Sender: No OFD packet to send [00:38:26]OFD Sender: No OFD packet to send [00:38:31]OFD Sender: No OFD packet to send [00:38:36]OFD Sender: No OFD packet to send [00:38:41]OFD Sender: No OFD packet to send [00:38:46]OFD Sender: No OFD packet to send [00:38:51]OFD Sender: No OFD packet to send [00:38:56]OFD Sender: No OFD packet to send [00:39:01]OFD Sender: No OFD packet to send [00:39:06]OFD Sender: No OFD packet to send [00:39:11]OFD Sender: No OFD packet to send [00:39:16]OFD Sender: No OFD packet to send [00:39:21]OFD Sender: No OFD packet to send [00:39:26]OFD Sender: No OFD packet to send [00:39:31]OFD Sender: No OFD packet to send [00:39:36]OFD Sender: No OFD packet to send [00:39:41]OFD Sender: No OFD packet to send [00:39:46]OFD Sender: No OFD packet to send [00:39:51]OFD Sender: No OFD packet to send [00:39:56]OFD Sender: No OFD packet to send [00:40:01]OFD Sender: No OFD packet to send [00:40:06]OFD Sender: No OFD packet to send [00:40:11]OFD Sender: No OFD packet to send [00:40:16]OFD Sender: No OFD packet to send [00:40:21]OFD Sender: No OFD packet to send [00:40:26]OFD Sender: No OFD packet to send [00:40:31]OFD Sender: No OFD packet to send [00:40:36]OFD Sender: No OFD packet to send [00:40:41]OFD Sender: No OFD packet to send [00:40:46]OFD Sender: No OFD packet to send [00:40:51]OFD Sender: No OFD packet to send [00:40:56]OFD Sender: No OFD packet to send [00:41:01]OFD Sender: No OFD packet to send [00:41:06]OFD Sender: No OFD packet to send [00:41:11]OFD Sender: No OFD packet to send [00:41:16]OFD Sender: No OFD packet to send [00:41:21]OFD Sender: No OFD packet to send [00:41:26]OFD Sender: No OFD packet to send [00:41:31]OFD Sender: No OFD packet to send [00:41:36]OFD Sender: No OFD packet to send [00:41:41]OFD Sender: No OFD packet to send [00:41:46]OFD Sender: No OFD packet to send [00:41:51]OFD Sender: No OFD packet to send [00:41:56]OFD Sender: No OFD packet to send [00:42:01]OFD Sender: No OFD packet to send [00:42:06]OFD Sender: No OFD packet to send [00:42:11]OFD Sender: No OFD packet to send [00:42:16]OFD Sender: No OFD packet to send [00:42:21]OFD Sender: No OFD packet to send [00:42:26]OFD Sender: No OFD packet to send [00:42:31]OFD Sender: No OFD packet to send [00:42:36]OFD Sender: No OFD packet to send [00:42:41]OFD Sender: No OFD packet to send [00:42:46]OFD Sender: No OFD packet to send [00:42:51]OFD Sender: No OFD packet to send [00:42:56]OFD Sender: No OFD packet to send [00:43:01]OFD Sender: No OFD packet to send [00:43:06]OFD Sender: No OFD packet to send [00:43:11]OFD Sender: No OFD packet to send [00:43:16]OFD Sender: No OFD packet to send [00:43:21]OFD Sender: No OFD packet to send [00:43:26]OFD Sender: No OFD packet to send [00:43:31]OFD Sender: No OFD packet to send [00:43:36]OFD Sender: No OFD packet to send [00:43:41]OFD Sender: No OFD packet to send [00:43:46]OFD Sender: No OFD packet to send [00:43:51]OFD Sender: No OFD packet to send [00:43:56]OFD Sender: No OFD packet to send [00:44:01]OFD Sender: No OFD packet to send [00:44:06]OFD Sender: No OFD packet to send [00:44:11]OFD Sender: No OFD packet to send [00:44:16]OFD Sender: No OFD packet to send [00:44:21]OFD Sender: No OFD packet to send [00:44:26]OFD Sender: No OFD packet to send [00:44:31]OFD Sender: No OFD packet to send [00:44:36]OFD Sender: No OFD packet to send [00:44:41]OFD Sender: No OFD packet to send [00:44:46]OFD Sender: No OFD packet to send [00:44:51]OFD Sender: No OFD packet to send [00:44:56]OFD Sender: No OFD packet to send [00:45:01]OFD Sender: No OFD packet to send [00:45:06]OFD Sender: No OFD packet to send [00:45:11]OFD Sender: No OFD packet to send [00:45:16]OFD Sender: No OFD packet to send [00:45:21]OFD Sender: No OFD packet to send [00:45:26]OFD Sender: No OFD packet to send [00:45:31]OFD Sender: No OFD packet to send [00:45:36]OFD Sender: No OFD packet to send [00:45:41]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:21]OFD Sender: No OFD packet to send [00:46:26]OFD Sender: No OFD packet to send [00:46:31]OFD Sender: No OFD packet to send [00:46:36]OFD Sender: No OFD packet to send [00:46:41]OFD Sender: No OFD packet to send [00:46:46]OFD Sender: No OFD packet to send [00:46:51]OFD Sender: No OFD packet to send [00:46:56]OFD Sender: No OFD packet to send [00:47:01]OFD Sender: No OFD packet to send [00:47:06]OFD Sender: No OFD packet to send [00:47:11]OFD Sender: No OFD packet to send [00:47:16]OFD Sender: No OFD packet to send [00:47:21]OFD Sender: No OFD packet to send [00:47:26]OFD Sender: No OFD packet to send [00:47:31]OFD Sender: No OFD packet to send [00:47:36]OFD Sender: No OFD packet to send [00:47:41]OFD Sender: No OFD packet to send [00:47:46]OFD Sender: No OFD packet to send [00:47:51]OFD Sender: No OFD packet to send [00:47:56]OFD Sender: No OFD packet to send [00:48:01]OFD Sender: No OFD packet to send [00:48:06]OFD Sender: No OFD packet to send [00:48:11]OFD Sender: No OFD packet to send [00:48:16]OFD Sender: No OFD packet to send [00:48:21]OFD Sender: No OFD packet to send [00:48:26]OFD Sender: No OFD packet to send [00:48:31]OFD Sender: No OFD packet to send [00:48:36]OFD Sender: No OFD packet to send [00:48:41]OFD Sender: No OFD packet to send [00:48:46]OFD Sender: No OFD packet to send [00:48:51]OFD Sender: No OFD packet to send [00:48:56]OFD Sender: No OFD packet to send [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]OFD Sender: No OFD packet to send [00:49:51]OFD Sender: No OFD packet to send [00:49:56]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:02]OFD Sender: No OFD packet to send [00:52:07]OFD Sender: No OFD packet to send [00:52:12]OFD Sender: No OFD packet to send [00:52:17]OFD Sender: No OFD packet to send [00:52:22]OFD Sender: No OFD packet to send [00:52:27]OFD Sender: No OFD packet to send [00:52:32]OFD Sender: No OFD packet to send [00:52:37]OFD Sender: No OFD packet to send [00:52:42]OFD Sender: No OFD packet to send [00:52:47]OFD Sender: No OFD packet to send [00:52:52]OFD Sender: No OFD packet to send [00:52:57]OFD Sender: No OFD packet to send [00:53:02]OFD Sender: No OFD packet to send [00:53:07]OFD Sender: No OFD packet to send [00:53:12]OFD Sender: No OFD packet to send [00:53:17]OFD Sender: No OFD packet to send [00:53:22]OFD Sender: No OFD packet to send [00:53:27]OFD Sender: No OFD packet to send [00:53:32]OFD Sender: No OFD packet to send [00:53:37]OFD Sender: No OFD packet to send [00:53:42]OFD Sender: No OFD packet to send [00:53:47]OFD Sender: No OFD packet to send [00:53:52]OFD Sender: No OFD packet to send [00:53:57]OFD Sender: No OFD packet to send [00:54:02]OFD Sender: No OFD packet to send [00:54:07]OFD Sender: No OFD packet to send [00:54:12]OFD Sender: No OFD packet to send [00:54:17]OFD Sender: No OFD packet to send [00:54:22]OFD Sender: No OFD packet to send [00:54:27]OFD Sender: No OFD packet to send [00:54:32]OFD Sender: No OFD packet to send [00:54:37]OFD Sender: No OFD packet to send [00:54:42]OFD Sender: No OFD packet to send [00:54:47]OFD Sender: No OFD packet to send [00:54:52]OFD Sender: No OFD packet to send [00:54:57]OFD Sender: No OFD packet to send [00:55:02]OFD Sender: No OFD packet to send [00:55:07]OFD Sender: No OFD packet to send [00:55:12]OFD Sender: No OFD packet to send [00:55:17]OFD Sender: No OFD packet to send [00:55:22]OFD Sender: No OFD packet to send [00:55:27]OFD Sender: No OFD packet to send [00:55:32]OFD Sender: No OFD packet to send [00:55:37]OFD Sender: No OFD packet to send [00:55:42]OFD Sender: No OFD packet to send [00:55:47]OFD Sender: No OFD packet to send [00:55:52]OFD Sender: No OFD packet to send [00:55:57]OFD Sender: No OFD packet to send [00:56:02]OFD Sender: No OFD packet to send [00:56:07]OFD Sender: No OFD packet to send [00:56:12]OFD Sender: No OFD packet to send [00:56:17]OFD Sender: No OFD packet to send [00:56:22]OFD Sender: No OFD packet to send [00:56:27]OFD Sender: No OFD packet to send [00:56:32]OFD Sender: No OFD packet to send [00:56:37]OFD Sender: No OFD packet to send [00:56:42]OFD Sender: No OFD packet to send [00:56:47]OFD Sender: No OFD packet to send [00:56:52]OFD Sender: No OFD packet to send [00:56:57]OFD Sender: No OFD packet to send [00:57:02]OFD Sender: No OFD packet to send [00:57:07]OFD Sender: No OFD packet to send [00:57:12]OFD Sender: No OFD packet to send [00:57:17]OFD Sender: No OFD packet to send [00:57:22]OFD Sender: No OFD packet to send [00:57:27]OFD Sender: No OFD packet to send [00:57:32]OFD Sender: No OFD packet to send [00:57:37]OFD Sender: No OFD packet to send [00:57:42]OFD Sender: No OFD packet to send [00:57:47]OFD Sender: No OFD packet to send [00:57:52]OFD Sender: No OFD packet to send [00:57:57]OFD Sender: No OFD packet to send [00:58:02]OFD Sender: No OFD packet to send [00:58:07]OFD Sender: No OFD packet to send [00:58:12]OFD Sender: No OFD packet to send [00:58:17]OFD Sender: No OFD packet to send [00:58:22]OFD Sender: No OFD packet to send [00:58:27]OFD Sender: No OFD packet to send [00:58:32]OFD Sender: No OFD packet to send [00:58:37]OFD Sender: No OFD packet to send [00:58:42]OFD Sender: No OFD packet to send [00:58:47]OFD Sender: No OFD packet to send [00:58:52]OFD Sender: No OFD packet to send [00:58:57]OFD Sender: No OFD packet to send [00:59:02]OFD Sender: No OFD packet to send [00:59:07]OFD Sender: No OFD packet to send [00:59:12]OFD Sender: No OFD packet to send [00:59:17]OFD Sender: No OFD packet to send [00:59:22]OFD Sender: No OFD packet to send [00:59:27]OFD Sender: No OFD packet to send [00:59:32]OFD Sender: No OFD packet to send [00:59:37]OFD Sender: No OFD packet to send [00:59:42]OFD Sender: No OFD packet to send [00:59:47]OFD Sender: No OFD packet to send [00:59:52]OFD Sender: No OFD packet to send [00:59:57]OFD Sender: No OFD packet to send [01:00:02]OFD Sender: No OFD packet to send [01:00:07]OFD Sender: No OFD packet to send [01:00:12]OFD Sender: No OFD packet to send [01:00:17]OFD Sender: No OFD packet to send [01:00:22]OFD Sender: No OFD packet to send [01:00:27]OFD Sender: No OFD packet to send [01:00:32]OFD Sender: No OFD packet to send [01:00:37]OFD Sender: No OFD packet to send [01:00:42]OFD Sender: No OFD packet to send [01:00:47]OFD Sender: No OFD packet to send [01:00:52]OFD Sender: No OFD packet to send [01:00:57]OFD Sender: No OFD packet to send [01:01:02]OFD Sender: No OFD packet to send [01:01:07]OFD Sender: No OFD packet to send [01:01:12]OFD Sender: No OFD packet to send [01:01:17]OFD Sender: No OFD packet to send [01:01:22]OFD Sender: No OFD packet to send [01:01:27]OFD Sender: No OFD packet to send [01:01:32]OFD Sender: No OFD packet to send [01:01:37]OFD Sender: No OFD packet to send [01:01:42]OFD Sender: No OFD packet to send [01:01:47]OFD Sender: No OFD packet to send [01:01:52]OFD Sender: No OFD packet to send [01:01:57]OFD Sender: No OFD packet to send [01:02:02]OFD Sender: No OFD packet to send [01:02:07]OFD Sender: No OFD packet to send [01:02:12]OFD Sender: No OFD packet to send [01:02:17]OFD Sender: No OFD packet to send [01:02:22]OFD Sender: No OFD packet to send [01:02:27]OFD Sender: No OFD packet to send [01:02:32]OFD Sender: No OFD packet to send [01:02:37]OFD Sender: No OFD packet to send [01:02:42]OFD Sender: No OFD packet to send [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:23]accept exits with 9 [01:19:23]New connection [01:19:23]New thread 3067444580 created [01:19:23]Thread 3067587940 joined [01:19:23]Waiting for new connection... [01:19:23] Sock 9.Parse request [01:19:23]Sock 9.Check first char [01:19:23]Sock 9.First char is OK [01:19:23]request: POST /json_proto HTTP/1.0 [01:19:23]Method: POST [01:19:23]URL: /json_proto [01:19:23]Method is POST - this is cgi request [01:19:23]url: /json_proto [01:19:23]query_string will be loaded in cgi processing [01:19:23]execute_cgi json_proto POST (null) [01:19:23]execute_cgi path=json_proto method=POST [01:19:23]POST find Content-Length [01:19:23]Host: 172.17.35.196:8080 [01:19:23]Content-Length: 834 [01:19:23]Content-Type: application/json [01:19:23] [01:19:23]POST finish read [01:19:23]Found Content-Length = 834 [01:19:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169251", "tax_sys" : 0, "items" : [ { "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:19:23]execute_script... [01:19: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)169251", "tax_sys" : 0, "items" : [ { "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:19:23]POST & json_proto [01:19:23]process_json_proto [01:19:23]json parsed OK: [01:19:23]protocol is kg_v1.0 [01:19:23]action value=close_receipt [01:19:23]process_action close_receipt [01:19:23]cmd_close_receipt [01:19:23]MH_GetDate [01:19:23]Write to MH i2c: F0 00 00 0D 04 00 [01:19:23]Write i2c OK [01:19:23]MH_I2C_Read... [01:19:23]Read from MH i2c: F0 [01:19:23]MH_I2C_Read... [01:19:23]Read from MH i2c: F0 09 00 [01:19:23]MH_I2C_Read... [01:19:23]Read from MH i2c: F0 09 00 0D 04 00 9C 27 93 66 AD 14 F4 65 DF [01:19:23]GetLastDocTimeStamp 1720917479 [01:19:23]current date 1720919964 [01:19:23]FM_GetShiftState [01:19:23]SAM_PROTO_GetShiftState [01:19:23]wFMCommunicate request_size=4 [01:19:23]MH_SAM_APDU [01:19:23]CAPDU: 80 13 01 00 [01:19:23]Write to MH i2c: E2 08 00 0E 04 80 13 01 00 00 00 00 00 8F [01:19:23]Write i2c OK [01:19:23]MH_I2C_Read... [01:19:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:19:23]Read from MH i2c: E2 [01:19:23]MH_I2C_Read... [01:19:23]Read from MH i2c: E2 0E 00 [01:19:23]MH_I2C_Read... [01:19:23]Read from MH i2c: E2 0E 00 0E 04 00 09 00 01 61 17 93 66 00 00 00 00 90 00 0C [01:19:23]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [01:19:23]wFMCommunicate OK [01:19:23]SAM_PROTO_GetShiftState done [01:19:23]FM_GetShiftState done [01:19:23]opened in 1720915809 [01:19:23]opened+sec_in_day 1721002209 [01:19:23]quantity*price = 14000 [01:19:23]sum+1 = 14001 [01:19:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 3 14.07.2024 01:19 Смена: 435 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33441 ФПД: 122085732902717 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T011924&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33441&fm=122085732902717&tin=02508201610067®Number=0000000000093033&sum=14000 0 [01:19:24]StoreToDocumentArchive [01:19:24]shift 435 fd 33441 [01:19:24]save to /storage/0435/doc_00033441 [01:19:24]save last doc name /storage/0435/doc_00033441 to /storage/kkm_last_doc_name [01:19:24]save OK [01:19:24]Clear old archive folders... [01:19:24]ProcessDocumentItem done err = 0, tmpTLVsize=285 [01:19:24]tlvbuf is B6E434C0 [01:19:24]SAM_PROTO_ClearQueue [01:19:24]wFMCommunicate request_size=4 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 09 00 00 [01:19:24]Write to MH i2c: E2 08 00 1B 04 80 09 00 00 00 00 00 00 91 [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:19:24]Read from MH i2c: E2 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 1B 04 00 90 00 93 [01:19:24]RAPDU: 90 00 [01:19:24]wFMCommunicate OK [01:19:24]SAM_PROTO_ClearQueue done [01:19:24]KKMCreateOFDPacket [01:19:24]OFDProtocolAddRootSTLVToBuf [01:19:24]FM_MakeSignedData [01:19:24]FM_MakeSignedData [01:19:24]SAM_PROTO_SignData [01:19:24]wFMCommunicate request_size=4 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 0D 01 02 [01:19:24]Write to MH i2c: E2 08 00 1C 04 80 0D 01 02 00 00 00 00 99 [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:19:24]Read from MH i2c: E2 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 1C 04 00 90 00 94 [01:19:24]RAPDU: 90 00 [01:19:24]wFMCommunicate OK [01:19:24]wFMCommunicate request_size=255 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C 27 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 [01:19:24]Write to MH i2c: E2 02 01 1D 04 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C 27 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 00 00 4B [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:24]Read from MH i2c: E2 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 1D 04 00 90 00 95 [01:19:24]RAPDU: 90 00 [01:19:24]wFMCommunicate OK [01:19:24]wFMCommunicate request_size=44 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 0D 02 02 27 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A1 82 00 00 35 04 06 00 6F 09 4C BD E7 3D [01:19:24]Write to MH i2c: E2 2F 00 1E 04 80 0D 02 02 27 00 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A1 82 00 00 35 04 06 00 6F 09 4C BD E7 3D 00 00 7A [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:24]Read from MH i2c: E2 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 03 00 1E 04 00 90 00 96 [01:19:24]RAPDU: 90 00 [01:19:24]wFMCommunicate OK [01:19:24]wFMCommunicate request_size=4 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 0D 03 02 [01:19:24]Write to MH i2c: E2 08 00 1F 04 80 0D 03 02 00 00 00 00 9E [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:19:24]Read from MH i2c: E2 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 0B 00 [01:19:24]MH_I2C_Read... [01:19:24]Read from MH i2c: E2 0B 00 1F 04 00 72 11 AA 7B 85 B4 E6 7B 90 00 E1 [01:19:24]RAPDU: 72 11 AA 7B 85 B4 E6 7B 90 00 [01:19:24]wFMCommunicate OK [01:19:24]SAM_PROTO_SignData done [01:19:24]FM_MakeSignedData done [01:19:24]CreateOFDProtocolMessage [01:19:24]wFMCommunicate request_size=4 [01:19:24]MH_SAM_APDU [01:19:24]CAPDU: 80 11 00 00 [01:19:24]Write to MH i2c: E2 08 00 20 04 80 11 00 00 00 00 00 00 9E [01:19:24]Write i2c OK [01:19:24]MH_I2C_Read... [01:19:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:25]Read from MH i2c: E2 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: E2 17 00 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: E2 17 00 20 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EA [01:19:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:19:25]wFMCommunicate OK [01:19:25]CreateOFDProtocolMessage done [01:19:25]OFDSenderStorePacket 33441 [01:19:25]StoreOFDPacket docnum=33441 [01:19:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 31 01 00 00 C0 80 29 01 C6 A0 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C 27 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A1 82 00 00 35 04 06 00 6F 09 4C BD E7 3D 72 11 AA 7B 85 B4 E6 7B [01:19:25]CheckFolder [01:19:25]dirname=/storage/ofd_packets [01:19:25]CheckFolder done [01:19:25]ProducePacketName [01:19:25]name=ofd_packets/00033441 [01:19:25]NVStorageSaveData ofd_packets/00033441 [01:19:25]File name is /storage/ofd_packets/00033441 [01:19:25]Write 335 bytes [01:19:25]NVStorageSaveData done [01:19:25]OFDSenderStorePacket done [01:19:25]KKMCreateOFDPacket done [01:19:25]NVStorageSaveData kkm_last_timestamp [01:19:25]File name is /storage/kkm_last_timestamp [01:19:25]Write 4 bytes [01:19:25]NVStorageSaveData done [01:19:25]ExternCall_PrintAddStr [01:19:25]wPrintStart [01:19:25]Write to MH i2c: 01 00 00 21 04 25 [01:19:25]Write i2c OK [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: 01 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: 01 07 00 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: 01 07 00 21 04 00 00 00 00 00 FF 0F 3A [01:19:25]RasterBufferAndPrint [01:19:25]line Счет N : (3)169251 [01:19:25]line ИНН: 02508201610067 [01:19:25]line Контрольно-Кассовый Чек [01:19:25]line ПРОДАЖА [01:19:25]line Товар: 48745024 [01:19:25]line Сигареты Winston Superslims Expand Purpl [01:19:25]line 1.000 * 140.00 [01:19:25]line = 140.00 [01:19:25]line НДС 12% НСП 1% [01:19:25]line > о реализуемом товаре [01:19:25]line ИТОГО: 140.00 [01:19:25]line НСП 1% : 1.24 [01:19:25]line НДС 12% : 14.87 [01:19:25]line Наличными: 0.00 [01:19:25]line Безнал.: 140.00 [01:19:25]line Место: АЗС № 77 "Партнер Нефть" [01:19:25]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [01:19:25]line СНО: Общий режим [01:19:25]line Чек 3 14.07.2024 01:19 [01:19:25]line Смена: 435 ФФД: 1.0 [01:19:25]line ЗНМ: 0300000122 [01:19:25]line РНМ: 0000000000093033 [01:19:25]line Версия ККМ: 001 [01:19:25]line Платежная система: АКБ Кыргызстан [01:19:25]line ФМ: 0000000000875104 [01:19:25]line ФД: 33441 [01:19:25]line ФПД: 122085732902717 [01:19:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T011924&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33441&fm=122085732902717&tin=02508201610067®Number=0000000000093033&sum=14000 [01:19:25]line 0 [01:19:25]OFD Sender: Processing packet 33441 [packets to send 6, broken 5] [01:19:25]ProducePacketName [01:19:25]name=ofd_packets/00033441 [01:19:25]OFD Sender: To server: pG, [01:19:25]CommunicateWithHost lk.salyk.kg:30040 [01:19:25]ConnectInit lk.salyk.kg [01:19:25]written 0, free lines is 4095 [01:19:25]Connected sock=10 [01:19:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 31 01 00 00 C0 80 29 01 C6 A0 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C 27 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A1 82 00 00 35 04 06 00 6F 09 4C BD E7 3D 72 11 AA 7B 85 B4 E6 7B [01:19:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 5C CA 47 00 7D FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A1 82 00 00 F4 03 04 00 45 D2 92 66 B6 04 01 00 00 29 05 EF FA 82 DF 3D 74 [01:19:25]CommunicateWithHost err = 0 [01:19:25]CheckOFDResponse [01:19:25]1017 (14) - 77093643461234 [01:19:25]1041 (16) - 0000000000875104 [01:19:25]1040 (4) - 33441 [01:19:25]1012 (4) - 13.07.2024 19:15 [01:19:25]1206 (1) - 0 [01:19:25]OFD Sender: Remove packet 33441 [01:19:25]ProducePacketName [01:19:25]name=ofd_packets/00033441 [01:19:25]NVStorageDeleteData [01:19:25]Write to MH i2c: 01 00 00 4C 04 50 [01:19:25]Write i2c OK [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: 01 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: 01 07 00 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: 01 07 00 4C 04 00 00 00 00 00 C4 0C 27 [01:19:25]RasterBufferAndPrint [01:19:25]line [01:19:25]line [01:19:25]line [01:19:25]line [01:19:25]line [01:19:25]written 0, free lines is 3274 [01:19:25]MH_Cut [01:19:25]Write to MH i2c: D1 01 00 53 04 01 29 [01:19:25]Write i2c OK [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: D1 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: D1 01 00 [01:19:25]MH_I2C_Read... [01:19:25]Read from MH i2c: D1 01 00 53 04 00 28 [01:19:25]Write to MH i2c: 01 00 00 54 04 58 [01:19:25]Write i2c OK [01:19:25]MH_I2C_Read... [01:19:26]OFD Sender: No OFD packet to send [01:19:26]*** Cut start [01:19:26]*** Partial cut [01:19:26]*** CUTSNS_PIN = 1 [01:19:26]*** CUTSNS_PIN = 0 [01:19:26]*** Brake cut motor [01:19:27]Read from MH i2c: 01 [01:19:27]MH_I2C_Read... [01:19:27]*** Stop cut motor [01:19:27]*** Cut end [01:19:27]Read from MH i2c: 01 07 00 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: 01 07 00 54 04 00 00 00 00 00 FF 0F 6D [01:19:27]process_action close_receipt done [01:19:27]requested_data is exist [01:19:27]produce_requested_data [01:19:27]requested_item fm.sn is exist - process it [01:19:27]wFMCommunicate request_size=4 [01:19:27]MH_SAM_APDU [01:19:27]CAPDU: 80 11 00 00 [01:19:27]Write to MH i2c: E2 08 00 55 04 80 11 00 00 00 00 00 00 D3 [01:19:27]Write i2c OK [01:19:27]MH_I2C_Read... [01:19:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:27]Read from MH i2c: E2 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: E2 17 00 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: E2 17 00 55 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1F [01:19:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:19:27]wFMCommunicate OK [01:19:27]requested_item fd.num is exist - process it [01:19:27]SAM_PROTO_GetFieldsCounters [01:19:27]wFMCommunicate request_size=4 [01:19:27]MH_SAM_APDU [01:19:27]CAPDU: 80 13 00 00 [01:19:27]Write to MH i2c: E2 08 00 56 04 80 13 00 00 00 00 00 00 D6 [01:19:27]Write i2c OK [01:19:27]MH_I2C_Read... [01:19:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:19:27]Read from MH i2c: E2 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: E2 62 00 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: E2 62 00 56 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 A1 82 00 00 0E 04 04 00 B3 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 C9 [01:19:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 A1 82 00 00 0E 04 04 00 B3 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:19:27]wFMCommunicate OK [01:19:27]SAM_PROTO_GetFieldsCounters done [01:19:27]requested_item shift.num is exist - process it [01:19:27]requested_item shift.opened is exist - process it [01:19:27]req_shift_opened [01:19:27]FM_GetShiftState [01:19:27]SAM_PROTO_GetShiftState [01:19:27]wFMCommunicate request_size=4 [01:19:27]MH_SAM_APDU [01:19:27]CAPDU: 80 13 01 00 [01:19:27]Write to MH i2c: E2 08 00 57 04 80 13 01 00 00 00 00 00 D8 [01:19:27]Write i2c OK [01:19:27]MH_I2C_Read... [01:19:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:19:27]Read from MH i2c: E2 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: E2 0E 00 [01:19:27]MH_I2C_Read... [01:19:27]Read from MH i2c: E2 0E 00 57 04 00 09 00 01 61 17 93 66 00 00 00 00 90 00 55 [01:19:27]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [01:19:27]wFMCommunicate OK [01:19:27]SAM_PROTO_GetShiftState done [01:19:27]FM_GetShiftState done [01:19:27]req_shift_opened done [01:19:27]requested_item shift.open_date is exist - process it [01:19:27]req_shift_open_date [01:19:27]req_shift_open_date done [01:19:27]produce_requested_data done [01:19:27]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33441,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809} [01:19:27]process_action_free close_receipt [01:19:27]json_value_free [01:19:27]json_value_free done [01:19:27]process_json_proto returns [01:19:27]Send response to host [01:19:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33441,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809}}} [01:19:27]free response buf [01:19:27]execute_script done [01:19:27]execute_script returns [01:19:27]free content buf [01:19:27]Sock 9.Close socket [01:19:27]Sock 9.Thread stoped [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:11]OFD Sender: No OFD packet to send [01:35:16]OFD Sender: No OFD packet to send [01:35:21]OFD Sender: No OFD packet to send [01:35:26]OFD Sender: No OFD packet to send [01:35:31]OFD Sender: No OFD packet to send [01:35:36]OFD Sender: No OFD packet to send [01:35:41]OFD Sender: No OFD packet to send [01:35:46]OFD Sender: No OFD packet to send [01:35:51]OFD Sender: No OFD packet to send [01:35:56]OFD Sender: No OFD packet to send [01:36:01]OFD Sender: No OFD packet to send [01:36:06]OFD Sender: No OFD packet to send [01:36:11]OFD Sender: No OFD packet to send [01:36:16]OFD Sender: No OFD packet to send [01:36:21]OFD Sender: No OFD packet to send [01:36:26]OFD Sender: No OFD packet to send [01:36:31]OFD Sender: No OFD packet to send [01:36:36]OFD Sender: No OFD packet to send [01:36:41]OFD Sender: No OFD packet to send [01:36:46]OFD Sender: No OFD packet to send [01:36:51]OFD Sender: No OFD packet to send [01:36:56]OFD Sender: No OFD packet to send [01:37:01]OFD Sender: No OFD packet to send [01:37:06]OFD Sender: No OFD packet to send [01:37:11]OFD Sender: No OFD packet to send [01:37:16]OFD Sender: No OFD packet to send [01:37:21]OFD Sender: No OFD packet to send [01:37:26]OFD Sender: No OFD packet to send [01:37:31]OFD Sender: No OFD packet to send [01:37:36]OFD Sender: No OFD packet to send [01:37:41]OFD Sender: No OFD packet to send [01:37:46]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:44]accept exits with 8 [01:54:44]New connection [01:54:44]New thread 3067587940 created [01:54:44]Thread 3067444580 joined [01:54:44]Waiting for new connection... [01:54:44] Sock 8.Parse request [01:54:44]Sock 8.Check first char [01:54:44]Sock 8.First char is OK [01:54:44]request: POST /json_proto HTTP/1.0 [01:54:44]Method: POST [01:54:44]URL: /json_proto [01:54:44]Method is POST - this is cgi request [01:54:44]url: /json_proto [01:54:44]query_string will be loaded in cgi processing [01:54:44]execute_cgi json_proto POST (null) [01:54:44]execute_cgi path=json_proto method=POST [01:54:44]POST find Content-Length [01:54:44]Host: 172.17.35.196:8080 [01:54:44]Content-Length: 570 [01:54:44]Content-Type: application/json [01:54:44] [01:54:44]POST finish read [01:54:44]Found Content-Length = 570 [01:54:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169252", "tax_sys" : 0, "items" : [ { "code": "48744836", "name": "LD Compact Bronze", "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" ] } } [01:54:44]execute_script... [01:54:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169252", "tax_sys" : 0, "items" : [ { "code": "48744836", "name": "LD Compact Bronze", "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" ] } } [01:54:44]POST & json_proto [01:54:44]process_json_proto [01:54:44]json parsed OK: [01:54:44]protocol is kg_v1.0 [01:54:44]action value=close_receipt [01:54:44]process_action close_receipt [01:54:44]cmd_close_receipt [01:54:44]MH_GetDate [01:54:44]Write to MH i2c: F0 00 00 58 04 4B [01:54:44]Write i2c OK [01:54:44]MH_I2C_Read... [01:54:44]Read from MH i2c: F0 [01:54:44]MH_I2C_Read... [01:54:44]Read from MH i2c: F0 09 00 [01:54:44]MH_I2C_Read... [01:54:44]Read from MH i2c: F0 09 00 58 04 00 E5 2F 93 66 AD 14 F4 65 7B [01:54:44]GetLastDocTimeStamp 1720919964 [01:54:44]current date 1720922085 [01:54:44]FM_GetShiftState [01:54:44]SAM_PROTO_GetShiftState [01:54:44]wFMCommunicate request_size=4 [01:54:44]MH_SAM_APDU [01:54:44]CAPDU: 80 13 01 00 [01:54:44]Write to MH i2c: E2 08 00 59 04 80 13 01 00 00 00 00 00 DA [01:54:44]Write i2c OK [01:54:44]MH_I2C_Read... [01:54:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:54:44]Read from MH i2c: E2 [01:54:44]MH_I2C_Read... [01:54:44]Read from MH i2c: E2 0E 00 [01:54:44]MH_I2C_Read... [01:54:44]Read from MH i2c: E2 0E 00 59 04 00 09 00 01 61 17 93 66 00 00 00 00 90 00 57 [01:54:44]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [01:54:44]wFMCommunicate OK [01:54:44]SAM_PROTO_GetShiftState done [01:54:44]FM_GetShiftState done [01:54:44]opened in 1720915809 [01:54:44]opened+sec_in_day 1721002209 [01:54:44]quantity*price = 13000 [01:54:44]sum+1 = 13001 [01:54:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 4 14.07.2024 01:54 Смена: 435 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33442 ФПД: 171317356656128 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T015446&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33442&fm=171317356656128&tin=02508201610067®Number=0000000000093033&sum=13000 0 [01:54:45]StoreToDocumentArchive [01:54:45]shift 435 fd 33442 [01:54:45]save to /storage/0435/doc_00033442 [01:54:45]save last doc name /storage/0435/doc_00033442 to /storage/kkm_last_doc_name [01:54:45]save OK [01:54:45]Clear old archive folders... [01:54:45]ProcessDocumentItem done err = 0, tmpTLVsize=254 [01:54:45]tlvbuf is 0132AB90 [01:54:45]SAM_PROTO_ClearQueue [01:54:45]wFMCommunicate request_size=4 [01:54:45]MH_SAM_APDU [01:54:45]CAPDU: 80 09 00 00 [01:54:45]Write to MH i2c: E2 08 00 66 04 80 09 00 00 00 00 00 00 DC [01:54:45]Write i2c OK [01:54:45]MH_I2C_Read... [01:54:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:54:45]Read from MH i2c: E2 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 66 04 00 90 00 DE [01:54:45]RAPDU: 90 00 [01:54:45]wFMCommunicate OK [01:54:45]SAM_PROTO_ClearQueue done [01:54:45]KKMCreateOFDPacket [01:54:45]OFDProtocolAddRootSTLVToBuf [01:54:45]FM_MakeSignedData [01:54:45]FM_MakeSignedData [01:54:45]SAM_PROTO_SignData [01:54:45]wFMCommunicate request_size=4 [01:54:45]MH_SAM_APDU [01:54:45]CAPDU: 80 0D 01 02 [01:54:45]Write to MH i2c: E2 08 00 67 04 80 0D 01 02 00 00 00 00 E4 [01:54:45]Write i2c OK [01:54:45]MH_I2C_Read... [01:54:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:54:45]Read from MH i2c: E2 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 67 04 00 90 00 DF [01:54:45]RAPDU: 90 00 [01:54:45]wFMCommunicate OK [01:54:45]wFMCommunicate request_size=255 [01:54:45]MH_SAM_APDU [01:54:45]CAPDU: 80 0D 02 02 FA 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 38 33 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 72 6F 6E 7A 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 04 00 00 00 F4 03 04 00 E6 2F 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A2 82 00 00 35 04 [01:54:45]Write to MH i2c: E2 02 01 68 04 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 38 33 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 72 6F 6E 7A 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 04 00 00 00 F4 03 04 00 E6 2F 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A2 82 00 00 35 04 00 00 C1 [01:54:45]Write i2c OK [01:54:45]MH_I2C_Read... [01:54:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:54:45]Read from MH i2c: E2 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 68 04 00 90 00 E0 [01:54:45]RAPDU: 90 00 [01:54:45]wFMCommunicate OK [01:54:45]wFMCommunicate request_size=13 [01:54:45]MH_SAM_APDU [01:54:45]CAPDU: 80 0D 02 02 08 06 00 9B CF EE 2F F6 00 [01:54:45]Write to MH i2c: E2 10 00 69 04 80 0D 02 02 08 00 06 00 9B CF EE 2F F6 00 00 00 7A [01:54:45]Write i2c OK [01:54:45]MH_I2C_Read... [01:54:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:54:45]Read from MH i2c: E2 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 03 00 69 04 00 90 00 E1 [01:54:45]RAPDU: 90 00 [01:54:45]wFMCommunicate OK [01:54:45]wFMCommunicate request_size=4 [01:54:45]MH_SAM_APDU [01:54:45]CAPDU: 80 0D 03 02 [01:54:45]Write to MH i2c: E2 08 00 6A 04 80 0D 03 02 00 00 00 00 E9 [01:54:45]Write i2c OK [01:54:45]MH_I2C_Read... [01:54:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:54:45]Read from MH i2c: E2 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 0B 00 [01:54:45]MH_I2C_Read... [01:54:45]Read from MH i2c: E2 0B 00 6A 04 00 29 B0 21 82 39 EF 91 39 90 00 58 [01:54:45]RAPDU: 29 B0 21 82 39 EF 91 39 90 00 [01:54:45]wFMCommunicate OK [01:54:45]SAM_PROTO_SignData done [01:54:45]FM_MakeSignedData done [01:54:45]CreateOFDProtocolMessage [01:54:45]wFMCommunicate request_size=4 [01:54:45]MH_SAM_APDU [01:54:45]CAPDU: 80 11 00 00 [01:54:45]Write to MH i2c: E2 08 00 6B 04 80 11 00 00 00 00 00 00 E9 [01:54:45]Write i2c OK [01:54:45]MH_I2C_Read... [01:54:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:54:46]Read from MH i2c: E2 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: E2 17 00 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: E2 17 00 6B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 35 [01:54:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:54:46]wFMCommunicate OK [01:54:46]CreateOFDProtocolMessage done [01:54:46]OFDSenderStorePacket 33442 [01:54:46]StoreOFDPacket docnum=33442 [01:54:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 12 01 00 00 5C 00 0A 01 D8 BB 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 38 33 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 72 6F 6E 7A 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 04 00 00 00 F4 03 04 00 E6 2F 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A2 82 00 00 35 04 06 00 9B CF EE 2F F6 00 29 B0 21 82 39 EF 91 39 [01:54:46]CheckFolder [01:54:46]dirname=/storage/ofd_packets [01:54:46]CheckFolder done [01:54:46]ProducePacketName [01:54:46]name=ofd_packets/00033442 [01:54:46]NVStorageSaveData ofd_packets/00033442 [01:54:46]File name is /storage/ofd_packets/00033442 [01:54:46]Write 304 bytes [01:54:46]NVStorageSaveData done [01:54:46]OFDSenderStorePacket done [01:54:46]KKMCreateOFDPacket done [01:54:46]NVStorageSaveData kkm_last_timestamp [01:54:46]File name is /storage/kkm_last_timestamp [01:54:46]Write 4 bytes [01:54:46]NVStorageSaveData done [01:54:46]ExternCall_PrintAddStr [01:54:46]wPrintStart [01:54:46]Write to MH i2c: 01 00 00 6C 04 70 [01:54:46]OFD Sender: Processing packet 33442 [packets to send 6, broken 5] [01:54:46]ProducePacketName [01:54:46]name=ofd_packets/00033442 [01:54:46]OFD Sender: To server: pG, [01:54:46]CommunicateWithHost lk.salyk.kg:30040 [01:54:46]ConnectInit lk.salyk.kg [01:54:46]Write i2c OK [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: 01 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: 01 07 00 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: 01 07 00 6C 04 00 00 00 00 00 FF 0F 85 [01:54:46]RasterBufferAndPrint [01:54:46]line Счет N : (3)169252 [01:54:46]line ИНН: 02508201610067 [01:54:46]line Контрольно-Кассовый Чек [01:54:46]line ПРОДАЖА [01:54:46]line Товар: 48744836 [01:54:46]line LD Compact Bronze [01:54:46]line 1.000 * 130.00 [01:54:46]line = 130.00 [01:54:46]line НДС 12% НСП 1% [01:54:46]line > о реализуемом товаре [01:54:46]line ИТОГО: 130.00 [01:54:46]line НСП 1% : 1.15 [01:54:46]line НДС 12% : 13.80 [01:54:46]line Наличными: 130.00 [01:54:46]line Безнал.: 0.00 [01:54:46]line Место: АЗС № 77 "Партнер Нефть" [01:54:46]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [01:54:46]line СНО: Общий режим [01:54:46]line Чек 4 14.07.2024 01:54 [01:54:46]line Смена: 435 ФФД: 1.0 [01:54:46]line ЗНМ: 0300000122 [01:54:46]line РНМ: 0000000000093033 [01:54:46]line Версия ККМ: 001 [01:54:46]line ФМ: 0000000000875104 [01:54:46]line ФД: 33442 [01:54:46]line ФПД: 171317356656128 [01:54:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T015446&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33442&fm=171317356656128&tin=02508201610067®Number=0000000000093033&sum=13000 [01:54:46]line 0 [01:54:46]Connected sock=10 [01:54:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 12 01 00 00 5C 00 0A 01 D8 BB 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 38 33 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 72 6F 6E 7A 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 04 00 00 00 F4 03 04 00 E6 2F 93 66 0E 04 04 00 B3 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 A2 82 00 00 35 04 06 00 9B CF EE 2F F6 00 29 B0 21 82 39 EF 91 39 [01:54:46]written 0, free lines is 4095 [01:54:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 C3 90 47 00 97 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 35 31 30 34 10 04 04 00 A2 82 00 00 F4 03 04 00 8E DA 92 66 B6 04 01 00 00 99 37 FC 1C E9 74 35 E3 [01:54:46]CommunicateWithHost err = 0 [01:54:46]CheckOFDResponse [01:54:46]1017 (14) - 77093643461234 [01:54:46]1041 (16) - 0000000000875104 [01:54:46]1040 (4) - 33442 [01:54:46]1012 (4) - 13.07.2024 19:50 [01:54:46]1206 (1) - 0 [01:54:46]OFD Sender: Remove packet 33442 [01:54:46]ProducePacketName [01:54:46]name=ofd_packets/00033442 [01:54:46]NVStorageDeleteData [01:54:46]Write to MH i2c: 01 00 00 94 04 98 [01:54:46]Write i2c OK [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: 01 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: 01 07 00 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: 01 07 00 94 04 00 00 00 00 00 FB 0C A6 [01:54:46]RasterBufferAndPrint [01:54:46]line [01:54:46]line [01:54:46]line [01:54:46]line [01:54:46]line [01:54:46]written 0, free lines is 3329 [01:54:46]MH_Cut [01:54:46]Write to MH i2c: D1 01 00 9B 04 01 71 [01:54:46]Write i2c OK [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: D1 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: D1 01 00 [01:54:46]MH_I2C_Read... [01:54:46]Read from MH i2c: D1 01 00 9B 04 00 70 [01:54:46]Write to MH i2c: 01 00 00 9C 04 A0 [01:54:46]Write i2c OK [01:54:46]MH_I2C_Read... [01:54:47]OFD Sender: No OFD packet to send [01:54:47]*** Cut start [01:54:47]*** Partial cut [01:54:47]*** CUTSNS_PIN = 1 [01:54:47]*** CUTSNS_PIN = 0 [01:54:47]*** Brake cut motor [01:54:48]Read from MH i2c: 01 [01:54:48]MH_I2C_Read... [01:54:48]*** Stop cut motor [01:54:48]*** Cut end [01:54:48]Read from MH i2c: 01 07 00 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: 01 07 00 9C 04 00 00 00 00 00 FF 0F B5 [01:54:48]process_action close_receipt done [01:54:48]requested_data is exist [01:54:48]produce_requested_data [01:54:48]requested_item fm.sn is exist - process it [01:54:48]wFMCommunicate request_size=4 [01:54:48]MH_SAM_APDU [01:54:48]CAPDU: 80 11 00 00 [01:54:48]Write to MH i2c: E2 08 00 9D 04 80 11 00 00 00 00 00 00 1B [01:54:48]Write i2c OK [01:54:48]MH_I2C_Read... [01:54:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:54:48]Read from MH i2c: E2 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: E2 17 00 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: E2 17 00 9D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 67 [01:54:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:54:48]wFMCommunicate OK [01:54:48]requested_item fd.num is exist - process it [01:54:48]SAM_PROTO_GetFieldsCounters [01:54:48]wFMCommunicate request_size=4 [01:54:48]MH_SAM_APDU [01:54:48]CAPDU: 80 13 00 00 [01:54:48]Write to MH i2c: E2 08 00 9E 04 80 13 00 00 00 00 00 00 1E [01:54:48]Write i2c OK [01:54:48]MH_I2C_Read... [01:54:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:54:48]Read from MH i2c: E2 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: E2 62 00 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: E2 62 00 9E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 A2 82 00 00 0E 04 04 00 B3 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 15 [01:54:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 A2 82 00 00 0E 04 04 00 B3 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:54:48]wFMCommunicate OK [01:54:48]SAM_PROTO_GetFieldsCounters done [01:54:48]requested_item shift.num is exist - process it [01:54:48]requested_item shift.opened is exist - process it [01:54:48]req_shift_opened [01:54:48]FM_GetShiftState [01:54:48]SAM_PROTO_GetShiftState [01:54:48]wFMCommunicate request_size=4 [01:54:48]MH_SAM_APDU [01:54:48]CAPDU: 80 13 01 00 [01:54:48]Write to MH i2c: E2 08 00 9F 04 80 13 01 00 00 00 00 00 20 [01:54:48]Write i2c OK [01:54:48]MH_I2C_Read... [01:54:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:54:48]Read from MH i2c: E2 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: E2 0E 00 [01:54:48]MH_I2C_Read... [01:54:48]Read from MH i2c: E2 0E 00 9F 04 00 09 00 01 61 17 93 66 00 00 00 00 90 00 9D [01:54:48]RAPDU: 09 00 01 61 17 93 66 00 00 00 00 90 00 [01:54:48]wFMCommunicate OK [01:54:48]SAM_PROTO_GetShiftState done [01:54:48]FM_GetShiftState done [01:54:48]req_shift_opened done [01:54:48]requested_item shift.open_date is exist - process it [01:54:48]req_shift_open_date [01:54:48]req_shift_open_date done [01:54:48]produce_requested_data done [01:54:48]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33442,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809} [01:54:48]process_action_free close_receipt [01:54:48]json_value_free [01:54:48]json_value_free done [01:54:48]process_json_proto returns [01:54:48]Send response to host [01:54:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33442,"shift.num":435,"shift.opened":1,"shift.open_date":1720915809}}} [01:54:48]free response buf [01:54:48]execute_script done [01:54:48]execute_script returns [01:54:48]free content buf [01:54:48]Sock 8.Close socket [01:54:48]Sock 8.Thread stoped [01:54:52]OFD Sender: No OFD packet to send [01:54:57]OFD Sender: No OFD packet to send [01:55:02]OFD Sender: No OFD packet to send [01:55:07]OFD Sender: No OFD packet to send [01:55:12]OFD Sender: No OFD packet to send [01:55:17]OFD Sender: No OFD packet to send [01:55:22]OFD Sender: No OFD packet to send [01:55:27]OFD Sender: No OFD packet to send [01:55:32]OFD Sender: No OFD packet to send [01:55:37]OFD Sender: No OFD packet to send [01:55:42]OFD Sender: No OFD packet to send [01:55:47]OFD Sender: No OFD packet to send [01:55:52]OFD Sender: No OFD packet to send [01:55:57]OFD Sender: No OFD packet to send [01:56:02]OFD Sender: No OFD packet to send [01:56:07]OFD Sender: No OFD packet to send [01:56:12]OFD Sender: No OFD packet to send [01:56:17]OFD Sender: No OFD packet to send [01:56:22]OFD Sender: No OFD packet to send [01:56:27]OFD Sender: No OFD packet to send [01:56:32]OFD Sender: No OFD packet to send [01:56:37]OFD Sender: No OFD packet to send [01:56:42]OFD Sender: No OFD packet to send [01:56:47]OFD Sender: No OFD packet to send [01:56:52]OFD Sender: No OFD packet to send [01:56:57]OFD Sender: No OFD packet to send [01:57:02]OFD Sender: No OFD packet to send [01:57:07]OFD Sender: No OFD packet to send [01:57:12]OFD Sender: No OFD packet to send [01:57:17]OFD Sender: No OFD packet to send [01:57:22]OFD Sender: No OFD packet to send [01:57:27]OFD Sender: No OFD packet to send [01:57:32]OFD Sender: No OFD packet to send [01:57:37]OFD Sender: No OFD packet to send [01:57:42]OFD Sender: No OFD packet to send [01:57:47]OFD Sender: No OFD packet to send [01:57:52]OFD Sender: No OFD packet to send [01:57:57]OFD Sender: No OFD packet to send [01:58:02]OFD Sender: No OFD packet to send [01:58:07]OFD Sender: No OFD packet to send [01:58:12]OFD Sender: No OFD packet to send [01:58:17]OFD Sender: No OFD packet to send [01:58:22]OFD Sender: No OFD packet to send [01:58:27]OFD Sender: No OFD packet to send [01:58:32]OFD Sender: No OFD packet to send [01:58:37]OFD Sender: No OFD packet to send [01:58:42]OFD Sender: No OFD packet to send [01:58:47]OFD Sender: No OFD packet to send [01:58:52]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:22]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11: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: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:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:58]OFD Sender: No OFD packet to send [02:18:03]OFD Sender: No OFD packet to send [02:18:08]OFD Sender: No OFD packet to send [02:18:13]OFD Sender: No OFD packet to send [02:18:18]OFD Sender: No OFD packet to send [02:18:23]OFD Sender: No OFD packet to send [02:18:28]OFD Sender: No OFD packet to send [02:18:33]OFD Sender: No OFD packet to send [02:18:38]OFD Sender: No OFD packet to send [02:18:43]OFD Sender: No OFD packet to send [02:18:48]OFD Sender: No OFD packet to send [02:18:53]OFD Sender: No OFD packet to send [02:18:58]OFD Sender: No OFD packet to send [02:19:03]OFD Sender: No OFD packet to send [02:19:08]OFD Sender: No OFD packet to send [02:19:13]OFD Sender: No OFD packet to send [02:19:18]OFD Sender: No OFD packet to send [02:19:23]OFD Sender: No OFD packet to send [02:19:28]OFD Sender: No OFD packet to send [02:19:33]OFD Sender: No OFD packet to send [02:19:38]OFD Sender: No OFD packet to send [02:19:43]OFD Sender: No OFD packet to send [02:19:48]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:43]OFD Sender: No OFD packet to send [02:22:48]OFD Sender: No OFD packet to send [02:22:53]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:43]OFD Sender: No OFD packet to send [02:24:48]OFD Sender: No OFD packet to send [02:24:53]OFD Sender: No OFD packet to send [02:24:58]OFD Sender: No OFD packet to send [02:25:03]OFD Sender: No OFD packet to send [02:25:08]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:36:59]OFD Sender: No OFD packet to send [02:37:04]OFD Sender: No OFD packet to send [02:37:09]OFD Sender: No OFD packet to send [02:37:14]OFD Sender: No OFD packet to send [02:37:19]OFD Sender: No OFD packet to send [02:37:24]OFD Sender: No OFD packet to send [02:37:29]OFD Sender: No OFD packet to send [02:37:34]OFD Sender: No OFD packet to send [02:37:39]OFD Sender: No OFD packet to send [02:37:44]OFD Sender: No OFD packet to send [02:37:49]OFD Sender: No OFD packet to send [02:37:54]OFD Sender: No OFD packet to send [02:37:59]OFD Sender: No OFD packet to send [02:38:04]OFD Sender: No OFD packet to send [02:38:09]OFD Sender: No OFD packet to send [02:38:14]OFD Sender: No OFD packet to send [02:38:19]OFD Sender: No OFD packet to send [02:38:24]OFD Sender: No OFD packet to send [02:38:29]OFD Sender: No OFD packet to send [02:38:34]OFD Sender: No OFD packet to send [02:38:39]OFD Sender: No OFD packet to send [02:38:44]OFD Sender: No OFD packet to send [02:38:49]OFD Sender: No OFD packet to send [02:38:54]OFD Sender: No OFD packet to send [02:38:59]OFD Sender: No OFD packet to send [02:39:04]OFD Sender: No OFD packet to send [02:39:09]OFD Sender: No OFD packet to send [02:39:14]OFD Sender: No OFD packet to send [02:39:19]OFD Sender: No OFD packet to send [02:39:24]OFD Sender: No OFD packet to send [02:39:29]OFD Sender: No OFD packet to send [02:39:34]OFD Sender: No OFD packet to send [02:39:39]OFD Sender: No OFD packet to send [02:39:44]OFD Sender: No OFD packet to send [02:39:49]OFD Sender: No OFD packet to send [02:39:54]OFD Sender: No OFD packet to send [02:39:59]OFD Sender: No OFD packet to send [02:40:04]OFD Sender: No OFD packet to send [02:40:09]OFD Sender: No OFD packet to send [02:40:14]OFD Sender: No OFD packet to send [02:40:19]OFD Sender: No OFD packet to send [02:40:24]OFD Sender: No OFD packet to send [02:40:29]OFD Sender: No OFD packet to send [02:40:34]OFD Sender: No OFD packet to send [02:40:39]OFD Sender: No OFD packet to send [02:40:44]OFD Sender: No OFD packet to send [02:40:49]OFD Sender: No OFD packet to send [02:40:54]OFD Sender: No OFD packet to send [02:40:59]OFD Sender: No OFD packet to send [02:41:04]OFD Sender: No OFD packet to send [02:41:09]OFD Sender: No OFD packet to send [02:41:14]OFD Sender: No OFD packet to send [02:41:19]OFD Sender: No OFD packet to send [02:41:24]OFD Sender: No OFD packet to send [02:41:29]OFD Sender: No OFD packet to send [02:41:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:19]OFD Sender: No OFD packet to send [02:42:24]OFD Sender: No OFD packet to send [02:42:29]OFD Sender: No OFD packet to send [02:42:34]OFD Sender: No OFD packet to send [02:42:39]OFD Sender: No OFD packet to send [02:42:44]OFD Sender: No OFD packet to send [02:42:49]OFD Sender: No OFD packet to send [02:42:54]OFD Sender: No OFD packet to send [02:42:59]OFD Sender: No OFD packet to send [02:43:04]OFD Sender: No OFD packet to send [02:43:09]OFD Sender: No OFD packet to send [02:43:14]OFD Sender: No OFD packet to send [02:43:19]OFD Sender: No OFD packet to send [02:43:24]OFD Sender: No OFD packet to send [02:43:29]OFD Sender: No OFD packet to send [02:43:34]OFD Sender: No OFD packet to send [02:43:39]OFD Sender: No OFD packet to send [02:43:44]OFD Sender: No OFD packet to send [02:43:49]OFD Sender: No OFD packet to send [02:43:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:55]OFD Sender: No OFD packet to send [03:00:00]OFD Sender: No OFD packet to send [03:00:05]OFD Sender: No OFD packet to send [03:00:10]OFD Sender: No OFD packet to send [03:00:15]OFD Sender: No OFD packet to send [03:00:20]OFD Sender: No OFD packet to send [03:00:25]OFD Sender: No OFD packet to send [03:00:30]OFD Sender: No OFD packet to send [03:00:35]OFD Sender: No OFD packet to send [03:00:40]OFD Sender: No OFD packet to send [03:00:45]OFD Sender: No OFD packet to send [03:00:50]OFD Sender: No OFD packet to send [03:00:55]OFD Sender: No OFD packet to send [03:01:00]OFD Sender: No OFD packet to send [03:01:05]OFD Sender: No OFD packet to send [03:01:10]OFD Sender: No OFD packet to send [03:01:15]OFD Sender: No OFD packet to send [03:01:20]OFD Sender: No OFD packet to send [03:01:25]OFD Sender: No OFD packet to send [03:01:30]OFD Sender: No OFD packet to send [03:01:35]OFD Sender: No OFD packet to send [03:01:40]OFD Sender: No OFD packet to send [03:01:45]OFD Sender: No OFD packet to send [03:01:50]OFD Sender: No OFD packet to send [03:01:55]OFD Sender: No OFD packet to send [03:02:00]OFD Sender: No OFD packet to send [03:02:05]OFD Sender: No OFD packet to send [03:02:10]OFD Sender: No OFD packet to send [03:02:15]OFD Sender: No OFD packet to send [03:02:20]OFD Sender: No OFD packet to send [03:02:25]OFD Sender: No OFD packet to send [03:02:30]OFD Sender: No OFD packet to send [03:02:35]OFD Sender: No OFD packet to send [03:02:40]OFD Sender: No OFD packet to send [03:02:45]OFD Sender: No OFD packet to send [03:02:50]OFD Sender: No OFD packet to send [03:02:55]OFD Sender: No OFD packet to send [03:03:00]OFD Sender: No OFD packet to send [03:03:05]OFD Sender: No OFD packet to send [03:03:10]OFD Sender: No OFD packet to send [03:03:15]OFD Sender: No OFD packet to send [03:03:20]OFD Sender: No OFD packet to send [03:03:25]OFD Sender: No OFD packet to send [03:03:30]OFD Sender: No OFD packet to send [03:03:35]OFD Sender: No OFD packet to send [03:03:40]OFD Sender: No OFD packet to send [03:03:45]OFD Sender: No OFD packet to send [03:03:50]OFD Sender: No OFD packet to send [03:03:55]OFD Sender: No OFD packet to send [03:04:00]OFD Sender: No OFD packet to send [03:04:05]OFD Sender: No OFD packet to send