[03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]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:31]OFD Sender: No OFD packet to send [03:22:36]OFD Sender: No OFD packet to send [03:22:41]OFD Sender: No OFD packet to send [03:22:46]OFD Sender: No OFD packet to send [03:22:51]OFD Sender: No OFD packet to send [03:22:56]OFD Sender: No OFD packet to send [03:23:01]OFD Sender: No OFD packet to send [03:23:06]OFD Sender: No OFD packet to send [03:23:11]OFD Sender: No OFD packet to send [03:23:16]OFD Sender: No OFD packet to send [03:23:21]OFD Sender: No OFD packet to send [03:23:26]OFD Sender: No OFD packet to send [03:23:31]OFD Sender: No OFD packet to send [03:23:36]OFD Sender: No OFD packet to send [03:23:41]OFD Sender: No OFD packet to send [03:23:46]OFD Sender: No OFD packet to send [03:23:51]OFD Sender: No OFD packet to send [03:23:56]OFD Sender: No OFD packet to send [03:24:01]OFD Sender: No OFD packet to send [03:24:06]OFD Sender: No OFD packet to send [03:24:11]OFD Sender: No OFD packet to send [03:24:16]OFD Sender: No OFD packet to send [03:24:21]OFD Sender: No OFD packet to send [03:24:26]OFD Sender: No OFD packet to send [03:24:31]OFD Sender: No OFD packet to send [03:24:36]OFD Sender: No OFD packet to send [03:24:41]OFD Sender: No OFD packet to send [03:24:46]OFD Sender: No OFD packet to send [03:24:51]OFD Sender: No OFD packet to send [03:24:56]OFD Sender: No OFD packet to send [03:25:01]OFD Sender: No OFD packet to send [03:25:06]OFD Sender: No OFD packet to send [03:25:11]OFD Sender: No OFD packet to send [03:25:16]OFD Sender: No OFD packet to send [03:25:21]OFD Sender: No OFD packet to send [03:25:26]OFD Sender: No OFD packet to send [03:25:31]OFD Sender: No OFD packet to send [03:25:36]OFD Sender: No OFD packet to send [03:25:41]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:46]OFD Sender: No OFD packet to send [03:26:51]OFD Sender: No OFD packet to send [03:26:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]OFD Sender: No OFD packet to send [03:28:01]OFD Sender: No OFD packet to send [03:28:06]OFD Sender: No OFD packet to send [03:28:11]OFD Sender: No OFD packet to send [03:28:16]OFD Sender: No OFD packet to send [03:28:21]OFD Sender: No OFD packet to send [03:28:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:51]OFD Sender: No OFD packet to send [03:31:56]OFD Sender: No OFD packet to send [03:32:01]OFD Sender: No OFD packet to send [03:32:06]OFD Sender: No OFD packet to send [03:32:11]OFD Sender: No OFD packet to send [03:32:16]OFD Sender: No OFD packet to send [03:32:21]OFD Sender: No OFD packet to send [03:32:26]OFD Sender: No OFD packet to send [03:32:31]OFD Sender: No OFD packet to send [03:32:36]OFD Sender: No OFD packet to send [03:32:41]OFD Sender: No OFD packet to send [03:32:46]OFD Sender: No OFD packet to send [03:32:51]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:51]OFD Sender: No OFD packet to send [03:34:56]OFD Sender: No OFD packet to send [03:35:01]OFD Sender: No OFD packet to send [03:35:06]OFD Sender: No OFD packet to send [03:35:11]OFD Sender: No OFD packet to send [03:35:16]OFD Sender: No OFD packet to send [03:35:21]OFD Sender: No OFD packet to send [03:35:26]OFD Sender: No OFD packet to send [03:35:31]OFD Sender: No OFD packet to send [03:35:36]OFD Sender: No OFD packet to send [03:35:41]OFD Sender: No OFD packet to send [03:35:46]OFD Sender: No OFD packet to send [03:35:51]OFD Sender: No OFD packet to send [03:35:56]OFD Sender: No OFD packet to send [03:36:01]OFD Sender: No OFD packet to send [03:36:06]OFD Sender: No OFD packet to send [03:36:11]OFD Sender: No OFD packet to send [03:36:16]OFD Sender: No OFD packet to send [03:36:21]OFD Sender: No OFD packet to send [03:36:26]OFD Sender: No OFD packet to send [03:36:31]OFD Sender: No OFD packet to send [03:36:36]OFD Sender: No OFD packet to send [03:36:41]OFD Sender: No OFD packet to send [03:36:46]OFD Sender: No OFD packet to send [03:36:51]OFD Sender: No OFD packet to send [03:36:56]OFD Sender: No OFD packet to send [03:37:01]OFD Sender: No OFD packet to send [03:37:06]OFD Sender: No OFD packet to send [03:37:11]OFD Sender: No OFD packet to send [03:37:16]OFD Sender: No OFD packet to send [03:37:21]OFD Sender: No OFD packet to send [03:37:26]OFD Sender: No OFD packet to send [03:37:31]OFD Sender: No OFD packet to send [03:37:36]OFD Sender: No OFD packet to send [03:37:41]OFD Sender: No OFD packet to send [03:37:46]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:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]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:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20: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:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:45]accept exits with 7 [05:29:45]New connection [05:29:45]New thread 3066608996 created [05:29:45]Thread 3066752356 joined [05:29:45]Waiting for new connection... [05:29:45] Sock 7.Parse request [05:29:45]Sock 7.Check first char [05:29:45]Sock 7.First char is OK [05:29:45]request: POST /json_proto HTTP/1.0 [05:29:45]Method: POST [05:29:45]URL: /json_proto [05:29:45]Method is POST - this is cgi request [05:29:45]url: /json_proto [05:29:45]query_string will be loaded in cgi processing [05:29:45]execute_cgi json_proto POST (null) [05:29:45]execute_cgi path=json_proto method=POST [05:29:45]POST find Content-Length [05:29:45]Host: 172.17.62.196:8080 [05:29:45]Content-Length: 912 [05:29:45]Content-Type: application/json [05:29:45] [05:29:45]POST finish read [05:29:45]Found Content-Length = 912 [05:29:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16754", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u043F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,07", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:29:45]execute_script... [05:29: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)16754", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u043F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,07", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:29:45]POST & json_proto [05:29:45]process_json_proto [05:29:45]json parsed OK: [05:29:45]protocol is kg_v1.0 [05:29:45]action value=close_receipt [05:29:45]process_action close_receipt [05:29:45]cmd_close_receipt [05:29:45]MH_GetDate [05:29:45]Write to MH i2c: F0 00 00 B5 14 B8 [05:29:45]Write i2c OK [05:29:45]MH_I2C_Read... [05:29:45]Read from MH i2c: F0 [05:29:45]MH_I2C_Read... [05:29:45]Read from MH i2c: F0 09 00 [05:29:45]MH_I2C_Read... [05:29:45]Read from MH i2c: F0 09 00 B5 14 00 4D 4E F2 66 CE CC 0E 66 C2 [05:29:45]GetLastDocTimeStamp 1727146740 [05:29:45]current date 1727155789 [05:29:45]FM_GetShiftState [05:29:45]SAM_PROTO_GetShiftState [05:29:45]wFMCommunicate request_size=4 [05:29:45]MH_SAM_APDU [05:29:45]CAPDU: 80 13 01 00 [05:29:45]Write to MH i2c: E2 08 00 B6 14 80 13 01 00 00 00 00 00 47 [05:29:45]Write i2c OK [05:29:45]MH_I2C_Read... [05:29:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:29:45]Read from MH i2c: E2 [05:29:45]MH_I2C_Read... [05:29:45]Read from MH i2c: E2 0E 00 [05:29:45]MH_I2C_Read... [05:29:45]Read from MH i2c: E2 0E 00 B6 14 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7E [05:29:45]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [05:29:45]wFMCommunicate OK [05:29:45]SAM_PROTO_GetShiftState done [05:29:45]FM_GetShiftState done [05:29:45]opened in 1727136720 [05:29:45]opened+sec_in_day 1727223120 [05:29:45]quantity*price = 5000 [05:29:45]sum+1 = 5001 [05:29:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 9 24.09.2024 05:29 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18839 ФПД: 111422785859609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T052949&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18839&fm=111422785859609&tin=02508201610067®Number=0000000000152968&sum=13500 0 [05:29:46]StoreToDocumentArchive [05:29:46]shift 182 fd 18839 [05:29:46]save to /storage/0182/doc_00018839 [05:29:46]save last doc name /storage/0182/doc_00018839 to /storage/kkm_last_doc_name [05:29:46]save OK [05:29:46]Clear old archive folders... [05:29:46]ProcessDocumentItem done err = 0, tmpTLVsize=395 [05:29:46]tlvbuf is 00C49A70 [05:29:46]SAM_PROTO_ClearQueue [05:29:46]wFMCommunicate request_size=4 [05:29:46]MH_SAM_APDU [05:29:46]CAPDU: 80 09 00 00 [05:29:46]Write to MH i2c: E2 08 00 C3 14 80 09 00 00 00 00 00 00 49 [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:29:46]Read from MH i2c: E2 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 C3 14 00 90 00 4B [05:29:46]RAPDU: 90 00 [05:29:46]wFMCommunicate OK [05:29:46]SAM_PROTO_ClearQueue done [05:29:46]KKMCreateOFDPacket [05:29:46]OFDProtocolAddRootSTLVToBuf [05:29:46]FM_MakeSignedData [05:29:46]FM_MakeSignedData [05:29:46]SAM_PROTO_SignData [05:29:46]wFMCommunicate request_size=4 [05:29:46]MH_SAM_APDU [05:29:46]CAPDU: 80 0D 01 02 [05:29:46]Write to MH i2c: E2 08 00 C4 14 80 0D 01 02 00 00 00 00 51 [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:29:46]Read from MH i2c: E2 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 C4 14 00 90 00 4C [05:29:46]RAPDU: 90 00 [05:29:46]wFMCommunicate OK [05:29:46]wFMCommunicate request_size=255 [05:29:46]MH_SAM_APDU [05:29:46]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 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 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 [05:29:46]Write to MH i2c: E2 02 01 C5 14 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 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 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 00 00 59 [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:29:46]Read from MH i2c: E2 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 C5 14 00 90 00 4D [05:29:46]RAPDU: 90 00 [05:29:46]wFMCommunicate OK [05:29:46]wFMCommunicate request_size=154 [05:29:46]MH_SAM_APDU [05:29:46]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4D 4E F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 97 49 00 00 35 04 06 00 65 56 A3 92 30 19 [05:29:46]Write to MH i2c: E2 9D 00 C6 14 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4D 4E F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 97 49 00 00 35 04 06 00 65 56 A3 92 30 19 00 00 92 [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:29:46]Read from MH i2c: E2 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 03 00 C6 14 00 90 00 4E [05:29:46]RAPDU: 90 00 [05:29:46]wFMCommunicate OK [05:29:46]wFMCommunicate request_size=4 [05:29:46]MH_SAM_APDU [05:29:46]CAPDU: 80 0D 03 02 [05:29:46]Write to MH i2c: E2 08 00 C7 14 80 0D 03 02 00 00 00 00 56 [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:29:46]Read from MH i2c: E2 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 0B 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 0B 00 C7 14 00 F5 0B B9 32 A2 D7 94 A3 90 00 F2 [05:29:46]RAPDU: F5 0B B9 32 A2 D7 94 A3 90 00 [05:29:46]wFMCommunicate OK [05:29:46]SAM_PROTO_SignData done [05:29:46]FM_MakeSignedData done [05:29:46]CreateOFDProtocolMessage [05:29:46]wFMCommunicate request_size=4 [05:29:46]MH_SAM_APDU [05:29:46]CAPDU: 80 11 00 00 [05:29:46]Write to MH i2c: E2 08 00 C8 14 80 11 00 00 00 00 00 00 56 [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:29:46]Read from MH i2c: E2 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 17 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: E2 17 00 C8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AF [05:29:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [05:29:46]wFMCommunicate OK [05:29:46]CreateOFDProtocolMessage done [05:29:46]OFDSenderStorePacket 18839 [05:29:46]StoreOFDPacket docnum=18839 [05:29:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 9F 01 00 00 8A 0C 97 01 A5 65 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 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 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4D 4E F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 97 49 00 00 35 04 06 00 65 56 A3 92 30 19 F5 0B B9 32 A2 D7 94 A3 [05:29:46]CheckFolder [05:29:46]dirname=/storage/ofd_packets [05:29:46]CheckFolder done [05:29:46]ProducePacketName [05:29:46]name=ofd_packets/00018839 [05:29:46]NVStorageSaveData ofd_packets/00018839 [05:29:46]File name is /storage/ofd_packets/00018839 [05:29:46]Write 445 bytes [05:29:46]NVStorageSaveData done [05:29:46]OFDSenderStorePacket done [05:29:46]KKMCreateOFDPacket done [05:29:46]NVStorageSaveData kkm_last_timestamp [05:29:46]File name is /storage/kkm_last_timestamp [05:29:46]Write 4 bytes [05:29:46]NVStorageSaveData done [05:29:46]ExternCall_PrintAddStr [05:29:46]wPrintStart [05:29:46]Write to MH i2c: 01 00 00 C9 14 DD [05:29:46]Write i2c OK [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: 01 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: 01 07 00 [05:29:46]MH_I2C_Read... [05:29:46]Read from MH i2c: 01 07 00 C9 14 00 00 00 00 00 FF 0F F2 [05:29:46]RasterBufferAndPrint [05:29:46]line Счет N : (3)16754 [05:29:47]line ИНН: 02508201610067 [05:29:47]line Контрольно-Кассовый Чек [05:29:47]line ПРОДАЖА [05:29:47]line Товар: 47011656 [05:29:47]line Водка пшеничная 0,07 [05:29:47]line 1.000 * 50.00 [05:29:47]line = 50.00 [05:29:47]line НДС 12% НСП 1% [05:29:47]line > о реализуемом товаре [05:29:47]line Товар: 4600682557456 [05:29:47]line Напиток FLash up energy эн ж/б 0,5/0,45л [05:29:47]line 1.000 * 85.00 [05:29:47]line = 85.00 [05:29:47]line НДС 12% НСП 1% [05:29:47]line > о реализуемом товаре [05:29:47]line ИТОГО: 135.00 [05:29:47]line НСП 1% : 1.19 [05:29:47]line НДС 12% : 14.34 [05:29:47]line Наличными: 135.00 [05:29:47]line Безнал.: 0.00 [05:29:47]line Место: АЗС № 176 "Партнер Нефть" [05:29:47]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [05:29:47]line СНО: Общий режим [05:29:47]line Чек 9 24.09.2024 05:29 [05:29:47]line Смена: 182 ФФД: 1.0 [05:29:47]line ЗНМ: 0300000010 [05:29:47]line РНМ: 0000000000152968 [05:29:47]line Версия ККМ: v1.0 [05:29:47]line ФМ: 0000000000959456 [05:29:47]line ФД: 18839 [05:29:47]line ФПД: 111422785859609 [05:29:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T052949&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18839&fm=111422785859609&tin=02508201610067®Number=0000000000152968&sum=13500 [05:29:47]line 0 [05:29:47]OFD Sender: Processing packet 18839 [packets to send 7, broken 6] [05:29:47]ProducePacketName [05:29:47]name=ofd_packets/00018839 [05:29:47]OFD Sender: To server: pG, [05:29:47]CommunicateWithHost lk.salyk.kg:30040 [05:29:47]ConnectInit lk.salyk.kg [05:29:47]written 0, free lines is 4095 [05:29:47]Connected sock=9 [05:29:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 9F 01 00 00 8A 0C 97 01 A5 65 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 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 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4D 4E F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 97 49 00 00 35 04 06 00 65 56 A3 92 30 19 F5 0B B9 32 A2 D7 94 A3 [05:29:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1F 48 47 00 70 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 97 49 00 00 F4 03 04 00 AF F7 F1 66 B6 04 01 00 00 20 FA 7B B9 40 3E DB D5 [05:29:47]CommunicateWithHost err = 0 [05:29:47]CheckOFDResponse [05:29:47]1017 (14) - 77093643461234 [05:29:47]1041 (16) - 0000000000959456 [05:29:47]1040 (4) - 18839 [05:29:47]1012 (4) - 23.09.2024 23:20 [05:29:47]1206 (1) - 0 [05:29:47]OFD Sender: Remove packet 18839 [05:29:47]ProducePacketName [05:29:47]name=ofd_packets/00018839 [05:29:47]NVStorageDeleteData [05:29:47]Write to MH i2c: 01 00 00 F8 14 0C [05:29:47]Write i2c OK [05:29:47]MH_I2C_Read... [05:29:47]Read from MH i2c: 01 [05:29:47]MH_I2C_Read... [05:29:47]Read from MH i2c: 01 07 00 [05:29:47]MH_I2C_Read... [05:29:47]Read from MH i2c: 01 07 00 F8 14 00 00 00 00 00 B6 0C D5 [05:29:47]RasterBufferAndPrint [05:29:47]line [05:29:47]line [05:29:47]line [05:29:47]line [05:29:47]line [05:29:47]written 0, free lines is 3263 [05:29:47]MH_Cut [05:29:47]Write to MH i2c: D1 01 00 FF 14 01 E5 [05:29:47]Write i2c OK [05:29:47]MH_I2C_Read... [05:29:47]Read from MH i2c: D1 [05:29:47]MH_I2C_Read... [05:29:47]Read from MH i2c: D1 01 00 [05:29:47]MH_I2C_Read... [05:29:47]Read from MH i2c: D1 01 00 FF 14 00 E4 [05:29:47]Write to MH i2c: 01 00 00 00 15 15 [05:29:47]Write i2c OK [05:29:47]MH_I2C_Read... [05:29:48]OFD Sender: No OFD packet to send [05:29:48]*** Cut start [05:29:48]*** Partial cut [05:29:48]*** CUTSNS_PIN = 1 [05:29:48]*** CUTSNS_PIN = 0 [05:29:48]*** Brake cut motor [05:29:49]Read from MH i2c: 01 [05:29:49]MH_I2C_Read... [05:29:49]*** Stop cut motor [05:29:49]*** Cut end [05:29:49]Read from MH i2c: 01 07 00 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: 01 07 00 00 15 00 00 00 00 00 FF 0F 2A [05:29:49]process_action close_receipt done [05:29:49]requested_data is exist [05:29:49]produce_requested_data [05:29:49]requested_item fm.sn is exist - process it [05:29:49]wFMCommunicate request_size=4 [05:29:49]MH_SAM_APDU [05:29:49]CAPDU: 80 11 00 00 [05:29:49]Write to MH i2c: E2 08 00 01 15 80 11 00 00 00 00 00 00 90 [05:29:49]Write i2c OK [05:29:49]MH_I2C_Read... [05:29:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:29:49]Read from MH i2c: E2 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: E2 17 00 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: E2 17 00 01 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E9 [05:29:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [05:29:49]wFMCommunicate OK [05:29:49]requested_item fd.num is exist - process it [05:29:49]SAM_PROTO_GetFieldsCounters [05:29:49]wFMCommunicate request_size=4 [05:29:49]MH_SAM_APDU [05:29:49]CAPDU: 80 13 00 00 [05:29:49]Write to MH i2c: E2 08 00 02 15 80 13 00 00 00 00 00 00 93 [05:29:49]Write i2c OK [05:29:49]MH_I2C_Read... [05:29:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:29:49]Read from MH i2c: E2 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: E2 62 00 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: E2 62 00 02 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 97 49 00 00 0E 04 04 00 B6 00 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 71 [05:29:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 97 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:29:49]wFMCommunicate OK [05:29:49]SAM_PROTO_GetFieldsCounters done [05:29:49]requested_item shift.num is exist - process it [05:29:49]requested_item shift.opened is exist - process it [05:29:49]req_shift_opened [05:29:49]FM_GetShiftState [05:29:49]SAM_PROTO_GetShiftState [05:29:49]wFMCommunicate request_size=4 [05:29:49]MH_SAM_APDU [05:29:49]CAPDU: 80 13 01 00 [05:29:49]Write to MH i2c: E2 08 00 03 15 80 13 01 00 00 00 00 00 95 [05:29:49]Write i2c OK [05:29:49]MH_I2C_Read... [05:29:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:29:49]Read from MH i2c: E2 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: E2 0E 00 [05:29:49]MH_I2C_Read... [05:29:49]Read from MH i2c: E2 0E 00 03 15 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 CC [05:29:49]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [05:29:49]wFMCommunicate OK [05:29:49]SAM_PROTO_GetShiftState done [05:29:49]FM_GetShiftState done [05:29:49]req_shift_opened done [05:29:49]requested_item shift.open_date is exist - process it [05:29:49]req_shift_open_date [05:29:49]req_shift_open_date done [05:29:49]produce_requested_data done [05:29:49]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18839,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [05:29:49]process_action_free close_receipt [05:29:49]json_value_free [05:29:49]json_value_free done [05:29:49]process_json_proto returns [05:29:49]Send response to host [05:29:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18839,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [05:29:49]free response buf [05:29:49]execute_script done [05:29:49]execute_script returns [05:29:49]free content buf [05:29:49]Sock 7.Close socket [05:29:49]Sock 7.Thread stoped [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:39]OFD Sender: No OFD packet to send [05:46:44]OFD Sender: No OFD packet to send [05:46:49]OFD Sender: No OFD packet to send [05:46:54]OFD Sender: No OFD packet to send [05:46:59]OFD Sender: No OFD packet to send [05:47:04]OFD Sender: No OFD packet to send [05:47:09]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [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:26]accept exits with 10 [06:04:26]New connection [06:04:26]New thread 3066752356 created [06:04:26]Thread 3066608996 joined [06:04:26]Waiting for new connection... [06:04:26] Sock 10.Parse request [06:04:26]Sock 10.Check first char [06:04:26]Sock 10.First char is OK [06:04:26]request: POST /json_proto HTTP/1.0 [06:04:26]Method: POST [06:04:26]URL: /json_proto [06:04:26]Method is POST - this is cgi request [06:04:26]url: /json_proto [06:04:26]query_string will be loaded in cgi processing [06:04:26]execute_cgi json_proto POST (null) [06:04:26]execute_cgi path=json_proto method=POST [06:04:26]POST find Content-Length [06:04:26]Host: 172.17.62.196:8080 [06:04:26]Content-Length: 622 [06:04:26]Content-Type: application/json [06:04:26] [06:04:26]POST finish read [06:04:26]Found Content-Length = 622 [06:04:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16755", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:04:26]execute_script... [06:04: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)16755", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:04:26]POST & json_proto [06:04:26]process_json_proto [06:04:26]json parsed OK: [06:04:26]protocol is kg_v1.0 [06:04:26]action value=close_receipt [06:04:26]process_action close_receipt [06:04:26]cmd_close_receipt [06:04:26]MH_GetDate [06:04:26]Write to MH i2c: F0 00 00 04 15 08 [06:04:26]Write i2c OK [06:04:26]MH_I2C_Read... [06:04:26]Read from MH i2c: F0 [06:04:26]MH_I2C_Read... [06:04:26]Read from MH i2c: F0 09 00 [06:04:26]MH_I2C_Read... [06:04:26]Read from MH i2c: F0 09 00 04 15 00 6F 56 F2 66 CE CC 0E 66 3C [06:04:26]GetLastDocTimeStamp 1727155789 [06:04:26]current date 1727157871 [06:04:26]FM_GetShiftState [06:04:26]SAM_PROTO_GetShiftState [06:04:26]wFMCommunicate request_size=4 [06:04:26]MH_SAM_APDU [06:04:26]CAPDU: 80 13 01 00 [06:04:26]Write to MH i2c: E2 08 00 05 15 80 13 01 00 00 00 00 00 97 [06:04:26]Write i2c OK [06:04:26]MH_I2C_Read... [06:04:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:04:26]Read from MH i2c: E2 [06:04:26]MH_I2C_Read... [06:04:26]Read from MH i2c: E2 0E 00 [06:04:26]MH_I2C_Read... [06:04:26]Read from MH i2c: E2 0E 00 05 15 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 CE [06:04:26]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [06:04:26]wFMCommunicate OK [06:04:26]SAM_PROTO_GetShiftState done [06:04:26]FM_GetShiftState done [06:04:26]opened in 1727136720 [06:04:26]opened+sec_in_day 1727223120 [06:04:26]quantity*price = 14400 [06:04:26]sum+1 = 14401 [06:04:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 10 24.09.2024 06:04 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18840 ФПД: 84721645974872 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T060431&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18840&fm=84721645974872&tin=02508201610067®Number=0000000000152968&sum=14400 0 [06:04:28]StoreToDocumentArchive [06:04:28]shift 182 fd 18840 [06:04:28]save to /storage/0182/doc_00018840 [06:04:28]save last doc name /storage/0182/doc_00018840 to /storage/kkm_last_doc_name [06:04:28]save OK [06:04:28]Clear old archive folders... [06:04:28]ProcessDocumentItem done err = 0, tmpTLVsize=275 [06:04:28]tlvbuf is 00C49BC0 [06:04:28]SAM_PROTO_ClearQueue [06:04:28]wFMCommunicate request_size=4 [06:04:28]MH_SAM_APDU [06:04:28]CAPDU: 80 09 00 00 [06:04:28]Write to MH i2c: E2 08 00 12 15 80 09 00 00 00 00 00 00 99 [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:04:28]Read from MH i2c: E2 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 12 15 00 90 00 9B [06:04:28]RAPDU: 90 00 [06:04:28]wFMCommunicate OK [06:04:28]SAM_PROTO_ClearQueue done [06:04:28]KKMCreateOFDPacket [06:04:28]OFDProtocolAddRootSTLVToBuf [06:04:28]FM_MakeSignedData [06:04:28]FM_MakeSignedData [06:04:28]SAM_PROTO_SignData [06:04:28]wFMCommunicate request_size=4 [06:04:28]MH_SAM_APDU [06:04:28]CAPDU: 80 0D 01 02 [06:04:28]Write to MH i2c: E2 08 00 13 15 80 0D 01 02 00 00 00 00 A1 [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:04:28]Read from MH i2c: E2 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 13 15 00 90 00 9C [06:04:28]RAPDU: 90 00 [06:04:28]wFMCommunicate OK [06:04:28]wFMCommunicate request_size=255 [06:04:28]MH_SAM_APDU [06:04:28]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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 56 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [06:04:28]Write to MH i2c: E2 02 01 14 15 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 56 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 89 [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:04:28]Read from MH i2c: E2 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 14 15 00 90 00 9D [06:04:28]RAPDU: 90 00 [06:04:28]wFMCommunicate OK [06:04:28]wFMCommunicate request_size=34 [06:04:28]MH_SAM_APDU [06:04:28]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 98 49 00 00 35 04 06 00 4D 0D CB 9C F5 58 [06:04:28]Write to MH i2c: E2 25 00 15 15 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 98 49 00 00 35 04 06 00 4D 0D CB 9C F5 58 00 00 5A [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:04:28]Read from MH i2c: E2 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 03 00 15 15 00 90 00 9E [06:04:28]RAPDU: 90 00 [06:04:28]wFMCommunicate OK [06:04:28]wFMCommunicate request_size=4 [06:04:28]MH_SAM_APDU [06:04:28]CAPDU: 80 0D 03 02 [06:04:28]Write to MH i2c: E2 08 00 16 15 80 0D 03 02 00 00 00 00 A6 [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:04:28]Read from MH i2c: E2 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 0B 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 0B 00 16 15 00 41 79 A4 BB 3D 69 30 62 90 00 F8 [06:04:28]RAPDU: 41 79 A4 BB 3D 69 30 62 90 00 [06:04:28]wFMCommunicate OK [06:04:28]SAM_PROTO_SignData done [06:04:28]FM_MakeSignedData done [06:04:28]CreateOFDProtocolMessage [06:04:28]wFMCommunicate request_size=4 [06:04:28]MH_SAM_APDU [06:04:28]CAPDU: 80 11 00 00 [06:04:28]Write to MH i2c: E2 08 00 17 15 80 11 00 00 00 00 00 00 A6 [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:04:28]Read from MH i2c: E2 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 17 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: E2 17 00 17 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FF [06:04:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [06:04:28]wFMCommunicate OK [06:04:28]CreateOFDProtocolMessage done [06:04:28]OFDSenderStorePacket 18840 [06:04:28]StoreOFDPacket docnum=18840 [06:04:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 7D F8 1F 01 43 98 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 56 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 98 49 00 00 35 04 06 00 4D 0D CB 9C F5 58 41 79 A4 BB 3D 69 30 62 [06:04:28]CheckFolder [06:04:28]dirname=/storage/ofd_packets [06:04:28]CheckFolder done [06:04:28]ProducePacketName [06:04:28]name=ofd_packets/00018840 [06:04:28]NVStorageSaveData ofd_packets/00018840 [06:04:28]File name is /storage/ofd_packets/00018840 [06:04:28]Write 325 bytes [06:04:28]NVStorageSaveData done [06:04:28]OFDSenderStorePacket done [06:04:28]KKMCreateOFDPacket done [06:04:28]NVStorageSaveData kkm_last_timestamp [06:04:28]File name is /storage/kkm_last_timestamp [06:04:28]Write 4 bytes [06:04:28]NVStorageSaveData done [06:04:28]ExternCall_PrintAddStr [06:04:28]wPrintStart [06:04:28]Write to MH i2c: 01 00 00 18 15 2D [06:04:28]Write i2c OK [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: 01 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: 01 07 00 [06:04:28]MH_I2C_Read... [06:04:28]Read from MH i2c: 01 07 00 18 15 00 00 00 00 00 FF 0F 42 [06:04:28]RasterBufferAndPrint [06:04:28]line Счет N : (3)16755 [06:04:28]line ИНН: 02508201610067 [06:04:28]line Контрольно-Кассовый Чек [06:04:28]line ПРОДАЖА [06:04:28]line Товар: 48743587 [06:04:28]line Сигареты Winston XStyle Silver [06:04:28]line 1.000 * 144.00 [06:04:28]line = 144.00 [06:04:28]line НДС 12% НСП 1% [06:04:28]line > о реализуемом товаре [06:04:28]line ИТОГО: 144.00 [06:04:28]line НСП 1% : 1.27 [06:04:28]line НДС 12% : 15.29 [06:04:28]line Наличными: 144.00 [06:04:28]line Безнал.: 0.00 [06:04:28]line Место: АЗС № 176 "Партнер Нефть" [06:04:28]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [06:04:28]line СНО: Общий режим [06:04:28]line Чек 10 24.09.2024 06:04 [06:04:28]line Смена: 182 ФФД: 1.0 [06:04:28]line ЗНМ: 0300000010 [06:04:28]line РНМ: 0000000000152968 [06:04:28]line Версия ККМ: v1.0 [06:04:28]line ФМ: 0000000000959456 [06:04:28]line ФД: 18840 [06:04:28]line ФПД: 84721645974872 [06:04:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T060431&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18840&fm=84721645974872&tin=02508201610067®Number=0000000000152968&sum=14400 [06:04:28]OFD Sender: Processing packet 18840 [packets to send 7, broken 6] [06:04:28]ProducePacketName [06:04:28]name=ofd_packets/00018840 [06:04:28]OFD Sender: To server: pG, [06:04:28]CommunicateWithHost lk.salyk.kg:30040 [06:04:28]ConnectInit lk.salyk.kg [06:04:28]line 0 [06:04:28]written 0, free lines is 4095 [06:04:29]Connected sock=9 [06:04:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 7D F8 1F 01 43 98 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 56 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 98 49 00 00 35 04 06 00 4D 0D CB 9C F5 58 41 79 A4 BB 3D 69 30 62 [06:04:29]Write to MH i2c: 01 00 00 41 15 56 [06:04:29]Write i2c OK [06:04:29]MH_I2C_Read... [06:04:29]Read from MH i2c: 01 [06:04:29]MH_I2C_Read... [06:04:29]Read from MH i2c: 01 07 00 [06:04:29]MH_I2C_Read... [06:04:29]Read from MH i2c: 01 07 00 41 15 00 00 00 00 00 09 0D 73 [06:04:29]RasterBufferAndPrint [06:04:29]line [06:04:29]line [06:04:29]line [06:04:29]line [06:04:29]line [06:04:29]written 0, free lines is 3343 [06:04:29]MH_Cut [06:04:29]Write to MH i2c: D1 01 00 48 15 01 2F [06:04:29]Write i2c OK [06:04:29]MH_I2C_Read... [06:04:29]Read from MH i2c: D1 [06:04:29]MH_I2C_Read... [06:04:29]Read from MH i2c: D1 01 00 [06:04:29]MH_I2C_Read... [06:04:29]Read from MH i2c: D1 01 00 48 15 00 2E [06:04:29]Write to MH i2c: 01 00 00 49 15 5E [06:04:29]Write i2c OK [06:04:29]MH_I2C_Read... [06:04:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 81 70 47 00 A5 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 98 49 00 00 F4 03 04 00 D1 FF F1 66 B6 04 01 00 00 C7 45 9D 72 B3 19 3A 39 [06:04:29]CommunicateWithHost err = 0 [06:04:29]CheckOFDResponse [06:04:29]1017 (14) - 77093643461234 [06:04:29]1041 (16) - 0000000000959456 [06:04:29]1040 (4) - 18840 [06:04:29]1012 (4) - 23.09.2024 23:54 [06:04:29]1206 (1) - 0 [06:04:29]OFD Sender: Remove packet 18840 [06:04:29]ProducePacketName [06:04:29]name=ofd_packets/00018840 [06:04:29]NVStorageDeleteData [06:04:29]OFD Sender: No OFD packet to send [06:04:30]*** Cut start [06:04:30]*** Partial cut [06:04:30]*** CUTSNS_PIN = 1 [06:04:30]*** CUTSNS_PIN = 0 [06:04:30]*** Brake cut motor [06:04:30]Read from MH i2c: 01 [06:04:30]MH_I2C_Read... [06:04:30]*** Stop cut motor [06:04:30]*** Cut end [06:04:30]Read from MH i2c: 01 07 00 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: 01 07 00 49 15 00 00 00 00 00 FF 0F 73 [06:04:30]process_action close_receipt done [06:04:30]requested_data is exist [06:04:30]produce_requested_data [06:04:30]requested_item fm.sn is exist - process it [06:04:30]wFMCommunicate request_size=4 [06:04:30]MH_SAM_APDU [06:04:30]CAPDU: 80 11 00 00 [06:04:30]Write to MH i2c: E2 08 00 4A 15 80 11 00 00 00 00 00 00 D9 [06:04:30]Write i2c OK [06:04:30]MH_I2C_Read... [06:04:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:04:30]Read from MH i2c: E2 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: E2 17 00 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: E2 17 00 4A 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 32 [06:04:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [06:04:30]wFMCommunicate OK [06:04:30]requested_item fd.num is exist - process it [06:04:30]SAM_PROTO_GetFieldsCounters [06:04:30]wFMCommunicate request_size=4 [06:04:30]MH_SAM_APDU [06:04:30]CAPDU: 80 13 00 00 [06:04:30]Write to MH i2c: E2 08 00 4B 15 80 13 00 00 00 00 00 00 DC [06:04:30]Write i2c OK [06:04:30]MH_I2C_Read... [06:04:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:04:30]Read from MH i2c: E2 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: E2 62 00 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: E2 62 00 4B 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 98 49 00 00 0E 04 04 00 B6 00 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 BE [06:04:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 98 49 00 00 0E 04 04 00 B6 00 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 [06:04:30]wFMCommunicate OK [06:04:30]SAM_PROTO_GetFieldsCounters done [06:04:30]requested_item shift.num is exist - process it [06:04:30]requested_item shift.opened is exist - process it [06:04:30]req_shift_opened [06:04:30]FM_GetShiftState [06:04:30]SAM_PROTO_GetShiftState [06:04:30]wFMCommunicate request_size=4 [06:04:30]MH_SAM_APDU [06:04:30]CAPDU: 80 13 01 00 [06:04:30]Write to MH i2c: E2 08 00 4C 15 80 13 01 00 00 00 00 00 DE [06:04:30]Write i2c OK [06:04:30]MH_I2C_Read... [06:04:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:04:30]Read from MH i2c: E2 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: E2 0E 00 [06:04:30]MH_I2C_Read... [06:04:30]Read from MH i2c: E2 0E 00 4C 15 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 15 [06:04:30]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [06:04:30]wFMCommunicate OK [06:04:30]SAM_PROTO_GetShiftState done [06:04:30]FM_GetShiftState done [06:04:30]req_shift_opened done [06:04:30]requested_item shift.open_date is exist - process it [06:04:30]req_shift_open_date [06:04:30]req_shift_open_date done [06:04:30]produce_requested_data done [06:04:30]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18840,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [06:04:30]process_action_free close_receipt [06:04:30]json_value_free [06:04:30]json_value_free done [06:04:30]process_json_proto returns [06:04:30]Send response to host [06:04:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18840,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [06:04:30]free response buf [06:04:30]execute_script done [06:04:30]execute_script returns [06:04:30]free content buf [06:04:30]Sock 10.Close socket [06:04:30]Sock 10.Thread stoped [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:20]OFD Sender: No OFD packet to send [06:06:25]OFD Sender: No OFD packet to send [06:06:30]OFD Sender: No OFD packet to send [06:06:35]OFD Sender: No OFD packet to send [06:06:40]OFD Sender: No OFD packet to send [06:06:45]OFD Sender: No OFD packet to send [06:06:50]OFD Sender: No OFD packet to send [06:06:55]OFD Sender: No OFD packet to send [06:07:00]OFD Sender: No OFD packet to send [06:07:05]OFD Sender: No OFD packet to send [06:07:10]OFD Sender: No OFD packet to send [06:07:15]OFD Sender: No OFD packet to send [06:07:20]OFD Sender: No OFD packet to send [06:07:25]OFD Sender: No OFD packet to send [06:07:30]OFD Sender: No OFD packet to send [06:07:35]OFD Sender: No OFD packet to send [06:07:40]OFD Sender: No OFD packet to send [06:07:45]OFD Sender: No OFD packet to send [06:07:50]OFD Sender: No OFD packet to send [06:07:55]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]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:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:11]OFD Sender: No OFD packet to send [06:28:16]OFD Sender: No OFD packet to send [06:28:21]OFD Sender: No OFD packet to send [06:28:26]OFD Sender: No OFD packet to send [06:28:31]OFD Sender: No OFD packet to send [06:28:36]OFD Sender: No OFD packet to send [06:28:41]OFD Sender: No OFD packet to send [06:28:46]OFD Sender: No OFD packet to send [06:28:51]OFD Sender: No OFD packet to send [06:28:56]OFD Sender: No OFD packet to send [06:29:01]OFD Sender: No OFD packet to send [06:29:06]OFD Sender: No OFD packet to send [06:29:11]OFD Sender: No OFD packet to send [06:29:16]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:51]OFD Sender: No OFD packet to send [06:29:56]OFD Sender: No OFD packet to send [06:30:01]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45: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:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:07]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06: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:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [11:58:05]ConnectInit Can't connect to host [11:58:09]OFD Sender: Processing packet 18841 [packets to send 25, broken 6] [11:58:09]ProducePacketName [11:58:09]name=ofd_packets/00018841 [11:58:09]OFD Sender: To server: pG, [11:58:09]CommunicateWithHost lk.salyk.kg:30040 [11:58:09]ConnectInit lk.salyk.kg [11:58:14]ConnectInit Can't take IP for lk.salyk.kg [11:58:14]CommunicateWithHost connect error [11:58:14]CommunicateWithHost err = -1 [11:58:14]OFD Sender: Server communicate error [11:58:19]OFD Sender: Processing packet 18841 [packets to send 25, broken 6] [11:58:19]ProducePacketName [11:58:19]name=ofd_packets/00018841 [11:58:19]OFD Sender: To server: pG, [11:58:19]CommunicateWithHost lk.salyk.kg:30040 [11:58:19]ConnectInit lk.salyk.kg [11:58:19]Connected sock=9 [11:58:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 33 01 00 00 BF A3 2B 01 FF EF 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 30 69 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 99 49 00 00 35 04 06 00 31 8F 62 6B FC 3E F8 64 20 BA 14 B9 F1 24 [11:58:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 83 36 47 00 1A 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 99 49 00 00 F4 03 04 00 BA 52 F2 66 B6 04 01 00 00 33 41 F3 18 1A 8A 62 8B [11:58:19]CommunicateWithHost err = 0 [11:58:19]CheckOFDResponse [11:58:19]1017 (14) - 77093643461234 [11:58:19]1041 (16) - 0000000000959456 [11:58:19]1040 (4) - 18841 [11:58:19]1012 (4) - 24.09.2024 05:48 [11:58:19]1206 (1) - 0 [11:58:19]OFD Sender: Remove packet 18841 [11:58:19]ProducePacketName [11:58:19]name=ofd_packets/00018841 [11:58:19]NVStorageDeleteData [11:58:20]OFD Sender: Processing packet 18842 [packets to send 24, broken 6] [11:58:20]ProducePacketName [11:58:20]name=ofd_packets/00018842 [11:58:20]OFD Sender: To server: pG, [11:58:20]CommunicateWithHost lk.salyk.kg:30040 [11:58:20]ConnectInit lk.salyk.kg [11:58:25]ConnectInit Can't take IP for lk.salyk.kg [11:58:25]CommunicateWithHost connect error [11:58:25]CommunicateWithHost err = -1 [11:58:25]OFD Sender: Server communicate error [11:58:30]OFD Sender: Processing packet 18842 [packets to send 24, broken 6] [11:58:30]ProducePacketName [11:58:30]name=ofd_packets/00018842 [11:58:30]OFD Sender: To server: pG, [11:58:30]CommunicateWithHost lk.salyk.kg:30040 [11:58:30]ConnectInit lk.salyk.kg [11:58:35]ConnectInit Can't take IP for lk.salyk.kg [11:58:35]CommunicateWithHost connect error [11:58:35]CommunicateWithHost err = -1 [11:58:35]OFD Sender: Server communicate error [11:58:40]OFD Sender: Processing packet 18842 [packets to send 24, broken 6] [11:58:40]ProducePacketName [11:58:40]name=ofd_packets/00018842 [11:58:40]OFD Sender: To server: pG, [11:58:40]CommunicateWithHost lk.salyk.kg:30040 [11:58:40]ConnectInit lk.salyk.kg [11:58:40]Connected sock=9 [11:58:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 ED 02 00 00 14 E0 E5 02 58 93 5A 03 01 00 03 00 D9 02 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 14 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 0C 00 00 00 F4 03 04 00 A7 71 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9A 49 00 00 35 04 06 00 C1 ED 47 1B 34 10 BA C6 7F C9 51 58 D1 CF [11:58:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A5 F1 47 00 D3 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9A 49 00 00 F4 03 04 00 CF 52 F2 66 B6 04 01 00 00 96 A2 89 E4 D6 18 23 F3 [11:58:40]CommunicateWithHost err = 0 [11:58:40]CheckOFDResponse [11:58:40]1017 (14) - 77093643461234 [11:58:40]1041 (16) - 0000000000959456 [11:58:40]1040 (4) - 18842 [11:58:40]1012 (4) - 24.09.2024 05:49 [11:58:40]1206 (1) - 0 [11:58:40]OFD Sender: Remove packet 18842 [11:58:40]ProducePacketName [11:58:40]name=ofd_packets/00018842 [11:58:40]NVStorageDeleteData [11:58:41]OFD Sender: Processing packet 18843 [packets to send 23, broken 6] [11:58:41]ProducePacketName [11:58:41]name=ofd_packets/00018843 [11:58:41]OFD Sender: To server: pG, [11:58:41]CommunicateWithHost lk.salyk.kg:30040 [11:58:41]ConnectInit lk.salyk.kg [11:58:41]Connected sock=9 [11:58:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 02 00 00 98 DF 1B 02 67 49 5A 03 01 00 03 00 0F 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 0F 00 00 00 00 07 04 06 00 68 8D 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 80 72 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9B 49 00 00 35 04 06 00 76 B6 A9 47 5E BF B6 60 3D 6B 61 09 A6 6F [11:58:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E4 13 47 00 9E A7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9B 49 00 00 F4 03 04 00 D0 52 F2 66 B6 04 01 00 00 E9 56 4D DD 79 68 EC 30 [11:58:41]CommunicateWithHost err = 0 [11:58:41]CheckOFDResponse [11:58:41]1017 (14) - 77093643461234 [11:58:41]1041 (16) - 0000000000959456 [11:58:41]1040 (4) - 18843 [11:58:41]1012 (4) - 24.09.2024 05:49 [11:58:41]1206 (1) - 0 [11:58:41]OFD Sender: Remove packet 18843 [11:58:41]ProducePacketName [11:58:41]name=ofd_packets/00018843 [11:58:41]NVStorageDeleteData [11:58:42]OFD Sender: Processing packet 18844 [packets to send 22, broken 6] [11:58:42]ProducePacketName [11:58:42]name=ofd_packets/00018844 [11:58:42]OFD Sender: To server: pG, [11:58:42]CommunicateWithHost lk.salyk.kg:30040 [11:58:42]ConnectInit lk.salyk.kg [11:58:42]Connected sock=9 [11:58:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 6D 55 26 01 66 F7 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 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 26 78 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9C 49 00 00 35 04 06 00 01 4C 27 AB 55 D4 77 5E 16 CB 83 A7 B1 07 [11:58:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D1 8A 47 00 69 BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9C 49 00 00 F4 03 04 00 D1 52 F2 66 B6 04 01 00 00 54 25 E9 A0 C8 C9 50 C1 [11:58:42]CommunicateWithHost err = 0 [11:58:42]CheckOFDResponse [11:58:42]1017 (14) - 77093643461234 [11:58:42]1041 (16) - 0000000000959456 [11:58:42]1040 (4) - 18844 [11:58:42]1012 (4) - 24.09.2024 05:49 [11:58:42]1206 (1) - 0 [11:58:42]OFD Sender: Remove packet 18844 [11:58:42]ProducePacketName [11:58:42]name=ofd_packets/00018844 [11:58:42]NVStorageDeleteData [11:58:43]OFD Sender: Processing packet 18845 [packets to send 21, broken 6] [11:58:43]ProducePacketName [11:58:43]name=ofd_packets/00018845 [11:58:43]OFD Sender: To server: pG, [11:58:43]CommunicateWithHost lk.salyk.kg:30040 [11:58:43]ConnectInit lk.salyk.kg [11:58:43]Connected sock=9 [11:58:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 17 51 20 01 FA 79 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 DF 79 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9D 49 00 00 35 04 06 00 6E 1E B3 98 66 DF 03 A0 1E 19 B7 BD 35 2C [11:58:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 5D BE 47 00 F2 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9D 49 00 00 F4 03 04 00 D2 52 F2 66 B6 04 01 00 00 11 43 E7 CD AD BA 6F D9 [11:58:43]CommunicateWithHost err = 0 [11:58:43]CheckOFDResponse [11:58:43]1017 (14) - 77093643461234 [11:58:43]1041 (16) - 0000000000959456 [11:58:43]1040 (4) - 18845 [11:58:43]1012 (4) - 24.09.2024 05:49 [11:58:43]1206 (1) - 0 [11:58:43]OFD Sender: Remove packet 18845 [11:58:43]ProducePacketName [11:58:43]name=ofd_packets/00018845 [11:58:43]NVStorageDeleteData [11:58:44]OFD Sender: Processing packet 18846 [packets to send 20, broken 6] [11:58:44]ProducePacketName [11:58:44]name=ofd_packets/00018846 [11:58:44]OFD Sender: To server: pG, [11:58:44]CommunicateWithHost lk.salyk.kg:30040 [11:58:44]ConnectInit lk.salyk.kg [11:58:44]Connected sock=9 [11:58:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 2C 8D 07 01 10 CC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 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 10 00 00 00 F4 03 04 00 78 7B F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9E 49 00 00 35 04 06 00 1D B7 31 FB 8E F2 BD 03 88 CE 29 98 B8 4D [11:58:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 57 0C 47 00 E3 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9E 49 00 00 F4 03 04 00 D3 52 F2 66 B6 04 01 00 00 6A 25 C0 BB 14 9D 09 FE [11:58:44]CommunicateWithHost err = 0 [11:58:44]CheckOFDResponse [11:58:44]1017 (14) - 77093643461234 [11:58:44]1041 (16) - 0000000000959456 [11:58:44]1040 (4) - 18846 [11:58:44]1012 (4) - 24.09.2024 05:49 [11:58:44]1206 (1) - 0 [11:58:44]OFD Sender: Remove packet 18846 [11:58:44]ProducePacketName [11:58:44]name=ofd_packets/00018846 [11:58:44]NVStorageDeleteData [11:58:45]OFD Sender: Processing packet 18847 [packets to send 19, broken 6] [11:58:45]ProducePacketName [11:58:45]name=ofd_packets/00018847 [11:58:45]OFD Sender: To server: pG, [11:58:45]CommunicateWithHost lk.salyk.kg:30040 [11:58:45]ConnectInit lk.salyk.kg [11:58:45]Connected sock=9 [11:58:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 45 E3 08 01 9E BA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 FA 1E 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 7E 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 E7 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 11 00 00 00 F4 03 04 00 7C 7B F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9F 49 00 00 35 04 06 00 E0 D3 25 C0 2A EC CF 21 3B EB 06 29 5E D6 [11:58:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2E 4F 47 00 D5 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 9F 49 00 00 F4 03 04 00 D4 52 F2 66 B6 04 01 00 00 DA 3D 26 83 E8 23 58 03 [11:58:45]CommunicateWithHost err = 0 [11:58:45]CheckOFDResponse [11:58:45]1017 (14) - 77093643461234 [11:58:45]1041 (16) - 0000000000959456 [11:58:45]1040 (4) - 18847 [11:58:45]1012 (4) - 24.09.2024 05:49 [11:58:45]1206 (1) - 0 [11:58:45]OFD Sender: Remove packet 18847 [11:58:45]ProducePacketName [11:58:45]name=ofd_packets/00018847 [11:58:45]NVStorageDeleteData [11:58:46]OFD Sender: Processing packet 18848 [packets to send 18, broken 6] [11:58:46]ProducePacketName [11:58:46]name=ofd_packets/00018848 [11:58:46]OFD Sender: To server: pG, [11:58:46]CommunicateWithHost lk.salyk.kg:30040 [11:58:46]ConnectInit lk.salyk.kg [11:58:46]Connected sock=9 [11:58:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 8B AB 31 01 23 DD 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 38 7C F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A0 49 00 00 35 04 06 00 57 19 1D 66 2E EE 05 E2 A9 E8 77 B5 A6 4F [11:58:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 F1 BD 47 00 34 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A0 49 00 00 F4 03 04 00 D5 52 F2 66 B6 04 01 00 00 0C 1E 16 10 80 E1 EC 64 [11:58:46]CommunicateWithHost err = 0 [11:58:46]CheckOFDResponse [11:58:46]1017 (14) - 77093643461234 [11:58:46]1041 (16) - 0000000000959456 [11:58:46]1040 (4) - 18848 [11:58:46]1012 (4) - 24.09.2024 05:49 [11:58:46]1206 (1) - 0 [11:58:46]OFD Sender: Remove packet 18848 [11:58:46]ProducePacketName [11:58:46]name=ofd_packets/00018848 [11:58:46]NVStorageDeleteData [11:58:47]OFD Sender: Processing packet 18849 [packets to send 17, broken 6] [11:58:47]ProducePacketName [11:58:47]name=ofd_packets/00018849 [11:58:47]OFD Sender: To server: pG, [11:58:47]CommunicateWithHost lk.salyk.kg:30040 [11:58:47]ConnectInit lk.salyk.kg [11:58:47]Connected sock=9 [11:58:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 A9 B9 26 01 76 F9 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 13 00 00 00 F4 03 04 00 5E 7C F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A1 49 00 00 35 04 06 00 7D E7 F0 93 12 7F FF 65 82 3C C9 E6 FC 34 [11:58:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 04 17 47 00 45 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A1 49 00 00 F4 03 04 00 D6 52 F2 66 B6 04 01 00 00 54 AB C7 B3 25 C4 81 D0 [11:58:47]CommunicateWithHost err = 0 [11:58:47]CheckOFDResponse [11:58:47]1017 (14) - 77093643461234 [11:58:47]1041 (16) - 0000000000959456 [11:58:47]1040 (4) - 18849 [11:58:47]1012 (4) - 24.09.2024 05:49 [11:58:47]1206 (1) - 0 [11:58:47]OFD Sender: Remove packet 18849 [11:58:47]ProducePacketName [11:58:47]name=ofd_packets/00018849 [11:58:47]NVStorageDeleteData [11:58:48]OFD Sender: Processing packet 18850 [packets to send 16, broken 6] [11:58:48]ProducePacketName [11:58:48]name=ofd_packets/00018850 [11:58:48]OFD Sender: To server: pG, [11:58:48]CommunicateWithHost lk.salyk.kg:30040 [11:58:48]ConnectInit lk.salyk.kg [11:58:48]Connected sock=9 [11:58:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 94 B8 20 01 E1 F9 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 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 90 59 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 59 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 3F 00 00 00 00 07 04 06 00 90 59 02 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 38 7D F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A2 49 00 00 35 04 06 00 E5 AD FF 41 23 A9 CA 2B F0 13 B3 4A E1 76 [11:58:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 85 74 47 00 00 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 39 35 39 34 35 36 10 04 04 00 A2 49 00 00 F4 03 04 00 D7 52 F2 66 B6 04 01 00 00 9B 64 4F 72 2E E0 10 01 [11:58:48]CommunicateWithHost err = 0 [11:58:48]CheckOFDResponse [11:58:48]1017 (14) - 77093643461234 [11:58:48]1041 (16) - 0000000000959456 [11:58:48]1040 (4) - 18850 [11:58:48]1012 (4) - 24.09.2024 05:49 [11:58:48]1206 (1) - 0 [11:58:48]OFD Sender: Remove packet 18850 [11:58:48]ProducePacketName [11:58:48]name=ofd_packets/00018850 [11:58:48]NVStorageDeleteData [11:58:49]OFD Sender: Processing packet 18851 [packets to send 15, broken 6] [11:58:49]ProducePacketName [11:58:49]name=ofd_packets/00018851 [11:58:49]OFD Sender: To server: pG, [11:58:49]CommunicateWithHost lk.salyk.kg:30040 [11:58:49]ConnectInit lk.salyk.kg [11:58:49]Connected sock=9 [11:58:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 B0 01 00 00 7B F6 A8 01 D1 1F 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 88 84 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A3 49 00 00 35 04 06 00 68 27 0D 54 A6 E1 9C 31 69 49 94 ED 4E 0C [11:58:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 46 B2 47 00 C1 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A3 49 00 00 F4 03 04 00 D8 52 F2 66 B6 04 01 00 00 81 4B F4 C1 E1 8F 34 49 [11:58:49]CommunicateWithHost err = 0 [11:58:49]CheckOFDResponse [11:58:49]1017 (14) - 77093643461234 [11:58:49]1041 (16) - 0000000000959456 [11:58:49]1040 (4) - 18851 [11:58:49]1012 (4) - 24.09.2024 05:49 [11:58:49]1206 (1) - 0 [11:58:49]OFD Sender: Remove packet 18851 [11:58:49]ProducePacketName [11:58:49]name=ofd_packets/00018851 [11:58:49]NVStorageDeleteData [11:58:50]OFD Sender: Processing packet 18852 [packets to send 14, broken 6] [11:58:50]ProducePacketName [11:58:50]name=ofd_packets/00018852 [11:58:50]OFD Sender: To server: pG, [11:58:50]CommunicateWithHost lk.salyk.kg:30040 [11:58:50]ConnectInit lk.salyk.kg [11:58:50]Connected sock=9 [11:58:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 82 84 1D 01 F9 04 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1D 8B F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A4 49 00 00 35 04 06 00 BA 44 2B 81 E7 BB C7 5A 2B 2D 98 1A 8A BC [11:58:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 47 51 47 00 8D D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A4 49 00 00 F4 03 04 00 D9 52 F2 66 B6 04 01 00 00 CE 9B 24 52 1A BC E6 95 [11:58:50]CommunicateWithHost err = 0 [11:58:50]CheckOFDResponse [11:58:50]1017 (14) - 77093643461234 [11:58:50]1041 (16) - 0000000000959456 [11:58:50]1040 (4) - 18852 [11:58:50]1012 (4) - 24.09.2024 05:49 [11:58:50]1206 (1) - 0 [11:58:50]OFD Sender: Remove packet 18852 [11:58:50]ProducePacketName [11:58:50]name=ofd_packets/00018852 [11:58:50]NVStorageDeleteData [11:58:51]OFD Sender: Processing packet 18853 [packets to send 13, broken 6] [11:58:51]ProducePacketName [11:58:51]name=ofd_packets/00018853 [11:58:51]OFD Sender: To server: pG, [11:58:51]CommunicateWithHost lk.salyk.kg:30040 [11:58:51]ConnectInit lk.salyk.kg [11:58:51]Connected sock=9 [11:58:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 C5 7A 28 01 09 77 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 EC 8D F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A5 49 00 00 35 04 06 00 80 9F 4F 4B 4D 47 35 AC 00 09 F6 BC 3A 28 [11:58:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 82 A2 47 00 74 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A5 49 00 00 F4 03 04 00 DA 52 F2 66 B6 04 01 00 00 19 2E F2 1A 97 02 5B 5D [11:58:52]CommunicateWithHost err = 0 [11:58:52]CheckOFDResponse [11:58:52]1017 (14) - 77093643461234 [11:58:52]1041 (16) - 0000000000959456 [11:58:52]1040 (4) - 18853 [11:58:52]1012 (4) - 24.09.2024 05:49 [11:58:52]1206 (1) - 0 [11:58:52]OFD Sender: Remove packet 18853 [11:58:52]ProducePacketName [11:58:52]name=ofd_packets/00018853 [11:58:52]NVStorageDeleteData [11:58:52]OFD Sender: Processing packet 18854 [packets to send 12, broken 6] [11:58:52]ProducePacketName [11:58:52]name=ofd_packets/00018854 [11:58:52]OFD Sender: To server: pG, [11:58:52]CommunicateWithHost lk.salyk.kg:30040 [11:58:52]ConnectInit lk.salyk.kg [11:58:52]Connected sock=9 [11:58:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 38 BA 1E 01 DC DE 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 97 91 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A6 49 00 00 35 04 06 00 C2 2E 0B 6B 24 B2 D7 47 A4 91 A5 A1 00 D7 [11:58:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 98 55 47 00 3D 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A6 49 00 00 F4 03 04 00 DB 52 F2 66 B6 04 01 00 00 DB 8F 1E AF 61 A0 25 39 [11:58:53]CommunicateWithHost err = 0 [11:58:53]CheckOFDResponse [11:58:53]1017 (14) - 77093643461234 [11:58:53]1041 (16) - 0000000000959456 [11:58:53]1040 (4) - 18854 [11:58:53]1012 (4) - 24.09.2024 05:49 [11:58:53]1206 (1) - 0 [11:58:53]OFD Sender: Remove packet 18854 [11:58:53]ProducePacketName [11:58:53]name=ofd_packets/00018854 [11:58:53]NVStorageDeleteData [11:58:53]OFD Sender: Processing packet 18855 [packets to send 11, broken 6] [11:58:53]ProducePacketName [11:58:53]name=ofd_packets/00018855 [11:58:53]OFD Sender: To server: pG, [11:58:53]CommunicateWithHost lk.salyk.kg:30040 [11:58:53]ConnectInit lk.salyk.kg [11:58:53]Connected sock=9 [11:58:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8A 01 00 00 20 1A 82 01 F6 76 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 C9 95 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A7 49 00 00 35 04 06 00 14 41 56 48 91 B0 64 C4 FE 78 26 D6 3B D1 [11:58:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 C8 BB 47 00 DC 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A7 49 00 00 F4 03 04 00 DC 52 F2 66 B6 04 01 00 00 BF AA 78 C2 6F 1E 57 63 [11:58:54]CommunicateWithHost err = 0 [11:58:54]CheckOFDResponse [11:58:54]1017 (14) - 77093643461234 [11:58:54]1041 (16) - 0000000000959456 [11:58:54]1040 (4) - 18855 [11:58:54]1012 (4) - 24.09.2024 05:49 [11:58:54]1206 (1) - 0 [11:58:54]OFD Sender: Remove packet 18855 [11:58:54]ProducePacketName [11:58:54]name=ofd_packets/00018855 [11:58:54]NVStorageDeleteData [11:58:54]OFD Sender: Processing packet 18856 [packets to send 10, broken 6] [11:58:54]ProducePacketName [11:58:54]name=ofd_packets/00018856 [11:58:54]OFD Sender: To server: pG, [11:58:54]CommunicateWithHost lk.salyk.kg:30040 [11:58:54]ConnectInit lk.salyk.kg [11:58:54]Connected sock=9 [11:58:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 C3 01 00 00 02 DE BB 01 21 06 5A 03 01 00 03 00 AF 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 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 1A 00 00 00 F4 03 04 00 E2 95 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A8 49 00 00 35 04 06 00 B4 84 93 AE F8 27 55 F5 A4 AA FB 13 36 08 [11:58:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 6F A1 47 00 C5 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 39 35 39 34 35 36 10 04 04 00 A8 49 00 00 F4 03 04 00 DD 52 F2 66 B6 04 01 00 00 E8 5B 02 E5 10 C9 99 86 [11:58:55]CommunicateWithHost err = 0 [11:58:55]CheckOFDResponse [11:58:55]1017 (14) - 77093643461234 [11:58:55]1041 (16) - 0000000000959456 [11:58:55]1040 (4) - 18856 [11:58:55]1012 (4) - 24.09.2024 05:49 [11:58:55]1206 (1) - 0 [11:58:55]OFD Sender: Remove packet 18856 [11:58:55]ProducePacketName [11:58:55]name=ofd_packets/00018856 [11:58:55]NVStorageDeleteData [11:58:55]OFD Sender: Processing packet 18857 [packets to send 9, broken 6] [11:58:55]ProducePacketName [11:58:55]name=ofd_packets/00018857 [11:58:55]OFD Sender: To server: pG, [11:58:55]CommunicateWithHost lk.salyk.kg:30040 [11:58:55]ConnectInit lk.salyk.kg [11:58:55]Connected sock=9 [11:58:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 CA 37 07 01 85 28 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 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 1B 00 00 00 F4 03 04 00 D8 9C F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 A9 49 00 00 35 04 06 00 35 0A 8F 71 8C 04 7E 97 91 00 25 CF B1 EE [11:58:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 4A 90 47 00 DA 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 39 35 39 34 35 36 10 04 04 00 A9 49 00 00 F4 03 04 00 DE 52 F2 66 B6 04 01 00 00 79 B5 57 B9 A9 D3 CB 7C [11:58:56]CommunicateWithHost err = 0 [11:58:56]CheckOFDResponse [11:58:56]1017 (14) - 77093643461234 [11:58:56]1041 (16) - 0000000000959456 [11:58:56]1040 (4) - 18857 [11:58:56]1012 (4) - 24.09.2024 05:49 [11:58:56]1206 (1) - 0 [11:58:56]OFD Sender: Remove packet 18857 [11:58:56]ProducePacketName [11:58:56]name=ofd_packets/00018857 [11:58:56]NVStorageDeleteData [11:58:56]OFD Sender: Processing packet 18858 [packets to send 8, broken 6] [11:58:56]ProducePacketName [11:58:56]name=ofd_packets/00018858 [11:58:56]OFD Sender: To server: pG, [11:58:56]CommunicateWithHost lk.salyk.kg:30040 [11:58:56]ConnectInit lk.salyk.kg [11:58:56]Connected sock=9 [11:58:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 0A AD 26 01 C9 3E 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 1C 00 00 00 F4 03 04 00 13 A8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AA 49 00 00 35 04 06 00 16 89 83 EE 81 70 DD FF 20 DE 64 9A B7 2D [11:58:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 CA 6B 47 00 EA 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 39 35 39 34 35 36 10 04 04 00 AA 49 00 00 F4 03 04 00 E0 52 F2 66 B6 04 01 00 00 74 E5 1E 98 AA 46 58 CD [11:58:57]CommunicateWithHost err = 0 [11:58:57]CheckOFDResponse [11:58:57]1017 (14) - 77093643461234 [11:58:57]1041 (16) - 0000000000959456 [11:58:57]1040 (4) - 18858 [11:58:57]1012 (4) - 24.09.2024 05:49 [11:58:57]1206 (1) - 0 [11:58:57]OFD Sender: Remove packet 18858 [11:58:57]ProducePacketName [11:58:57]name=ofd_packets/00018858 [11:58:57]NVStorageDeleteData [11:58:57]OFD Sender: Processing packet 18859 [packets to send 7, broken 6] [11:58:57]ProducePacketName [11:58:57]name=ofd_packets/00018859 [11:58:57]OFD Sender: To server: pG, [11:58:57]CommunicateWithHost lk.salyk.kg:30040 [11:58:57]ConnectInit lk.salyk.kg [11:58:58]Connected sock=9 [11:58:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 9F 01 00 00 F9 C2 97 01 6E 16 5A 03 01 00 03 00 8B 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 56 A8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AB 49 00 00 35 04 06 00 C1 7A 02 7F E3 8D 3D F2 F0 F6 BC D1 3C E2 [11:58:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 68 3F 47 00 75 FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AB 49 00 00 F4 03 04 00 E1 52 F2 66 B6 04 01 00 00 BE BD E8 FE 30 3C 5E 66 [11:58:58]CommunicateWithHost err = 0 [11:58:58]CheckOFDResponse [11:58:58]1017 (14) - 77093643461234 [11:58:58]1041 (16) - 0000000000959456 [11:58:58]1040 (4) - 18859 [11:58:58]1012 (4) - 24.09.2024 05:49 [11:58:58]1206 (1) - 0 [11:58:58]OFD Sender: Remove packet 18859 [11:58:58]ProducePacketName [11:58:58]name=ofd_packets/00018859 [11:58:58]NVStorageDeleteData [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]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:12]accept exits with 8 [12:10:12]New connection [12:10:12]New thread 3067047268 created [12:10:12]Waiting for new connection... [12:10:12] Sock 8.Parse request [12:10:12]Sock 8.Check first char [12:10:12]Sock 8.First char is OK [12:10:12]request: POST /json_proto HTTP/1.0 [12:10:12]Method: POST [12:10:12]URL: /json_proto [12:10:12]Method is POST - this is cgi request [12:10:12]url: /json_proto [12:10:12]query_string will be loaded in cgi processing [12:10:12]execute_cgi json_proto POST (null) [12:10:12]execute_cgi path=json_proto method=POST [12:10:12]POST find Content-Length [12:10:12]Host: 172.17.62.196:8080 [12:10:12]Content-Length: 215 [12:10:12]Content-Type: application/json [12:10:12] [12:10:12]POST finish read [12:10:12]Found Content-Length = 215 [12:10:12]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:10:12]execute_script... [12:10:12]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:10:12]POST & json_proto [12:10:12]process_json_proto [12:10:12]json parsed OK: [12:10:12]protocol is kg_v1.0 [12:10:12]action value=get_value [12:10:12]process_action get_value [12:10:12]cmd_get_value [12:10:12]process_action get_value done [12:10:12]requested_data is exist [12:10:12]produce_requested_data [12:10:12]requested_item kkm.sn is exist - process it [12:10:12]requested_item kkm.ver is exist - process it [12:10:12]requested_item fm.sn is exist - process it [12:10:12]wFMCommunicate request_size=4 [12:10:12]MH_SAM_APDU [12:10:12]CAPDU: 80 11 00 00 [12:10:12]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [12:10:12]Write i2c OK [12:10:12]MH_I2C_Read... [12:10:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:12]Read from MH i2c: E2 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 17 00 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E3 [12:10:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:10:12]wFMCommunicate OK [12:10:12]requested_item fd.num is exist - process it [12:10:12]SAM_PROTO_GetFieldsCounters [12:10:12]wFMCommunicate request_size=4 [12:10:12]MH_SAM_APDU [12:10:12]CAPDU: 80 13 00 00 [12:10:12]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [12:10:12]Write i2c OK [12:10:12]MH_I2C_Read... [12:10:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:12]Read from MH i2c: E2 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 62 00 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AB 49 00 00 0E 04 04 00 B6 00 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 BB [12:10:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AB 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:12]wFMCommunicate OK [12:10:12]SAM_PROTO_GetFieldsCounters done [12:10:12]requested_item shift.num is exist - process it [12:10:12]requested_item shift.opened is exist - process it [12:10:12]req_shift_opened [12:10:12]FM_GetShiftState [12:10:12]SAM_PROTO_GetShiftState [12:10:12]wFMCommunicate request_size=4 [12:10:12]MH_SAM_APDU [12:10:12]CAPDU: 80 13 01 00 [12:10:12]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [12:10:12]Write i2c OK [12:10:12]MH_I2C_Read... [12:10:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:12]Read from MH i2c: E2 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 0E 00 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 C6 [12:10:12]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [12:10:12]wFMCommunicate OK [12:10:12]SAM_PROTO_GetShiftState done [12:10:12]FM_GetShiftState done [12:10:12]req_shift_opened done [12:10:12]requested_item shift.open_date is exist - process it [12:10:12]req_shift_open_date [12:10:12]req_shift_open_date done [12:10:12]produce_requested_data done [12:10:12]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18859,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [12:10:12]process_action_free get_value [12:10:12]json_value_free [12:10:12]json_value_free done [12:10:12]process_json_proto returns [12:10:12]Send response to host [12:10:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18859,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [12:10:12]free response buf [12:10:12]execute_script done [12:10:12]execute_script returns [12:10:12]free content buf [12:10:12]Sock 8.Close socket [12:10:12]Sock 8.Thread stoped [12:10:12]accept exits with 9 [12:10:12]New connection [12:10:12]New thread 3066903908 created [12:10:12]Thread 3067047268 joined [12:10:12]Waiting for new connection... [12:10:12] Sock 9.Parse request [12:10:12]Sock 9.Check first char [12:10:12]Sock 9.First char is OK [12:10:12]request: POST /json_proto HTTP/1.0 [12:10:12]Method: POST [12:10:12]URL: /json_proto [12:10:12]Method is POST - this is cgi request [12:10:12]url: /json_proto [12:10:12]query_string will be loaded in cgi processing [12:10:12]execute_cgi json_proto POST (null) [12:10:12]execute_cgi path=json_proto method=POST [12:10:12]POST find Content-Length [12:10:12]Host: 172.17.62.196:8080 [12:10:12]Content-Length: 331 [12:10:12]Content-Type: application/json [12:10:12] [12:10:12]POST finish read [12:10:12]Found Content-Length = 331 [12:10:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:10:12]execute_script... [12:10:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:10:13]POST & json_proto [12:10:13]process_json_proto [12:10:13]json parsed OK: [12:10:13]protocol is kg_v1.0 [12:10:13]action value=get_value [12:10:13]process_action get_value [12:10:13]cmd_get_value [12:10:13]process_action get_value done [12:10:13]requested_data is exist [12:10:13]produce_requested_data [12:10:13]requested_item fm.sale.total is exist - process it [12:10:13]SAM_PROTO_GetFMData [12:10:13]wFMCommunicate request_size=4 [12:10:13]MH_SAM_APDU [12:10:13]CAPDU: 80 13 03 00 [12:10:13]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [12:10:13]Write i2c OK [12:10:13]MH_I2C_Read... [12:10:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:10:13]Read from MH i2c: E2 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 13 00 00 BE 04 85 04 BA 04 6E 04 04 00 3F 48 00 00 69 04 A0 00 6F 04 04 00 30 48 00 00 B1 04 04 00 F6 FA 9D 31 70 04 04 00 AC 75 37 1F 72 04 04 00 4A 85 66 12 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 9C 02 45 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 24 64 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 A9 [12:10:13]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 3F 48 00 00 69 04 A0 00 6F 04 04 00 30 48 00 00 B1 04 04 00 F6 FA 9D 31 70 04 04 00 AC 75 37 1F 72 04 04 00 4A 85 66 12 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 9C 02 45 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 24 64 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [12:10:13]wFMCommunicate OK [12:10:13]wFMCommunicate request_size=4 [12:10:13]MH_SAM_APDU [12:10:13]CAPDU: 80 17 00 00 [12:10:13]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [12:10:13]Write i2c OK [12:10:13]MH_I2C_Read... [12:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:13]Read from MH i2c: E2 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 14 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 C4 [12:10:13]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [12:10:13]wFMCommunicate OK [12:10:13]wFMCommunicate request_size=4 [12:10:13]MH_SAM_APDU [12:10:13]CAPDU: 80 17 00 00 [12:10:13]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [12:10:13]Write i2c OK [12:10:13]MH_I2C_Read... [12:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 FD 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 FD 00 15 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 C7 [12:10:14]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [12:10:14]wFMCommunicate OK [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 17 00 00 [12:10:14]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 FD 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 FD 00 16 00 00 04 F7 03 00 00 EF 03 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 90 00 11 [12:10:14]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [12:10:14]wFMCommunicate OK [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 17 00 00 [12:10:14]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]OFD Sender: No OFD packet to send [12:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 DB 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 DB 00 17 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 79 [12:10:14]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:10:14]wFMCommunicate OK [12:10:14]SAM_PROTO_GetFMData done [12:10:14]requested_item fm.sale_refund.total is exist - process it [12:10:14]requested_item fm.buy.total is exist - process it [12:10:14]requested_item shift.sale.total is exist - process it [12:10:14]SAM_PROTO_GetShiftData [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 13 02 00 [12:10:14]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:10:15]Read from MH i2c: E2 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 8C 65 0E 70 04 03 00 08 6E 0C 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 63 87 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 9D 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [12:10:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 8C 65 0E 70 04 03 00 08 6E 0C 72 04 03 00 84 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 63 87 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 9D 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [12:10:15]wFMCommunicate OK [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 17 00 00 [12:10:15]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:15]Read from MH i2c: E2 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 19 00 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 BB [12:10:15]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 [12:10:15]wFMCommunicate OK [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 17 00 00 [12:10:15]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:15]Read from MH i2c: E2 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 51 [12:10:15]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 [12:10:15]wFMCommunicate OK [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 17 00 00 [12:10:15]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:15]Read from MH i2c: E2 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 1B 00 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 0D [12:10:15]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 [12:10:15]wFMCommunicate OK [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 17 00 00 [12:10:15]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 [12:10:16]MH_I2C_Read... [12:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:10:16]Read from MH i2c: E2 CB 00 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 CB 00 1C 00 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 85 [12:10:16]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 [12:10:16]wFMCommunicate OK [12:10:16]SAM_PROTO_GetShiftData done [12:10:16]requested_item shift.sale.total_cash is exist - process it [12:10:16]requested_item shift.sale_refund.total is exist - process it [12:10:16]requested_item shift.sale_refund.total_cash is exist - process it [12:10:16]requested_item shift.buy.total is exist - process it [12:10:16]requested_item shift.buy.total_cash is exist - process it [12:10:16]produce_requested_data done [12:10:16]produce_requested_data return {"fm.sale.total":8324369.82,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":9435.00,"shift.sale.total_cash":8146.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:10:16]process_action_free get_value [12:10:16]json_value_free [12:10:16]json_value_free done [12:10:16]process_json_proto returns [12:10:16]Send response to host [12:10:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8324369.82,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":9435.00,"shift.sale.total_cash":8146.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:10:16]free response buf [12:10:16]execute_script done [12:10:16]execute_script returns [12:10:16]free content buf [12:10:16]Sock 9.Close socket [12:10:16]Sock 9.Thread stoped [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:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]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:40]OFD Sender: No OFD packet to send [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:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]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:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:51]OFD Sender: No OFD packet to send [12:50:56]OFD Sender: No OFD packet to send [12:51:01]OFD Sender: No OFD packet to send [12:51:06]OFD Sender: No OFD packet to send [12:51:11]OFD Sender: No OFD packet to send [12:51:16]OFD Sender: No OFD packet to send [12:51:21]OFD Sender: No OFD packet to send [12:51:26]OFD Sender: No OFD packet to send [12:51:31]OFD Sender: No OFD packet to send [12:51:36]OFD Sender: No OFD packet to send [12:51:41]OFD Sender: No OFD packet to send [12:51:46]OFD Sender: No OFD packet to send [12:51:51]OFD Sender: No OFD packet to send [12:51:56]OFD Sender: No OFD packet to send [12:52:01]OFD Sender: No OFD packet to send [12:52:06]OFD Sender: No OFD packet to send [12:52:11]OFD Sender: No OFD packet to send [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]OFD Sender: No OFD packet to send [12:53:31]OFD Sender: No OFD packet to send [12:53:36]OFD Sender: No OFD packet to send [12:53:41]OFD Sender: No OFD packet to send [12:53:46]OFD Sender: No OFD packet to send [12:53:51]OFD Sender: No OFD packet to send [12:53:56]OFD Sender: No OFD packet to send [12:54:01]OFD Sender: No OFD packet to send [12:54:06]OFD Sender: No OFD packet to send [12:54:11]OFD Sender: No OFD packet to send [12:54:16]OFD Sender: No OFD packet to send [12:54:21]OFD Sender: No OFD packet to send [12:54:26]OFD Sender: No OFD packet to send [12:54:31]OFD Sender: No OFD packet to send [12:54:36]OFD Sender: No OFD packet to send [12:54:41]OFD Sender: No OFD packet to send [12:54:46]OFD Sender: No OFD packet to send [12:54:51]OFD Sender: No OFD packet to send [12:54:56]OFD Sender: No OFD packet to send [12:55:01]OFD Sender: No OFD packet to send [12:55:06]OFD Sender: No OFD packet to send [12:55:11]OFD Sender: No OFD packet to send [12:55:16]OFD Sender: No OFD packet to send [12:55:21]OFD Sender: No OFD packet to send [12:55:26]OFD Sender: No OFD packet to send [12:55:31]OFD Sender: No OFD packet to send [12:55:36]OFD Sender: No OFD packet to send [12:55:41]OFD Sender: No OFD packet to send [12:55:46]OFD Sender: No OFD packet to send [12:55:51]OFD Sender: No OFD packet to send [12:55:56]OFD Sender: No OFD packet to send [12:56:01]OFD Sender: No OFD packet to send [12:56:06]OFD Sender: No OFD packet to send [12:56:11]OFD Sender: No OFD packet to send [12:56:16]OFD Sender: No OFD packet to send [12:56:21]OFD Sender: No OFD packet to send [12:56:26]OFD Sender: No OFD packet to send [12:56:31]OFD Sender: No OFD packet to send [12:56:36]OFD Sender: No OFD packet to send [12:56:41]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:26]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:38]OFD Sender: No OFD packet to send [13:38:43]OFD Sender: No OFD packet to send [13:38:48]OFD Sender: No OFD packet to send [13:38:53]OFD Sender: No OFD packet to send [13:38:58]OFD Sender: No OFD packet to send [13:39:03]OFD Sender: No OFD packet to send [13:39:08]OFD Sender: No OFD packet to send [13:39:13]OFD Sender: No OFD packet to send [13:39:18]OFD Sender: No OFD packet to send [13:39:23]OFD Sender: No OFD packet to send [13:39:28]OFD Sender: No OFD packet to send [13:39:33]OFD Sender: No OFD packet to send [13:39:38]OFD Sender: No OFD packet to send [13:39:43]OFD Sender: No OFD packet to send [13:39:48]OFD Sender: No OFD packet to send [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:14]OFD Sender: No OFD packet to send [14:03:19]OFD Sender: No OFD packet to send [14:03:24]OFD Sender: No OFD packet to send [14:03:29]OFD Sender: No OFD packet to send [14:03:34]OFD Sender: No OFD packet to send [14:03:39]OFD Sender: No OFD packet to send [14:03:44]OFD Sender: No OFD packet to send [14:03:49]OFD Sender: No OFD packet to send [14:03:54]OFD Sender: No OFD packet to send [14:03:59]OFD Sender: No OFD packet to send [14:04:04]OFD Sender: No OFD packet to send [14:04:09]OFD Sender: No OFD packet to send [14:04:14]OFD Sender: No OFD packet to send [14:04:19]OFD Sender: No OFD packet to send [14:04:24]OFD Sender: No OFD packet to send [14:04:29]OFD Sender: No OFD packet to send [14:04:34]OFD Sender: No OFD packet to send [14:04:39]OFD Sender: No OFD packet to send [14:04:44]OFD Sender: No OFD packet to send [14:04:49]OFD Sender: No OFD packet to send [14:04:54]OFD Sender: No OFD packet to send [14:04:59]OFD Sender: No OFD packet to send [14:05:04]OFD Sender: No OFD packet to send [14:05:09]OFD Sender: No OFD packet to send [14:05:14]OFD Sender: No OFD packet to send [14:05:19]OFD Sender: No OFD packet to send [14:05:24]OFD Sender: No OFD packet to send [14:05:29]OFD Sender: No OFD packet to send [14:05:34]OFD Sender: No OFD packet to send [14:05:39]OFD Sender: No OFD packet to send [14:05:44]OFD Sender: No OFD packet to send [14:05:49]OFD Sender: No OFD packet to send [14:05:54]OFD Sender: No OFD packet to send [14:05:59]OFD Sender: No OFD packet to send [14:06:04]OFD Sender: No OFD packet to send [14:06:09]OFD Sender: No OFD packet to send [14:06:14]OFD Sender: No OFD packet to send [14:06:19]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:05]OFD Sender: No OFD packet to send [14:11:10]OFD Sender: No OFD packet to send [14:11:15]OFD Sender: No OFD packet to send [14:11:20]OFD Sender: No OFD packet to send [14:11:25]OFD Sender: No OFD packet to send [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:30]OFD Sender: No OFD packet to send [14:14:35]OFD Sender: No OFD packet to send [14:14:40]OFD Sender: No OFD packet to send [14:14:45]OFD Sender: No OFD packet to send [14:14:50]OFD Sender: No OFD packet to send [14:14:55]OFD Sender: No OFD packet to send [14:15:00]OFD Sender: No OFD packet to send [14:15:05]OFD Sender: No OFD packet to send [14:15:10]OFD Sender: No OFD packet to send [14:15:15]OFD Sender: No OFD packet to send [14:15:20]OFD Sender: No OFD packet to send [14:15:25]OFD Sender: No OFD packet to send [14:15:30]OFD Sender: No OFD packet to send [14:15:35]OFD Sender: No OFD packet to send [14:15:40]OFD Sender: No OFD packet to send [14:15:45]OFD Sender: No OFD packet to send [14:15:50]OFD Sender: No OFD packet to send [14:15:55]OFD Sender: No OFD packet to send [14:16:00]OFD Sender: No OFD packet to send [14:16:05]OFD Sender: No OFD packet to send [14:16:10]OFD Sender: No OFD packet to send [14:16:15]OFD Sender: No OFD packet to send [14:16:20]OFD Sender: No OFD packet to send [14:16:25]OFD Sender: No OFD packet to send [14:16:30]OFD Sender: No OFD packet to send [14:16:35]OFD Sender: No OFD packet to send [14:16:40]OFD Sender: No OFD packet to send [14:16:45]OFD Sender: No OFD packet to send [14:16:50]OFD Sender: No OFD packet to send [14:16:55]OFD Sender: No OFD packet to send [14:17:00]OFD Sender: No OFD packet to send [14:17:05]OFD Sender: No OFD packet to send [14:17:10]OFD Sender: No OFD packet to send [14:17:15]OFD Sender: No OFD packet to send [14:17:20]OFD Sender: No OFD packet to send [14:17:25]OFD Sender: No OFD packet to send [14:17:30]OFD Sender: No OFD packet to send [14:17:35]OFD Sender: No OFD packet to send [14:17:40]OFD Sender: No OFD packet to send [14:17:45]OFD Sender: No OFD packet to send [14:17:50]OFD Sender: No OFD packet to send [14:17:55]OFD Sender: No OFD packet to send [14:18:00]OFD Sender: No OFD packet to send [14:18:05]OFD Sender: No OFD packet to send [14:18:10]OFD Sender: No OFD packet to send [14:18:15]OFD Sender: No OFD packet to send [14:18:20]OFD Sender: No OFD packet to send [14:18:25]OFD Sender: No OFD packet to send [14:18:30]OFD Sender: No OFD packet to send [14:18:35]OFD Sender: No OFD packet to send [14:18:40]OFD Sender: No OFD packet to send [14:18:45]OFD Sender: No OFD packet to send [14:18:50]OFD Sender: No OFD packet to send [14:18:55]OFD Sender: No OFD packet to send [14:19:00]OFD Sender: No OFD packet to send [14:19:05]OFD Sender: No OFD packet to send [14:19:10]OFD Sender: No OFD packet to send [14:19:15]OFD Sender: No OFD packet to send [14:19:20]OFD Sender: No OFD packet to send [14:19:25]OFD Sender: No OFD packet to send [14:19:30]OFD Sender: No OFD packet to send [14:19:35]OFD Sender: No OFD packet to send [14:19:40]OFD Sender: No OFD packet to send [14:19:45]OFD Sender: No OFD packet to send [14:19:50]OFD Sender: No OFD packet to send [14:19:55]OFD Sender: No OFD packet to send [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]OFD Sender: No OFD packet to send [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:35]OFD Sender: No OFD packet to send [14:20:40]OFD Sender: No OFD packet to send [14:20:45]OFD Sender: No OFD packet to send [14:20:50]OFD Sender: No OFD packet to send [14:20:55]OFD Sender: No OFD packet to send [14:21:00]OFD Sender: No OFD packet to send [14:21:05]OFD Sender: No OFD packet to send [14:21:10]OFD Sender: No OFD packet to send [14:21:15]OFD Sender: No OFD packet to send [14:21:20]OFD Sender: No OFD packet to send [14:21:25]OFD Sender: No OFD packet to send [14:21:30]OFD Sender: No OFD packet to send [14:21:35]OFD Sender: No OFD packet to send [14:21:40]OFD Sender: No OFD packet to send [14:21:45]OFD Sender: No OFD packet to send [14:21:50]OFD Sender: No OFD packet to send [14:21:55]OFD Sender: No OFD packet to send [14:22:00]OFD Sender: No OFD packet to send [14:22:05]OFD Sender: No OFD packet to send [14:22:10]OFD Sender: No OFD packet to send [14:22:15]OFD Sender: No OFD packet to send [14:22:20]OFD Sender: No OFD packet to send [14:22:25]OFD Sender: No OFD packet to send [14:22:30]OFD Sender: No OFD packet to send [14:22:35]OFD Sender: No OFD packet to send [14:22:40]OFD Sender: No OFD packet to send [14:22:45]OFD Sender: No OFD packet to send [14:22:50]OFD Sender: No OFD packet to send [14:22:55]OFD Sender: No OFD packet to send [14:23:00]OFD Sender: No OFD packet to send [14:23:05]OFD Sender: No OFD packet to send [14:23:10]OFD Sender: No OFD packet to send [14:23:15]OFD Sender: No OFD packet to send [14:23:20]OFD Sender: No OFD packet to send [14:23:25]OFD Sender: No OFD packet to send [14:23:30]OFD Sender: No OFD packet to send [14:23:35]OFD Sender: No OFD packet to send [14:23:40]OFD Sender: No OFD packet to send [14:23:45]OFD Sender: No OFD packet to send [14:23:50]OFD Sender: No OFD packet to send [14:23:55]OFD Sender: No OFD packet to send [14:24:00]OFD Sender: No OFD packet to send [14:24:05]OFD Sender: No OFD packet to send [14:24:10]OFD Sender: No OFD packet to send [14:24:15]OFD Sender: No OFD packet to send [14:24:20]OFD Sender: No OFD packet to send [14:24:25]OFD Sender: No OFD packet to send [14:24:30]OFD Sender: No OFD packet to send [14:24:35]OFD Sender: No OFD packet to send [14:24:40]OFD Sender: No OFD packet to send [14:24:45]OFD Sender: No OFD packet to send [14:24:50]OFD Sender: No OFD packet to send [14:24:55]OFD Sender: No OFD packet to send [14:25:00]OFD Sender: No OFD packet to send [14:25:05]OFD Sender: No OFD packet to send [14:25:10]OFD Sender: No OFD packet to send [14:25:15]OFD Sender: No OFD packet to send [14:25:20]OFD Sender: No OFD packet to send [14:25:25]OFD Sender: No OFD packet to send [14:25:30]OFD Sender: No OFD packet to send [14:25:35]OFD Sender: No OFD packet to send [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [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:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]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:57]OFD Sender: No OFD packet to send [14:49:02]OFD Sender: No OFD packet to send [14:49:07]OFD Sender: No OFD packet to send [14:49:12]OFD Sender: No OFD packet to send [14:49:17]OFD Sender: No OFD packet to send [14:49:22]OFD Sender: No OFD packet to send [14:49:27]OFD Sender: No OFD packet to send [14:49:32]OFD Sender: No OFD packet to send [14:49:37]OFD Sender: No OFD packet to send [14:49:42]OFD Sender: No OFD packet to send [14:49:47]OFD Sender: No OFD packet to send [14:49:52]OFD Sender: No OFD packet to send [14:49:57]OFD Sender: No OFD packet to send [14:50:02]OFD Sender: No OFD packet to send [14:50:07]OFD Sender: No OFD packet to send [14:50:12]OFD Sender: No OFD packet to send [14:50:17]OFD Sender: No OFD packet to send [14:50:22]OFD Sender: No OFD packet to send [14:50:27]OFD Sender: No OFD packet to send [14:50:32]OFD Sender: No OFD packet to send [14:50:37]OFD Sender: No OFD packet to send [14:50:42]OFD Sender: No OFD packet to send [14:50:47]OFD Sender: No OFD packet to send [14:50:52]OFD Sender: No OFD packet to send [14:50:57]OFD Sender: No OFD packet to send [14:51:02]OFD Sender: No OFD packet to send [14:51:07]OFD Sender: No OFD packet to send [14:51:12]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:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:48]OFD Sender: No OFD packet to send [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]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:08]OFD Sender: No OFD packet to send [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:58]OFD Sender: No OFD packet to send [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:23]OFD Sender: No OFD packet to send [15:28:28]OFD Sender: No OFD packet to send [15:28:33]OFD Sender: No OFD packet to send [15:28:38]OFD Sender: No OFD packet to send [15:28:43]OFD Sender: No OFD packet to send [15:28:48]OFD Sender: No OFD packet to send [15:28:53]OFD Sender: No OFD packet to send [15:28:58]OFD Sender: No OFD packet to send [15:29:03]OFD Sender: No OFD packet to send [15:29:08]OFD Sender: No OFD packet to send [15:29:13]OFD Sender: No OFD packet to send [15:29:18]OFD Sender: No OFD packet to send [15:29:23]OFD Sender: No OFD packet to send [15:29:28]OFD Sender: No OFD packet to send [15:29:33]OFD Sender: No OFD packet to send [15:29:38]OFD Sender: No OFD packet to send [15:29:43]OFD Sender: No OFD packet to send [15:29:48]OFD Sender: No OFD packet to send [15:29:53]OFD Sender: No OFD packet to send [15:29:58]OFD Sender: No OFD packet to send [15:30:03]OFD Sender: No OFD packet to send [15:30:08]OFD Sender: No OFD packet to send [15:30:13]OFD Sender: No OFD packet to send [15:30:18]OFD Sender: No OFD packet to send [15:30:23]OFD Sender: No OFD packet to send [15:30:28]OFD Sender: No OFD packet to send [15:30:33]OFD Sender: No OFD packet to send [15:30:38]OFD Sender: No OFD packet to send [15:30:43]OFD Sender: No OFD packet to send [15:30:48]OFD Sender: No OFD packet to send [15:30:53]OFD Sender: No OFD packet to send [15:30:58]OFD Sender: No OFD packet to send [15:31:03]OFD Sender: No OFD packet to send [15:31:08]OFD Sender: No OFD packet to send [15:31:13]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:34]int [15:36:34]Write to MH i2c: 01 00 00 1D 00 1D [15:36:34]*** FLAG_PRN_KEY set [15:36:34]Write i2c OK [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: 01 [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: 01 07 00 [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: 01 07 00 1D 00 00 08 00 00 00 FF 0F 3A [15:36:34]state=0 [15:36:34]Key pressed [15:36:34]Feed [15:36:34]Write to MH i2c: D8 00 00 1E 00 F5 [15:36:34]Write i2c OK [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: D8 [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: D8 01 00 [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: D8 01 00 1E 00 00 F6 [15:36:34]int [15:36:34]Write to MH i2c: 01 00 00 1F 00 1F [15:36:34]Write i2c OK [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: 01 [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: 01 07 00 [15:36:34]MH_I2C_Read... [15:36:34]Read from MH i2c: 01 07 00 1F 00 00 48 00 00 00 3D 00 AB [15:36:34]state=2 [15:36:34]Key pressed [15:36:35]int [15:36:35]Write to MH i2c: 01 00 00 20 00 20 [15:36:35]*** FLAG_PRN_KEY reset [15:36:35]Write i2c OK [15:36:35]MH_I2C_Read... [15:36:35]Read from MH i2c: 01 [15:36:35]MH_I2C_Read... [15:36:35]Read from MH i2c: 01 07 00 [15:36:35]MH_I2C_Read... [15:36:35]Read from MH i2c: 01 07 00 20 00 00 00 00 00 00 F6 0F 2C [15:36:35]state=2 [15:36:35]Stop feed [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:39]OFD Sender: No OFD packet to send [15:48:44]OFD Sender: No OFD packet to send [15:48:49]OFD Sender: No OFD packet to send [15:48:54]OFD Sender: No OFD packet to send [15:48:59]OFD Sender: No OFD packet to send [15:49:04]OFD Sender: No OFD packet to send [15:49:09]OFD Sender: No OFD packet to send [15:49:14]OFD Sender: No OFD packet to send [15:49:19]OFD Sender: No OFD packet to send [15:49:24]OFD Sender: No OFD packet to send [15:49:29]OFD Sender: No OFD packet to send [15:49:34]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:44]OFD Sender: No OFD packet to send [15:49:49]OFD Sender: No OFD packet to send [15:49:54]OFD Sender: No OFD packet to send [15:49:59]OFD Sender: No OFD packet to send [15:50:04]OFD Sender: No OFD packet to send [15:50:09]OFD Sender: No OFD packet to send [15:50:14]OFD Sender: No OFD packet to send [15:50:19]OFD Sender: No OFD packet to send [15:50:24]OFD Sender: No OFD packet to send [15:50:29]OFD Sender: No OFD packet to send [15:50:34]OFD Sender: No OFD packet to send [15:50:39]OFD Sender: No OFD packet to send [15:50:44]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:44]OFD Sender: No OFD packet to send [15:51:49]OFD Sender: No OFD packet to send [15:51:54]OFD Sender: No OFD packet to send [15:51:59]OFD Sender: No OFD packet to send [15:52:04]OFD Sender: No OFD packet to send [15:52:09]OFD Sender: No OFD packet to send [15:52:14]OFD Sender: No OFD packet to send [15:52:19]OFD Sender: No OFD packet to send [15:52:24]OFD Sender: No OFD packet to send [15:52:29]OFD Sender: No OFD packet to send [15:52:34]OFD Sender: No OFD packet to send [15:52:39]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:45]OFD Sender: No OFD packet to send [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:55]OFD Sender: No OFD packet to send [16:01:00]OFD Sender: No OFD packet to send [16:01:05]OFD Sender: No OFD packet to send [16:01:10]OFD Sender: No OFD packet to send [16:01:15]OFD Sender: No OFD packet to send [16:01:20]OFD Sender: No OFD packet to send [16:01:25]OFD Sender: No OFD packet to send [16:01:30]OFD Sender: No OFD packet to send [16:01:35]OFD Sender: No OFD packet to send [16:01:40]OFD Sender: No OFD packet to send [16:01:45]OFD Sender: No OFD packet to send [16:01:50]OFD Sender: No OFD packet to send [16:01:55]OFD Sender: No OFD packet to send [16:02:00]OFD Sender: No OFD packet to send [16:02:05]OFD Sender: No OFD packet to send [16:02:10]OFD Sender: No OFD packet to send [16:02:15]OFD Sender: No OFD packet to send [16:02:20]OFD Sender: No OFD packet to send [16:02:25]OFD Sender: No OFD packet to send [16:02:30]OFD Sender: No OFD packet to send [16:02:35]OFD Sender: No OFD packet to send [16:02:40]OFD Sender: No OFD packet to send [16:02:45]OFD Sender: No OFD packet to send [16:02:50]OFD Sender: No OFD packet to send [16:02:55]OFD Sender: No OFD packet to send [16:03:00]OFD Sender: No OFD packet to send [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:12:17]ConnectInit Can't connect to host [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [16:13:40]OFD Sender: No OFD packet to send [16:13:45]OFD Sender: No OFD packet to send [16:13:50]OFD Sender: No OFD packet to send [16:13:55]OFD Sender: No OFD packet to send [16:14:00]OFD Sender: No OFD packet to send [16:14:05]OFD Sender: No OFD packet to send [16:14:10]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:21]OFD Sender: No OFD packet to send [16:14:26]OFD Sender: No OFD packet to send [16:14:31]OFD Sender: No OFD packet to send [16:14:36]OFD Sender: No OFD packet to send [16:14:41]OFD Sender: No OFD packet to send [16:14:46]OFD Sender: No OFD packet to send [16:14:51]OFD Sender: No OFD packet to send [16:14:56]OFD Sender: No OFD packet to send [16:15:01]OFD Sender: No OFD packet to send [16:15:06]OFD Sender: No OFD packet to send [16:15:11]OFD Sender: No OFD packet to send [16:15:16]OFD Sender: No OFD packet to send [16:15:21]OFD Sender: No OFD packet to send [16:15:26]OFD Sender: No OFD packet to send [16:15:31]OFD Sender: No OFD packet to send [16:15:36]OFD Sender: No OFD packet to send [16:15:41]OFD Sender: No OFD packet to send [16:15:46]OFD Sender: No OFD packet to send [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:21]OFD Sender: No OFD packet to send [16:16:26]OFD Sender: No OFD packet to send [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:41]OFD Sender: No OFD packet to send [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:31]OFD Sender: No OFD packet to send [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:06]OFD Sender: No OFD packet to send [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:26]OFD Sender: No OFD packet to send [16:29:31]OFD Sender: No OFD packet to send [16:29:36]OFD Sender: No OFD packet to send [16:29:41]OFD Sender: No OFD packet to send [16:29:46]OFD Sender: No OFD packet to send [16:29:51]OFD Sender: No OFD packet to send [16:29:56]OFD Sender: No OFD packet to send [16:30:01]OFD Sender: No OFD packet to send [16:30:06]OFD Sender: No OFD packet to send [16:30:11]OFD Sender: No OFD packet to send [16:30:16]OFD Sender: No OFD packet to send [16:30:21]OFD Sender: No OFD packet to send [16:30:26]OFD Sender: No OFD packet to send [16:30:31]OFD Sender: No OFD packet to send [16:30:36]OFD Sender: No OFD packet to send [16:30:41]OFD Sender: No OFD packet to send [16:30:46]OFD Sender: No OFD packet to send [16:30:51]OFD Sender: No OFD packet to send [16:30:56]OFD Sender: No OFD packet to send [16:31:01]OFD Sender: No OFD packet to send [16:31:06]OFD Sender: No OFD packet to send [16:31:11]OFD Sender: No OFD packet to send [16:31:16]OFD Sender: No OFD packet to send [16:31:21]OFD Sender: No OFD packet to send [16:31:26]OFD Sender: No OFD packet to send [16:31:31]OFD Sender: No OFD packet to send [16:31:36]OFD Sender: No OFD packet to send [16:31:41]OFD Sender: No OFD packet to send [16:31:46]OFD Sender: No OFD packet to send [16:31:51]OFD Sender: No OFD packet to send [16:31:56]OFD Sender: No OFD packet to send [16:32:01]OFD Sender: No OFD packet to send [16:32:06]OFD Sender: No OFD packet to send [16:32:11]OFD Sender: No OFD packet to send [16:32:16]OFD Sender: No OFD packet to send [16:32:21]OFD Sender: No OFD packet to send [16:32:26]OFD Sender: No OFD packet to send [16:32:31]OFD Sender: No OFD packet to send [16:32:36]OFD Sender: No OFD packet to send [16:32:41]OFD Sender: No OFD packet to send [16:32:46]OFD Sender: No OFD packet to send [16:32:51]OFD Sender: No OFD packet to send [16:32:56]OFD Sender: No OFD packet to send [16:33:01]OFD Sender: No OFD packet to send [16:33:06]OFD Sender: No OFD packet to send [16:33:11]OFD Sender: No OFD packet to send [16:33:16]OFD Sender: No OFD packet to send [16:33:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:46]OFD Sender: No OFD packet to send [16:33:51]OFD Sender: No OFD packet to send [16:33:56]OFD Sender: No OFD packet to send [16:34:01]OFD Sender: No OFD packet to send [16:34:06]OFD Sender: No OFD packet to send [16:34:11]OFD Sender: No OFD packet to send [16:34:16]OFD Sender: No OFD packet to send [16:34:21]OFD Sender: No OFD packet to send [16:34:26]OFD Sender: No OFD packet to send [16:34:31]OFD Sender: No OFD packet to send [16:34:36]OFD Sender: No OFD packet to send [16:34:41]OFD Sender: No OFD packet to send [16:34:46]OFD Sender: No OFD packet to send [16:34:51]OFD Sender: No OFD packet to send [16:34:56]OFD Sender: No OFD packet to send [16:35:01]OFD Sender: No OFD packet to send [16:35:06]OFD Sender: No OFD packet to send [16:35:11]OFD Sender: No OFD packet to send [16:35:16]OFD Sender: No OFD packet to send [16:35:21]OFD Sender: No OFD packet to send [16:35:26]OFD Sender: No OFD packet to send [16:35:31]OFD Sender: No OFD packet to send [16:35:36]OFD Sender: No OFD packet to send [16:35:41]OFD Sender: No OFD packet to send [16:35:46]OFD Sender: No OFD packet to send [16:35:51]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:12]OFD Sender: No OFD packet to send [16:37:17]OFD Sender: No OFD packet to send [16:37:22]OFD Sender: No OFD packet to send [16:37:27]OFD Sender: No OFD packet to send [16:37:32]OFD Sender: No OFD packet to send [16:37:37]OFD Sender: No OFD packet to send [16:37:42]OFD Sender: No OFD packet to send [16:37:47]OFD Sender: No OFD packet to send [16:37:52]OFD Sender: No OFD packet to send [16:37:57]OFD Sender: No OFD packet to send [16:38:02]OFD Sender: No OFD packet to send [16:38:07]OFD Sender: No OFD packet to send [16:38:12]OFD Sender: No OFD packet to send [16:38:17]OFD Sender: No OFD packet to send [16:38:22]OFD Sender: No OFD packet to send [16:38:27]OFD Sender: No OFD packet to send [16:38:32]OFD Sender: No OFD packet to send [16:38:37]OFD Sender: No OFD packet to send [16:38:42]OFD Sender: No OFD packet to send [16:38:47]OFD Sender: No OFD packet to send [16:38:52]OFD Sender: No OFD packet to send [16:38:57]OFD Sender: No OFD packet to send [16:39:02]OFD Sender: No OFD packet to send [16:39:07]OFD Sender: No OFD packet to send [16:39:12]OFD Sender: No OFD packet to send [16:39:17]OFD Sender: No OFD packet to send [16:39:22]OFD Sender: No OFD packet to send [16:39:27]OFD Sender: No OFD packet to send [16:39:32]OFD Sender: No OFD packet to send [16:39:37]OFD Sender: No OFD packet to send [16:39:42]OFD Sender: No OFD packet to send [16:39:47]OFD Sender: No OFD packet to send [16:39:52]OFD Sender: No OFD packet to send [16:39:57]OFD Sender: No OFD packet to send [16:40:02]OFD Sender: No OFD packet to send [16:40:07]OFD Sender: No OFD packet to send [16:40:12]OFD Sender: No OFD packet to send [16:40:17]OFD Sender: No OFD packet to send [16:40:22]OFD Sender: No OFD packet to send [16:40:27]OFD Sender: No OFD packet to send [16:40:32]OFD Sender: No OFD packet to send [16:40:37]OFD Sender: No OFD packet to send [16:40:42]OFD Sender: No OFD packet to send [16:40:47]OFD Sender: No OFD packet to send [16:40:52]OFD Sender: No OFD packet to send [16:40:57]OFD Sender: No OFD packet to send [16:41:02]OFD Sender: No OFD packet to send [16:41:07]OFD Sender: No OFD packet to send [16:41:12]OFD Sender: No OFD packet to send [16:41:17]OFD Sender: No OFD packet to send [16:41:22]OFD Sender: No OFD packet to send [16:41:27]OFD Sender: No OFD packet to send [16:41:32]OFD Sender: No OFD packet to send [16:41:37]OFD Sender: No OFD packet to send [16:41:42]OFD Sender: No OFD packet to send [16:41:47]OFD Sender: No OFD packet to send [16:41:52]OFD Sender: No OFD packet to send [16:41:57]OFD Sender: No OFD packet to send [16:42:02]OFD Sender: No OFD packet to send [16:42:07]OFD Sender: No OFD packet to send [16:42:12]OFD Sender: No OFD packet to send [16:42:17]OFD Sender: No OFD packet to send [16:42:22]OFD Sender: No OFD packet to send [16:42:27]OFD Sender: No OFD packet to send [16:42:32]OFD Sender: No OFD packet to send [16:42:37]OFD Sender: No OFD packet to send [16:42:42]OFD Sender: No OFD packet to send [16:42:47]OFD Sender: No OFD packet to send [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:02]OFD Sender: No OFD packet to send [16:43:07]OFD Sender: No OFD packet to send [16:43:09]accept exits with 8 [16:43:09]New connection [16:43:09]New thread 3067047268 created [16:43:09]Thread 3066903908 joined [16:43:09]Waiting for new connection... [16:43:09] Sock 8.Parse request [16:43:09]Sock 8.Check first char [16:43:09]Sock 8.First char is OK [16:43:09]request: POST /json_proto HTTP/1.0 [16:43:09]Method: POST [16:43:09]URL: /json_proto [16:43:09]Method is POST - this is cgi request [16:43:09]url: /json_proto [16:43:09]query_string will be loaded in cgi processing [16:43:09]execute_cgi json_proto POST (null) [16:43:09]execute_cgi path=json_proto method=POST [16:43:09]POST find Content-Length [16:43:09]Host: 172.17.62.196:8080 [16:43:09]Content-Length: 805 [16:43:09]Content-Type: application/json [16:43:09] [16:43:09]POST finish read [16:43:09]Found Content-Length = 805 [16:43:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16775", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:09]execute_script... [16:43:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16775", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:09]POST & json_proto [16:43:09]process_json_proto [16:43:09]json parsed OK: [16:43:09]protocol is kg_v1.0 [16:43:09]action value=close_receipt [16:43:09]process_action close_receipt [16:43:09]cmd_close_receipt [16:43:09]MH_GetDate [16:43:09]Write to MH i2c: F0 00 00 21 00 10 [16:43:09]Write i2c OK [16:43:09]MH_I2C_Read... [16:43:09]Read from MH i2c: F0 [16:43:09]MH_I2C_Read... [16:43:09]Read from MH i2c: F0 09 00 [16:43:09]MH_I2C_Read... [16:43:09]Read from MH i2c: F0 09 00 21 00 00 1F EC F2 66 CE CC 0E 66 8A [16:43:09]GetLastDocTimeStamp 1727178838 [16:43:09]current date 1727196191 [16:43:09]FM_GetShiftState [16:43:09]SAM_PROTO_GetShiftState [16:43:09]wFMCommunicate request_size=4 [16:43:09]MH_SAM_APDU [16:43:09]CAPDU: 80 13 01 00 [16:43:09]Write to MH i2c: E2 08 00 22 00 80 13 01 00 00 00 00 00 9F [16:43:09]Write i2c OK [16:43:09]MH_I2C_Read... [16:43:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:09]Read from MH i2c: E2 [16:43:09]MH_I2C_Read... [16:43:09]Read from MH i2c: E2 0E 00 [16:43:09]MH_I2C_Read... [16:43:09]Read from MH i2c: E2 0E 00 22 00 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 D6 [16:43:09]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [16:43:09]wFMCommunicate OK [16:43:09]SAM_PROTO_GetShiftState done [16:43:09]FM_GetShiftState done [16:43:09]opened in 1727136720 [16:43:09]opened+sec_in_day 1727223120 [16:43:09]quantity*price = 6000 [16:43:09]sum+1 = 6001 [16:43:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 30 24.09.2024 16:43 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18860 ФПД: 13921662915728 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T164311&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18860&fm=13921662915728&tin=02508201610067®Number=0000000000152968&sum=6000 0 [16:43:10]StoreToDocumentArchive [16:43:10]shift 182 fd 18860 [16:43:10]save to /storage/0182/doc_00018860 [16:43:10]save last doc name /storage/0182/doc_00018860 to /storage/kkm_last_doc_name [16:43:10]save OK [16:43:10]Clear old archive folders... [16:43:10]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:43:10]tlvbuf is 0183FAC0 [16:43:10]SAM_PROTO_ClearQueue [16:43:10]wFMCommunicate request_size=4 [16:43:10]MH_SAM_APDU [16:43:10]CAPDU: 80 09 00 00 [16:43:10]Write to MH i2c: E2 08 00 2F 00 80 09 00 00 00 00 00 00 A1 [16:43:10]Write i2c OK [16:43:10]MH_I2C_Read... [16:43:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:43:11]Read from MH i2c: E2 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 2F 00 00 90 00 A3 [16:43:11]RAPDU: 90 00 [16:43:11]wFMCommunicate OK [16:43:11]SAM_PROTO_ClearQueue done [16:43:11]KKMCreateOFDPacket [16:43:11]OFDProtocolAddRootSTLVToBuf [16:43:11]FM_MakeSignedData [16:43:11]FM_MakeSignedData [16:43:11]SAM_PROTO_SignData [16:43:11]wFMCommunicate request_size=4 [16:43:11]MH_SAM_APDU [16:43:11]CAPDU: 80 0D 01 02 [16:43:11]Write to MH i2c: E2 08 00 30 00 80 0D 01 02 00 00 00 00 A9 [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:43:11]Read from MH i2c: E2 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 30 00 00 90 00 A4 [16:43:11]RAPDU: 90 00 [16:43:11]wFMCommunicate OK [16:43:11]wFMCommunicate request_size=255 [16:43:11]MH_SAM_APDU [16:43:11]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 1F EC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 [16:43:11]Write to MH i2c: E2 02 01 31 00 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 1F EC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 00 00 21 [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:11]Read from MH i2c: E2 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 31 00 00 90 00 A5 [16:43:11]RAPDU: 90 00 [16:43:11]wFMCommunicate OK [16:43:11]wFMCommunicate request_size=35 [16:43:11]MH_SAM_APDU [16:43:11]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AC 49 00 00 35 04 06 00 0C A9 63 C5 D4 90 [16:43:11]Write to MH i2c: E2 26 00 32 00 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AC 49 00 00 35 04 06 00 0C A9 63 C5 D4 90 00 00 DB [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:11]Read from MH i2c: E2 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 03 00 32 00 00 90 00 A6 [16:43:11]RAPDU: 90 00 [16:43:11]wFMCommunicate OK [16:43:11]wFMCommunicate request_size=4 [16:43:11]MH_SAM_APDU [16:43:11]CAPDU: 80 0D 03 02 [16:43:11]Write to MH i2c: E2 08 00 33 00 80 0D 03 02 00 00 00 00 AE [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:43:11]Read from MH i2c: E2 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 0B 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 0B 00 33 00 00 8D C3 A6 43 0E 9F 40 2E 90 00 03 [16:43:11]RAPDU: 8D C3 A6 43 0E 9F 40 2E 90 00 [16:43:11]wFMCommunicate OK [16:43:11]SAM_PROTO_SignData done [16:43:11]FM_MakeSignedData done [16:43:11]CreateOFDProtocolMessage [16:43:11]wFMCommunicate request_size=4 [16:43:11]MH_SAM_APDU [16:43:11]CAPDU: 80 11 00 00 [16:43:11]Write to MH i2c: E2 08 00 34 00 80 11 00 00 00 00 00 00 AE [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:11]Read from MH i2c: E2 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 17 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: E2 17 00 34 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 07 [16:43:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:43:11]wFMCommunicate OK [16:43:11]CreateOFDProtocolMessage done [16:43:11]OFDSenderStorePacket 18860 [16:43:11]StoreOFDPacket docnum=18860 [16:43:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 07 6F 20 01 D2 09 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 1F EC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AC 49 00 00 35 04 06 00 0C A9 63 C5 D4 90 8D C3 A6 43 0E 9F 40 2E [16:43:11]CheckFolder [16:43:11]dirname=/storage/ofd_packets [16:43:11]CheckFolder done [16:43:11]ProducePacketName [16:43:11]name=ofd_packets/00018860 [16:43:11]NVStorageSaveData ofd_packets/00018860 [16:43:11]File name is /storage/ofd_packets/00018860 [16:43:11]Write 326 bytes [16:43:11]NVStorageSaveData done [16:43:11]OFDSenderStorePacket done [16:43:11]KKMCreateOFDPacket done [16:43:11]NVStorageSaveData kkm_last_timestamp [16:43:11]File name is /storage/kkm_last_timestamp [16:43:11]Write 4 bytes [16:43:11]NVStorageSaveData done [16:43:11]ExternCall_PrintAddStr [16:43:11]wPrintStart [16:43:11]Write to MH i2c: 01 00 00 35 00 35 [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: 01 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: 01 07 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: 01 07 00 35 00 00 00 00 00 00 FF 0F 4A [16:43:11]RasterBufferAndPrint [16:43:11]line Счет N : (3)16775 [16:43:11]line ИНН: 02508201610067 [16:43:11]line Контрольно-Кассовый Чек [16:43:11]line ПРОДАЖА [16:43:11]line Товар: 4700000310043 [16:43:11]line Вода Жалалабат 27 1л [16:43:11]line 1.000 * 60.00 [16:43:11]line = 60.00 [16:43:11]line НДС 12% НСП 1% [16:43:11]line > о реализуемом товаре [16:43:11]line ИТОГО: 60.00 [16:43:11]line НСП 1% : 0.53 [16:43:11]line НДС 12% : 6.37 [16:43:11]line Наличными: 0.00 [16:43:11]line Безнал.: 60.00 [16:43:11]line Место: АЗС № 176 "Партнер Нефть" [16:43:11]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [16:43:11]line СНО: Общий режим [16:43:11]line Чек 30 24.09.2024 16:43 [16:43:11]line Смена: 182 ФФД: 1.0 [16:43:11]line ЗНМ: 0300000010 [16:43:11]line РНМ: 0000000000152968 [16:43:11]line Версия ККМ: v1.0 [16:43:11]line Платежная система: O! деньги [16:43:11]line ФМ: 0000000000959456 [16:43:11]line ФД: 18860 [16:43:11]line ФПД: 13921662915728 [16:43:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T164311&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18860&fm=13921662915728&tin=02508201610067®Number=0000000000152968&sum=6000 [16:43:11]line 0 [16:43:11]written 0, free lines is 4095 [16:43:11]OFD Sender: Processing packet 18860 [packets to send 7, broken 6] [16:43:11]ProducePacketName [16:43:11]name=ofd_packets/00018860 [16:43:11]OFD Sender: To server: pG, [16:43:11]CommunicateWithHost lk.salyk.kg:30040 [16:43:11]ConnectInit lk.salyk.kg [16:43:11]Connected sock=10 [16:43:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 07 6F 20 01 D2 09 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 1F EC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AC 49 00 00 35 04 06 00 0C A9 63 C5 D4 90 8D C3 A6 43 0E 9F 40 2E [16:43:11]Write to MH i2c: 01 00 00 5F 00 5F [16:43:11]Write i2c OK [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: 01 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: 01 07 00 [16:43:11]MH_I2C_Read... [16:43:11]Read from MH i2c: 01 07 00 5F 00 00 00 00 00 00 0E 0D 81 [16:43:11]RasterBufferAndPrint [16:43:11]line [16:43:11]line [16:43:11]line [16:43:11]line [16:43:11]line [16:43:11]written 0, free lines is 3348 [16:43:12]MH_Cut [16:43:12]Write to MH i2c: D1 01 00 66 00 01 38 [16:43:12]Write i2c OK [16:43:12]MH_I2C_Read... [16:43:12]Read from MH i2c: D1 [16:43:12]MH_I2C_Read... [16:43:12]Read from MH i2c: D1 01 00 [16:43:12]MH_I2C_Read... [16:43:12]Read from MH i2c: D1 01 00 66 00 00 37 [16:43:12]Write to MH i2c: 01 00 00 67 00 67 [16:43:12]Write i2c OK [16:43:12]MH_I2C_Read... [16:43:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E6 4D 47 00 34 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AC 49 00 00 F4 03 04 00 7F 95 F2 66 B6 04 01 00 00 0A B2 76 2D 5D 9E 99 5F [16:43:12]CommunicateWithHost err = 0 [16:43:12]CheckOFDResponse [16:43:12]1017 (14) - 77093643461234 [16:43:12]1041 (16) - 0000000000959456 [16:43:12]1040 (4) - 18860 [16:43:12]1012 (4) - 24.09.2024 10:33 [16:43:12]1206 (1) - 0 [16:43:12]OFD Sender: Remove packet 18860 [16:43:12]ProducePacketName [16:43:12]name=ofd_packets/00018860 [16:43:12]NVStorageDeleteData [16:43:12]OFD Sender: No OFD packet to send [16:43:12]*** Cut start [16:43:12]*** Partial cut [16:43:12]*** CUTSNS_PIN = 1 [16:43:12]*** CUTSNS_PIN = 0 [16:43:12]*** Brake cut motor [16:43:13]Read from MH i2c: 01 [16:43:13]MH_I2C_Read... [16:43:13]*** Stop cut motor [16:43:13]*** Cut end [16:43:13]Read from MH i2c: 01 07 00 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: 01 07 00 67 00 00 00 00 00 00 FF 0F 7C [16:43:13]process_action close_receipt done [16:43:13]requested_data is exist [16:43:13]produce_requested_data [16:43:13]requested_item fm.sn is exist - process it [16:43:13]wFMCommunicate request_size=4 [16:43:13]MH_SAM_APDU [16:43:13]CAPDU: 80 11 00 00 [16:43:13]Write to MH i2c: E2 08 00 68 00 80 11 00 00 00 00 00 00 E2 [16:43:13]Write i2c OK [16:43:13]MH_I2C_Read... [16:43:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:13]Read from MH i2c: E2 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: E2 17 00 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: E2 17 00 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3B [16:43:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:43:13]wFMCommunicate OK [16:43:13]requested_item fd.num is exist - process it [16:43:13]SAM_PROTO_GetFieldsCounters [16:43:13]wFMCommunicate request_size=4 [16:43:13]MH_SAM_APDU [16:43:13]CAPDU: 80 13 00 00 [16:43:13]Write to MH i2c: E2 08 00 69 00 80 13 00 00 00 00 00 00 E5 [16:43:13]Write i2c OK [16:43:13]MH_I2C_Read... [16:43:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:43:13]Read from MH i2c: E2 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: E2 62 00 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: E2 62 00 69 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AC 49 00 00 0E 04 04 00 B6 00 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 17 [16:43:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AC 49 00 00 0E 04 04 00 B6 00 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 [16:43:13]wFMCommunicate OK [16:43:13]SAM_PROTO_GetFieldsCounters done [16:43:13]requested_item shift.num is exist - process it [16:43:13]requested_item shift.opened is exist - process it [16:43:13]req_shift_opened [16:43:13]FM_GetShiftState [16:43:13]SAM_PROTO_GetShiftState [16:43:13]wFMCommunicate request_size=4 [16:43:13]MH_SAM_APDU [16:43:13]CAPDU: 80 13 01 00 [16:43:13]Write to MH i2c: E2 08 00 6A 00 80 13 01 00 00 00 00 00 E7 [16:43:13]Write i2c OK [16:43:13]MH_I2C_Read... [16:43:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:13]Read from MH i2c: E2 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: E2 0E 00 [16:43:13]MH_I2C_Read... [16:43:13]Read from MH i2c: E2 0E 00 6A 00 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 1E [16:43:13]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [16:43:13]wFMCommunicate OK [16:43:13]SAM_PROTO_GetShiftState done [16:43:13]FM_GetShiftState done [16:43:13]req_shift_opened done [16:43:13]requested_item shift.open_date is exist - process it [16:43:13]req_shift_open_date [16:43:13]req_shift_open_date done [16:43:13]produce_requested_data done [16:43:13]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18860,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [16:43:13]process_action_free close_receipt [16:43:13]json_value_free [16:43:13]json_value_free done [16:43:13]process_json_proto returns [16:43:13]Send response to host [16:43:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18860,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [16:43:13]free response buf [16:43:13]execute_script done [16:43:13]execute_script returns [16:43:13]free content buf [16:43:13]Sock 8.Close socket [16:43:13]Sock 8.Thread stoped [16:43:17]OFD Sender: No OFD packet to send [16:43:22]OFD Sender: No OFD packet to send [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:48:37]OFD Sender: No OFD packet to send [16:48:42]OFD Sender: No OFD packet to send [16:48:47]OFD Sender: No OFD packet to send [16:48:52]OFD Sender: No OFD packet to send [16:48:57]OFD Sender: No OFD packet to send [16:49:02]OFD Sender: No OFD packet to send [16:49:07]OFD Sender: No OFD packet to send [16:49:12]OFD Sender: No OFD packet to send [16:49:17]OFD Sender: No OFD packet to send [16:49:22]OFD Sender: No OFD packet to send [16:49:27]OFD Sender: No OFD packet to send [16:49:32]OFD Sender: No OFD packet to send [16:49:37]OFD Sender: No OFD packet to send [16:49:42]OFD Sender: No OFD packet to send [16:49:47]OFD Sender: No OFD packet to send [16:49:52]OFD Sender: No OFD packet to send [16:49:57]OFD Sender: No OFD packet to send [16:50:02]OFD Sender: No OFD packet to send [16:50:07]OFD Sender: No OFD packet to send [16:50:12]OFD Sender: No OFD packet to send [16:50:17]OFD Sender: No OFD packet to send [16:50:22]OFD Sender: No OFD packet to send [16:50:27]OFD Sender: No OFD packet to send [16:50:32]OFD Sender: No OFD packet to send [16:50:37]OFD Sender: No OFD packet to send [16:50:42]OFD Sender: No OFD packet to send [16:50:47]OFD Sender: No OFD packet to send [16:50:52]OFD Sender: No OFD packet to send [16:50:57]OFD Sender: No OFD packet to send [16:51:02]OFD Sender: No OFD packet to send [16:51:07]OFD Sender: No OFD packet to send [16:51:12]OFD Sender: No OFD packet to send [16:51:17]OFD Sender: No OFD packet to send [16:51:22]OFD Sender: No OFD packet to send [16:51:27]OFD Sender: No OFD packet to send [16:51:32]OFD Sender: No OFD packet to send [16:51:37]OFD Sender: No OFD packet to send [16:51:42]OFD Sender: No OFD packet to send [16:51:47]OFD Sender: No OFD packet to send [16:51:52]OFD Sender: No OFD packet to send [16:51:57]OFD Sender: No OFD packet to send [16:52:02]OFD Sender: No OFD packet to send [16:52:07]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:23]OFD Sender: No OFD packet to send [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:54]accept exits with 9 [17:00:54]New connection [17:00:54]New thread 3066903908 created [17:00:54]Thread 3067047268 joined [17:00:54]Waiting for new connection... [17:00:54] Sock 9.Parse request [17:00:54]Sock 9.Check first char [17:00:54]Sock 9.First char is OK [17:00:54]request: POST /json_proto HTTP/1.0 [17:00:54]Method: POST [17:00:54]URL: /json_proto [17:00:54]Method is POST - this is cgi request [17:00:54]url: /json_proto [17:00:54]query_string will be loaded in cgi processing [17:00:54]execute_cgi json_proto POST (null) [17:00:54]execute_cgi path=json_proto method=POST [17:00:54]POST find Content-Length [17:00:54]Host: 172.17.62.196:8080 [17:00:54]Content-Length: 631 [17:00:54]Content-Type: application/json [17:00:54] [17:00:54]POST finish read [17:00:54]Found Content-Length = 631 [17:00:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16799", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:54]execute_script... [17:00:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16799", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:54]POST & json_proto [17:00:54]process_json_proto [17:00:54]json parsed OK: [17:00:54]protocol is kg_v1.0 [17:00:54]action value=close_receipt [17:00:54]process_action close_receipt [17:00:54]cmd_close_receipt [17:00:54]MH_GetDate [17:00:54]Write to MH i2c: F0 00 00 6B 00 5A [17:00:54]Write i2c OK [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: F0 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: F0 09 00 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: F0 09 00 6B 00 00 48 F0 F2 66 CE CC 0E 66 01 [17:00:54]GetLastDocTimeStamp 1727196191 [17:00:54]current date 1727197256 [17:00:54]FM_GetShiftState [17:00:54]SAM_PROTO_GetShiftState [17:00:54]wFMCommunicate request_size=4 [17:00:54]MH_SAM_APDU [17:00:54]CAPDU: 80 13 01 00 [17:00:54]Write to MH i2c: E2 08 00 6C 00 80 13 01 00 00 00 00 00 E9 [17:00:54]Write i2c OK [17:00:54]MH_I2C_Read... [17:00:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:54]Read from MH i2c: E2 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 0E 00 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 0E 00 6C 00 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 20 [17:00:54]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:00:54]wFMCommunicate OK [17:00:54]SAM_PROTO_GetShiftState done [17:00:54]FM_GetShiftState done [17:00:54]opened in 1727136720 [17:00:54]opened+sec_in_day 1727223120 [17:00:54]quantity*price = 10000 [17:00:54]sum+1 = 10001 [17:00:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 31 24.09.2024 17:00 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18861 ФПД: 28656222047477 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T170056&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18861&fm=28656222047477&tin=02508201610067®Number=0000000000152968&sum=10000 0 [17:00:55]StoreToDocumentArchive [17:00:55]shift 182 fd 18861 [17:00:55]save to /storage/0182/doc_00018861 [17:00:55]save last doc name /storage/0182/doc_00018861 to /storage/kkm_last_doc_name [17:00:55]save OK [17:00:55]Clear old archive folders... [17:00:55]ProcessDocumentItem done err = 0, tmpTLVsize=269 [17:00:55]tlvbuf is 0185DC90 [17:00:55]SAM_PROTO_ClearQueue [17:00:55]wFMCommunicate request_size=4 [17:00:55]MH_SAM_APDU [17:00:55]CAPDU: 80 09 00 00 [17:00:55]Write to MH i2c: E2 08 00 79 00 80 09 00 00 00 00 00 00 EB [17:00:55]Write i2c OK [17:00:55]MH_I2C_Read... [17:00:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:00:55]Read from MH i2c: E2 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 03 00 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [17:00:55]RAPDU: 90 00 [17:00:55]wFMCommunicate OK [17:00:55]SAM_PROTO_ClearQueue done [17:00:55]KKMCreateOFDPacket [17:00:55]OFDProtocolAddRootSTLVToBuf [17:00:55]FM_MakeSignedData [17:00:55]FM_MakeSignedData [17:00:55]SAM_PROTO_SignData [17:00:55]wFMCommunicate request_size=4 [17:00:55]MH_SAM_APDU [17:00:55]CAPDU: 80 0D 01 02 [17:00:55]Write to MH i2c: E2 08 00 7A 00 80 0D 01 02 00 00 00 00 F3 [17:00:55]Write i2c OK [17:00:55]MH_I2C_Read... [17:00:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:00:55]Read from MH i2c: E2 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 03 00 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [17:00:55]RAPDU: 90 00 [17:00:55]wFMCommunicate OK [17:00:55]wFMCommunicate request_size=255 [17:00:55]MH_SAM_APDU [17:00:55]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 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 1F 00 00 00 F4 03 04 00 48 F0 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [17:00:55]Write to MH i2c: E2 02 01 7B 00 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 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 1F 00 00 00 F4 03 04 00 48 F0 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 77 [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:00:56]Read from MH i2c: E2 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 03 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [17:00:56]RAPDU: 90 00 [17:00:56]wFMCommunicate OK [17:00:56]wFMCommunicate request_size=28 [17:00:56]MH_SAM_APDU [17:00:56]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 AD 49 00 00 35 04 06 00 1A 10 0B EF 8C F5 [17:00:56]Write to MH i2c: E2 1F 00 7C 00 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 AD 49 00 00 35 04 06 00 1A 10 0B EF 8C F5 00 00 23 [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:00:56]Read from MH i2c: E2 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 03 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [17:00:56]RAPDU: 90 00 [17:00:56]wFMCommunicate OK [17:00:56]wFMCommunicate request_size=4 [17:00:56]MH_SAM_APDU [17:00:56]CAPDU: 80 0D 03 02 [17:00:56]Write to MH i2c: E2 08 00 7D 00 80 0D 03 02 00 00 00 00 F8 [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:00:56]Read from MH i2c: E2 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 0B 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 0B 00 7D 00 00 89 E8 D2 C5 C8 7F DC CA 90 00 EE [17:00:56]RAPDU: 89 E8 D2 C5 C8 7F DC CA 90 00 [17:00:56]wFMCommunicate OK [17:00:56]SAM_PROTO_SignData done [17:00:56]FM_MakeSignedData done [17:00:56]CreateOFDProtocolMessage [17:00:56]wFMCommunicate request_size=4 [17:00:56]MH_SAM_APDU [17:00:56]CAPDU: 80 11 00 00 [17:00:56]Write to MH i2c: E2 08 00 7E 00 80 11 00 00 00 00 00 00 F8 [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:56]Read from MH i2c: E2 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 17 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 17 00 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 51 [17:00:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:00:56]wFMCommunicate OK [17:00:56]CreateOFDProtocolMessage done [17:00:56]OFDSenderStorePacket 18861 [17:00:56]StoreOFDPacket docnum=18861 [17:00:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 8E 73 19 01 37 86 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 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 1F 00 00 00 F4 03 04 00 48 F0 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AD 49 00 00 35 04 06 00 1A 10 0B EF 8C F5 89 E8 D2 C5 C8 7F DC CA [17:00:56]CheckFolder [17:00:56]dirname=/storage/ofd_packets [17:00:56]CheckFolder done [17:00:56]ProducePacketName [17:00:56]name=ofd_packets/00018861 [17:00:56]NVStorageSaveData ofd_packets/00018861 [17:00:56]File name is /storage/ofd_packets/00018861 [17:00:56]Write 319 bytes [17:00:56]NVStorageSaveData done [17:00:56]OFDSenderStorePacket done [17:00:56]KKMCreateOFDPacket done [17:00:56]NVStorageSaveData kkm_last_timestamp [17:00:56]File name is /storage/kkm_last_timestamp [17:00:56]Write 4 bytes [17:00:56]NVStorageSaveData done [17:00:56]ExternCall_PrintAddStr [17:00:56]wPrintStart [17:00:56]Write to MH i2c: 01 00 00 7F 00 7F [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: 01 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: 01 07 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: 01 07 00 7F 00 00 00 00 00 00 FF 0F 94 [17:00:56]RasterBufferAndPrint [17:00:56]line Счет N : (3)16799 [17:00:56]line ИНН: 02508201610067 [17:00:56]line Контрольно-Кассовый Чек [17:00:56]line ПРОДАЖА [17:00:56]line Товар: 4700000160358 [17:00:56]line Вода Легенда 1л [17:00:56]line 2.000 * 50.00 [17:00:56]line = 100.00 [17:00:56]line НДС 12% НСП 1% [17:00:56]line > о реализуемом товаре [17:00:56]line ИТОГО: 100.00 [17:00:56]line НСП 1% : 0.88 [17:00:56]line НДС 12% : 10.62 [17:00:56]line Наличными: 100.00 [17:00:56]line Безнал.: 0.00 [17:00:56]line Место: АЗС № 176 "Партнер Нефть" [17:00:56]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:00:56]line СНО: Общий режим [17:00:56]line Чек 31 24.09.2024 17:00 [17:00:56]line Смена: 182 ФФД: 1.0 [17:00:56]line ЗНМ: 0300000010 [17:00:56]line РНМ: 0000000000152968 [17:00:56]line Версия ККМ: v1.0 [17:00:56]line ФМ: 0000000000959456 [17:00:56]line ФД: 18861 [17:00:56]line ФПД: 28656222047477 [17:00:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T170056&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18861&fm=28656222047477&tin=02508201610067®Number=0000000000152968&sum=10000 [17:00:56]line 0 [17:00:56]OFD Sender: Processing packet 18861 [packets to send 7, broken 6] [17:00:56]ProducePacketName [17:00:56]name=ofd_packets/00018861 [17:00:56]OFD Sender: To server: pG, [17:00:56]CommunicateWithHost lk.salyk.kg:30040 [17:00:56]ConnectInit lk.salyk.kg [17:00:56]written 0, free lines is 4095 [17:00:57]Connected sock=10 [17:00:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 8E 73 19 01 37 86 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 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 1F 00 00 00 F4 03 04 00 48 F0 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AD 49 00 00 35 04 06 00 1A 10 0B EF 8C F5 89 E8 D2 C5 C8 7F DC CA [17:00:57]Write to MH i2c: 01 00 00 A7 00 A7 [17:00:57]Write i2c OK [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: 01 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: 01 07 00 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 0D 0D C8 [17:00:57]RasterBufferAndPrint [17:00:57]line [17:00:57]line [17:00:57]line [17:00:57]line [17:00:57]line [17:00:57]written 0, free lines is 3347 [17:00:57]MH_Cut [17:00:57]Write to MH i2c: D1 01 00 AE 00 01 80 [17:00:57]Write i2c OK [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: D1 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: D1 01 00 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: D1 01 00 AE 00 00 7F [17:00:57]Write to MH i2c: 01 00 00 AF 00 AF [17:00:57]Write i2c OK [17:00:57]MH_I2C_Read... [17:00:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8F 81 47 00 5F EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AD 49 00 00 F4 03 04 00 A8 99 F2 66 B6 04 01 00 00 49 DE E3 88 A9 BB A0 73 [17:00:57]CommunicateWithHost err = 0 [17:00:57]CheckOFDResponse [17:00:57]1017 (14) - 77093643461234 [17:00:57]1041 (16) - 0000000000959456 [17:00:57]1040 (4) - 18861 [17:00:57]1012 (4) - 24.09.2024 10:51 [17:00:57]1206 (1) - 0 [17:00:57]OFD Sender: Remove packet 18861 [17:00:57]ProducePacketName [17:00:57]name=ofd_packets/00018861 [17:00:57]NVStorageDeleteData [17:00:57]OFD Sender: No OFD packet to send [17:00:57]*** Cut start [17:00:57]*** Partial cut [17:00:57]*** CUTSNS_PIN = 1 [17:00:57]*** CUTSNS_PIN = 0 [17:00:58]*** Brake cut motor [17:00:58]Read from MH i2c: 01 [17:00:58]MH_I2C_Read... [17:00:58]*** Stop cut motor [17:00:58]*** Cut end [17:00:58]Read from MH i2c: 01 07 00 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 FF 0F C4 [17:00:58]process_action close_receipt done [17:00:58]requested_data is exist [17:00:58]produce_requested_data [17:00:58]requested_item fm.sn is exist - process it [17:00:58]wFMCommunicate request_size=4 [17:00:58]MH_SAM_APDU [17:00:58]CAPDU: 80 11 00 00 [17:00:58]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [17:00:58]Write i2c OK [17:00:58]MH_I2C_Read... [17:00:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:58]Read from MH i2c: E2 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 17 00 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 83 [17:00:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:00:58]wFMCommunicate OK [17:00:58]requested_item fd.num is exist - process it [17:00:58]SAM_PROTO_GetFieldsCounters [17:00:58]wFMCommunicate request_size=4 [17:00:58]MH_SAM_APDU [17:00:58]CAPDU: 80 13 00 00 [17:00:58]Write to MH i2c: E2 08 00 B1 00 80 13 00 00 00 00 00 00 2D [17:00:58]Write i2c OK [17:00:58]MH_I2C_Read... [17:00:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:58]Read from MH i2c: E2 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 62 00 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 62 00 B1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AD 49 00 00 0E 04 04 00 B6 00 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 63 [17:00:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AD 49 00 00 0E 04 04 00 B6 00 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 [17:00:58]wFMCommunicate OK [17:00:58]SAM_PROTO_GetFieldsCounters done [17:00:58]requested_item shift.num is exist - process it [17:00:58]requested_item shift.opened is exist - process it [17:00:58]req_shift_opened [17:00:58]FM_GetShiftState [17:00:58]SAM_PROTO_GetShiftState [17:00:58]wFMCommunicate request_size=4 [17:00:58]MH_SAM_APDU [17:00:58]CAPDU: 80 13 01 00 [17:00:58]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [17:00:58]Write i2c OK [17:00:58]MH_I2C_Read... [17:00:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:58]Read from MH i2c: E2 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 0E 00 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 66 [17:00:58]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:00:58]wFMCommunicate OK [17:00:58]SAM_PROTO_GetShiftState done [17:00:58]FM_GetShiftState done [17:00:58]req_shift_opened done [17:00:58]requested_item shift.open_date is exist - process it [17:00:58]req_shift_open_date [17:00:58]req_shift_open_date done [17:00:58]produce_requested_data done [17:00:58]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18861,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:00:58]process_action_free close_receipt [17:00:58]json_value_free [17:00:58]json_value_free done [17:00:58]process_json_proto returns [17:00:58]Send response to host [17:00:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18861,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:00:58]free response buf [17:00:58]execute_script done [17:00:58]execute_script returns [17:00:58]free content buf [17:00:58]Sock 9.Close socket [17:00:58]Sock 9.Thread stoped [17:01:02]OFD Sender: No OFD packet to send [17:01:07]OFD Sender: No OFD packet to send [17:01:12]OFD Sender: No OFD packet to send [17:01:17]OFD Sender: No OFD packet to send [17:01:22]OFD Sender: No OFD packet to send [17:01:27]OFD Sender: No OFD packet to send [17:01:32]OFD Sender: No OFD packet to send [17:01:37]OFD Sender: No OFD packet to send [17:01:42]OFD Sender: No OFD packet to send [17:01:47]OFD Sender: No OFD packet to send [17:01:52]OFD Sender: No OFD packet to send [17:01:57]OFD Sender: No OFD packet to send [17:02:02]OFD Sender: No OFD packet to send [17:02:07]OFD Sender: No OFD packet to send [17:02:12]OFD Sender: No OFD packet to send [17:02:17]OFD Sender: No OFD packet to send [17:02:22]OFD Sender: No OFD packet to send [17:02:27]OFD Sender: No OFD packet to send [17:02:32]OFD Sender: No OFD packet to send [17:02:37]OFD Sender: No OFD packet to send [17:02:42]OFD Sender: No OFD packet to send [17:02:47]OFD Sender: No OFD packet to send [17:02:52]OFD Sender: No OFD packet to send [17:02:57]OFD Sender: No OFD packet to send [17:03:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:38]OFD Sender: No OFD packet to send [17:16:43]OFD Sender: No OFD packet to send [17:16:48]OFD Sender: No OFD packet to send [17:16:50]accept exits with 8 [17:16:50]New connection [17:16:50]New thread 3067047268 created [17:16:50]Thread 3066903908 joined [17:16:50]Waiting for new connection... [17:16:50] Sock 8.Parse request [17:16:50]Sock 8.Check first char [17:16:50]Sock 8.First char is OK [17:16:50]request: POST /json_proto HTTP/1.0 [17:16:50]Method: POST [17:16:50]URL: /json_proto [17:16:50]Method is POST - this is cgi request [17:16:50]url: /json_proto [17:16:50]query_string will be loaded in cgi processing [17:16:50]execute_cgi json_proto POST (null) [17:16:50]execute_cgi path=json_proto method=POST [17:16:50]POST find Content-Length [17:16:50]Host: 172.17.62.196:8080 [17:16:50]Content-Length: 874 [17:16:50]Content-Type: application/json [17:16:50] [17:16:50]POST finish read [17:16:50]Found Content-Length = 874 [17:16:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16800", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:50]execute_script... [17:16:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16800", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:50]POST & json_proto [17:16:50]process_json_proto [17:16:50]json parsed OK: [17:16:50]protocol is kg_v1.0 [17:16:50]action value=close_receipt [17:16:50]process_action close_receipt [17:16:50]cmd_close_receipt [17:16:50]MH_GetDate [17:16:50]Write to MH i2c: F0 00 00 B3 00 A2 [17:16:50]Write i2c OK [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: F0 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: F0 09 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: F0 09 00 B3 00 00 03 F4 F2 66 CE CC 0E 66 08 [17:16:50]GetLastDocTimeStamp 1727197256 [17:16:50]current date 1727198211 [17:16:50]FM_GetShiftState [17:16:50]SAM_PROTO_GetShiftState [17:16:50]wFMCommunicate request_size=4 [17:16:50]MH_SAM_APDU [17:16:50]CAPDU: 80 13 01 00 [17:16:50]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [17:16:50]Write i2c OK [17:16:50]MH_I2C_Read... [17:16:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:50]Read from MH i2c: E2 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 0E 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 68 [17:16:50]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:16:50]wFMCommunicate OK [17:16:50]SAM_PROTO_GetShiftState done [17:16:50]FM_GetShiftState done [17:16:50]opened in 1727136720 [17:16:50]opened+sec_in_day 1727223120 [17:16:50]quantity*price = 9000 [17:16:50]sum+1 = 9001 [17:16:50]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46141538 Р/ж Orbit Bubblemint 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.20 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 32 24.09.2024 17:16 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18862 ФПД: 24383487149535 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T171651&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18862&fm=24383487149535&tin=02508201610067®Number=0000000000152968&sum=13500 0 [17:16:51]StoreToDocumentArchive [17:16:51]shift 182 fd 18862 [17:16:51]save to /storage/0182/doc_00018862 [17:16:51]save last doc name /storage/0182/doc_00018862 to /storage/kkm_last_doc_name [17:16:51]save OK [17:16:51]Clear old archive folders... [17:16:51]ProcessDocumentItem done err = 0, tmpTLVsize=389 [17:16:51]tlvbuf is 01852740 [17:16:51]SAM_PROTO_ClearQueue [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 09 00 00 [17:16:51]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [17:16:51]RAPDU: 90 00 [17:16:51]wFMCommunicate OK [17:16:51]SAM_PROTO_ClearQueue done [17:16:51]KKMCreateOFDPacket [17:16:51]OFDProtocolAddRootSTLVToBuf [17:16:51]FM_MakeSignedData [17:16:51]FM_MakeSignedData [17:16:51]SAM_PROTO_SignData [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 0D 01 02 [17:16:51]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [17:16:51]RAPDU: 90 00 [17:16:51]wFMCommunicate OK [17:16:51]wFMCommunicate request_size=255 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [17:16:51]Write to MH i2c: E2 02 01 C3 00 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 FB [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [17:16:51]RAPDU: 90 00 [17:16:51]wFMCommunicate OK [17:16:51]wFMCommunicate request_size=148 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 03 F4 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AE 49 00 00 35 04 06 00 16 2D 39 17 05 DF [17:16:51]Write to MH i2c: E2 97 00 C4 00 80 0D 02 02 8F 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 03 F4 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AE 49 00 00 35 04 06 00 16 2D 39 17 05 DF 00 00 30 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [17:16:51]RAPDU: 90 00 [17:16:51]wFMCommunicate OK [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 0D 03 02 [17:16:51]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 0B 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 0B 00 C5 00 00 E6 8E 2B 95 C0 EF 90 81 90 00 35 [17:16:51]RAPDU: E6 8E 2B 95 C0 EF 90 81 90 00 [17:16:51]wFMCommunicate OK [17:16:51]SAM_PROTO_SignData done [17:16:51]FM_MakeSignedData done [17:16:51]CreateOFDProtocolMessage [17:16:51]wFMCommunicate request_size=4 [17:16:51]MH_SAM_APDU [17:16:51]CAPDU: 80 11 00 00 [17:16:51]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:51]Read from MH i2c: E2 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 17 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 99 [17:16:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:16:51]wFMCommunicate OK [17:16:51]CreateOFDProtocolMessage done [17:16:51]OFDSenderStorePacket 18862 [17:16:51]StoreOFDPacket docnum=18862 [17:16:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 99 01 00 00 34 22 91 01 0B AE 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 03 F4 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AE 49 00 00 35 04 06 00 16 2D 39 17 05 DF E6 8E 2B 95 C0 EF 90 81 [17:16:51]CheckFolder [17:16:51]dirname=/storage/ofd_packets [17:16:51]CheckFolder done [17:16:51]ProducePacketName [17:16:51]name=ofd_packets/00018862 [17:16:51]NVStorageSaveData ofd_packets/00018862 [17:16:51]File name is /storage/ofd_packets/00018862 [17:16:51]Write 439 bytes [17:16:51]NVStorageSaveData done [17:16:51]OFDSenderStorePacket done [17:16:51]KKMCreateOFDPacket done [17:16:51]NVStorageSaveData kkm_last_timestamp [17:16:51]File name is /storage/kkm_last_timestamp [17:16:51]Write 4 bytes [17:16:51]NVStorageSaveData done [17:16:51]ExternCall_PrintAddStr [17:16:51]wPrintStart [17:16:51]Write to MH i2c: 01 00 00 C7 00 C7 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 07 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [17:16:51]RasterBufferAndPrint [17:16:51]line Счет N : (3)16800 [17:16:52]line ИНН: 02508201610067 [17:16:52]line Контрольно-Кассовый Чек [17:16:52]line ПРОДАЖА [17:16:52]line Товар: 4870022003305 [17:16:52]line Напиток Gorilla эн нат ж/б 0,5/0,45л [17:16:52]line 1.000 * 90.00 [17:16:52]line = 90.00 [17:16:52]line НДС 12% НСП 1% [17:16:52]line > о реализуемом товаре [17:16:52]line Товар: 46141538 [17:16:52]line Р/ж Orbit Bubblemint 13,6г [17:16:52]line 1.000 * 45.00 [17:16:52]line = 45.00 [17:16:52]line НДС 12% НСП 1% [17:16:52]line > о реализуемом товаре [17:16:52]line ИТОГО: 135.00 [17:16:52]line НСП 1% : 1.20 [17:16:52]line НДС 12% : 14.34 [17:16:52]line Наличными: 135.00 [17:16:52]line Безнал.: 0.00 [17:16:52]line Место: АЗС № 176 "Партнер Нефть" [17:16:52]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:16:52]line СНО: Общий режим [17:16:52]line Чек 32 24.09.2024 17:16 [17:16:52]line Смена: 182 ФФД: 1.0 [17:16:52]line ЗНМ: 0300000010 [17:16:52]line РНМ: 0000000000152968 [17:16:52]line Версия ККМ: v1.0 [17:16:52]line ФМ: 0000000000959456 [17:16:52]line ФД: 18862 [17:16:52]line ФПД: 24383487149535 [17:16:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T171651&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18862&fm=24383487149535&tin=02508201610067®Number=0000000000152968&sum=13500 [17:16:52]line 0 [17:16:52]OFD Sender: Processing packet 18862 [packets to send 7, broken 6] [17:16:52]ProducePacketName [17:16:52]name=ofd_packets/00018862 [17:16:52]OFD Sender: To server: pG, [17:16:52]CommunicateWithHost lk.salyk.kg:30040 [17:16:52]ConnectInit lk.salyk.kg [17:16:52]written 0, free lines is 4095 [17:16:52]Connected sock=10 [17:16:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 99 01 00 00 34 22 91 01 0B AE 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 03 F4 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AE 49 00 00 35 04 06 00 16 2D 39 17 05 DF E6 8E 2B 95 C0 EF 90 81 [17:16:52]Write to MH i2c: 01 00 00 F6 00 F6 [17:16:52]Write i2c OK [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: 01 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: 01 07 00 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: 01 07 00 F6 00 00 00 00 00 00 C3 0C CC [17:16:52]RasterBufferAndPrint [17:16:52]line [17:16:52]line [17:16:52]line [17:16:52]line [17:16:52]line [17:16:52]written 0, free lines is 3277 [17:16:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D2 54 47 00 A3 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AE 49 00 00 F4 03 04 00 64 9D F2 66 B6 04 01 00 00 11 B2 D9 EA B4 F1 D3 A1 [17:16:52]CommunicateWithHost err = 0 [17:16:52]CheckOFDResponse [17:16:52]1017 (14) - 77093643461234 [17:16:52]1041 (16) - 0000000000959456 [17:16:52]1040 (4) - 18862 [17:16:52]1012 (4) - 24.09.2024 11:07 [17:16:52]1206 (1) - 0 [17:16:52]OFD Sender: Remove packet 18862 [17:16:52]ProducePacketName [17:16:52]name=ofd_packets/00018862 [17:16:52]NVStorageDeleteData [17:16:52]MH_Cut [17:16:52]Write to MH i2c: D1 01 00 FD 00 01 CF [17:16:52]Write i2c OK [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: D1 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: D1 01 00 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: D1 01 00 FD 00 00 CE [17:16:52]Write to MH i2c: 01 00 00 FE 00 FE [17:16:52]Write i2c OK [17:16:52]MH_I2C_Read... [17:16:53]OFD Sender: No OFD packet to send [17:16:53]*** Cut start [17:16:53]*** Partial cut [17:16:53]*** CUTSNS_PIN = 1 [17:16:53]*** CUTSNS_PIN = 0 [17:16:53]*** Brake cut motor [17:16:54]Read from MH i2c: 01 [17:16:54]MH_I2C_Read... [17:16:54]*** Stop cut motor [17:16:54]*** Cut end [17:16:54]Read from MH i2c: 01 07 00 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: 01 07 00 FE 00 00 00 00 00 00 FF 0F 13 [17:16:54]process_action close_receipt done [17:16:54]requested_data is exist [17:16:54]produce_requested_data [17:16:54]requested_item fm.sn is exist - process it [17:16:54]wFMCommunicate request_size=4 [17:16:54]MH_SAM_APDU [17:16:54]CAPDU: 80 11 00 00 [17:16:54]Write to MH i2c: E2 08 00 FF 00 80 11 00 00 00 00 00 00 79 [17:16:54]Write i2c OK [17:16:54]MH_I2C_Read... [17:16:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:54]Read from MH i2c: E2 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: E2 17 00 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: E2 17 00 FF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D2 [17:16:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:16:54]wFMCommunicate OK [17:16:54]requested_item fd.num is exist - process it [17:16:54]SAM_PROTO_GetFieldsCounters [17:16:54]wFMCommunicate request_size=4 [17:16:54]MH_SAM_APDU [17:16:54]CAPDU: 80 13 00 00 [17:16:54]Write to MH i2c: E2 08 00 00 01 80 13 00 00 00 00 00 00 7D [17:16:54]Write i2c OK [17:16:54]MH_I2C_Read... [17:16:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:16:54]Read from MH i2c: E2 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: E2 62 00 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: E2 62 00 00 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AE 49 00 00 0E 04 04 00 B6 00 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 B7 [17:16:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AE 49 00 00 0E 04 04 00 B6 00 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 [17:16:54]wFMCommunicate OK [17:16:54]SAM_PROTO_GetFieldsCounters done [17:16:54]requested_item shift.num is exist - process it [17:16:54]requested_item shift.opened is exist - process it [17:16:54]req_shift_opened [17:16:54]FM_GetShiftState [17:16:54]SAM_PROTO_GetShiftState [17:16:54]wFMCommunicate request_size=4 [17:16:54]MH_SAM_APDU [17:16:54]CAPDU: 80 13 01 00 [17:16:54]Write to MH i2c: E2 08 00 01 01 80 13 01 00 00 00 00 00 7F [17:16:54]Write i2c OK [17:16:54]MH_I2C_Read... [17:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:54]Read from MH i2c: E2 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: E2 0E 00 [17:16:54]MH_I2C_Read... [17:16:54]Read from MH i2c: E2 0E 00 01 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 B6 [17:16:54]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:16:54]wFMCommunicate OK [17:16:54]SAM_PROTO_GetShiftState done [17:16:54]FM_GetShiftState done [17:16:54]req_shift_opened done [17:16:54]requested_item shift.open_date is exist - process it [17:16:54]req_shift_open_date [17:16:54]req_shift_open_date done [17:16:54]produce_requested_data done [17:16:54]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18862,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:16:54]process_action_free close_receipt [17:16:54]json_value_free [17:16:54]json_value_free done [17:16:54]process_json_proto returns [17:16:54]Send response to host [17:16:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18862,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:16:54]free response buf [17:16:54]execute_script done [17:16:54]execute_script returns [17:16:54]free content buf [17:16:54]Sock 8.Close socket [17:16:54]Sock 8.Thread stoped [17:16:58]OFD Sender: No OFD packet to send [17:17:03]OFD Sender: No OFD packet to send [17:17:08]OFD Sender: No OFD packet to send [17:17:13]OFD Sender: No OFD packet to send [17:17:18]OFD Sender: No OFD packet to send [17:17:23]OFD Sender: No OFD packet to send [17:17:28]OFD Sender: No OFD packet to send [17:17:33]OFD Sender: No OFD packet to send [17:17:38]OFD Sender: No OFD packet to send [17:17:43]OFD Sender: No OFD packet to send [17:17:48]OFD Sender: No OFD packet to send [17:17:53]OFD Sender: No OFD packet to send [17:17:58]OFD Sender: No OFD packet to send [17:18:03]OFD Sender: No OFD packet to send [17:18:08]OFD Sender: No OFD packet to send [17:18:13]OFD Sender: No OFD packet to send [17:18:18]OFD Sender: No OFD packet to send [17:18:23]OFD Sender: No OFD packet to send [17:18:28]OFD Sender: No OFD packet to send [17:18:33]OFD Sender: No OFD packet to send [17:18:38]OFD Sender: No OFD packet to send [17:18:43]OFD Sender: No OFD packet to send [17:18:48]OFD Sender: No OFD packet to send [17:18:53]OFD Sender: No OFD packet to send [17:18:58]OFD Sender: No OFD packet to send [17:19:03]OFD Sender: No OFD packet to send [17:19:08]OFD Sender: No OFD packet to send [17:19:13]OFD Sender: No OFD packet to send [17:19:18]OFD Sender: No OFD packet to send [17:19:23]OFD Sender: No OFD packet to send [17:19:28]OFD Sender: No OFD packet to send [17:19:33]OFD Sender: No OFD packet to send [17:19:38]OFD Sender: No OFD packet to send [17:19:43]OFD Sender: No OFD packet to send [17:19:48]OFD Sender: No OFD packet to send [17:19:53]OFD Sender: No OFD packet to send [17:19:58]OFD Sender: No OFD packet to send [17:20:03]OFD Sender: No OFD packet to send [17:20:08]OFD Sender: No OFD packet to send [17:20:13]OFD Sender: No OFD packet to send [17:20:18]OFD Sender: No OFD packet to send [17:20:23]OFD Sender: No OFD packet to send [17:20:28]OFD Sender: No OFD packet to send [17:20:33]OFD Sender: No OFD packet to send [17:20:38]OFD Sender: No OFD packet to send [17:20:43]OFD Sender: No OFD packet to send [17:20:48]OFD Sender: No OFD packet to send [17:20:53]OFD Sender: No OFD packet to send [17:20:58]OFD Sender: No OFD packet to send [17:21:03]OFD Sender: No OFD packet to send [17:21:08]OFD Sender: No OFD packet to send [17:21:13]OFD Sender: No OFD packet to send [17:21:18]OFD Sender: No OFD packet to send [17:21:23]OFD Sender: No OFD packet to send [17:21:28]OFD Sender: No OFD packet to send [17:21:33]OFD Sender: No OFD packet to send [17:21:38]OFD Sender: No OFD packet to send [17:21:43]OFD Sender: No OFD packet to send [17:21:48]OFD Sender: No OFD packet to send [17:21:53]OFD Sender: No OFD packet to send [17:21:58]OFD Sender: No OFD packet to send [17:22:03]OFD Sender: No OFD packet to send [17:22:08]OFD Sender: No OFD packet to send [17:22:13]OFD Sender: No OFD packet to send [17:22:18]OFD Sender: No OFD packet to send [17:22:23]OFD Sender: No OFD packet to send [17:22:28]OFD Sender: No OFD packet to send [17:22:33]OFD Sender: No OFD packet to send [17:22:38]OFD Sender: No OFD packet to send [17:22:43]OFD Sender: No OFD packet to send [17:22:48]OFD Sender: No OFD packet to send [17:22:53]OFD Sender: No OFD packet to send [17:22:58]OFD Sender: No OFD packet to send [17:23:03]OFD Sender: No OFD packet to send [17:23:08]OFD Sender: No OFD packet to send [17:23:13]OFD Sender: No OFD packet to send [17:23:18]OFD Sender: No OFD packet to send [17:23:23]OFD Sender: No OFD packet to send [17:23:28]OFD Sender: No OFD packet to send [17:23:33]OFD Sender: No OFD packet to send [17:23:38]OFD Sender: No OFD packet to send [17:23:43]OFD Sender: No OFD packet to send [17:23:48]OFD Sender: No OFD packet to send [17:23:53]OFD Sender: No OFD packet to send [17:23:58]OFD Sender: No OFD packet to send [17:24:03]OFD Sender: No OFD packet to send [17:24:08]OFD Sender: No OFD packet to send [17:24:13]OFD Sender: No OFD packet to send [17:24:18]OFD Sender: No OFD packet to send [17:24:23]OFD Sender: No OFD packet to send [17:24:28]OFD Sender: No OFD packet to send [17:24:33]OFD Sender: No OFD packet to send [17:24:38]OFD Sender: No OFD packet to send [17:24:43]OFD Sender: No OFD packet to send [17:24:48]OFD Sender: No OFD packet to send [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:48]OFD Sender: No OFD packet to send [17:26:53]OFD Sender: No OFD packet to send [17:26:58]OFD Sender: No OFD packet to send [17:27:03]OFD Sender: No OFD packet to send [17:27:08]OFD Sender: No OFD packet to send [17:27:13]OFD Sender: No OFD packet to send [17:27:18]OFD Sender: No OFD packet to send [17:27:23]OFD Sender: No OFD packet to send [17:27:28]OFD Sender: No OFD packet to send [17:27:33]OFD Sender: No OFD packet to send [17:27:38]OFD Sender: No OFD packet to send [17:27:43]OFD Sender: No OFD packet to send [17:27:48]OFD Sender: No OFD packet to send [17:27:53]OFD Sender: No OFD packet to send [17:27:58]OFD Sender: No OFD packet to send [17:28:03]OFD Sender: No OFD packet to send [17:28:08]OFD Sender: No OFD packet to send [17:28:13]OFD Sender: No OFD packet to send [17:28:18]OFD Sender: No OFD packet to send [17:28:23]OFD Sender: No OFD packet to send [17:28:28]OFD Sender: No OFD packet to send [17:28:33]OFD Sender: No OFD packet to send [17:28:38]OFD Sender: No OFD packet to send [17:28:43]OFD Sender: No OFD packet to send [17:28:48]OFD Sender: No OFD packet to send [17:28:53]OFD Sender: No OFD packet to send [17:28:58]OFD Sender: No OFD packet to send [17:29:03]OFD Sender: No OFD packet to send [17:29:08]OFD Sender: No OFD packet to send [17:29:13]OFD Sender: No OFD packet to send [17:29:18]OFD Sender: No OFD packet to send [17:29:23]OFD Sender: No OFD packet to send [17:29:28]OFD Sender: No OFD packet to send [17:29:33]OFD Sender: No OFD packet to send [17:29:38]OFD Sender: No OFD packet to send [17:29:43]OFD Sender: No OFD packet to send [17:29:48]OFD Sender: No OFD packet to send [17:29:53]OFD Sender: No OFD packet to send [17:29:58]OFD Sender: No OFD packet to send [17:30:03]OFD Sender: No OFD packet to send [17:30:08]OFD Sender: No OFD packet to send [17:30:13]OFD Sender: No OFD packet to send [17:30:18]OFD Sender: No OFD packet to send [17:30:23]OFD Sender: No OFD packet to send [17:30:28]OFD Sender: No OFD packet to send [17:30:33]OFD Sender: No OFD packet to send [17:30:38]OFD Sender: No OFD packet to send [17:30:43]OFD Sender: No OFD packet to send [17:30:48]OFD Sender: No OFD packet to send [17:30:53]OFD Sender: No OFD packet to send [17:30:58]OFD Sender: No OFD packet to send [17:31:03]OFD Sender: No OFD packet to send [17:31:08]OFD Sender: No OFD packet to send [17:31:13]OFD Sender: No OFD packet to send [17:31:18]OFD Sender: No OFD packet to send [17:31:23]OFD Sender: No OFD packet to send [17:31:28]OFD Sender: No OFD packet to send [17:31:33]OFD Sender: No OFD packet to send [17:31:38]OFD Sender: No OFD packet to send [17:31:43]OFD Sender: No OFD packet to send [17:31:48]OFD Sender: No OFD packet to send [17:31:53]OFD Sender: No OFD packet to send [17:31:58]OFD Sender: No OFD packet to send [17:32:04]OFD Sender: No OFD packet to send [17:32:09]OFD Sender: No OFD packet to send [17:32:14]OFD Sender: No OFD packet to send [17:32:19]OFD Sender: No OFD packet to send [17:32:24]OFD Sender: No OFD packet to send [17:32:29]OFD Sender: No OFD packet to send [17:32:34]OFD Sender: No OFD packet to send [17:32:39]OFD Sender: No OFD packet to send [17:32:44]OFD Sender: No OFD packet to send [17:32:49]OFD Sender: No OFD packet to send [17:32:54]OFD Sender: No OFD packet to send [17:32:59]OFD Sender: No OFD packet to send [17:33:04]OFD Sender: No OFD packet to send [17:33:09]OFD Sender: No OFD packet to send [17:33:14]OFD Sender: No OFD packet to send [17:33:19]OFD Sender: No OFD packet to send [17:33:24]OFD Sender: No OFD packet to send [17:33:29]OFD Sender: No OFD packet to send [17:33:34]OFD Sender: No OFD packet to send [17:33:39]OFD Sender: No OFD packet to send [17:33:44]OFD Sender: No OFD packet to send [17:33:49]OFD Sender: No OFD packet to send [17:33:53]accept exits with 9 [17:33:53]New connection [17:33:53]New thread 3066903908 created [17:33:53]Thread 3067047268 joined [17:33:53]Waiting for new connection... [17:33:53] Sock 9.Parse request [17:33:53]Sock 9.Check first char [17:33:53]Sock 9.First char is OK [17:33:53]request: POST /json_proto HTTP/1.0 [17:33:53]Method: POST [17:33:53]URL: /json_proto [17:33:53]Method is POST - this is cgi request [17:33:53]url: /json_proto [17:33:53]query_string will be loaded in cgi processing [17:33:53]execute_cgi json_proto POST (null) [17:33:53]execute_cgi path=json_proto method=POST [17:33:53]POST find Content-Length [17:33:53]Host: 172.17.62.196:8080 [17:33:53]Content-Length: 984 [17:33:53]Content-Type: application/json [17:33:53] [17:33:53]POST finish read [17:33:53]Found Content-Length = 984 [17:33:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117050", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 22.460, "sum" : 1500.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 176\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.46 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:53]execute_script... [17:33:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117050", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 22.460, "sum" : 1500.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 176\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.46 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:53]POST & json_proto [17:33:53]process_json_proto [17:33:53]json parsed OK: [17:33:53]protocol is kg_v1.0 [17:33:53]action value=close_receipt [17:33:53]process_action close_receipt [17:33:53]cmd_close_receipt [17:33:53]MH_GetDate [17:33:53]Write to MH i2c: F0 00 00 02 01 F2 [17:33:53]Write i2c OK [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 09 00 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 09 00 02 01 00 02 F8 F2 66 CE CC 0E 66 5B [17:33:53]GetLastDocTimeStamp 1727198211 [17:33:53]current date 1727199234 [17:33:53]FM_GetShiftState [17:33:53]SAM_PROTO_GetShiftState [17:33:53]wFMCommunicate request_size=4 [17:33:53]MH_SAM_APDU [17:33:53]CAPDU: 80 13 01 00 [17:33:53]Write to MH i2c: E2 08 00 03 01 80 13 01 00 00 00 00 00 81 [17:33:53]Write i2c OK [17:33:53]MH_I2C_Read... [17:33:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:53]Read from MH i2c: E2 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: E2 0E 00 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: E2 0E 00 03 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 B8 [17:33:53]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:33:53]wFMCommunicate OK [17:33:53]SAM_PROTO_GetShiftState done [17:33:53]FM_GetShiftState done [17:33:53]opened in 1727136720 [17:33:53]opened+sec_in_day 1727223120 [17:33:53]quantity*price = 150032 [17:33:53]sum+1 = 150034 [17:33:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.33 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 33 24.09.2024 17:33 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Дисконтная программа АИ-92 номер 176 сэкономлено 22.46 сом ФМ: 0000000000959456 ФД: 18863 ФПД: 64846588930000 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T173355&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18863&fm=64846588930000&tin=02508201610067®Number=0000000000152968&sum=150000 [17:33:54]StoreToDocumentArchive [17:33:54]shift 182 fd 18863 [17:33:54]save to /storage/0182/doc_00018863 [17:33:54]save last doc name /storage/0182/doc_00018863 to /storage/kkm_last_doc_name [17:33:54]save OK [17:33:54]Clear old archive folders... [17:33:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:33:54]tlvbuf is 01842B20 [17:33:54]SAM_PROTO_ClearQueue [17:33:54]wFMCommunicate request_size=4 [17:33:54]MH_SAM_APDU [17:33:54]CAPDU: 80 09 00 00 [17:33:54]Write to MH i2c: E2 08 00 10 01 80 09 00 00 00 00 00 00 83 [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:33:54]Read from MH i2c: E2 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 10 01 00 90 00 85 [17:33:54]RAPDU: 90 00 [17:33:54]wFMCommunicate OK [17:33:54]SAM_PROTO_ClearQueue done [17:33:54]KKMCreateOFDPacket [17:33:54]OFDProtocolAddRootSTLVToBuf [17:33:54]FM_MakeSignedData [17:33:54]FM_MakeSignedData [17:33:54]SAM_PROTO_SignData [17:33:54]wFMCommunicate request_size=4 [17:33:54]MH_SAM_APDU [17:33:54]CAPDU: 80 0D 01 02 [17:33:54]Write to MH i2c: E2 08 00 11 01 80 0D 01 02 00 00 00 00 8B [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:33:54]Read from MH i2c: E2 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 11 01 00 90 00 86 [17:33:54]RAPDU: 90 00 [17:33:54]wFMCommunicate OK [17:33:54]wFMCommunicate request_size=255 [17:33:54]MH_SAM_APDU [17:33:54]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 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 03 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AF 49 00 00 35 04 06 00 3A [17:33:54]Write to MH i2c: E2 02 01 12 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 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 03 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AF 49 00 00 35 04 06 00 3A 00 00 C5 [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:54]Read from MH i2c: E2 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 12 01 00 90 00 87 [17:33:54]RAPDU: 90 00 [17:33:54]wFMCommunicate OK [17:33:54]wFMCommunicate request_size=10 [17:33:54]MH_SAM_APDU [17:33:54]CAPDU: 80 0D 02 02 05 FA 45 E5 E7 D0 [17:33:54]Write to MH i2c: E2 0D 00 13 01 80 0D 02 02 05 00 FA 45 E5 E7 D0 00 00 73 [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:54]Read from MH i2c: E2 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 03 00 13 01 00 90 00 88 [17:33:54]RAPDU: 90 00 [17:33:54]wFMCommunicate OK [17:33:54]wFMCommunicate request_size=4 [17:33:54]MH_SAM_APDU [17:33:54]CAPDU: 80 0D 03 02 [17:33:54]Write to MH i2c: E2 08 00 14 01 80 0D 03 02 00 00 00 00 90 [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:33:54]Read from MH i2c: E2 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 0B 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 0B 00 14 01 00 94 D2 2E E2 C6 7F 7B 66 90 00 2D [17:33:54]RAPDU: 94 D2 2E E2 C6 7F 7B 66 90 00 [17:33:54]wFMCommunicate OK [17:33:54]SAM_PROTO_SignData done [17:33:54]FM_MakeSignedData done [17:33:54]CreateOFDProtocolMessage [17:33:54]wFMCommunicate request_size=4 [17:33:54]MH_SAM_APDU [17:33:54]CAPDU: 80 11 00 00 [17:33:54]Write to MH i2c: E2 08 00 15 01 80 11 00 00 00 00 00 00 90 [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:54]Read from MH i2c: E2 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 17 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: E2 17 00 15 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E9 [17:33:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:33:55]wFMCommunicate OK [17:33:55]CreateOFDProtocolMessage done [17:33:55]OFDSenderStorePacket 18863 [17:33:55]StoreOFDPacket docnum=18863 [17:33:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 09 8C 07 01 E0 37 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 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 03 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AF 49 00 00 35 04 06 00 3A FA 45 E5 E7 D0 94 D2 2E E2 C6 7F 7B 66 [17:33:55]CheckFolder [17:33:55]dirname=/storage/ofd_packets [17:33:55]CheckFolder done [17:33:55]ProducePacketName [17:33:55]name=ofd_packets/00018863 [17:33:55]NVStorageSaveData ofd_packets/00018863 [17:33:55]File name is /storage/ofd_packets/00018863 [17:33:55]Write 301 bytes [17:33:55]NVStorageSaveData done [17:33:55]OFDSenderStorePacket done [17:33:55]KKMCreateOFDPacket done [17:33:55]NVStorageSaveData kkm_last_timestamp [17:33:55]File name is /storage/kkm_last_timestamp [17:33:55]Write 4 bytes [17:33:55]NVStorageSaveData done [17:33:55]ExternCall_PrintAddStr [17:33:55]wPrintStart [17:33:55]Write to MH i2c: 01 00 00 16 01 17 [17:33:55]Write i2c OK [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: 01 [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: 01 07 00 [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: 01 07 00 16 01 00 00 00 00 00 FF 0F 2C [17:33:55]RasterBufferAndPrint [17:33:55]line Счет N : (1)117050 [17:33:55]line ИНН: 02508201610067 [17:33:55]line Контрольно-Кассовый Чек [17:33:55]line ПРОДАЖА [17:33:55]line ТРК (МРК, ГНК) : 22 [17:33:55]line Товар: 2710124130 [17:33:55]line Аи-92-К-5 [17:33:55]line 22.460 * 66.80 [17:33:55]line = 1500.33 [17:33:55]line НДС 12% НСП 1% [17:33:55]line > о реализуемом товаре [17:33:55]line ОКРУГЛЕНИЕ: -0.33 [17:33:55]line ИТОГО: 1500.00 [17:33:55]line Внесено: 1500.00 [17:33:55]line СДАЧА: 0.00 [17:33:55]line НСП 1% : 13.28 [17:33:55]line НДС 12% : 159.33 [17:33:55]line Наличными: 1500.00 [17:33:55]line Безнал.: 0.00 [17:33:55]line Место: АЗС № 176 "Партнер Нефть" [17:33:55]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:33:55]line СНО: Общий режим [17:33:55]line Чек 33 24.09.2024 17:33 [17:33:55]line Смена: 182 ФФД: 1.0 [17:33:55]line ЗНМ: 0300000010 [17:33:55]line РНМ: 0000000000152968 [17:33:55]line Версия ККМ: v1.0 [17:33:55]line [17:33:55]line Дисконтная программа [17:33:55]line АИ-92 [17:33:55]line номер 176 [17:33:55]line сэкономлено 22.46 сом [17:33:55]line ФМ: 0000000000959456 [17:33:55]line ФД: 18863 [17:33:55]line ФПД: 64846588930000 [17:33:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T173355&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18863&fm=64846588930000&tin=02508201610067®Number=0000000000152968&sum=150000 [17:33:55]OFD Sender: Processing packet 18863 [packets to send 7, broken 6] [17:33:55]ProducePacketName [17:33:55]name=ofd_packets/00018863 [17:33:55]OFD Sender: To server: pG, [17:33:55]CommunicateWithHost lk.salyk.kg:30040 [17:33:55]ConnectInit lk.salyk.kg [17:33:55]written 0, free lines is 4095 [17:33:55]Connected sock=10 [17:33:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 09 8C 07 01 E0 37 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 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 03 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AF 49 00 00 35 04 06 00 3A FA 45 E5 E7 D0 94 D2 2E E2 C6 7F 7B 66 [17:33:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E9 AA 47 00 61 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 AF 49 00 00 F4 03 04 00 63 A1 F2 66 B6 04 01 00 00 25 27 A3 B7 A5 B7 CE 09 [17:33:55]CommunicateWithHost err = 0 [17:33:55]CheckOFDResponse [17:33:55]1017 (14) - 77093643461234 [17:33:55]1041 (16) - 0000000000959456 [17:33:55]1040 (4) - 18863 [17:33:55]1012 (4) - 24.09.2024 11:24 [17:33:55]1206 (1) - 0 [17:33:55]OFD Sender: Remove packet 18863 [17:33:55]ProducePacketName [17:33:55]name=ofd_packets/00018863 [17:33:55]NVStorageDeleteData [17:33:55]Write to MH i2c: 01 00 00 46 01 47 [17:33:55]Write i2c OK [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: 01 [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: 01 07 00 [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: 01 07 00 46 01 00 00 00 00 00 98 0C F2 [17:33:55]RasterBufferAndPrint [17:33:55]line [17:33:55]line [17:33:55]line [17:33:55]line [17:33:55]line [17:33:55]written 0, free lines is 3230 [17:33:55]MH_Cut [17:33:55]Write to MH i2c: D1 01 00 4D 01 01 20 [17:33:55]Write i2c OK [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: D1 [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: D1 01 00 [17:33:55]MH_I2C_Read... [17:33:55]Read from MH i2c: D1 01 00 4D 01 00 1F [17:33:55]Write to MH i2c: 01 00 00 4E 01 4F [17:33:55]Write i2c OK [17:33:55]MH_I2C_Read... [17:33:56]OFD Sender: No OFD packet to send [17:33:56]*** Cut start [17:33:56]*** Partial cut [17:33:56]*** CUTSNS_PIN = 1 [17:33:56]*** CUTSNS_PIN = 0 [17:33:56]*** Brake cut motor [17:33:57]Read from MH i2c: 01 [17:33:57]MH_I2C_Read... [17:33:57]*** Stop cut motor [17:33:57]*** Cut end [17:33:57]Read from MH i2c: 01 07 00 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: 01 07 00 4E 01 00 00 00 00 00 FF 0F 64 [17:33:57]process_action close_receipt done [17:33:57]requested_data is exist [17:33:57]produce_requested_data [17:33:57]requested_item fm.sn is exist - process it [17:33:57]wFMCommunicate request_size=4 [17:33:57]MH_SAM_APDU [17:33:57]CAPDU: 80 11 00 00 [17:33:57]Write to MH i2c: E2 08 00 4F 01 80 11 00 00 00 00 00 00 CA [17:33:57]Write i2c OK [17:33:57]MH_I2C_Read... [17:33:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:57]Read from MH i2c: E2 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: E2 17 00 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: E2 17 00 4F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 23 [17:33:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:33:57]wFMCommunicate OK [17:33:57]requested_item fd.num is exist - process it [17:33:57]SAM_PROTO_GetFieldsCounters [17:33:57]wFMCommunicate request_size=4 [17:33:57]MH_SAM_APDU [17:33:57]CAPDU: 80 13 00 00 [17:33:57]Write to MH i2c: E2 08 00 50 01 80 13 00 00 00 00 00 00 CD [17:33:57]Write i2c OK [17:33:57]MH_I2C_Read... [17:33:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:33:57]Read from MH i2c: E2 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: E2 62 00 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: E2 62 00 50 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AF 49 00 00 0E 04 04 00 B6 00 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 0B [17:33:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 AF 49 00 00 0E 04 04 00 B6 00 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 [17:33:57]wFMCommunicate OK [17:33:57]SAM_PROTO_GetFieldsCounters done [17:33:57]requested_item shift.num is exist - process it [17:33:57]requested_item shift.opened is exist - process it [17:33:57]req_shift_opened [17:33:57]FM_GetShiftState [17:33:57]SAM_PROTO_GetShiftState [17:33:57]wFMCommunicate request_size=4 [17:33:57]MH_SAM_APDU [17:33:57]CAPDU: 80 13 01 00 [17:33:57]Write to MH i2c: E2 08 00 51 01 80 13 01 00 00 00 00 00 CF [17:33:57]Write i2c OK [17:33:57]MH_I2C_Read... [17:33:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:57]Read from MH i2c: E2 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: E2 0E 00 [17:33:57]MH_I2C_Read... [17:33:57]Read from MH i2c: E2 0E 00 51 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 06 [17:33:57]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:33:57]wFMCommunicate OK [17:33:57]SAM_PROTO_GetShiftState done [17:33:57]FM_GetShiftState done [17:33:57]req_shift_opened done [17:33:57]requested_item shift.open_date is exist - process it [17:33:57]req_shift_open_date [17:33:57]req_shift_open_date done [17:33:57]produce_requested_data done [17:33:57]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18863,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:33:57]process_action_free close_receipt [17:33:57]json_value_free [17:33:57]json_value_free done [17:33:57]process_json_proto returns [17:33:57]Send response to host [17:33:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18863,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:33:57]free response buf [17:33:57]execute_script done [17:33:57]execute_script returns [17:33:57]free content buf [17:33:57]Sock 9.Close socket [17:33:57]Sock 9.Thread stoped [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:19]accept exits with 8 [17:35:19]New connection [17:35:19]New thread 3067047268 created [17:35:19]Thread 3066903908 joined [17:35:19]Waiting for new connection... [17:35:19] Sock 8.Parse request [17:35:19]Sock 8.Check first char [17:35:19]Sock 8.First char is OK [17:35:19]request: POST /json_proto HTTP/1.0 [17:35:19]Method: POST [17:35:19]URL: /json_proto [17:35:19]Method is POST - this is cgi request [17:35:19]url: /json_proto [17:35:19]query_string will be loaded in cgi processing [17:35:19]execute_cgi json_proto POST (null) [17:35:19]execute_cgi path=json_proto method=POST [17:35:19]POST find Content-Length [17:35:19]Host: 172.17.62.196:8080 [17:35:19]Content-Length: 677 [17:35:19]Content-Type: application/json [17:35:19] [17:35:19]POST finish read [17:35:19]Found Content-Length = 677 [17:35:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117052", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:35:19]execute_script... [17:35:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117052", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:35:19]POST & json_proto [17:35:19]process_json_proto [17:35:19]json parsed OK: [17:35:19]protocol is kg_v1.0 [17:35:19]action value=close_receipt [17:35:19]process_action close_receipt [17:35:19]cmd_close_receipt [17:35:19]MH_GetDate [17:35:19]Write to MH i2c: F0 00 00 52 01 42 [17:35:19]Write i2c OK [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: F0 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: F0 09 00 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: F0 09 00 52 01 00 58 F8 F2 66 CE CC 0E 66 01 [17:35:19]GetLastDocTimeStamp 1727199235 [17:35:19]current date 1727199320 [17:35:19]FM_GetShiftState [17:35:19]SAM_PROTO_GetShiftState [17:35:19]wFMCommunicate request_size=4 [17:35:19]MH_SAM_APDU [17:35:19]CAPDU: 80 13 01 00 [17:35:19]Write to MH i2c: E2 08 00 53 01 80 13 01 00 00 00 00 00 D1 [17:35:19]Write i2c OK [17:35:19]MH_I2C_Read... [17:35:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:35:19]Read from MH i2c: E2 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 0E 00 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 0E 00 53 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 08 [17:35:19]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:35:19]wFMCommunicate OK [17:35:19]SAM_PROTO_GetShiftState done [17:35:19]FM_GetShiftState done [17:35:19]opened in 1727136720 [17:35:19]opened+sec_in_day 1727223120 [17:35:19]quantity*price = 50036 [17:35:19]sum+1 = 50037 [17:35:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 34 24.09.2024 17:35 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18864 ФПД: 38432462635774 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T173520&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18864&fm=38432462635774&tin=02508201610067®Number=0000000000152968&sum=50000 [17:35:20]StoreToDocumentArchive [17:35:20]shift 182 fd 18864 [17:35:20]save to /storage/0182/doc_00018864 [17:35:20]save last doc name /storage/0182/doc_00018864 to /storage/kkm_last_doc_name [17:35:20]save OK [17:35:20]Clear old archive folders... [17:35:20]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:35:20]tlvbuf is 01842F90 [17:35:20]SAM_PROTO_ClearQueue [17:35:20]wFMCommunicate request_size=4 [17:35:20]MH_SAM_APDU [17:35:20]CAPDU: 80 09 00 00 [17:35:20]Write to MH i2c: E2 08 00 60 01 80 09 00 00 00 00 00 00 D3 [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:35:20]Read from MH i2c: E2 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 60 01 00 90 00 D5 [17:35:20]RAPDU: 90 00 [17:35:20]wFMCommunicate OK [17:35:20]SAM_PROTO_ClearQueue done [17:35:20]KKMCreateOFDPacket [17:35:20]OFDProtocolAddRootSTLVToBuf [17:35:20]FM_MakeSignedData [17:35:20]FM_MakeSignedData [17:35:20]SAM_PROTO_SignData [17:35:20]wFMCommunicate request_size=4 [17:35:20]MH_SAM_APDU [17:35:20]CAPDU: 80 0D 01 02 [17:35:20]Write to MH i2c: E2 08 00 61 01 80 0D 01 02 00 00 00 00 DB [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:35:20]Read from MH i2c: E2 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 61 01 00 90 00 D6 [17:35:20]RAPDU: 90 00 [17:35:20]wFMCommunicate OK [17:35:20]wFMCommunicate request_size=255 [17:35:20]MH_SAM_APDU [17:35:20]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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 58 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B0 49 00 00 35 04 06 00 22 [17:35:20]Write to MH i2c: E2 02 01 62 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 58 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B0 49 00 00 35 04 06 00 22 00 00 01 [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:35:20]Read from MH i2c: E2 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 62 01 00 90 00 D7 [17:35:20]RAPDU: 90 00 [17:35:20]wFMCommunicate OK [17:35:20]wFMCommunicate request_size=10 [17:35:20]MH_SAM_APDU [17:35:20]CAPDU: 80 0D 02 02 05 F4 41 48 82 FE [17:35:20]Write to MH i2c: E2 0D 00 63 01 80 0D 02 02 05 00 F4 41 48 82 FE 00 00 E5 [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:35:20]Read from MH i2c: E2 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 03 00 63 01 00 90 00 D8 [17:35:20]RAPDU: 90 00 [17:35:20]wFMCommunicate OK [17:35:20]wFMCommunicate request_size=4 [17:35:20]MH_SAM_APDU [17:35:20]CAPDU: 80 0D 03 02 [17:35:20]Write to MH i2c: E2 08 00 64 01 80 0D 03 02 00 00 00 00 E0 [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:35:20]Read from MH i2c: E2 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 0B 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 0B 00 64 01 00 8A 3E D3 CC 49 35 D3 5E 90 00 F7 [17:35:20]RAPDU: 8A 3E D3 CC 49 35 D3 5E 90 00 [17:35:20]wFMCommunicate OK [17:35:20]SAM_PROTO_SignData done [17:35:20]FM_MakeSignedData done [17:35:20]CreateOFDProtocolMessage [17:35:20]wFMCommunicate request_size=4 [17:35:20]MH_SAM_APDU [17:35:20]CAPDU: 80 11 00 00 [17:35:20]Write to MH i2c: E2 08 00 65 01 80 11 00 00 00 00 00 00 E0 [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:35:20]Read from MH i2c: E2 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 17 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: E2 17 00 65 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 39 [17:35:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:35:20]wFMCommunicate OK [17:35:20]CreateOFDProtocolMessage done [17:35:20]OFDSenderStorePacket 18864 [17:35:20]StoreOFDPacket docnum=18864 [17:35:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 33 4F 07 01 8C 7D 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 58 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B0 49 00 00 35 04 06 00 22 F4 41 48 82 FE 8A 3E D3 CC 49 35 D3 5E [17:35:20]CheckFolder [17:35:20]dirname=/storage/ofd_packets [17:35:20]CheckFolder done [17:35:20]ProducePacketName [17:35:20]name=ofd_packets/00018864 [17:35:20]NVStorageSaveData ofd_packets/00018864 [17:35:20]File name is /storage/ofd_packets/00018864 [17:35:20]Write 301 bytes [17:35:20]NVStorageSaveData done [17:35:20]OFDSenderStorePacket done [17:35:20]KKMCreateOFDPacket done [17:35:20]NVStorageSaveData kkm_last_timestamp [17:35:20]File name is /storage/kkm_last_timestamp [17:35:20]Write 4 bytes [17:35:20]NVStorageSaveData done [17:35:20]ExternCall_PrintAddStr [17:35:20]wPrintStart [17:35:20]Write to MH i2c: 01 00 00 66 01 67 [17:35:20]Write i2c OK [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: 01 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: 01 07 00 [17:35:20]MH_I2C_Read... [17:35:20]Read from MH i2c: 01 07 00 66 01 00 00 00 00 00 FF 0F 7C [17:35:20]RasterBufferAndPrint [17:35:20]line Счет N : (1)117052 [17:35:20]line ИНН: 02508201610067 [17:35:20]line Контрольно-Кассовый Чек [17:35:20]line ПРОДАЖА [17:35:20]line ТРК (МРК, ГНК) : 42 [17:35:20]line Товар: 2710124130 [17:35:20]line Аи-92-К-5 [17:35:20]line 7.380 * 67.80 [17:35:20]line = 500.36 [17:35:20]line НДС 12% НСП 1% [17:35:20]line > о реализуемом товаре [17:35:20]line ОКРУГЛЕНИЕ: -0.36 [17:35:20]line ИТОГО: 500.00 [17:35:20]line Внесено: 500.00 [17:35:20]line СДАЧА: 0.00 [17:35:20]line НСП 1% : 4.43 [17:35:20]line НДС 12% : 53.14 [17:35:20]line Наличными: 500.00 [17:35:20]line Безнал.: 0.00 [17:35:20]line Место: АЗС № 176 "Партнер Нефть" [17:35:20]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:35:20]line СНО: Общий режим [17:35:20]line Чек 34 24.09.2024 17:35 [17:35:20]line Смена: 182 ФФД: 1.0 [17:35:20]line ЗНМ: 0300000010 [17:35:20]line РНМ: 0000000000152968 [17:35:20]line Версия ККМ: v1.0 [17:35:20]line ФМ: 0000000000959456 [17:35:20]line ФД: 18864 [17:35:20]line ФПД: 38432462635774 [17:35:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T173520&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18864&fm=38432462635774&tin=02508201610067®Number=0000000000152968&sum=50000 [17:35:21]OFD Sender: Processing packet 18864 [packets to send 7, broken 6] [17:35:21]ProducePacketName [17:35:21]name=ofd_packets/00018864 [17:35:21]OFD Sender: To server: pG, [17:35:21]CommunicateWithHost lk.salyk.kg:30040 [17:35:21]ConnectInit lk.salyk.kg [17:35:21]written 0, free lines is 4095 [17:35:21]Connected sock=10 [17:35:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 33 4F 07 01 8C 7D 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 58 F8 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B0 49 00 00 35 04 06 00 22 F4 41 48 82 FE 8A 3E D3 CC 49 35 D3 5E [17:35:21]Write to MH i2c: 01 00 00 91 01 92 [17:35:21]Write i2c OK [17:35:21]MH_I2C_Read... [17:35:21]Read from MH i2c: 01 [17:35:21]MH_I2C_Read... [17:35:21]Read from MH i2c: 01 07 00 [17:35:21]MH_I2C_Read... [17:35:21]Read from MH i2c: 01 07 00 91 01 00 00 00 00 00 ED 0C 92 [17:35:21]RasterBufferAndPrint [17:35:21]line [17:35:21]line [17:35:21]line [17:35:21]line [17:35:21]line [17:35:21]written 0, free lines is 3315 [17:35:21]MH_Cut [17:35:21]Write to MH i2c: D1 01 00 98 01 01 6B [17:35:21]Write i2c OK [17:35:21]MH_I2C_Read... [17:35:21]Read from MH i2c: D1 [17:35:21]MH_I2C_Read... [17:35:21]Read from MH i2c: D1 01 00 [17:35:21]MH_I2C_Read... [17:35:21]Read from MH i2c: D1 01 00 98 01 00 6A [17:35:21]Write to MH i2c: 01 00 00 99 01 9A [17:35:21]Write i2c OK [17:35:21]MH_I2C_Read... [17:35:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 68 28 47 00 EA 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B0 49 00 00 F4 03 04 00 B9 A1 F2 66 B6 04 01 00 00 1C 5D E2 5E 29 AE 98 C7 [17:35:21]CommunicateWithHost err = 0 [17:35:21]CheckOFDResponse [17:35:21]1017 (14) - 77093643461234 [17:35:21]1041 (16) - 0000000000959456 [17:35:21]1040 (4) - 18864 [17:35:21]1012 (4) - 24.09.2024 11:25 [17:35:21]1206 (1) - 0 [17:35:21]OFD Sender: Remove packet 18864 [17:35:21]ProducePacketName [17:35:21]name=ofd_packets/00018864 [17:35:21]NVStorageDeleteData [17:35:22]OFD Sender: No OFD packet to send [17:35:22]*** Cut start [17:35:22]*** Partial cut [17:35:22]*** CUTSNS_PIN = 1 [17:35:22]*** CUTSNS_PIN = 0 [17:35:22]*** Brake cut motor [17:35:22]Read from MH i2c: 01 [17:35:22]MH_I2C_Read... [17:35:22]*** Stop cut motor [17:35:23]*** Cut end [17:35:23]Read from MH i2c: 01 07 00 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: 01 07 00 99 01 00 00 00 00 00 FF 0F AF [17:35:23]process_action close_receipt done [17:35:23]requested_data is exist [17:35:23]produce_requested_data [17:35:23]requested_item fm.sn is exist - process it [17:35:23]wFMCommunicate request_size=4 [17:35:23]MH_SAM_APDU [17:35:23]CAPDU: 80 11 00 00 [17:35:23]Write to MH i2c: E2 08 00 9A 01 80 11 00 00 00 00 00 00 15 [17:35:23]Write i2c OK [17:35:23]MH_I2C_Read... [17:35:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:35:23]Read from MH i2c: E2 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: E2 17 00 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: E2 17 00 9A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6E [17:35:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:35:23]wFMCommunicate OK [17:35:23]requested_item fd.num is exist - process it [17:35:23]SAM_PROTO_GetFieldsCounters [17:35:23]wFMCommunicate request_size=4 [17:35:23]MH_SAM_APDU [17:35:23]CAPDU: 80 13 00 00 [17:35:23]Write to MH i2c: E2 08 00 9B 01 80 13 00 00 00 00 00 00 18 [17:35:23]Write i2c OK [17:35:23]MH_I2C_Read... [17:35:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:35:23]Read from MH i2c: E2 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: E2 62 00 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: E2 62 00 9B 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B0 49 00 00 0E 04 04 00 B6 00 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 5A [17:35:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B0 49 00 00 0E 04 04 00 B6 00 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 [17:35:23]wFMCommunicate OK [17:35:23]SAM_PROTO_GetFieldsCounters done [17:35:23]requested_item shift.num is exist - process it [17:35:23]requested_item shift.opened is exist - process it [17:35:23]req_shift_opened [17:35:23]FM_GetShiftState [17:35:23]SAM_PROTO_GetShiftState [17:35:23]wFMCommunicate request_size=4 [17:35:23]MH_SAM_APDU [17:35:23]CAPDU: 80 13 01 00 [17:35:23]Write to MH i2c: E2 08 00 9C 01 80 13 01 00 00 00 00 00 1A [17:35:23]Write i2c OK [17:35:23]MH_I2C_Read... [17:35:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:35:23]Read from MH i2c: E2 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: E2 0E 00 [17:35:23]MH_I2C_Read... [17:35:23]Read from MH i2c: E2 0E 00 9C 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 51 [17:35:23]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:35:23]wFMCommunicate OK [17:35:23]SAM_PROTO_GetShiftState done [17:35:23]FM_GetShiftState done [17:35:23]req_shift_opened done [17:35:23]requested_item shift.open_date is exist - process it [17:35:23]req_shift_open_date [17:35:23]req_shift_open_date done [17:35:23]produce_requested_data done [17:35:23]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18864,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:35:23]process_action_free close_receipt [17:35:23]json_value_free [17:35:23]json_value_free done [17:35:23]process_json_proto returns [17:35:23]Send response to host [17:35:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18864,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:35:23]free response buf [17:35:23]execute_script done [17:35:23]execute_script returns [17:35:23]free content buf [17:35:23]Sock 8.Close socket [17:35:23]Sock 8.Thread stoped [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:56]accept exits with 9 [17:38:56]New connection [17:38:56]New thread 3066903908 created [17:38:56]Thread 3067047268 joined [17:38:56]Waiting for new connection... [17:38:56] Sock 9.Parse request [17:38:56]Sock 9.Check first char [17:38:56]Sock 9.First char is OK [17:38:56]request: POST /json_proto HTTP/1.0 [17:38:56]Method: POST [17:38:56]URL: /json_proto [17:38:56]Method is POST - this is cgi request [17:38:56]url: /json_proto [17:38:56]query_string will be loaded in cgi processing [17:38:56]execute_cgi json_proto POST (null) [17:38:56]execute_cgi path=json_proto method=POST [17:38:56]POST find Content-Length [17:38:56]Host: 172.17.62.196:8080 [17:38:56]Content-Length: 806 [17:38:56]Content-Type: application/json [17:38:56] [17:38:56]POST finish read [17:38:56]Found Content-Length = 806 [17:38:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117051", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 37.20, "quantity" : 43.060, "sum" : 1601.83, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1601.83 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:38:56]execute_script... [17:38: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)117051", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 37.20, "quantity" : 43.060, "sum" : 1601.83, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1601.83 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:38:56]POST & json_proto [17:38:56]process_json_proto [17:38:56]json parsed OK: [17:38:56]protocol is kg_v1.0 [17:38:56]action value=close_receipt [17:38:56]process_action close_receipt [17:38:56]cmd_close_receipt [17:38:56]MH_GetDate [17:38:56]Write to MH i2c: F0 00 00 9D 01 8D [17:38:56]Write i2c OK [17:38:56]MH_I2C_Read... [17:38:56]Read from MH i2c: F0 [17:38:56]MH_I2C_Read... [17:38:56]Read from MH i2c: F0 09 00 [17:38:56]MH_I2C_Read... [17:38:56]Read from MH i2c: F0 09 00 9D 01 00 32 F9 F2 66 CE CC 0E 66 27 [17:38:56]GetLastDocTimeStamp 1727199320 [17:38:56]current date 1727199538 [17:38:56]FM_GetShiftState [17:38:56]SAM_PROTO_GetShiftState [17:38:56]wFMCommunicate request_size=4 [17:38:56]MH_SAM_APDU [17:38:56]CAPDU: 80 13 01 00 [17:38:56]Write to MH i2c: E2 08 00 9E 01 80 13 01 00 00 00 00 00 1C [17:38:56]Write i2c OK [17:38:56]MH_I2C_Read... [17:38:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:38:56]Read from MH i2c: E2 [17:38:56]MH_I2C_Read... [17:38:56]Read from MH i2c: E2 0E 00 [17:38:56]MH_I2C_Read... [17:38:56]Read from MH i2c: E2 0E 00 9E 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 53 [17:38:56]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:38:56]wFMCommunicate OK [17:38:56]SAM_PROTO_GetShiftState done [17:38:56]FM_GetShiftState done [17:38:56]opened in 1727136720 [17:38:56]opened+sec_in_day 1727223120 [17:38:56]quantity*price = 160183 [17:38:56]sum+1 = 160184 [17:38:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1601.83 НСП 1% : 14.17 НДС 12% : 170.11 Наличными: 0.00 Безнал.: 1601.83 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 35 24.09.2024 17:38 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18865 ФПД: 220904406681902 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T173858&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18865&fm=220904406681902&tin=02508201610067®Number=0000000000152968&sum=160183 [17:38:57]StoreToDocumentArchive [17:38:57]shift 182 fd 18865 [17:38:57]save to /storage/0182/doc_00018865 [17:38:57]save last doc name /storage/0182/doc_00018865 to /storage/kkm_last_doc_name [17:38:57]save OK [17:38:57]Clear old archive folders... [17:38:57]ProcessDocumentItem done err = 0, tmpTLVsize=250 [17:38:57]tlvbuf is B6F6FAE0 [17:38:57]SAM_PROTO_ClearQueue [17:38:57]wFMCommunicate request_size=4 [17:38:57]MH_SAM_APDU [17:38:57]CAPDU: 80 09 00 00 [17:38:57]Write to MH i2c: E2 08 00 AB 01 80 09 00 00 00 00 00 00 1E [17:38:57]Write i2c OK [17:38:57]MH_I2C_Read... [17:38:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:38:57]Read from MH i2c: E2 [17:38:57]MH_I2C_Read... [17:38:57]Read from MH i2c: E2 03 00 [17:38:57]MH_I2C_Read... [17:38:57]Read from MH i2c: E2 03 00 AB 01 00 90 00 20 [17:38:57]RAPDU: 90 00 [17:38:57]wFMCommunicate OK [17:38:57]SAM_PROTO_ClearQueue done [17:38:57]KKMCreateOFDPacket [17:38:57]OFDProtocolAddRootSTLVToBuf [17:38:57]FM_MakeSignedData [17:38:57]FM_MakeSignedData [17:38:57]SAM_PROTO_SignData [17:38:57]wFMCommunicate request_size=4 [17:38:57]MH_SAM_APDU [17:38:57]CAPDU: 80 0D 01 02 [17:38:57]Write to MH i2c: E2 08 00 AC 01 80 0D 01 02 00 00 00 00 26 [17:38:57]Write i2c OK [17:38:57]MH_I2C_Read... [17:38:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:38:57]Read from MH i2c: E2 [17:38:57]MH_I2C_Read... [17:38:57]Read from MH i2c: E2 03 00 [17:38:57]MH_I2C_Read... [17:38:57]Read from MH i2c: E2 03 00 AC 01 00 90 00 21 [17:38:57]RAPDU: 90 00 [17:38:57]wFMCommunicate OK [17:38:57]wFMCommunicate request_size=255 [17:38:57]MH_SAM_APDU [17:38:57]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 34 A8 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 B7 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 42 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 71 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 32 F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B1 49 00 00 35 04 06 00 C8 E9 [17:38:57]Write to MH i2c: E2 02 01 AD 01 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 34 A8 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 B7 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 42 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 71 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 32 F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B1 49 00 00 35 04 06 00 C8 E9 00 00 1B [17:38:57]Write i2c OK [17:38:57]MH_I2C_Read... [17:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:58]Read from MH i2c: E2 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 03 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 03 00 AD 01 00 90 00 22 [17:38:58]RAPDU: 90 00 [17:38:58]wFMCommunicate OK [17:38:58]wFMCommunicate request_size=9 [17:38:58]MH_SAM_APDU [17:38:58]CAPDU: 80 0D 02 02 04 50 B0 89 2E [17:38:58]Write to MH i2c: E2 0C 00 AE 01 80 0D 02 02 04 00 50 B0 89 2E 00 00 E8 [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:58]Read from MH i2c: E2 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 03 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 03 00 AE 01 00 90 00 23 [17:38:58]RAPDU: 90 00 [17:38:58]wFMCommunicate OK [17:38:58]wFMCommunicate request_size=4 [17:38:58]MH_SAM_APDU [17:38:58]CAPDU: 80 0D 03 02 [17:38:58]Write to MH i2c: E2 08 00 AF 01 80 0D 03 02 00 00 00 00 2B [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:38:58]Read from MH i2c: E2 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 0B 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 0B 00 AF 01 00 E7 47 5D E0 6B 2A A7 F5 90 00 C8 [17:38:58]RAPDU: E7 47 5D E0 6B 2A A7 F5 90 00 [17:38:58]wFMCommunicate OK [17:38:58]SAM_PROTO_SignData done [17:38:58]FM_MakeSignedData done [17:38:58]CreateOFDProtocolMessage [17:38:58]wFMCommunicate request_size=4 [17:38:58]MH_SAM_APDU [17:38:58]CAPDU: 80 11 00 00 [17:38:58]Write to MH i2c: E2 08 00 B0 01 80 11 00 00 00 00 00 00 2B [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:38:58]Read from MH i2c: E2 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 17 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: E2 17 00 B0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 84 [17:38:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:38:58]wFMCommunicate OK [17:38:58]CreateOFDProtocolMessage done [17:38:58]OFDSenderStorePacket 18865 [17:38:58]StoreOFDPacket docnum=18865 [17:38:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0E 01 00 00 AA F3 06 01 D2 6E 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 34 A8 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 B7 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 42 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 71 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 32 F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B1 49 00 00 35 04 06 00 C8 E9 50 B0 89 2E E7 47 5D E0 6B 2A A7 F5 [17:38:58]CheckFolder [17:38:58]dirname=/storage/ofd_packets [17:38:58]CheckFolder done [17:38:58]ProducePacketName [17:38:58]name=ofd_packets/00018865 [17:38:58]NVStorageSaveData ofd_packets/00018865 [17:38:58]File name is /storage/ofd_packets/00018865 [17:38:58]Write 300 bytes [17:38:58]NVStorageSaveData done [17:38:58]OFDSenderStorePacket done [17:38:58]KKMCreateOFDPacket done [17:38:58]NVStorageSaveData kkm_last_timestamp [17:38:58]File name is /storage/kkm_last_timestamp [17:38:58]Write 4 bytes [17:38:58]NVStorageSaveData done [17:38:58]ExternCall_PrintAddStr [17:38:58]wPrintStart [17:38:58]Write to MH i2c: 01 00 00 B1 01 B2 [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: 01 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: 01 07 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: 01 07 00 B1 01 00 00 00 00 00 FF 0F C7 [17:38:58]RasterBufferAndPrint [17:38:58]line Счет N : (1)117051 [17:38:58]line ИНН: 02508201610067 [17:38:58]line Контрольно-Кассовый Чек [17:38:58]line ПРОДАЖА [17:38:58]line ТРК (МРК, ГНК) : 71 [17:38:58]line Товар: 2711190000 [17:38:58]line ГАЗ-К-3 [17:38:58]line 43.060 * 37.20 [17:38:58]line = 1601.83 [17:38:58]line НДС 12% НСП 1% [17:38:58]line > о реализуемом товаре [17:38:58]line ИТОГО: 1601.83 [17:38:58]line НСП 1% : 14.17 [17:38:58]line НДС 12% : 170.11 [17:38:58]line Наличными: 0.00 [17:38:58]line Безнал.: 1601.83 [17:38:58]line Место: АЗС № 176 "Партнер Нефть" [17:38:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:38:58]line СНО: Общий режим [17:38:58]line Чек 35 24.09.2024 17:38 [17:38:58]line Смена: 182 ФФД: 1.0 [17:38:58]line ЗНМ: 0300000010 [17:38:58]line РНМ: 0000000000152968 [17:38:58]line Версия ККМ: v1.0 [17:38:58]line Платежная система: O! деньги [17:38:58]line ФМ: 0000000000959456 [17:38:58]line ФД: 18865 [17:38:58]line ФПД: 220904406681902 [17:38:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T173858&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18865&fm=220904406681902&tin=02508201610067®Number=0000000000152968&sum=160183 [17:38:58]OFD Sender: Processing packet 18865 [packets to send 7, broken 6] [17:38:58]ProducePacketName [17:38:58]name=ofd_packets/00018865 [17:38:58]OFD Sender: To server: pG, [17:38:58]CommunicateWithHost lk.salyk.kg:30040 [17:38:58]ConnectInit lk.salyk.kg [17:38:58]written 0, free lines is 4095 [17:38:58]Connected sock=10 [17:38:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0E 01 00 00 AA F3 06 01 D2 6E 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 34 A8 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 B7 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 42 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 71 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 32 F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B1 49 00 00 35 04 06 00 C8 E9 50 B0 89 2E E7 47 5D E0 6B 2A A7 F5 [17:38:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2A 5C 47 00 CC EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B1 49 00 00 F4 03 04 00 92 A2 F2 66 B6 04 01 00 00 5A FB 47 5B 63 08 69 73 [17:38:58]CommunicateWithHost err = 0 [17:38:58]CheckOFDResponse [17:38:58]1017 (14) - 77093643461234 [17:38:58]1041 (16) - 0000000000959456 [17:38:58]1040 (4) - 18865 [17:38:58]1012 (4) - 24.09.2024 11:29 [17:38:58]1206 (1) - 0 [17:38:58]OFD Sender: Remove packet 18865 [17:38:58]ProducePacketName [17:38:58]name=ofd_packets/00018865 [17:38:58]NVStorageDeleteData [17:38:58]Write to MH i2c: 01 00 00 DB 01 DC [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: 01 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: 01 07 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: 01 07 00 DB 01 00 00 00 00 00 08 0D F8 [17:38:58]RasterBufferAndPrint [17:38:58]line [17:38:58]line [17:38:58]line [17:38:58]line [17:38:58]line [17:38:58]written 0, free lines is 3342 [17:38:58]MH_Cut [17:38:58]Write to MH i2c: D1 01 00 E2 01 01 B5 [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: D1 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: D1 01 00 [17:38:58]MH_I2C_Read... [17:38:58]Read from MH i2c: D1 01 00 E2 01 00 B4 [17:38:58]Write to MH i2c: 01 00 00 E3 01 E4 [17:38:58]Write i2c OK [17:38:58]MH_I2C_Read... [17:38:59]OFD Sender: No OFD packet to send [17:38:59]*** Cut start [17:38:59]*** Partial cut [17:38:59]*** CUTSNS_PIN = 1 [17:38:59]*** CUTSNS_PIN = 0 [17:38:59]*** Brake cut motor [17:39:00]Read from MH i2c: 01 [17:39:00]MH_I2C_Read... [17:39:00]*** Stop cut motor [17:39:00]*** Cut end [17:39:00]Read from MH i2c: 01 07 00 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: 01 07 00 E3 01 00 00 00 00 00 FF 0F F9 [17:39:00]process_action close_receipt done [17:39:00]requested_data is exist [17:39:00]produce_requested_data [17:39:00]requested_item fm.sn is exist - process it [17:39:00]wFMCommunicate request_size=4 [17:39:00]MH_SAM_APDU [17:39:00]CAPDU: 80 11 00 00 [17:39:00]Write to MH i2c: E2 08 00 E4 01 80 11 00 00 00 00 00 00 5F [17:39:00]Write i2c OK [17:39:00]MH_I2C_Read... [17:39:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:00]Read from MH i2c: E2 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: E2 17 00 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: E2 17 00 E4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B8 [17:39:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:39:00]wFMCommunicate OK [17:39:00]requested_item fd.num is exist - process it [17:39:00]SAM_PROTO_GetFieldsCounters [17:39:00]wFMCommunicate request_size=4 [17:39:00]MH_SAM_APDU [17:39:00]CAPDU: 80 13 00 00 [17:39:00]Write to MH i2c: E2 08 00 E5 01 80 13 00 00 00 00 00 00 62 [17:39:00]Write i2c OK [17:39:00]MH_I2C_Read... [17:39:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:39:00]Read from MH i2c: E2 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: E2 62 00 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: E2 62 00 E5 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B1 49 00 00 0E 04 04 00 B6 00 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 A8 [17:39:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B1 49 00 00 0E 04 04 00 B6 00 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 [17:39:00]wFMCommunicate OK [17:39:00]SAM_PROTO_GetFieldsCounters done [17:39:00]requested_item shift.num is exist - process it [17:39:00]requested_item shift.opened is exist - process it [17:39:00]req_shift_opened [17:39:00]FM_GetShiftState [17:39:00]SAM_PROTO_GetShiftState [17:39:00]wFMCommunicate request_size=4 [17:39:00]MH_SAM_APDU [17:39:00]CAPDU: 80 13 01 00 [17:39:00]Write to MH i2c: E2 08 00 E6 01 80 13 01 00 00 00 00 00 64 [17:39:00]Write i2c OK [17:39:00]MH_I2C_Read... [17:39:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:00]Read from MH i2c: E2 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: E2 0E 00 [17:39:00]MH_I2C_Read... [17:39:00]Read from MH i2c: E2 0E 00 E6 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 9B [17:39:00]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:39:00]wFMCommunicate OK [17:39:00]SAM_PROTO_GetShiftState done [17:39:00]FM_GetShiftState done [17:39:00]req_shift_opened done [17:39:00]requested_item shift.open_date is exist - process it [17:39:00]req_shift_open_date [17:39:00]req_shift_open_date done [17:39:00]produce_requested_data done [17:39:00]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18865,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:39:00]process_action_free close_receipt [17:39:00]json_value_free [17:39:00]json_value_free done [17:39:00]process_json_proto returns [17:39:00]Send response to host [17:39:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18865,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:39:00]free response buf [17:39:00]execute_script done [17:39:00]execute_script returns [17:39:00]free content buf [17:39:00]Sock 9.Close socket [17:39:00]Sock 9.Thread stoped [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:45]accept exits with 8 [17:41:45]New connection [17:41:45]New thread 3067047268 created [17:41:45]Thread 3066903908 joined [17:41:45]Waiting for new connection... [17:41:45] Sock 8.Parse request [17:41:45]Sock 8.Check first char [17:41:45]Sock 8.First char is OK [17:41:45]request: POST /json_proto HTTP/1.0 [17:41:45]Method: POST [17:41:45]URL: /json_proto [17:41:45]Method is POST - this is cgi request [17:41:45]url: /json_proto [17:41:45]query_string will be loaded in cgi processing [17:41:45]execute_cgi json_proto POST (null) [17:41:45]execute_cgi path=json_proto method=POST [17:41:45]POST find Content-Length [17:41:45]Host: 172.17.62.196:8080 [17:41:45]Content-Length: 859 [17:41:45]Content-Type: application/json [17:41:45] [17:41:45]POST finish read [17:41:45]Found Content-Length = 859 [17:41:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16801", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:41:45]execute_script... [17:41: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)16801", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:41:45]POST & json_proto [17:41:45]process_json_proto [17:41:45]json parsed OK: [17:41:45]protocol is kg_v1.0 [17:41:45]action value=close_receipt [17:41:45]process_action close_receipt [17:41:45]cmd_close_receipt [17:41:45]MH_GetDate [17:41:45]Write to MH i2c: F0 00 00 E7 01 D7 [17:41:45]Write i2c OK [17:41:45]MH_I2C_Read... [17:41:45]Read from MH i2c: F0 [17:41:45]MH_I2C_Read... [17:41:45]Read from MH i2c: F0 09 00 [17:41:45]MH_I2C_Read... [17:41:45]Read from MH i2c: F0 09 00 E7 01 00 DB F9 F2 66 CE CC 0E 66 1A [17:41:45]GetLastDocTimeStamp 1727199538 [17:41:45]current date 1727199707 [17:41:45]FM_GetShiftState [17:41:45]SAM_PROTO_GetShiftState [17:41:45]wFMCommunicate request_size=4 [17:41:45]MH_SAM_APDU [17:41:45]CAPDU: 80 13 01 00 [17:41:45]Write to MH i2c: E2 08 00 E8 01 80 13 01 00 00 00 00 00 66 [17:41:45]Write i2c OK [17:41:45]MH_I2C_Read... [17:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:41:45]Read from MH i2c: E2 [17:41:45]MH_I2C_Read... [17:41:45]Read from MH i2c: E2 0E 00 [17:41:45]MH_I2C_Read... [17:41:45]Read from MH i2c: E2 0E 00 E8 01 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 9D [17:41:45]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:41:45]wFMCommunicate OK [17:41:45]SAM_PROTO_GetShiftState done [17:41:45]FM_GetShiftState done [17:41:45]opened in 1727136720 [17:41:45]opened+sec_in_day 1727223120 [17:41:45]quantity*price = 9500 [17:41:45]sum+1 = 9501 [17:41:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 36 24.09.2024 17:41 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18866 ФПД: 207625686540374 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T174147&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18866&fm=207625686540374&tin=02508201610067®Number=0000000000152968&sum=9500 0 [17:41:46]StoreToDocumentArchive [17:41:46]shift 182 fd 18866 [17:41:46]save to /storage/0182/doc_00018866 [17:41:46]save last doc name /storage/0182/doc_00018866 to /storage/kkm_last_doc_name [17:41:46]save OK [17:41:46]Clear old archive folders... [17:41:46]ProcessDocumentItem done err = 0, tmpTLVsize=302 [17:41:46]tlvbuf is 0182F250 [17:41:46]SAM_PROTO_ClearQueue [17:41:46]wFMCommunicate request_size=4 [17:41:46]MH_SAM_APDU [17:41:46]CAPDU: 80 09 00 00 [17:41:46]Write to MH i2c: E2 08 00 F5 01 80 09 00 00 00 00 00 00 68 [17:41:46]Write i2c OK [17:41:46]MH_I2C_Read... [17:41:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:41:46]Read from MH i2c: E2 [17:41:46]MH_I2C_Read... [17:41:46]Read from MH i2c: E2 03 00 [17:41:46]MH_I2C_Read... [17:41:46]Read from MH i2c: E2 03 00 F5 01 00 90 00 6A [17:41:46]RAPDU: 90 00 [17:41:46]wFMCommunicate OK [17:41:46]SAM_PROTO_ClearQueue done [17:41:46]KKMCreateOFDPacket [17:41:46]OFDProtocolAddRootSTLVToBuf [17:41:46]FM_MakeSignedData [17:41:46]FM_MakeSignedData [17:41:46]SAM_PROTO_SignData [17:41:46]wFMCommunicate request_size=4 [17:41:46]MH_SAM_APDU [17:41:46]CAPDU: 80 0D 01 02 [17:41:46]Write to MH i2c: E2 08 00 F6 01 80 0D 01 02 00 00 00 00 70 [17:41:46]Write i2c OK [17:41:46]MH_I2C_Read... [17:41:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:41:47]Read from MH i2c: E2 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 03 00 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 03 00 F6 01 00 90 00 6B [17:41:47]RAPDU: 90 00 [17:41:47]wFMCommunicate OK [17:41:47]wFMCommunicate request_size=255 [17:41:47]MH_SAM_APDU [17:41:47]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 DB F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 [17:41:47]Write to MH i2c: E2 02 01 F7 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 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 DB F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 00 00 C6 [17:41:47]Write i2c OK [17:41:47]MH_I2C_Read... [17:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:41:47]Read from MH i2c: E2 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 03 00 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 03 00 F7 01 00 90 00 6C [17:41:47]RAPDU: 90 00 [17:41:47]wFMCommunicate OK [17:41:47]wFMCommunicate request_size=61 [17:41:47]MH_SAM_APDU [17:41:47]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B2 49 00 00 35 04 06 00 BC D5 9F 4A E0 56 [17:41:47]Write to MH i2c: E2 40 00 F8 01 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B2 49 00 00 35 04 06 00 BC D5 9F 4A E0 56 00 00 5F [17:41:47]Write i2c OK [17:41:47]MH_I2C_Read... [17:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:41:47]Read from MH i2c: E2 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 03 00 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 03 00 F8 01 00 90 00 6D [17:41:47]RAPDU: 90 00 [17:41:47]wFMCommunicate OK [17:41:47]wFMCommunicate request_size=4 [17:41:47]MH_SAM_APDU [17:41:47]CAPDU: 80 0D 03 02 [17:41:47]Write to MH i2c: E2 08 00 F9 01 80 0D 03 02 00 00 00 00 75 [17:41:47]Write i2c OK [17:41:47]MH_I2C_Read... [17:41:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:41:47]Read from MH i2c: E2 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 0B 00 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 0B 00 F9 01 00 C9 9C FC C3 71 39 FE F1 90 00 33 [17:41:47]RAPDU: C9 9C FC C3 71 39 FE F1 90 00 [17:41:47]wFMCommunicate OK [17:41:47]SAM_PROTO_SignData done [17:41:47]FM_MakeSignedData done [17:41:47]CreateOFDProtocolMessage [17:41:47]wFMCommunicate request_size=4 [17:41:47]MH_SAM_APDU [17:41:47]CAPDU: 80 11 00 00 [17:41:47]Write to MH i2c: E2 08 00 FA 01 80 11 00 00 00 00 00 00 75 [17:41:47]Write i2c OK [17:41:47]MH_I2C_Read... [17:41:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:41:47]Read from MH i2c: E2 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 17 00 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: E2 17 00 FA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CE [17:41:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:41:47]wFMCommunicate OK [17:41:47]CreateOFDProtocolMessage done [17:41:47]OFDSenderStorePacket 18866 [17:41:47]StoreOFDPacket docnum=18866 [17:41:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 42 01 00 00 B1 3B 3A 01 5A CC 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 DB F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B2 49 00 00 35 04 06 00 BC D5 9F 4A E0 56 C9 9C FC C3 71 39 FE F1 [17:41:47]CheckFolder [17:41:47]dirname=/storage/ofd_packets [17:41:47]CheckFolder done [17:41:47]ProducePacketName [17:41:47]name=ofd_packets/00018866 [17:41:47]NVStorageSaveData ofd_packets/00018866 [17:41:47]File name is /storage/ofd_packets/00018866 [17:41:47]Write 352 bytes [17:41:47]NVStorageSaveData done [17:41:47]OFDSenderStorePacket done [17:41:47]KKMCreateOFDPacket done [17:41:47]NVStorageSaveData kkm_last_timestamp [17:41:47]File name is /storage/kkm_last_timestamp [17:41:47]Write 4 bytes [17:41:47]NVStorageSaveData done [17:41:47]ExternCall_PrintAddStr [17:41:47]wPrintStart [17:41:47]Write to MH i2c: 01 00 00 FB 01 FC [17:41:47]Write i2c OK [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: 01 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: 01 07 00 [17:41:47]MH_I2C_Read... [17:41:47]Read from MH i2c: 01 07 00 FB 01 00 00 00 00 00 FF 0F 11 [17:41:47]RasterBufferAndPrint [17:41:47]line Счет N : (3)16801 [17:41:47]line ИНН: 02508201610067 [17:41:47]line Контрольно-Кассовый Чек [17:41:47]line ПРОДАЖА [17:41:47]line Товар: 4700003010087 [17:41:47]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [17:41:47]line 1.000 * 95.00 [17:41:47]line = 95.00 [17:41:47]line НДС 12% НСП 1% [17:41:47]line > о реализуемом товаре [17:41:47]line ИТОГО: 95.00 [17:41:47]line НСП 1% : 0.84 [17:41:47]line НДС 12% : 10.09 [17:41:47]line Наличными: 0.00 [17:41:47]line Безнал.: 95.00 [17:41:47]line Место: АЗС № 176 "Партнер Нефть" [17:41:47]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:41:47]line СНО: Общий режим [17:41:47]line Чек 36 24.09.2024 17:41 [17:41:47]line Смена: 182 ФФД: 1.0 [17:41:47]line ЗНМ: 0300000010 [17:41:47]line РНМ: 0000000000152968 [17:41:47]line Версия ККМ: v1.0 [17:41:47]line Платежная система: O! деньги [17:41:47]line ФМ: 0000000000959456 [17:41:47]line ФД: 18866 [17:41:47]line ФПД: 207625686540374 [17:41:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T174147&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18866&fm=207625686540374&tin=02508201610067®Number=0000000000152968&sum=9500 [17:41:47]line 0 [17:41:47]OFD Sender: Processing packet 18866 [packets to send 7, broken 6] [17:41:47]ProducePacketName [17:41:47]name=ofd_packets/00018866 [17:41:47]OFD Sender: To server: pG, [17:41:47]CommunicateWithHost lk.salyk.kg:30040 [17:41:47]ConnectInit lk.salyk.kg [17:41:47]written 0, free lines is 4095 [17:41:48]Connected sock=9 [17:41:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 42 01 00 00 B1 3B 3A 01 5A CC 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 DB F9 F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B2 49 00 00 35 04 06 00 BC D5 9F 4A E0 56 C9 9C FC C3 71 39 FE F1 [17:41:48]Write to MH i2c: 01 00 00 26 02 28 [17:41:48]Write i2c OK [17:41:48]MH_I2C_Read... [17:41:48]Read from MH i2c: 01 [17:41:48]MH_I2C_Read... [17:41:48]Read from MH i2c: 01 07 00 [17:41:48]MH_I2C_Read... [17:41:48]Read from MH i2c: 01 07 00 26 02 00 00 00 00 00 E7 0C 22 [17:41:48]RasterBufferAndPrint [17:41:48]line [17:41:48]line [17:41:48]line [17:41:48]line [17:41:48]line [17:41:48]written 0, free lines is 3309 [17:41:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1E 1A 47 00 00 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 39 35 39 34 35 36 10 04 04 00 B2 49 00 00 F4 03 04 00 3B A3 F2 66 B6 04 01 00 00 E6 2B 9B C6 6C 8B E1 0E [17:41:48]CommunicateWithHost err = 0 [17:41:48]CheckOFDResponse [17:41:48]1017 (14) - 77093643461234 [17:41:48]1041 (16) - 0000000000959456 [17:41:48]1040 (4) - 18866 [17:41:48]1012 (4) - 24.09.2024 11:32 [17:41:48]1206 (1) - 0 [17:41:48]OFD Sender: Remove packet 18866 [17:41:48]ProducePacketName [17:41:48]name=ofd_packets/00018866 [17:41:48]NVStorageDeleteData [17:41:48]MH_Cut [17:41:48]Write to MH i2c: D1 01 00 2D 02 01 01 [17:41:48]Write i2c OK [17:41:48]MH_I2C_Read... [17:41:48]Read from MH i2c: D1 [17:41:48]MH_I2C_Read... [17:41:48]Read from MH i2c: D1 01 00 [17:41:48]MH_I2C_Read... [17:41:48]Read from MH i2c: D1 01 00 2D 02 00 00 [17:41:48]Write to MH i2c: 01 00 00 2E 02 30 [17:41:48]Write i2c OK [17:41:48]MH_I2C_Read... [17:41:48]OFD Sender: No OFD packet to send [17:41:48]*** Cut start [17:41:48]*** Partial cut [17:41:48]*** CUTSNS_PIN = 1 [17:41:49]*** CUTSNS_PIN = 0 [17:41:49]*** Brake cut motor [17:41:49]Read from MH i2c: 01 [17:41:49]MH_I2C_Read... [17:41:49]*** Stop cut motor [17:41:49]*** Cut end [17:41:49]Read from MH i2c: 01 07 00 [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: 01 07 00 2E 02 00 00 00 00 00 FF 0F 45 [17:41:49]process_action close_receipt done [17:41:49]requested_data is exist [17:41:49]produce_requested_data [17:41:49]requested_item fm.sn is exist - process it [17:41:49]wFMCommunicate request_size=4 [17:41:49]MH_SAM_APDU [17:41:49]CAPDU: 80 11 00 00 [17:41:49]Write to MH i2c: E2 08 00 2F 02 80 11 00 00 00 00 00 00 AB [17:41:49]Write i2c OK [17:41:49]MH_I2C_Read... [17:41:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:41:49]Read from MH i2c: E2 [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: E2 17 00 [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: E2 17 00 2F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 04 [17:41:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:41:49]wFMCommunicate OK [17:41:49]requested_item fd.num is exist - process it [17:41:49]SAM_PROTO_GetFieldsCounters [17:41:49]wFMCommunicate request_size=4 [17:41:49]MH_SAM_APDU [17:41:49]CAPDU: 80 13 00 00 [17:41:49]Write to MH i2c: E2 08 00 30 02 80 13 00 00 00 00 00 00 AE [17:41:49]Write i2c OK [17:41:49]MH_I2C_Read... [17:41:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:41:49]Read from MH i2c: E2 [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: E2 62 00 [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: E2 62 00 30 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B2 49 00 00 0E 04 04 00 B6 00 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 F8 [17:41:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B2 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:41:49]wFMCommunicate OK [17:41:49]SAM_PROTO_GetFieldsCounters done [17:41:49]requested_item shift.num is exist - process it [17:41:49]requested_item shift.opened is exist - process it [17:41:49]req_shift_opened [17:41:49]FM_GetShiftState [17:41:49]SAM_PROTO_GetShiftState [17:41:49]wFMCommunicate request_size=4 [17:41:49]MH_SAM_APDU [17:41:49]CAPDU: 80 13 01 00 [17:41:49]Write to MH i2c: E2 08 00 31 02 80 13 01 00 00 00 00 00 B0 [17:41:49]Write i2c OK [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: E2 [17:41:49]MH_I2C_Read... [17:41:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:41:49]Read from MH i2c: E2 0E 00 [17:41:49]MH_I2C_Read... [17:41:49]Read from MH i2c: E2 0E 00 31 02 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E7 [17:41:49]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:41:49]wFMCommunicate OK [17:41:49]SAM_PROTO_GetShiftState done [17:41:49]FM_GetShiftState done [17:41:49]req_shift_opened done [17:41:49]requested_item shift.open_date is exist - process it [17:41:49]req_shift_open_date [17:41:49]req_shift_open_date done [17:41:49]produce_requested_data done [17:41:49]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18866,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:41:49]process_action_free close_receipt [17:41:49]json_value_free [17:41:49]json_value_free done [17:41:49]process_json_proto returns [17:41:49]Send response to host [17:41:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18866,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:41:49]free response buf [17:41:49]execute_script done [17:41:49]execute_script returns [17:41:49]free content buf [17:41:49]Sock 8.Close socket [17:41:49]Sock 8.Thread stoped [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:18]OFD Sender: No OFD packet to send [17:44:23]OFD Sender: No OFD packet to send [17:44:28]OFD Sender: No OFD packet to send [17:44:33]OFD Sender: No OFD packet to send [17:44:38]OFD Sender: No OFD packet to send [17:44:43]OFD Sender: No OFD packet to send [17:44:48]OFD Sender: No OFD packet to send [17:44:53]OFD Sender: No OFD packet to send [17:44:58]OFD Sender: No OFD packet to send [17:45:03]OFD Sender: No OFD packet to send [17:45:08]OFD Sender: No OFD packet to send [17:45:13]OFD Sender: No OFD packet to send [17:45:18]OFD Sender: No OFD packet to send [17:45:23]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45: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:56]accept exits with 10 [17:53:56]New connection [17:53:56]New thread 3066903908 created [17:53:56]Thread 3067047268 joined [17:53:56]Waiting for new connection... [17:53:56] Sock 10.Parse request [17:53:56]Sock 10.Check first char [17:53:56]Sock 10.First char is OK [17:53:56]request: POST /json_proto HTTP/1.0 [17:53:56]Method: POST [17:53:56]URL: /json_proto [17:53:56]Method is POST - this is cgi request [17:53:56]url: /json_proto [17:53:56]query_string will be loaded in cgi processing [17:53:56]execute_cgi json_proto POST (null) [17:53:56]execute_cgi path=json_proto method=POST [17:53:56]POST find Content-Length [17:53:56]Host: 172.17.62.196:8080 [17:53:56]Content-Length: 796 [17:53:56]Content-Type: application/json [17:53:56] [17:53:56]POST finish read [17:53:56]Found Content-Length = 796 [17:53:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117064", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 69.30, "quantity" : 14.430, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:53:56]execute_script... [17:53: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)117064", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 69.30, "quantity" : 14.430, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:53:56]POST & json_proto [17:53:56]process_json_proto [17:53:56]json parsed OK: [17:53:56]protocol is kg_v1.0 [17:53:56]action value=close_receipt [17:53:56]process_action close_receipt [17:53:56]cmd_close_receipt [17:53:56]MH_GetDate [17:53:56]Write to MH i2c: F0 00 00 32 02 23 [17:53:56]Write i2c OK [17:53:56]MH_I2C_Read... [17:53:56]Read from MH i2c: F0 [17:53:56]MH_I2C_Read... [17:53:56]Read from MH i2c: F0 09 00 [17:53:56]MH_I2C_Read... [17:53:56]Read from MH i2c: F0 09 00 32 02 00 B6 FC F2 66 CE CC 0E 66 44 [17:53:56]GetLastDocTimeStamp 1727199707 [17:53:56]current date 1727200438 [17:53:56]FM_GetShiftState [17:53:56]SAM_PROTO_GetShiftState [17:53:56]wFMCommunicate request_size=4 [17:53:56]MH_SAM_APDU [17:53:56]CAPDU: 80 13 01 00 [17:53:56]Write to MH i2c: E2 08 00 33 02 80 13 01 00 00 00 00 00 B2 [17:53:56]Write i2c OK [17:53:56]MH_I2C_Read... [17:53:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:53:56]Read from MH i2c: E2 [17:53:56]MH_I2C_Read... [17:53:56]Read from MH i2c: E2 0E 00 [17:53:56]MH_I2C_Read... [17:53:56]Read from MH i2c: E2 0E 00 33 02 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E9 [17:53:56]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:53:56]wFMCommunicate OK [17:53:56]SAM_PROTO_GetShiftState done [17:53:56]FM_GetShiftState done [17:53:56]opened in 1727136720 [17:53:56]opened+sec_in_day 1727223120 [17:53:56]quantity*price = 99999 [17:53:56]sum+1 = 100001 [17:53:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.00 НСП 1% : 8.85 НДС 12% : 106.19 Наличными: 0.00 Безнал.: 1000.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 37 24.09.2024 17:53 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18867 ФПД: 29616990486102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175358&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18867&fm=29616990486102&tin=02508201610067®Number=0000000000152968&sum=100000 [17:53:57]StoreToDocumentArchive [17:53:57]shift 182 fd 18867 [17:53:57]save to /storage/0182/doc_00018867 [17:53:57]save last doc name /storage/0182/doc_00018867 to /storage/kkm_last_doc_name [17:53:57]save OK [17:53:57]Clear old archive folders... [17:53:57]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:53:57]tlvbuf is 0184D3E0 [17:53:57]SAM_PROTO_ClearQueue [17:53:57]wFMCommunicate request_size=4 [17:53:57]MH_SAM_APDU [17:53:57]CAPDU: 80 09 00 00 [17:53:57]Write to MH i2c: E2 08 00 40 02 80 09 00 00 00 00 00 00 B4 [17:53:57]Write i2c OK [17:53:57]MH_I2C_Read... [17:53:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:53:57]Read from MH i2c: E2 [17:53:57]MH_I2C_Read... [17:53:57]Read from MH i2c: E2 03 00 [17:53:57]MH_I2C_Read... [17:53:57]Read from MH i2c: E2 03 00 40 02 00 90 00 B6 [17:53:57]RAPDU: 90 00 [17:53:57]wFMCommunicate OK [17:53:57]SAM_PROTO_ClearQueue done [17:53:57]KKMCreateOFDPacket [17:53:57]OFDProtocolAddRootSTLVToBuf [17:53:57]FM_MakeSignedData [17:53:57]FM_MakeSignedData [17:53:57]SAM_PROTO_SignData [17:53:57]wFMCommunicate request_size=4 [17:53:57]MH_SAM_APDU [17:53:57]CAPDU: 80 0D 01 02 [17:53:57]Write to MH i2c: E2 08 00 41 02 80 0D 01 02 00 00 00 00 BC [17:53:57]Write i2c OK [17:53:57]MH_I2C_Read... [17:53:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:53:57]Read from MH i2c: E2 [17:53:57]MH_I2C_Read... [17:53:57]Read from MH i2c: E2 03 00 [17:53:57]MH_I2C_Read... [17:53:57]Read from MH i2c: E2 03 00 41 02 00 90 00 B7 [17:53:57]RAPDU: 90 00 [17:53:57]wFMCommunicate OK [17:53:57]wFMCommunicate request_size=255 [17:53:57]MH_SAM_APDU [17:53:57]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 B6 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B3 49 00 00 35 04 06 00 [17:53:57]Write to MH i2c: E2 02 01 42 02 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 B6 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B3 49 00 00 35 04 06 00 00 00 B1 [17:53:57]Write i2c OK [17:53:57]MH_I2C_Read... [17:53:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:53:58]Read from MH i2c: E2 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 03 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 03 00 42 02 00 90 00 B8 [17:53:58]RAPDU: 90 00 [17:53:58]wFMCommunicate OK [17:53:58]wFMCommunicate request_size=11 [17:53:58]MH_SAM_APDU [17:53:58]CAPDU: 80 0D 02 02 06 1A EF BE 32 7E 56 [17:53:58]Write to MH i2c: E2 0E 00 43 02 80 0D 02 02 06 00 1A EF BE 32 7E 56 00 00 98 [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:53:58]Read from MH i2c: E2 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 03 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 03 00 43 02 00 90 00 B9 [17:53:58]RAPDU: 90 00 [17:53:58]wFMCommunicate OK [17:53:58]wFMCommunicate request_size=4 [17:53:58]MH_SAM_APDU [17:53:58]CAPDU: 80 0D 03 02 [17:53:58]Write to MH i2c: E2 08 00 44 02 80 0D 03 02 00 00 00 00 C1 [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:53:58]Read from MH i2c: E2 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 0B 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 0B 00 44 02 00 23 7A E1 CB 2E 63 AA 75 90 00 BB [17:53:58]RAPDU: 23 7A E1 CB 2E 63 AA 75 90 00 [17:53:58]wFMCommunicate OK [17:53:58]SAM_PROTO_SignData done [17:53:58]FM_MakeSignedData done [17:53:58]CreateOFDProtocolMessage [17:53:58]wFMCommunicate request_size=4 [17:53:58]MH_SAM_APDU [17:53:58]CAPDU: 80 11 00 00 [17:53:58]Write to MH i2c: E2 08 00 45 02 80 11 00 00 00 00 00 00 C1 [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:53:58]Read from MH i2c: E2 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 17 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: E2 17 00 45 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1A [17:53:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:53:58]wFMCommunicate OK [17:53:58]CreateOFDProtocolMessage done [17:53:58]OFDSenderStorePacket 18867 [17:53:58]StoreOFDPacket docnum=18867 [17:53:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 61 6D 08 01 36 04 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 B6 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B3 49 00 00 35 04 06 00 1A EF BE 32 7E 56 23 7A E1 CB 2E 63 AA 75 [17:53:58]CheckFolder [17:53:58]dirname=/storage/ofd_packets [17:53:58]CheckFolder done [17:53:58]ProducePacketName [17:53:58]name=ofd_packets/00018867 [17:53:58]NVStorageSaveData ofd_packets/00018867 [17:53:58]File name is /storage/ofd_packets/00018867 [17:53:58]Write 302 bytes [17:53:58]NVStorageSaveData done [17:53:58]OFDSenderStorePacket done [17:53:58]KKMCreateOFDPacket done [17:53:58]NVStorageSaveData kkm_last_timestamp [17:53:58]File name is /storage/kkm_last_timestamp [17:53:58]Write 4 bytes [17:53:58]NVStorageSaveData done [17:53:58]ExternCall_PrintAddStr [17:53:58]wPrintStart [17:53:58]Write to MH i2c: 01 00 00 46 02 48 [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: 01 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: 01 07 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: 01 07 00 46 02 00 00 00 00 00 FF 0F 5D [17:53:58]RasterBufferAndPrint [17:53:58]line Счет N : (1)117064 [17:53:58]line ИНН: 02508201610067 [17:53:58]line Контрольно-Кассовый Чек [17:53:58]line ПРОДАЖА [17:53:58]line ТРК (МРК, ГНК) : 14 [17:53:58]line Товар: 2710124130 [17:53:58]line SUPER-92-К-5 [17:53:58]line 14.430 * 69.30 [17:53:58]line = 1000.00 [17:53:58]line НДС 12% НСП 1% [17:53:58]line > о реализуемом товаре [17:53:58]line ИТОГО: 1000.00 [17:53:58]line НСП 1% : 8.85 [17:53:58]line НДС 12% : 106.19 [17:53:58]line Наличными: 0.00 [17:53:58]line Безнал.: 1000.00 [17:53:58]line Место: АЗС № 176 "Партнер Нефть" [17:53:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:53:58]line СНО: Общий режим [17:53:58]line Чек 37 24.09.2024 17:53 [17:53:58]line Смена: 182 ФФД: 1.0 [17:53:58]line ЗНМ: 0300000010 [17:53:58]line РНМ: 0000000000152968 [17:53:58]line Версия ККМ: v1.0 [17:53:58]line Платежная система: O! деньги [17:53:58]line ФМ: 0000000000959456 [17:53:58]line ФД: 18867 [17:53:58]line ФПД: 29616990486102 [17:53:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175358&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18867&fm=29616990486102&tin=02508201610067®Number=0000000000152968&sum=100000 [17:53:58]OFD Sender: Processing packet 18867 [packets to send 7, broken 6] [17:53:58]ProducePacketName [17:53:58]name=ofd_packets/00018867 [17:53:58]OFD Sender: To server: pG, [17:53:58]CommunicateWithHost lk.salyk.kg:30040 [17:53:58]ConnectInit lk.salyk.kg [17:53:58]written 0, free lines is 4095 [17:53:58]Connected sock=9 [17:53:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 61 6D 08 01 36 04 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 B6 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B3 49 00 00 35 04 06 00 1A EF BE 32 7E 56 23 7A E1 CB 2E 63 AA 75 [17:53:58]Write to MH i2c: 01 00 00 70 02 72 [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: 01 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: 01 07 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: 01 07 00 70 02 00 00 00 00 00 0D 0D 93 [17:53:58]RasterBufferAndPrint [17:53:58]line [17:53:58]line [17:53:58]line [17:53:58]line [17:53:58]line [17:53:58]written 0, free lines is 3344 [17:53:58]MH_Cut [17:53:58]Write to MH i2c: D1 01 00 77 02 01 4B [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: D1 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: D1 01 00 [17:53:58]MH_I2C_Read... [17:53:58]Read from MH i2c: D1 01 00 77 02 00 4A [17:53:58]Write to MH i2c: 01 00 00 78 02 7A [17:53:58]Write i2c OK [17:53:58]MH_I2C_Read... [17:53:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 70 CA 47 00 5C 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B3 49 00 00 F4 03 04 00 16 A6 F2 66 B6 04 01 00 00 88 D8 32 A4 C9 F5 B2 5D [17:53:59]CommunicateWithHost err = 0 [17:53:59]CheckOFDResponse [17:53:59]1017 (14) - 77093643461234 [17:53:59]1041 (16) - 0000000000959456 [17:53:59]1040 (4) - 18867 [17:53:59]1012 (4) - 24.09.2024 11:44 [17:53:59]1206 (1) - 0 [17:53:59]OFD Sender: Remove packet 18867 [17:53:59]ProducePacketName [17:53:59]name=ofd_packets/00018867 [17:53:59]NVStorageDeleteData [17:53:59]OFD Sender: No OFD packet to send [17:53:59]*** Cut start [17:53:59]*** Partial cut [17:53:59]*** CUTSNS_PIN = 1 [17:53:59]*** CUTSNS_PIN = 0 [17:53:59]*** Brake cut motor [17:54:00]Read from MH i2c: 01 [17:54:00]MH_I2C_Read... [17:54:00]*** Stop cut motor [17:54:00]*** Cut end [17:54:00]Read from MH i2c: 01 07 00 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: 01 07 00 78 02 00 00 00 00 00 FF 0F 8F [17:54:00]process_action close_receipt done [17:54:00]requested_data is exist [17:54:00]produce_requested_data [17:54:00]requested_item fm.sn is exist - process it [17:54:00]wFMCommunicate request_size=4 [17:54:00]MH_SAM_APDU [17:54:00]CAPDU: 80 11 00 00 [17:54:00]Write to MH i2c: E2 08 00 79 02 80 11 00 00 00 00 00 00 F5 [17:54:00]Write i2c OK [17:54:00]MH_I2C_Read... [17:54:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:00]Read from MH i2c: E2 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: E2 17 00 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: E2 17 00 79 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4E [17:54:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:54:00]wFMCommunicate OK [17:54:00]requested_item fd.num is exist - process it [17:54:00]SAM_PROTO_GetFieldsCounters [17:54:00]wFMCommunicate request_size=4 [17:54:00]MH_SAM_APDU [17:54:00]CAPDU: 80 13 00 00 [17:54:00]Write to MH i2c: E2 08 00 7A 02 80 13 00 00 00 00 00 00 F8 [17:54:00]Write i2c OK [17:54:00]MH_I2C_Read... [17:54:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:54:00]Read from MH i2c: E2 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: E2 62 00 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: E2 62 00 7A 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B3 49 00 00 0E 04 04 00 B6 00 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 46 [17:54:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B3 49 00 00 0E 04 04 00 B6 00 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 [17:54:00]wFMCommunicate OK [17:54:00]SAM_PROTO_GetFieldsCounters done [17:54:00]requested_item shift.num is exist - process it [17:54:00]requested_item shift.opened is exist - process it [17:54:00]req_shift_opened [17:54:00]FM_GetShiftState [17:54:00]SAM_PROTO_GetShiftState [17:54:00]wFMCommunicate request_size=4 [17:54:00]MH_SAM_APDU [17:54:00]CAPDU: 80 13 01 00 [17:54:00]Write to MH i2c: E2 08 00 7B 02 80 13 01 00 00 00 00 00 FA [17:54:00]Write i2c OK [17:54:00]MH_I2C_Read... [17:54:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:00]Read from MH i2c: E2 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: E2 0E 00 [17:54:00]MH_I2C_Read... [17:54:00]Read from MH i2c: E2 0E 00 7B 02 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 31 [17:54:00]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:54:00]wFMCommunicate OK [17:54:00]SAM_PROTO_GetShiftState done [17:54:00]FM_GetShiftState done [17:54:00]req_shift_opened done [17:54:00]requested_item shift.open_date is exist - process it [17:54:00]req_shift_open_date [17:54:00]req_shift_open_date done [17:54:00]produce_requested_data done [17:54:00]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18867,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:54:00]process_action_free close_receipt [17:54:00]json_value_free [17:54:00]json_value_free done [17:54:00]process_json_proto returns [17:54:00]Send response to host [17:54:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18867,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:54:00]free response buf [17:54:00]execute_script done [17:54:00]execute_script returns [17:54:00]free content buf [17:54:00]Sock 10.Close socket [17:54:00]Sock 10.Thread stoped [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:53]accept exits with 8 [17:54:53]New connection [17:54:53]New thread 3067047268 created [17:54:53]Thread 3066903908 joined [17:54:53]Waiting for new connection... [17:54:53] Sock 8.Parse request [17:54:53]Sock 8.Check first char [17:54:53]Sock 8.First char is OK [17:54:53]request: POST /json_proto HTTP/1.0 [17:54:53]Method: POST [17:54:53]URL: /json_proto [17:54:53]Method is POST - this is cgi request [17:54:53]url: /json_proto [17:54:53]query_string will be loaded in cgi processing [17:54:53]execute_cgi json_proto POST (null) [17:54:53]execute_cgi path=json_proto method=POST [17:54:53]POST find Content-Length [17:54:53]Host: 172.17.62.196:8080 [17:54:53]Content-Length: 710 [17:54:53]Content-Type: application/json [17:54:53] [17:54:53]POST finish read [17:54:53]Found Content-Length = 710 [17:54:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16802", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "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" ] } } [17:54:53]execute_script... [17:54:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16802", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "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" ] } } [17:54:53]POST & json_proto [17:54:53]process_json_proto [17:54:53]json parsed OK: [17:54:53]protocol is kg_v1.0 [17:54:53]action value=close_receipt [17:54:53]process_action close_receipt [17:54:53]cmd_close_receipt [17:54:53]MH_GetDate [17:54:53]Write to MH i2c: F0 00 00 7C 02 6D [17:54:53]Write i2c OK [17:54:53]MH_I2C_Read... [17:54:53]Read from MH i2c: F0 [17:54:53]MH_I2C_Read... [17:54:53]Read from MH i2c: F0 09 00 [17:54:53]MH_I2C_Read... [17:54:53]Read from MH i2c: F0 09 00 7C 02 00 EF FC F2 66 CE CC 0E 66 C7 [17:54:53]GetLastDocTimeStamp 1727200438 [17:54:53]current date 1727200495 [17:54:53]FM_GetShiftState [17:54:53]SAM_PROTO_GetShiftState [17:54:53]wFMCommunicate request_size=4 [17:54:53]MH_SAM_APDU [17:54:53]CAPDU: 80 13 01 00 [17:54:53]Write to MH i2c: E2 08 00 7D 02 80 13 01 00 00 00 00 00 FC [17:54:53]Write i2c OK [17:54:53]MH_I2C_Read... [17:54:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:53]Read from MH i2c: E2 [17:54:53]MH_I2C_Read... [17:54:53]Read from MH i2c: E2 0E 00 [17:54:53]MH_I2C_Read... [17:54:53]Read from MH i2c: E2 0E 00 7D 02 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 33 [17:54:53]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:54:53]wFMCommunicate OK [17:54:53]SAM_PROTO_GetShiftState done [17:54:53]FM_GetShiftState done [17:54:53]opened in 1727136720 [17:54:53]opened+sec_in_day 1727223120 [17:54:53]quantity*price = 7000 [17:54:53]sum+1 = 7001 [17:54:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 38 24.09.2024 17:54 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18868 ФПД: 255603113849984 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175455&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18868&fm=255603113849984&tin=02508201610067®Number=0000000000152968&sum=7000 0 [17:54:55]StoreToDocumentArchive [17:54:55]shift 182 fd 18868 [17:54:55]save to /storage/0182/doc_00018868 [17:54:55]save last doc name /storage/0182/doc_00018868 to /storage/kkm_last_doc_name [17:54:55]save OK [17:54:55]Clear old archive folders... [17:54:55]ProcessDocumentItem done err = 0, tmpTLVsize=302 [17:54:55]tlvbuf is 01849960 [17:54:55]SAM_PROTO_ClearQueue [17:54:55]wFMCommunicate request_size=4 [17:54:55]MH_SAM_APDU [17:54:55]CAPDU: 80 09 00 00 [17:54:55]Write to MH i2c: E2 08 00 8A 02 80 09 00 00 00 00 00 00 FE [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:54:55]Read from MH i2c: E2 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 8A 02 00 90 00 00 [17:54:55]RAPDU: 90 00 [17:54:55]wFMCommunicate OK [17:54:55]SAM_PROTO_ClearQueue done [17:54:55]KKMCreateOFDPacket [17:54:55]OFDProtocolAddRootSTLVToBuf [17:54:55]FM_MakeSignedData [17:54:55]FM_MakeSignedData [17:54:55]SAM_PROTO_SignData [17:54:55]wFMCommunicate request_size=4 [17:54:55]MH_SAM_APDU [17:54:55]CAPDU: 80 0D 01 02 [17:54:55]Write to MH i2c: E2 08 00 8B 02 80 0D 01 02 00 00 00 00 06 [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:54:55]Read from MH i2c: E2 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 8B 02 00 90 00 01 [17:54:55]RAPDU: 90 00 [17:54:55]wFMCommunicate OK [17:54:55]wFMCommunicate request_size=255 [17:54:55]MH_SAM_APDU [17:54:55]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 00 00 00 F4 03 04 00 EF FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 [17:54:55]Write to MH i2c: E2 02 01 8C 02 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 00 00 00 F4 03 04 00 EF FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 00 00 2D [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:55]Read from MH i2c: E2 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 8C 02 00 90 00 02 [17:54:55]RAPDU: 90 00 [17:54:55]wFMCommunicate OK [17:54:55]wFMCommunicate request_size=61 [17:54:55]MH_SAM_APDU [17:54:55]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B4 49 00 00 35 04 06 00 E8 78 3C CD F4 80 [17:54:55]Write to MH i2c: E2 40 00 8D 02 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B4 49 00 00 35 04 06 00 E8 78 3C CD F4 80 00 00 24 [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:55]Read from MH i2c: E2 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 03 00 8D 02 00 90 00 03 [17:54:55]RAPDU: 90 00 [17:54:55]wFMCommunicate OK [17:54:55]wFMCommunicate request_size=4 [17:54:55]MH_SAM_APDU [17:54:55]CAPDU: 80 0D 03 02 [17:54:55]Write to MH i2c: E2 08 00 8E 02 80 0D 03 02 00 00 00 00 0B [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:54:55]Read from MH i2c: E2 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 0B 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 0B 00 8E 02 00 ED 5E FB A4 66 EC 13 D3 90 00 2E [17:54:55]RAPDU: ED 5E FB A4 66 EC 13 D3 90 00 [17:54:55]wFMCommunicate OK [17:54:55]SAM_PROTO_SignData done [17:54:55]FM_MakeSignedData done [17:54:55]CreateOFDProtocolMessage [17:54:55]wFMCommunicate request_size=4 [17:54:55]MH_SAM_APDU [17:54:55]CAPDU: 80 11 00 00 [17:54:55]Write to MH i2c: E2 08 00 8F 02 80 11 00 00 00 00 00 00 0B [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:55]Read from MH i2c: E2 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 17 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: E2 17 00 8F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 64 [17:54:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:54:55]wFMCommunicate OK [17:54:55]CreateOFDProtocolMessage done [17:54:55]OFDSenderStorePacket 18868 [17:54:55]StoreOFDPacket docnum=18868 [17:54:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 42 01 00 00 16 7B 3A 01 F6 AC 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 00 00 00 F4 03 04 00 EF FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B4 49 00 00 35 04 06 00 E8 78 3C CD F4 80 ED 5E FB A4 66 EC 13 D3 [17:54:55]CheckFolder [17:54:55]dirname=/storage/ofd_packets [17:54:55]CheckFolder done [17:54:55]ProducePacketName [17:54:55]name=ofd_packets/00018868 [17:54:55]NVStorageSaveData ofd_packets/00018868 [17:54:55]File name is /storage/ofd_packets/00018868 [17:54:55]Write 352 bytes [17:54:55]NVStorageSaveData done [17:54:55]OFDSenderStorePacket done [17:54:55]KKMCreateOFDPacket done [17:54:55]NVStorageSaveData kkm_last_timestamp [17:54:55]File name is /storage/kkm_last_timestamp [17:54:55]Write 4 bytes [17:54:55]NVStorageSaveData done [17:54:55]ExternCall_PrintAddStr [17:54:55]wPrintStart [17:54:55]Write to MH i2c: 01 00 00 90 02 92 [17:54:55]Write i2c OK [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: 01 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: 01 07 00 [17:54:55]MH_I2C_Read... [17:54:55]Read from MH i2c: 01 07 00 90 02 00 00 00 00 00 FF 0F A7 [17:54:55]RasterBufferAndPrint [17:54:55]line Счет N : (3)16802 [17:54:55]line ИНН: 02508201610067 [17:54:55]line Контрольно-Кассовый Чек [17:54:55]line ПРОДАЖА [17:54:55]line Товар: 4870001571030 [17:54:55]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [17:54:55]line 1.000 * 70.00 [17:54:55]line = 70.00 [17:54:55]line НДС 12% НСП 1% [17:54:55]line > о реализуемом товаре [17:54:55]line ИТОГО: 70.00 [17:54:55]line НСП 1% : 0.62 [17:54:55]line НДС 12% : 7.43 [17:54:55]line Наличными: 70.00 [17:54:55]line Безнал.: 0.00 [17:54:55]line Место: АЗС № 176 "Партнер Нефть" [17:54:55]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:54:55]line СНО: Общий режим [17:54:55]line Чек 38 24.09.2024 17:54 [17:54:55]line Смена: 182 ФФД: 1.0 [17:54:55]line ЗНМ: 0300000010 [17:54:55]line РНМ: 0000000000152968 [17:54:55]line Версия ККМ: v1.0 [17:54:55]line ФМ: 0000000000959456 [17:54:55]line ФД: 18868 [17:54:55]line ФПД: 255603113849984 [17:54:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175455&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18868&fm=255603113849984&tin=02508201610067®Number=0000000000152968&sum=7000 [17:54:55]line 0 [17:54:55]OFD Sender: Processing packet 18868 [packets to send 7, broken 6] [17:54:55]ProducePacketName [17:54:55]name=ofd_packets/00018868 [17:54:55]OFD Sender: To server: pG, [17:54:55]CommunicateWithHost lk.salyk.kg:30040 [17:54:55]ConnectInit lk.salyk.kg [17:54:55]written 0, free lines is 4095 [17:54:56]Connected sock=10 [17:54:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 42 01 00 00 16 7B 3A 01 F6 AC 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 00 00 00 F4 03 04 00 EF FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B4 49 00 00 35 04 06 00 E8 78 3C CD F4 80 ED 5E FB A4 66 EC 13 D3 [17:54:56]Write to MH i2c: 01 00 00 B9 02 BB [17:54:56]Write i2c OK [17:54:56]MH_I2C_Read... [17:54:56]Read from MH i2c: 01 [17:54:56]MH_I2C_Read... [17:54:56]Read from MH i2c: 01 07 00 [17:54:56]MH_I2C_Read... [17:54:56]Read from MH i2c: 01 07 00 B9 02 00 00 00 00 00 07 0D D6 [17:54:56]RasterBufferAndPrint [17:54:56]line [17:54:56]line [17:54:56]line [17:54:56]line [17:54:56]line [17:54:56]written 0, free lines is 3341 [17:54:56]MH_Cut [17:54:56]Write to MH i2c: D1 01 00 C0 02 01 94 [17:54:56]Write i2c OK [17:54:56]MH_I2C_Read... [17:54:56]Read from MH i2c: D1 [17:54:56]MH_I2C_Read... [17:54:56]Read from MH i2c: D1 01 00 [17:54:56]MH_I2C_Read... [17:54:56]Read from MH i2c: D1 01 00 C0 02 00 93 [17:54:56]Write to MH i2c: 01 00 00 C1 02 C3 [17:54:56]Write i2c OK [17:54:56]MH_I2C_Read... [17:54:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 39 F8 47 00 DD 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B4 49 00 00 F4 03 04 00 4F A6 F2 66 B6 04 01 00 00 78 C8 B8 CB 31 FA 1F 87 [17:54:56]CommunicateWithHost err = 0 [17:54:56]CheckOFDResponse [17:54:56]1017 (14) - 77093643461234 [17:54:56]1041 (16) - 0000000000959456 [17:54:56]1040 (4) - 18868 [17:54:56]1012 (4) - 24.09.2024 11:45 [17:54:56]1206 (1) - 0 [17:54:56]OFD Sender: Remove packet 18868 [17:54:56]ProducePacketName [17:54:56]name=ofd_packets/00018868 [17:54:56]NVStorageDeleteData [17:54:56]OFD Sender: No OFD packet to send [17:54:57]*** Cut start [17:54:57]*** Partial cut [17:54:57]*** CUTSNS_PIN = 1 [17:54:57]*** CUTSNS_PIN = 0 [17:54:57]*** Brake cut motor [17:54:57]Read from MH i2c: 01 [17:54:57]MH_I2C_Read... [17:54:57]*** Stop cut motor [17:54:57]*** Cut end [17:54:57]Read from MH i2c: 01 07 00 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FF 0F D8 [17:54:57]process_action close_receipt done [17:54:57]requested_data is exist [17:54:57]produce_requested_data [17:54:57]requested_item fm.sn is exist - process it [17:54:57]wFMCommunicate request_size=4 [17:54:57]MH_SAM_APDU [17:54:57]CAPDU: 80 11 00 00 [17:54:57]Write to MH i2c: E2 08 00 C2 02 80 11 00 00 00 00 00 00 3E [17:54:57]Write i2c OK [17:54:57]MH_I2C_Read... [17:54:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:57]Read from MH i2c: E2 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 17 00 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 17 00 C2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 97 [17:54:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:54:57]wFMCommunicate OK [17:54:57]requested_item fd.num is exist - process it [17:54:57]SAM_PROTO_GetFieldsCounters [17:54:57]wFMCommunicate request_size=4 [17:54:57]MH_SAM_APDU [17:54:57]CAPDU: 80 13 00 00 [17:54:57]Write to MH i2c: E2 08 00 C3 02 80 13 00 00 00 00 00 00 41 [17:54:57]Write i2c OK [17:54:57]MH_I2C_Read... [17:54:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:54:57]Read from MH i2c: E2 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 62 00 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 62 00 C3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B4 49 00 00 0E 04 04 00 B6 00 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 93 [17:54:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B4 49 00 00 0E 04 04 00 B6 00 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 [17:54:57]wFMCommunicate OK [17:54:57]SAM_PROTO_GetFieldsCounters done [17:54:57]requested_item shift.num is exist - process it [17:54:57]requested_item shift.opened is exist - process it [17:54:57]req_shift_opened [17:54:57]FM_GetShiftState [17:54:57]SAM_PROTO_GetShiftState [17:54:57]wFMCommunicate request_size=4 [17:54:57]MH_SAM_APDU [17:54:57]CAPDU: 80 13 01 00 [17:54:57]Write to MH i2c: E2 08 00 C4 02 80 13 01 00 00 00 00 00 43 [17:54:57]Write i2c OK [17:54:57]MH_I2C_Read... [17:54:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:57]Read from MH i2c: E2 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 0E 00 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 0E 00 C4 02 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7A [17:54:57]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:54:57]wFMCommunicate OK [17:54:57]SAM_PROTO_GetShiftState done [17:54:57]FM_GetShiftState done [17:54:57]req_shift_opened done [17:54:57]requested_item shift.open_date is exist - process it [17:54:57]req_shift_open_date [17:54:57]req_shift_open_date done [17:54:57]produce_requested_data done [17:54:57]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18868,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:54:57]process_action_free close_receipt [17:54:57]json_value_free [17:54:57]json_value_free done [17:54:57]process_json_proto returns [17:54:57]Send response to host [17:54:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18868,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:54:57]free response buf [17:54:57]execute_script done [17:54:57]execute_script returns [17:54:57]free content buf [17:54:57]Sock 8.Close socket [17:54:57]Sock 8.Thread stoped [17:55:01]accept exits with 9 [17:55:01]New connection [17:55:01]New thread 3066903908 created [17:55:01]Thread 3067047268 joined [17:55:01]Waiting for new connection... [17:55:01] Sock 9.Parse request [17:55:01]Sock 9.Check first char [17:55:01]Sock 9.First char is OK [17:55:01]request: POST /json_proto HTTP/1.0 [17:55:01]Method: POST [17:55:01]URL: /json_proto [17:55:01]Method is POST - this is cgi request [17:55:01]url: /json_proto [17:55:01]query_string will be loaded in cgi processing [17:55:01]execute_cgi json_proto POST (null) [17:55:01]execute_cgi path=json_proto method=POST [17:55:01]POST find Content-Length [17:55:01]Host: 172.17.62.196:8080 [17:55:01]Content-Length: 678 [17:55:01]Content-Type: application/json [17:55:01] [17:55:01]POST finish read [17:55:01]Found Content-Length = 678 [17:55:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:55:01]execute_script... [17:55:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:55:01]POST & json_proto [17:55:01]process_json_proto [17:55:01]json parsed OK: [17:55:01]protocol is kg_v1.0 [17:55:01]action value=close_receipt [17:55:01]process_action close_receipt [17:55:01]cmd_close_receipt [17:55:01]MH_GetDate [17:55:01]Write to MH i2c: F0 00 00 C5 02 B6 [17:55:01]Write i2c OK [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: F0 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: F0 09 00 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: F0 09 00 C5 02 00 F7 FC F2 66 CE CC 0E 66 18 [17:55:01]GetLastDocTimeStamp 1727200495 [17:55:01]current date 1727200503 [17:55:01]FM_GetShiftState [17:55:01]SAM_PROTO_GetShiftState [17:55:01]wFMCommunicate request_size=4 [17:55:01]MH_SAM_APDU [17:55:01]CAPDU: 80 13 01 00 [17:55:01]Write to MH i2c: E2 08 00 C6 02 80 13 01 00 00 00 00 00 45 [17:55:01]Write i2c OK [17:55:01]MH_I2C_Read... [17:55:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:55:01]Read from MH i2c: E2 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 0E 00 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 0E 00 C6 02 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7C [17:55:01]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:55:01]wFMCommunicate OK [17:55:01]SAM_PROTO_GetShiftState done [17:55:01]FM_GetShiftState done [17:55:01]opened in 1727136720 [17:55:01]opened+sec_in_day 1727223120 [17:55:01]quantity*price = 70037 [17:55:01]sum+1 = 70038 [17:55:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.38 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 39 24.09.2024 17:55 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18869 ФПД: 48891691506111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175503&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18869&fm=48891691506111&tin=02508201610067®Number=0000000000152968&sum=70000 [17:55:03]StoreToDocumentArchive [17:55:03]shift 182 fd 18869 [17:55:03]save to /storage/0182/doc_00018869 [17:55:03]save last doc name /storage/0182/doc_00018869 to /storage/kkm_last_doc_name [17:55:03]save OK [17:55:03]Clear old archive folders... [17:55:03]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:55:03]tlvbuf is 01867120 [17:55:03]SAM_PROTO_ClearQueue [17:55:03]wFMCommunicate request_size=4 [17:55:03]MH_SAM_APDU [17:55:03]CAPDU: 80 09 00 00 [17:55:03]Write to MH i2c: E2 08 00 D3 02 80 09 00 00 00 00 00 00 47 [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:55:03]Read from MH i2c: E2 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [17:55:03]RAPDU: 90 00 [17:55:03]wFMCommunicate OK [17:55:03]SAM_PROTO_ClearQueue done [17:55:03]KKMCreateOFDPacket [17:55:03]OFDProtocolAddRootSTLVToBuf [17:55:03]FM_MakeSignedData [17:55:03]FM_MakeSignedData [17:55:03]SAM_PROTO_SignData [17:55:03]wFMCommunicate request_size=4 [17:55:03]MH_SAM_APDU [17:55:03]CAPDU: 80 0D 01 02 [17:55:03]Write to MH i2c: E2 08 00 D4 02 80 0D 01 02 00 00 00 00 4F [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:55:03]Read from MH i2c: E2 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 D4 02 00 90 00 4A [17:55:03]RAPDU: 90 00 [17:55:03]wFMCommunicate OK [17:55:03]wFMCommunicate request_size=255 [17:55:03]MH_SAM_APDU [17:55:03]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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 F7 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B5 49 00 00 35 04 06 00 2C [17:55:03]Write to MH i2c: E2 02 01 D5 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 F7 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B5 49 00 00 35 04 06 00 2C 00 00 13 [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:55:03]Read from MH i2c: E2 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 D5 02 00 90 00 4B [17:55:03]RAPDU: 90 00 [17:55:03]wFMCommunicate OK [17:55:03]wFMCommunicate request_size=10 [17:55:03]MH_SAM_APDU [17:55:03]CAPDU: 80 0D 02 02 05 77 7B E7 99 BF [17:55:03]Write to MH i2c: E2 0D 00 D6 02 80 0D 02 02 05 00 77 7B E7 99 BF 00 00 8D [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:55:03]Read from MH i2c: E2 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 03 00 D6 02 00 90 00 4C [17:55:03]RAPDU: 90 00 [17:55:03]wFMCommunicate OK [17:55:03]wFMCommunicate request_size=4 [17:55:03]MH_SAM_APDU [17:55:03]CAPDU: 80 0D 03 02 [17:55:03]Write to MH i2c: E2 08 00 D7 02 80 0D 03 02 00 00 00 00 54 [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:55:03]Read from MH i2c: E2 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 0B 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 0B 00 D7 02 00 18 49 BE 76 CF 2E AB BD 90 00 4F [17:55:03]RAPDU: 18 49 BE 76 CF 2E AB BD 90 00 [17:55:03]wFMCommunicate OK [17:55:03]SAM_PROTO_SignData done [17:55:03]FM_MakeSignedData done [17:55:03]CreateOFDProtocolMessage [17:55:03]wFMCommunicate request_size=4 [17:55:03]MH_SAM_APDU [17:55:03]CAPDU: 80 11 00 00 [17:55:03]Write to MH i2c: E2 08 00 D8 02 80 11 00 00 00 00 00 00 54 [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:55:03]Read from MH i2c: E2 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 17 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: E2 17 00 D8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AD [17:55:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:55:03]wFMCommunicate OK [17:55:03]CreateOFDProtocolMessage done [17:55:03]OFDSenderStorePacket 18869 [17:55:03]StoreOFDPacket docnum=18869 [17:55:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 ED EF 07 01 29 71 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 F7 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B5 49 00 00 35 04 06 00 2C 77 7B E7 99 BF 18 49 BE 76 CF 2E AB BD [17:55:03]CheckFolder [17:55:03]dirname=/storage/ofd_packets [17:55:03]CheckFolder done [17:55:03]ProducePacketName [17:55:03]name=ofd_packets/00018869 [17:55:03]NVStorageSaveData ofd_packets/00018869 [17:55:03]File name is /storage/ofd_packets/00018869 [17:55:03]Write 301 bytes [17:55:03]NVStorageSaveData done [17:55:03]OFDSenderStorePacket done [17:55:03]KKMCreateOFDPacket done [17:55:03]NVStorageSaveData kkm_last_timestamp [17:55:03]File name is /storage/kkm_last_timestamp [17:55:03]Write 4 bytes [17:55:03]NVStorageSaveData done [17:55:03]ExternCall_PrintAddStr [17:55:03]wPrintStart [17:55:03]Write to MH i2c: 01 00 00 D9 02 DB [17:55:03]Write i2c OK [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: 01 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: 01 07 00 [17:55:03]MH_I2C_Read... [17:55:03]Read from MH i2c: 01 07 00 D9 02 00 00 00 00 00 FF 0F F0 [17:55:03]RasterBufferAndPrint [17:55:03]line Счет N : (1)117065 [17:55:03]line ИНН: 02508201610067 [17:55:03]line Контрольно-Кассовый Чек [17:55:03]line ПРОДАЖА [17:55:03]line ТРК (МРК, ГНК) : 32 [17:55:03]line Товар: 2710124130 [17:55:03]line Аи-92-К-5 [17:55:03]line 10.330 * 67.80 [17:55:03]line = 700.37 [17:55:03]line НДС 12% НСП 1% [17:55:03]line > о реализуемом товаре [17:55:03]line ОКРУГЛЕНИЕ: -0.37 [17:55:03]line ИТОГО: 700.00 [17:55:03]line Внесено: 700.00 [17:55:03]line СДАЧА: 0.00 [17:55:03]line НСП 1% : 6.20 [17:55:03]line НДС 12% : 74.38 [17:55:03]line Наличными: 700.00 [17:55:03]line Безнал.: 0.00 [17:55:03]line Место: АЗС № 176 "Партнер Нефть" [17:55:03]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:55:03]line СНО: Общий режим [17:55:03]line Чек 39 24.09.2024 17:55 [17:55:03]line Смена: 182 ФФД: 1.0 [17:55:03]line ЗНМ: 0300000010 [17:55:03]line РНМ: 0000000000152968 [17:55:03]line Версия ККМ: v1.0 [17:55:03]line ФМ: 0000000000959456 [17:55:03]line ФД: 18869 [17:55:03]line ФПД: 48891691506111 [17:55:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175503&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18869&fm=48891691506111&tin=02508201610067®Number=0000000000152968&sum=70000 [17:55:03]written 0, free lines is 4095 [17:55:03]OFD Sender: Processing packet 18869 [packets to send 7, broken 6] [17:55:03]ProducePacketName [17:55:03]name=ofd_packets/00018869 [17:55:03]OFD Sender: To server: pG, [17:55:03]CommunicateWithHost lk.salyk.kg:30040 [17:55:03]ConnectInit lk.salyk.kg [17:55:03]Connected sock=10 [17:55:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 ED EF 07 01 29 71 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 F7 FC F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B5 49 00 00 35 04 06 00 2C 77 7B E7 99 BF 18 49 BE 76 CF 2E AB BD [17:55:04]Write to MH i2c: 01 00 00 04 03 07 [17:55:04]Write i2c OK [17:55:04]MH_I2C_Read... [17:55:04]Read from MH i2c: 01 [17:55:04]MH_I2C_Read... [17:55:04]Read from MH i2c: 01 07 00 [17:55:04]MH_I2C_Read... [17:55:04]Read from MH i2c: 01 07 00 04 03 00 00 00 00 00 F4 0C 0E [17:55:04]RasterBufferAndPrint [17:55:04]line [17:55:04]line [17:55:04]line [17:55:04]line [17:55:04]line [17:55:04]written 0, free lines is 3325 [17:55:04]MH_Cut [17:55:04]Write to MH i2c: D1 01 00 0B 03 01 E0 [17:55:04]Write i2c OK [17:55:04]MH_I2C_Read... [17:55:04]Read from MH i2c: D1 [17:55:04]MH_I2C_Read... [17:55:04]Read from MH i2c: D1 01 00 [17:55:04]MH_I2C_Read... [17:55:04]Read from MH i2c: D1 01 00 0B 03 00 DF [17:55:04]Write to MH i2c: 01 00 00 0C 03 0F [17:55:04]Write i2c OK [17:55:04]MH_I2C_Read... [17:55:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 F3 D3 47 00 B4 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B5 49 00 00 F4 03 04 00 57 A6 F2 66 B6 04 01 00 00 DC BB 07 7A 46 9D 6E 2D [17:55:04]CommunicateWithHost err = 0 [17:55:04]CheckOFDResponse [17:55:04]1017 (14) - 77093643461234 [17:55:04]1041 (16) - 0000000000959456 [17:55:04]1040 (4) - 18869 [17:55:04]1012 (4) - 24.09.2024 11:45 [17:55:04]1206 (1) - 0 [17:55:04]OFD Sender: Remove packet 18869 [17:55:04]ProducePacketName [17:55:04]name=ofd_packets/00018869 [17:55:04]NVStorageDeleteData [17:55:04]OFD Sender: No OFD packet to send [17:55:04]*** Cut start [17:55:04]*** Partial cut [17:55:04]*** CUTSNS_PIN = 1 [17:55:04]*** CUTSNS_PIN = 0 [17:55:05]*** Brake cut motor [17:55:05]Read from MH i2c: 01 [17:55:05]MH_I2C_Read... [17:55:05]*** Stop cut motor [17:55:05]*** Cut end [17:55:05]Read from MH i2c: 01 07 00 [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: 01 07 00 0C 03 00 00 00 00 00 FF 0F 24 [17:55:05]process_action close_receipt done [17:55:05]requested_data is exist [17:55:05]produce_requested_data [17:55:05]requested_item fm.sn is exist - process it [17:55:05]wFMCommunicate request_size=4 [17:55:05]MH_SAM_APDU [17:55:05]CAPDU: 80 11 00 00 [17:55:05]Write to MH i2c: E2 08 00 0D 03 80 11 00 00 00 00 00 00 8A [17:55:05]Write i2c OK [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: E2 [17:55:05]MH_I2C_Read... [17:55:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:55:05]Read from MH i2c: E2 17 00 [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: E2 17 00 0D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E3 [17:55:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:55:05]wFMCommunicate OK [17:55:05]requested_item fd.num is exist - process it [17:55:05]SAM_PROTO_GetFieldsCounters [17:55:05]wFMCommunicate request_size=4 [17:55:05]MH_SAM_APDU [17:55:05]CAPDU: 80 13 00 00 [17:55:05]Write to MH i2c: E2 08 00 0E 03 80 13 00 00 00 00 00 00 8D [17:55:05]Write i2c OK [17:55:05]MH_I2C_Read... [17:55:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:55:05]Read from MH i2c: E2 [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: E2 62 00 [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: E2 62 00 0E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B5 49 00 00 0E 04 04 00 B6 00 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 E3 [17:55:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B5 49 00 00 0E 04 04 00 B6 00 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 [17:55:05]wFMCommunicate OK [17:55:05]SAM_PROTO_GetFieldsCounters done [17:55:05]requested_item shift.num is exist - process it [17:55:05]requested_item shift.opened is exist - process it [17:55:05]req_shift_opened [17:55:05]FM_GetShiftState [17:55:05]SAM_PROTO_GetShiftState [17:55:05]wFMCommunicate request_size=4 [17:55:05]MH_SAM_APDU [17:55:05]CAPDU: 80 13 01 00 [17:55:05]Write to MH i2c: E2 08 00 0F 03 80 13 01 00 00 00 00 00 8F [17:55:05]Write i2c OK [17:55:05]MH_I2C_Read... [17:55:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:55:05]Read from MH i2c: E2 [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: E2 0E 00 [17:55:05]MH_I2C_Read... [17:55:05]Read from MH i2c: E2 0E 00 0F 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 C6 [17:55:05]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:55:05]wFMCommunicate OK [17:55:05]SAM_PROTO_GetShiftState done [17:55:05]FM_GetShiftState done [17:55:05]req_shift_opened done [17:55:05]requested_item shift.open_date is exist - process it [17:55:05]req_shift_open_date [17:55:05]req_shift_open_date done [17:55:05]produce_requested_data done [17:55:05]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18869,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:55:05]process_action_free close_receipt [17:55:05]json_value_free [17:55:05]json_value_free done [17:55:05]process_json_proto returns [17:55:05]Send response to host [17:55:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18869,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:55:05]free response buf [17:55:05]execute_script done [17:55:05]execute_script returns [17:55:05]free content buf [17:55:05]Sock 9.Close socket [17:55:05]Sock 9.Thread stoped [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:02]accept exits with 8 [17:57:02]New connection [17:57:02]New thread 3067047268 created [17:57:02]Thread 3066903908 joined [17:57:02]Waiting for new connection... [17:57:02] Sock 8.Parse request [17:57:02]Sock 8.Check first char [17:57:02]Sock 8.First char is OK [17:57:02]request: POST /json_proto HTTP/1.0 [17:57:02]Method: POST [17:57:02]URL: /json_proto [17:57:02]Method is POST - this is cgi request [17:57:02]url: /json_proto [17:57:02]query_string will be loaded in cgi processing [17:57:02]execute_cgi json_proto POST (null) [17:57:02]execute_cgi path=json_proto method=POST [17:57:02]POST find Content-Length [17:57:02]Host: 172.17.62.196:8080 [17:57:02]Content-Length: 687 [17:57:02]Content-Type: application/json [17:57:02] [17:57:02]POST finish read [17:57:02]Found Content-Length = 687 [17:57:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117066", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 26.430, "sum" : 2000.75, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:57:02]execute_script... [17:57:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117066", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 26.430, "sum" : 2000.75, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:57:02]POST & json_proto [17:57:02]process_json_proto [17:57:02]json parsed OK: [17:57:02]protocol is kg_v1.0 [17:57:02]action value=close_receipt [17:57:02]process_action close_receipt [17:57:02]cmd_close_receipt [17:57:02]MH_GetDate [17:57:02]Write to MH i2c: F0 00 00 10 03 02 [17:57:02]Write i2c OK [17:57:02]MH_I2C_Read... [17:57:02]Read from MH i2c: F0 [17:57:02]MH_I2C_Read... [17:57:02]Read from MH i2c: F0 09 00 [17:57:02]MH_I2C_Read... [17:57:02]Read from MH i2c: F0 09 00 10 03 00 70 FD F2 66 CE CC 0E 66 DE [17:57:02]GetLastDocTimeStamp 1727200503 [17:57:02]current date 1727200624 [17:57:02]FM_GetShiftState [17:57:02]SAM_PROTO_GetShiftState [17:57:02]wFMCommunicate request_size=4 [17:57:02]MH_SAM_APDU [17:57:02]CAPDU: 80 13 01 00 [17:57:02]Write to MH i2c: E2 08 00 11 03 80 13 01 00 00 00 00 00 91 [17:57:02]Write i2c OK [17:57:02]MH_I2C_Read... [17:57:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:57:02]Read from MH i2c: E2 [17:57:02]MH_I2C_Read... [17:57:02]Read from MH i2c: E2 0E 00 [17:57:02]MH_I2C_Read... [17:57:02]Read from MH i2c: E2 0E 00 11 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 C8 [17:57:02]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:57:02]wFMCommunicate OK [17:57:02]SAM_PROTO_GetShiftState done [17:57:02]FM_GetShiftState done [17:57:02]opened in 1727136720 [17:57:02]opened+sec_in_day 1727223120 [17:57:02]quantity*price = 200075 [17:57:02]sum+1 = 200076 [17:57:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.75 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.71 НДС 12% : 212.47 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 40 24.09.2024 17:57 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18870 ФПД: 89232941110664 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175704&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18870&fm=89232941110664&tin=02508201610067®Number=0000000000152968&sum=200000 [17:57:04]StoreToDocumentArchive [17:57:04]shift 182 fd 18870 [17:57:04]save to /storage/0182/doc_00018870 [17:57:04]save last doc name /storage/0182/doc_00018870 to /storage/kkm_last_doc_name [17:57:04]save OK [17:57:04]Clear old archive folders... [17:57:04]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:57:04]tlvbuf is 01851640 [17:57:04]SAM_PROTO_ClearQueue [17:57:04]wFMCommunicate request_size=4 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 09 00 00 [17:57:04]Write to MH i2c: E2 08 00 1E 03 80 09 00 00 00 00 00 00 93 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 1E 03 00 90 00 95 [17:57:04]RAPDU: 90 00 [17:57:04]wFMCommunicate OK [17:57:04]SAM_PROTO_ClearQueue done [17:57:04]KKMCreateOFDPacket [17:57:04]OFDProtocolAddRootSTLVToBuf [17:57:04]FM_MakeSignedData [17:57:04]FM_MakeSignedData [17:57:04]SAM_PROTO_SignData [17:57:04]wFMCommunicate request_size=4 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 0D 01 02 [17:57:04]Write to MH i2c: E2 08 00 1F 03 80 0D 01 02 00 00 00 00 9B [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 1F 03 00 90 00 96 [17:57:04]RAPDU: 90 00 [17:57:04]wFMCommunicate OK [17:57:04]wFMCommunicate request_size=255 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 70 FD F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B6 49 00 00 35 04 06 00 [17:57:04]Write to MH i2c: E2 02 01 20 03 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 70 FD F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B6 49 00 00 35 04 06 00 00 00 5F [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 20 03 00 90 00 97 [17:57:04]RAPDU: 90 00 [17:57:04]wFMCommunicate OK [17:57:04]wFMCommunicate request_size=11 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 0D 02 02 06 51 28 29 C1 D5 88 [17:57:04]Write to MH i2c: E2 0E 00 21 03 80 0D 02 02 06 00 51 28 29 C1 D5 88 00 00 6A [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 21 03 00 90 00 98 [17:57:04]RAPDU: 90 00 [17:57:04]wFMCommunicate OK [17:57:04]wFMCommunicate request_size=4 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 0D 03 02 [17:57:04]Write to MH i2c: E2 08 00 22 03 80 0D 03 02 00 00 00 00 A0 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 0B 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 0B 00 22 03 00 B5 11 35 9A 77 61 51 6B 90 00 CA [17:57:04]RAPDU: B5 11 35 9A 77 61 51 6B 90 00 [17:57:04]wFMCommunicate OK [17:57:04]SAM_PROTO_SignData done [17:57:04]FM_MakeSignedData done [17:57:04]CreateOFDProtocolMessage [17:57:04]wFMCommunicate request_size=4 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 11 00 00 [17:57:04]Write to MH i2c: E2 08 00 23 03 80 11 00 00 00 00 00 00 A0 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 17 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 17 00 23 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F9 [17:57:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:57:04]wFMCommunicate OK [17:57:04]CreateOFDProtocolMessage done [17:57:04]OFDSenderStorePacket 18870 [17:57:04]StoreOFDPacket docnum=18870 [17:57:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 24 53 08 01 FB 51 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 70 FD F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B6 49 00 00 35 04 06 00 51 28 29 C1 D5 88 B5 11 35 9A 77 61 51 6B [17:57:04]CheckFolder [17:57:04]dirname=/storage/ofd_packets [17:57:04]CheckFolder done [17:57:04]ProducePacketName [17:57:04]name=ofd_packets/00018870 [17:57:04]NVStorageSaveData ofd_packets/00018870 [17:57:04]File name is /storage/ofd_packets/00018870 [17:57:04]Write 302 bytes [17:57:04]NVStorageSaveData done [17:57:04]OFDSenderStorePacket done [17:57:04]KKMCreateOFDPacket done [17:57:04]NVStorageSaveData kkm_last_timestamp [17:57:04]File name is /storage/kkm_last_timestamp [17:57:04]Write 4 bytes [17:57:04]NVStorageSaveData done [17:57:04]ExternCall_PrintAddStr [17:57:04]wPrintStart [17:57:04]Write to MH i2c: 01 00 00 24 03 27 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: 01 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: 01 07 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: 01 07 00 24 03 00 00 00 00 00 FF 0F 3C [17:57:04]RasterBufferAndPrint [17:57:04]line Счет N : (1)117066 [17:57:04]line ИНН: 02508201610067 [17:57:04]line Контрольно-Кассовый Чек [17:57:04]line ПРОДАЖА [17:57:04]line ТРК (МРК, ГНК) : 31 [17:57:04]line Товар: 2710194210 [17:57:04]line ДТ(л)-К-5 [17:57:04]line 26.430 * 75.70 [17:57:04]line = 2000.75 [17:57:04]line НДС 12% НСП 1% [17:57:04]line > о реализуемом товаре [17:57:04]line ОКРУГЛЕНИЕ: -0.75 [17:57:04]line ИТОГО: 2000.00 [17:57:04]line Внесено: 2000.00 [17:57:04]line СДАЧА: 0.00 [17:57:04]line НСП 1% : 17.71 [17:57:04]line НДС 12% : 212.47 [17:57:04]line Наличными: 2000.00 [17:57:04]line Безнал.: 0.00 [17:57:04]line Место: АЗС № 176 "Партнер Нефть" [17:57:04]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:57:04]line СНО: Общий режим [17:57:04]line Чек 40 24.09.2024 17:57 [17:57:04]line Смена: 182 ФФД: 1.0 [17:57:04]line ЗНМ: 0300000010 [17:57:04]line РНМ: 0000000000152968 [17:57:04]line Версия ККМ: v1.0 [17:57:04]line ФМ: 0000000000959456 [17:57:04]line ФД: 18870 [17:57:04]line ФПД: 89232941110664 [17:57:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T175704&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18870&fm=89232941110664&tin=02508201610067®Number=0000000000152968&sum=200000 [17:57:04]OFD Sender: Processing packet 18870 [packets to send 7, broken 6] [17:57:04]ProducePacketName [17:57:04]name=ofd_packets/00018870 [17:57:04]OFD Sender: To server: pG, [17:57:04]CommunicateWithHost lk.salyk.kg:30040 [17:57:04]ConnectInit lk.salyk.kg [17:57:04]written 0, free lines is 4095 [17:57:05]Connected sock=10 [17:57:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 24 53 08 01 FB 51 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 70 FD F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B6 49 00 00 35 04 06 00 51 28 29 C1 D5 88 B5 11 35 9A 77 61 51 6B [17:57:05]Write to MH i2c: 01 00 00 4F 03 52 [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: 01 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: 01 07 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: 01 07 00 4F 03 00 00 00 00 00 FB 0C 60 [17:57:05]RasterBufferAndPrint [17:57:05]line [17:57:05]line [17:57:05]line [17:57:05]line [17:57:05]line [17:57:05]written 0, free lines is 3329 [17:57:05]MH_Cut [17:57:05]Write to MH i2c: D1 01 00 56 03 01 2B [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: D1 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: D1 01 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: D1 01 00 56 03 00 2A [17:57:05]Write to MH i2c: 01 00 00 57 03 5A [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1A 1E 47 00 C0 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B6 49 00 00 F4 03 04 00 D0 A6 F2 66 B6 04 01 00 00 E1 53 92 92 EC EB A2 1E [17:57:05]CommunicateWithHost err = 0 [17:57:05]CheckOFDResponse [17:57:05]1017 (14) - 77093643461234 [17:57:05]1041 (16) - 0000000000959456 [17:57:05]1040 (4) - 18870 [17:57:05]1012 (4) - 24.09.2024 11:47 [17:57:05]1206 (1) - 0 [17:57:05]OFD Sender: Remove packet 18870 [17:57:05]ProducePacketName [17:57:05]name=ofd_packets/00018870 [17:57:05]NVStorageDeleteData [17:57:05]OFD Sender: No OFD packet to send [17:57:06]*** Cut start [17:57:06]*** Partial cut [17:57:06]*** CUTSNS_PIN = 1 [17:57:06]*** CUTSNS_PIN = 0 [17:57:06]*** Brake cut motor [17:57:06]Read from MH i2c: 01 [17:57:06]MH_I2C_Read... [17:57:06]*** Stop cut motor [17:57:06]*** Cut end [17:57:06]Read from MH i2c: 01 07 00 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: 01 07 00 57 03 00 00 00 00 00 FF 0F 6F [17:57:06]process_action close_receipt done [17:57:06]requested_data is exist [17:57:06]produce_requested_data [17:57:06]requested_item fm.sn is exist - process it [17:57:06]wFMCommunicate request_size=4 [17:57:06]MH_SAM_APDU [17:57:06]CAPDU: 80 11 00 00 [17:57:06]Write to MH i2c: E2 08 00 58 03 80 11 00 00 00 00 00 00 D5 [17:57:06]Write i2c OK [17:57:06]MH_I2C_Read... [17:57:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:57:06]Read from MH i2c: E2 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: E2 17 00 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: E2 17 00 58 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2E [17:57:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:57:06]wFMCommunicate OK [17:57:06]requested_item fd.num is exist - process it [17:57:06]SAM_PROTO_GetFieldsCounters [17:57:06]wFMCommunicate request_size=4 [17:57:06]MH_SAM_APDU [17:57:06]CAPDU: 80 13 00 00 [17:57:06]Write to MH i2c: E2 08 00 59 03 80 13 00 00 00 00 00 00 D8 [17:57:06]Write i2c OK [17:57:06]MH_I2C_Read... [17:57:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:57:06]Read from MH i2c: E2 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: E2 62 00 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: E2 62 00 59 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B6 49 00 00 0E 04 04 00 B6 00 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 32 [17:57:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B6 49 00 00 0E 04 04 00 B6 00 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:57:06]wFMCommunicate OK [17:57:06]SAM_PROTO_GetFieldsCounters done [17:57:06]requested_item shift.num is exist - process it [17:57:06]requested_item shift.opened is exist - process it [17:57:06]req_shift_opened [17:57:06]FM_GetShiftState [17:57:06]SAM_PROTO_GetShiftState [17:57:06]wFMCommunicate request_size=4 [17:57:06]MH_SAM_APDU [17:57:06]CAPDU: 80 13 01 00 [17:57:06]Write to MH i2c: E2 08 00 5A 03 80 13 01 00 00 00 00 00 DA [17:57:06]Write i2c OK [17:57:06]MH_I2C_Read... [17:57:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:57:06]Read from MH i2c: E2 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: E2 0E 00 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: E2 0E 00 5A 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 11 [17:57:06]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [17:57:06]wFMCommunicate OK [17:57:06]SAM_PROTO_GetShiftState done [17:57:06]FM_GetShiftState done [17:57:06]req_shift_opened done [17:57:06]requested_item shift.open_date is exist - process it [17:57:06]req_shift_open_date [17:57:06]req_shift_open_date done [17:57:06]produce_requested_data done [17:57:06]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18870,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [17:57:06]process_action_free close_receipt [17:57:06]json_value_free [17:57:06]json_value_free done [17:57:06]process_json_proto returns [17:57:06]Send response to host [17:57:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18870,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [17:57:06]free response buf [17:57:06]execute_script done [17:57:06]execute_script returns [17:57:06]free content buf [17:57:06]Sock 8.Close socket [17:57:06]Sock 8.Thread stoped [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]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:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:52]accept exits with 9 [18:00:52]New connection [18:00:52]New thread 3066903908 created [18:00:52]Thread 3067047268 joined [18:00:52]Waiting for new connection... [18:00:52] Sock 9.Parse request [18:00:52]Sock 9.Check first char [18:00:52]Sock 9.First char is OK [18:00:52]request: POST /json_proto HTTP/1.0 [18:00:52]Method: POST [18:00:52]URL: /json_proto [18:00:52]Method is POST - this is cgi request [18:00:52]url: /json_proto [18:00:52]query_string will be loaded in cgi processing [18:00:52]execute_cgi json_proto POST (null) [18:00:52]execute_cgi path=json_proto method=POST [18:00:52]POST find Content-Length [18:00:52]Host: 172.17.62.196:8080 [18:00:52]Content-Length: 677 [18:00:52]Content-Type: application/json [18:00:52] [18:00:52]POST finish read [18:00:52]Found Content-Length = 677 [18:00:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117067", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 2.950, "sum" : 200.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:52]execute_script... [18:00:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117067", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 2.950, "sum" : 200.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:52]POST & json_proto [18:00:52]process_json_proto [18:00:52]json parsed OK: [18:00:52]protocol is kg_v1.0 [18:00:52]action value=close_receipt [18:00:52]process_action close_receipt [18:00:52]cmd_close_receipt [18:00:52]MH_GetDate [18:00:52]Write to MH i2c: F0 00 00 5B 03 4D [18:00:52]Write i2c OK [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: F0 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: F0 09 00 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: F0 09 00 5B 03 00 55 FE F2 66 CE CC 0E 66 0F [18:00:52]GetLastDocTimeStamp 1727200624 [18:00:52]current date 1727200853 [18:00:52]FM_GetShiftState [18:00:52]SAM_PROTO_GetShiftState [18:00:52]wFMCommunicate request_size=4 [18:00:52]MH_SAM_APDU [18:00:52]CAPDU: 80 13 01 00 [18:00:52]Write to MH i2c: E2 08 00 5C 03 80 13 01 00 00 00 00 00 DC [18:00:52]Write i2c OK [18:00:52]MH_I2C_Read... [18:00:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:52]Read from MH i2c: E2 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: E2 0E 00 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: E2 0E 00 5C 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 13 [18:00:52]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:00:52]wFMCommunicate OK [18:00:52]SAM_PROTO_GetShiftState done [18:00:52]FM_GetShiftState done [18:00:52]opened in 1727136720 [18:00:52]opened+sec_in_day 1727223120 [18:00:52]quantity*price = 20001 [18:00:52]sum+1 = 20002 [18:00:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.01 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 41 24.09.2024 18:00 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18871 ФПД: 213104124717241 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180053&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18871&fm=213104124717241&tin=02508201610067®Number=0000000000152968&sum=20000 [18:00:53]StoreToDocumentArchive [18:00:53]shift 182 fd 18871 [18:00:53]save to /storage/0182/doc_00018871 [18:00:53]save last doc name /storage/0182/doc_00018871 to /storage/kkm_last_doc_name [18:00:53]save OK [18:00:53]Clear old archive folders... [18:00:53]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:00:53]tlvbuf is 018488E0 [18:00:53]SAM_PROTO_ClearQueue [18:00:53]wFMCommunicate request_size=4 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 09 00 00 [18:00:53]Write to MH i2c: E2 08 00 69 03 80 09 00 00 00 00 00 00 DE [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 69 03 00 90 00 E0 [18:00:53]RAPDU: 90 00 [18:00:53]wFMCommunicate OK [18:00:53]SAM_PROTO_ClearQueue done [18:00:53]KKMCreateOFDPacket [18:00:53]OFDProtocolAddRootSTLVToBuf [18:00:53]FM_MakeSignedData [18:00:53]FM_MakeSignedData [18:00:53]SAM_PROTO_SignData [18:00:53]wFMCommunicate request_size=4 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 0D 01 02 [18:00:53]Write to MH i2c: E2 08 00 6A 03 80 0D 01 02 00 00 00 00 E6 [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 6A 03 00 90 00 E1 [18:00:53]RAPDU: 90 00 [18:00:53]wFMCommunicate OK [18:00:53]wFMCommunicate request_size=255 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 0B 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 21 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 55 FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B7 49 00 00 35 04 06 00 C1 [18:00:53]Write to MH i2c: E2 02 01 6B 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 0B 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 21 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 55 FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B7 49 00 00 35 04 06 00 C1 00 00 BE [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 6B 03 00 90 00 E2 [18:00:53]RAPDU: 90 00 [18:00:53]wFMCommunicate OK [18:00:53]wFMCommunicate request_size=10 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 0D 02 02 05 D1 2B A7 68 B9 [18:00:53]Write to MH i2c: E2 0D 00 6C 03 80 0D 02 02 05 00 D1 2B A7 68 B9 00 00 B7 [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 6C 03 00 90 00 E3 [18:00:53]RAPDU: 90 00 [18:00:53]wFMCommunicate OK [18:00:53]wFMCommunicate request_size=4 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 0D 03 02 [18:00:53]Write to MH i2c: E2 08 00 6D 03 80 0D 03 02 00 00 00 00 EB [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 0B 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 0B 00 6D 03 00 F9 CF A4 86 81 9B B4 3D 90 00 EB [18:00:53]RAPDU: F9 CF A4 86 81 9B B4 3D 90 00 [18:00:53]wFMCommunicate OK [18:00:53]SAM_PROTO_SignData done [18:00:53]FM_MakeSignedData done [18:00:53]CreateOFDProtocolMessage [18:00:53]wFMCommunicate request_size=4 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 11 00 00 [18:00:53]Write to MH i2c: E2 08 00 6E 03 80 11 00 00 00 00 00 00 EB [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 17 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 17 00 6E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 44 [18:00:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:00:53]wFMCommunicate OK [18:00:53]CreateOFDProtocolMessage done [18:00:53]OFDSenderStorePacket 18871 [18:00:53]StoreOFDPacket docnum=18871 [18:00:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 C6 1C 07 01 BF 11 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 86 0B 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 21 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 55 FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B7 49 00 00 35 04 06 00 C1 D1 2B A7 68 B9 F9 CF A4 86 81 9B B4 3D [18:00:53]CheckFolder [18:00:53]dirname=/storage/ofd_packets [18:00:53]CheckFolder done [18:00:53]ProducePacketName [18:00:53]name=ofd_packets/00018871 [18:00:53]NVStorageSaveData ofd_packets/00018871 [18:00:53]File name is /storage/ofd_packets/00018871 [18:00:53]Write 301 bytes [18:00:53]NVStorageSaveData done [18:00:53]OFDSenderStorePacket done [18:00:53]KKMCreateOFDPacket done [18:00:53]NVStorageSaveData kkm_last_timestamp [18:00:53]File name is /storage/kkm_last_timestamp [18:00:53]Write 4 bytes [18:00:53]NVStorageSaveData done [18:00:53]ExternCall_PrintAddStr [18:00:53]wPrintStart [18:00:53]Write to MH i2c: 01 00 00 6F 03 72 [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: 01 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: 01 07 00 [18:00:53]MH_I2C_Read... [18:00:53]OFD Sender: Processing packet 18871 [packets to send 7, broken 6] [18:00:53]ProducePacketName [18:00:53]name=ofd_packets/00018871 [18:00:53]OFD Sender: To server: pG, [18:00:53]CommunicateWithHost lk.salyk.kg:30040 [18:00:53]ConnectInit lk.salyk.kg [18:00:53]Read from MH i2c: 01 07 00 6F 03 00 00 00 00 00 FF 0F 87 [18:00:53]RasterBufferAndPrint [18:00:53]line Счет N : (1)117067 [18:00:53]line ИНН: 02508201610067 [18:00:53]line Контрольно-Кассовый Чек [18:00:53]line ПРОДАЖА [18:00:53]line ТРК (МРК, ГНК) : 32 [18:00:53]line Товар: 2710124130 [18:00:53]line Аи-92-К-5 [18:00:53]line 2.950 * 67.80 [18:00:53]line = 200.01 [18:00:53]line НДС 12% НСП 1% [18:00:53]line > о реализуемом товаре [18:00:53]line ОКРУГЛЕНИЕ: -0.01 [18:00:53]line ИТОГО: 200.00 [18:00:53]line Внесено: 200.00 [18:00:53]line СДАЧА: 0.00 [18:00:53]line НСП 1% : 1.77 [18:00:53]line НДС 12% : 21.24 [18:00:53]line Наличными: 200.00 [18:00:53]line Безнал.: 0.00 [18:00:53]line Место: АЗС № 176 "Партнер Нефть" [18:00:53]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:00:53]line СНО: Общий режим [18:00:53]line Чек 41 24.09.2024 18:00 [18:00:53]line Смена: 182 ФФД: 1.0 [18:00:53]line ЗНМ: 0300000010 [18:00:53]line РНМ: 0000000000152968 [18:00:53]line Версия ККМ: v1.0 [18:00:53]line ФМ: 0000000000959456 [18:00:53]line ФД: 18871 [18:00:53]line ФПД: 213104124717241 [18:00:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180053&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18871&fm=213104124717241&tin=02508201610067®Number=0000000000152968&sum=20000 [18:00:54]Connected sock=8 [18:00:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 C6 1C 07 01 BF 11 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 86 0B 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 21 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 55 FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B7 49 00 00 35 04 06 00 C1 D1 2B A7 68 B9 F9 CF A4 86 81 9B B4 3D [18:00:54]written 0, free lines is 4095 [18:00:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 AD 9C 47 00 5D BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B7 49 00 00 F4 03 04 00 B5 A7 F2 66 B6 04 01 00 00 48 AC 04 6C 75 07 93 A2 [18:00:54]CommunicateWithHost err = 0 [18:00:54]CheckOFDResponse [18:00:54]1017 (14) - 77093643461234 [18:00:54]1041 (16) - 0000000000959456 [18:00:54]1040 (4) - 18871 [18:00:54]1012 (4) - 24.09.2024 11:51 [18:00:54]1206 (1) - 0 [18:00:54]OFD Sender: Remove packet 18871 [18:00:54]ProducePacketName [18:00:54]name=ofd_packets/00018871 [18:00:54]NVStorageDeleteData [18:00:54]Write to MH i2c: 01 00 00 9A 03 9D [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 07 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 07 00 9A 03 00 00 00 00 00 EB 0C 9B [18:00:54]RasterBufferAndPrint [18:00:54]line [18:00:54]line [18:00:54]line [18:00:54]line [18:00:54]line [18:00:54]written 0, free lines is 3313 [18:00:54]MH_Cut [18:00:54]Write to MH i2c: D1 01 00 A1 03 01 76 [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: D1 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: D1 01 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: D1 01 00 A1 03 00 75 [18:00:54]Write to MH i2c: 01 00 00 A2 03 A5 [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]OFD Sender: No OFD packet to send [18:00:55]*** Cut start [18:00:55]*** Partial cut [18:00:55]*** CUTSNS_PIN = 1 [18:00:55]*** CUTSNS_PIN = 0 [18:00:55]*** Brake cut motor [18:00:55]Read from MH i2c: 01 [18:00:55]MH_I2C_Read... [18:00:55]*** Stop cut motor [18:00:55]*** Cut end [18:00:55]Read from MH i2c: 01 07 00 [18:00:55]MH_I2C_Read... [18:00:55]Read from MH i2c: 01 07 00 A2 03 00 00 00 00 00 FF 0F BA [18:00:55]process_action close_receipt done [18:00:55]requested_data is exist [18:00:55]produce_requested_data [18:00:55]requested_item fm.sn is exist - process it [18:00:55]wFMCommunicate request_size=4 [18:00:55]MH_SAM_APDU [18:00:55]CAPDU: 80 11 00 00 [18:00:55]Write to MH i2c: E2 08 00 A3 03 80 11 00 00 00 00 00 00 20 [18:00:55]Write i2c OK [18:00:55]MH_I2C_Read... [18:00:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:55]Read from MH i2c: E2 [18:00:55]MH_I2C_Read... [18:00:55]Read from MH i2c: E2 17 00 [18:00:55]MH_I2C_Read... [18:00:55]Read from MH i2c: E2 17 00 A3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 79 [18:00:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:00:55]wFMCommunicate OK [18:00:55]requested_item fd.num is exist - process it [18:00:55]SAM_PROTO_GetFieldsCounters [18:00:55]wFMCommunicate request_size=4 [18:00:55]MH_SAM_APDU [18:00:55]CAPDU: 80 13 00 00 [18:00:55]Write to MH i2c: E2 08 00 A4 03 80 13 00 00 00 00 00 00 23 [18:00:55]Write i2c OK [18:00:55]MH_I2C_Read... [18:00:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:55]Read from MH i2c: E2 [18:00:55]MH_I2C_Read... [18:00:55]Read from MH i2c: E2 62 00 [18:00:55]MH_I2C_Read... [18:00:55]Read from MH i2c: E2 62 00 A4 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B7 49 00 00 0E 04 04 00 B6 00 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 81 [18:00:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:00:56]wFMCommunicate OK [18:00:56]SAM_PROTO_GetFieldsCounters done [18:00:56]requested_item shift.num is exist - process it [18:00:56]requested_item shift.opened is exist - process it [18:00:56]req_shift_opened [18:00:56]FM_GetShiftState [18:00:56]SAM_PROTO_GetShiftState [18:00:56]wFMCommunicate request_size=4 [18:00:56]MH_SAM_APDU [18:00:56]CAPDU: 80 13 01 00 [18:00:56]Write to MH i2c: E2 08 00 A5 03 80 13 01 00 00 00 00 00 25 [18:00:56]Write i2c OK [18:00:56]MH_I2C_Read... [18:00:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:56]Read from MH i2c: E2 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 0E 00 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 0E 00 A5 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5C [18:00:56]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:00:56]wFMCommunicate OK [18:00:56]SAM_PROTO_GetShiftState done [18:00:56]FM_GetShiftState done [18:00:56]req_shift_opened done [18:00:56]requested_item shift.open_date is exist - process it [18:00:56]req_shift_open_date [18:00:56]req_shift_open_date done [18:00:56]produce_requested_data done [18:00:56]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18871,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:00:56]process_action_free close_receipt [18:00:56]json_value_free [18:00:56]json_value_free done [18:00:56]process_json_proto returns [18:00:56]Send response to host [18:00:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18871,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:00:56]free response buf [18:00:56]execute_script done [18:00:56]execute_script returns [18:00:56]free content buf [18:00:56]Sock 9.Close socket [18:00:56]Sock 9.Thread stoped [18:00:59]OFD Sender: No OFD packet to send [18:01:04]OFD Sender: No OFD packet to send [18:01:09]OFD Sender: No OFD packet to send [18:01:13]accept exits with 10 [18:01:13]New connection [18:01:13]New thread 3067047268 created [18:01:13]Thread 3066903908 joined [18:01:13]Waiting for new connection... [18:01:13] Sock 10.Parse request [18:01:13]Sock 10.Check first char [18:01:13]Sock 10.First char is OK [18:01:13]request: POST /json_proto HTTP/1.0 [18:01:13]Method: POST [18:01:13]URL: /json_proto [18:01:13]Method is POST - this is cgi request [18:01:13]url: /json_proto [18:01:13]query_string will be loaded in cgi processing [18:01:13]execute_cgi json_proto POST (null) [18:01:13]execute_cgi path=json_proto method=POST [18:01:13]POST find Content-Length [18:01:13]Host: 172.17.62.196:8080 [18:01:13]Content-Length: 677 [18:01:13]Content-Type: application/json [18:01:13] [18:01:13]POST finish read [18:01:13]Found Content-Length = 677 [18:01:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117068", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:01:13]execute_script... [18:01:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117068", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:01:13]POST & json_proto [18:01:13]process_json_proto [18:01:13]json parsed OK: [18:01:13]protocol is kg_v1.0 [18:01:13]action value=close_receipt [18:01:13]process_action close_receipt [18:01:13]cmd_close_receipt [18:01:13]MH_GetDate [18:01:13]Write to MH i2c: F0 00 00 A6 03 98 [18:01:13]Write i2c OK [18:01:13]MH_I2C_Read... [18:01:13]Read from MH i2c: F0 [18:01:13]MH_I2C_Read... [18:01:13]Read from MH i2c: F0 09 00 [18:01:13]MH_I2C_Read... [18:01:13]Read from MH i2c: F0 09 00 A6 03 00 6B FE F2 66 CE CC 0E 66 70 [18:01:13]GetLastDocTimeStamp 1727200853 [18:01:13]current date 1727200875 [18:01:13]FM_GetShiftState [18:01:13]SAM_PROTO_GetShiftState [18:01:13]wFMCommunicate request_size=4 [18:01:13]MH_SAM_APDU [18:01:13]CAPDU: 80 13 01 00 [18:01:13]Write to MH i2c: E2 08 00 A7 03 80 13 01 00 00 00 00 00 27 [18:01:13]Write i2c OK [18:01:13]MH_I2C_Read... [18:01:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:01:13]Read from MH i2c: E2 [18:01:13]MH_I2C_Read... [18:01:13]Read from MH i2c: E2 0E 00 [18:01:13]MH_I2C_Read... [18:01:13]Read from MH i2c: E2 0E 00 A7 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5E [18:01:13]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:01:13]wFMCommunicate OK [18:01:13]SAM_PROTO_GetShiftState done [18:01:13]FM_GetShiftState done [18:01:13]opened in 1727136720 [18:01:13]opened+sec_in_day 1727223120 [18:01:13]quantity*price = 50036 [18:01:13]sum+1 = 50037 [18:01:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 42 24.09.2024 18:01 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18872 ФПД: 79605816866575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180115&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18872&fm=79605816866575&tin=02508201610067®Number=0000000000152968&sum=50000 [18:01:15]StoreToDocumentArchive [18:01:15]shift 182 fd 18872 [18:01:15]save to /storage/0182/doc_00018872 [18:01:15]save last doc name /storage/0182/doc_00018872 to /storage/kkm_last_doc_name [18:01:15]save OK [18:01:15]Clear old archive folders... [18:01:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:01:15]tlvbuf is 0183BF70 [18:01:15]SAM_PROTO_ClearQueue [18:01:15]wFMCommunicate request_size=4 [18:01:15]MH_SAM_APDU [18:01:15]CAPDU: 80 09 00 00 [18:01:15]Write to MH i2c: E2 08 00 B4 03 80 09 00 00 00 00 00 00 29 [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:01:15]Read from MH i2c: E2 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 B4 03 00 90 00 2B [18:01:15]RAPDU: 90 00 [18:01:15]wFMCommunicate OK [18:01:15]SAM_PROTO_ClearQueue done [18:01:15]KKMCreateOFDPacket [18:01:15]OFDProtocolAddRootSTLVToBuf [18:01:15]FM_MakeSignedData [18:01:15]FM_MakeSignedData [18:01:15]SAM_PROTO_SignData [18:01:15]wFMCommunicate request_size=4 [18:01:15]MH_SAM_APDU [18:01:15]CAPDU: 80 0D 01 02 [18:01:15]Write to MH i2c: E2 08 00 B5 03 80 0D 01 02 00 00 00 00 31 [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:01:15]Read from MH i2c: E2 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 B5 03 00 90 00 2C [18:01:15]RAPDU: 90 00 [18:01:15]wFMCommunicate OK [18:01:15]wFMCommunicate request_size=255 [18:01:15]MH_SAM_APDU [18:01:15]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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6B FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B8 49 00 00 35 04 06 00 48 [18:01:15]Write to MH i2c: E2 02 01 B6 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6B FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B8 49 00 00 35 04 06 00 48 00 00 A6 [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:01:15]Read from MH i2c: E2 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 B6 03 00 90 00 2D [18:01:15]RAPDU: 90 00 [18:01:15]wFMCommunicate OK [18:01:15]wFMCommunicate request_size=10 [18:01:15]MH_SAM_APDU [18:01:15]CAPDU: 80 0D 02 02 05 66 AC 6F B7 0F [18:01:15]Write to MH i2c: E2 0D 00 B7 03 80 0D 02 02 05 00 66 AC 6F B7 0F 00 00 85 [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:01:15]Read from MH i2c: E2 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 03 00 B7 03 00 90 00 2E [18:01:15]RAPDU: 90 00 [18:01:15]wFMCommunicate OK [18:01:15]wFMCommunicate request_size=4 [18:01:15]MH_SAM_APDU [18:01:15]CAPDU: 80 0D 03 02 [18:01:15]Write to MH i2c: E2 08 00 B8 03 80 0D 03 02 00 00 00 00 36 [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:01:15]Read from MH i2c: E2 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 0B 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 0B 00 B8 03 00 B8 1C 58 72 45 95 EC A4 90 00 3F [18:01:15]RAPDU: B8 1C 58 72 45 95 EC A4 90 00 [18:01:15]wFMCommunicate OK [18:01:15]SAM_PROTO_SignData done [18:01:15]FM_MakeSignedData done [18:01:15]CreateOFDProtocolMessage [18:01:15]wFMCommunicate request_size=4 [18:01:15]MH_SAM_APDU [18:01:15]CAPDU: 80 11 00 00 [18:01:15]Write to MH i2c: E2 08 00 B9 03 80 11 00 00 00 00 00 00 36 [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:01:15]Read from MH i2c: E2 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 17 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: E2 17 00 B9 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8F [18:01:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:01:15]wFMCommunicate OK [18:01:15]CreateOFDProtocolMessage done [18:01:15]OFDSenderStorePacket 18872 [18:01:15]StoreOFDPacket docnum=18872 [18:01:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 1A 9A 07 01 4B 9A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6B FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B8 49 00 00 35 04 06 00 48 66 AC 6F B7 0F B8 1C 58 72 45 95 EC A4 [18:01:15]CheckFolder [18:01:15]dirname=/storage/ofd_packets [18:01:15]CheckFolder done [18:01:15]ProducePacketName [18:01:15]name=ofd_packets/00018872 [18:01:15]NVStorageSaveData ofd_packets/00018872 [18:01:15]File name is /storage/ofd_packets/00018872 [18:01:15]Write 301 bytes [18:01:15]NVStorageSaveData done [18:01:15]OFDSenderStorePacket done [18:01:15]KKMCreateOFDPacket done [18:01:15]NVStorageSaveData kkm_last_timestamp [18:01:15]File name is /storage/kkm_last_timestamp [18:01:15]Write 4 bytes [18:01:15]NVStorageSaveData done [18:01:15]ExternCall_PrintAddStr [18:01:15]wPrintStart [18:01:15]Write to MH i2c: 01 00 00 BA 03 BD [18:01:15]Write i2c OK [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: 01 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: 01 07 00 [18:01:15]MH_I2C_Read... [18:01:15]Read from MH i2c: 01 07 00 BA 03 00 00 00 00 00 FF 0F D2 [18:01:15]RasterBufferAndPrint [18:01:15]line Счет N : (1)117068 [18:01:15]line ИНН: 02508201610067 [18:01:15]line Контрольно-Кассовый Чек [18:01:15]line ПРОДАЖА [18:01:15]line ТРК (МРК, ГНК) : 12 [18:01:15]line Товар: 2710124130 [18:01:15]line Аи-92-К-5 [18:01:15]line 7.380 * 67.80 [18:01:15]line = 500.36 [18:01:15]line НДС 12% НСП 1% [18:01:15]line > о реализуемом товаре [18:01:15]line ОКРУГЛЕНИЕ: -0.36 [18:01:15]line ИТОГО: 500.00 [18:01:15]line Внесено: 500.00 [18:01:15]line СДАЧА: 0.00 [18:01:15]line НСП 1% : 4.43 [18:01:15]line НДС 12% : 53.14 [18:01:15]line Наличными: 500.00 [18:01:15]line Безнал.: 0.00 [18:01:15]line Место: АЗС № 176 "Партнер Нефть" [18:01:15]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:01:15]line СНО: Общий режим [18:01:15]line Чек 42 24.09.2024 18:01 [18:01:15]line Смена: 182 ФФД: 1.0 [18:01:15]line ЗНМ: 0300000010 [18:01:15]line РНМ: 0000000000152968 [18:01:15]line Версия ККМ: v1.0 [18:01:15]line ФМ: 0000000000959456 [18:01:15]line ФД: 18872 [18:01:15]line ФПД: 79605816866575 [18:01:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180115&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18872&fm=79605816866575&tin=02508201610067®Number=0000000000152968&sum=50000 [18:01:16]OFD Sender: Processing packet 18872 [packets to send 7, broken 6] [18:01:16]ProducePacketName [18:01:16]name=ofd_packets/00018872 [18:01:16]OFD Sender: To server: pG, [18:01:16]CommunicateWithHost lk.salyk.kg:30040 [18:01:16]ConnectInit lk.salyk.kg [18:01:16]written 0, free lines is 4095 [18:01:16]Connected sock=8 [18:01:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 1A 9A 07 01 4B 9A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6B FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B8 49 00 00 35 04 06 00 48 66 AC 6F B7 0F B8 1C 58 72 45 95 EC A4 [18:01:16]Write to MH i2c: 01 00 00 E5 03 E8 [18:01:16]Write i2c OK [18:01:16]MH_I2C_Read... [18:01:16]Read from MH i2c: 01 [18:01:16]MH_I2C_Read... [18:01:16]Read from MH i2c: 01 07 00 [18:01:16]MH_I2C_Read... [18:01:16]Read from MH i2c: 01 07 00 E5 03 00 00 00 00 00 FC 0C F7 [18:01:16]RasterBufferAndPrint [18:01:16]line [18:01:16]line [18:01:16]line [18:01:16]line [18:01:16]line [18:01:16]written 0, free lines is 3330 [18:01:16]MH_Cut [18:01:16]Write to MH i2c: D1 01 00 EC 03 01 C1 [18:01:16]Write i2c OK [18:01:16]MH_I2C_Read... [18:01:16]Read from MH i2c: D1 [18:01:16]MH_I2C_Read... [18:01:16]Read from MH i2c: D1 01 00 [18:01:16]MH_I2C_Read... [18:01:16]Read from MH i2c: D1 01 00 EC 03 00 C0 [18:01:16]Write to MH i2c: 01 00 00 ED 03 F0 [18:01:16]Write i2c OK [18:01:16]MH_I2C_Read... [18:01:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 3E 41 47 00 FB AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B8 49 00 00 F4 03 04 00 CB A7 F2 66 B6 04 01 00 00 F7 EC FE 43 28 B7 93 5D [18:01:16]CommunicateWithHost err = 0 [18:01:16]CheckOFDResponse [18:01:16]1017 (14) - 77093643461234 [18:01:16]1041 (16) - 0000000000959456 [18:01:16]1040 (4) - 18872 [18:01:16]1012 (4) - 24.09.2024 11:51 [18:01:16]1206 (1) - 0 [18:01:16]OFD Sender: Remove packet 18872 [18:01:16]ProducePacketName [18:01:16]name=ofd_packets/00018872 [18:01:16]NVStorageDeleteData [18:01:17]OFD Sender: No OFD packet to send [18:01:17]*** Cut start [18:01:17]*** Partial cut [18:01:17]*** CUTSNS_PIN = 1 [18:01:17]*** CUTSNS_PIN = 0 [18:01:17]*** Brake cut motor [18:01:17]Read from MH i2c: 01 [18:01:17]MH_I2C_Read... [18:01:17]*** Stop cut motor [18:01:17]*** Cut end [18:01:17]Read from MH i2c: 01 07 00 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: 01 07 00 ED 03 00 00 00 00 00 FF 0F 05 [18:01:17]process_action close_receipt done [18:01:17]requested_data is exist [18:01:17]produce_requested_data [18:01:17]requested_item fm.sn is exist - process it [18:01:17]wFMCommunicate request_size=4 [18:01:17]MH_SAM_APDU [18:01:17]CAPDU: 80 11 00 00 [18:01:17]Write to MH i2c: E2 08 00 EE 03 80 11 00 00 00 00 00 00 6B [18:01:17]Write i2c OK [18:01:17]MH_I2C_Read... [18:01:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:01:17]Read from MH i2c: E2 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: E2 17 00 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: E2 17 00 EE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C4 [18:01:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:01:17]wFMCommunicate OK [18:01:17]requested_item fd.num is exist - process it [18:01:17]SAM_PROTO_GetFieldsCounters [18:01:17]wFMCommunicate request_size=4 [18:01:17]MH_SAM_APDU [18:01:17]CAPDU: 80 13 00 00 [18:01:17]Write to MH i2c: E2 08 00 EF 03 80 13 00 00 00 00 00 00 6E [18:01:17]Write i2c OK [18:01:17]MH_I2C_Read... [18:01:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:01:17]Read from MH i2c: E2 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: E2 62 00 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: E2 62 00 EF 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B8 49 00 00 0E 04 04 00 B6 00 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 D0 [18:01:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B8 49 00 00 0E 04 04 00 B6 00 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:01:17]wFMCommunicate OK [18:01:17]SAM_PROTO_GetFieldsCounters done [18:01:17]requested_item shift.num is exist - process it [18:01:17]requested_item shift.opened is exist - process it [18:01:17]req_shift_opened [18:01:17]FM_GetShiftState [18:01:17]SAM_PROTO_GetShiftState [18:01:17]wFMCommunicate request_size=4 [18:01:17]MH_SAM_APDU [18:01:17]CAPDU: 80 13 01 00 [18:01:17]Write to MH i2c: E2 08 00 F0 03 80 13 01 00 00 00 00 00 70 [18:01:17]Write i2c OK [18:01:17]MH_I2C_Read... [18:01:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:01:17]Read from MH i2c: E2 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: E2 0E 00 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: E2 0E 00 F0 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A7 [18:01:17]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:01:17]wFMCommunicate OK [18:01:17]SAM_PROTO_GetShiftState done [18:01:17]FM_GetShiftState done [18:01:17]req_shift_opened done [18:01:17]requested_item shift.open_date is exist - process it [18:01:17]req_shift_open_date [18:01:17]req_shift_open_date done [18:01:17]produce_requested_data done [18:01:17]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18872,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:01:17]process_action_free close_receipt [18:01:17]json_value_free [18:01:17]json_value_free done [18:01:17]process_json_proto returns [18:01:17]Send response to host [18:01:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18872,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:01:17]free response buf [18:01:18]execute_script done [18:01:18]execute_script returns [18:01:18]free content buf [18:01:18]Sock 10.Close socket [18:01:18]Sock 10.Thread stoped [18:01:22]OFD Sender: No OFD packet to send [18:01:27]OFD Sender: No OFD packet to send [18:01:32]OFD Sender: No OFD packet to send [18:01:37]OFD Sender: No OFD packet to send [18:01:42]OFD Sender: No OFD packet to send [18:01:47]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:04]accept exits with 9 [18:03:04]New connection [18:03:04]New thread 3066903908 created [18:03:04]Thread 3067047268 joined [18:03:04]Waiting for new connection... [18:03:04] Sock 9.Parse request [18:03:04]Sock 9.Check first char [18:03:04]Sock 9.First char is OK [18:03:04]request: POST /json_proto HTTP/1.0 [18:03:04]Method: POST [18:03:04]URL: /json_proto [18:03:04]Method is POST - this is cgi request [18:03:04]url: /json_proto [18:03:04]query_string will be loaded in cgi processing [18:03:04]execute_cgi json_proto POST (null) [18:03:04]execute_cgi path=json_proto method=POST [18:03:04]POST find Content-Length [18:03:04]Host: 172.17.62.196:8080 [18:03:04]Content-Length: 808 [18:03:04]Content-Type: application/json [18:03:04] [18:03:04]POST finish read [18:03:04]Found Content-Length = 808 [18:03:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117070", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 13.210, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:04]execute_script... [18:03:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117070", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 13.210, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:04]POST & json_proto [18:03:04]process_json_proto [18:03:04]json parsed OK: [18:03:04]protocol is kg_v1.0 [18:03:04]action value=close_receipt [18:03:04]process_action close_receipt [18:03:04]cmd_close_receipt [18:03:04]MH_GetDate [18:03:04]Write to MH i2c: F0 00 00 F1 03 E3 [18:03:04]Write i2c OK [18:03:04]MH_I2C_Read... [18:03:04]Read from MH i2c: F0 [18:03:04]MH_I2C_Read... [18:03:04]Read from MH i2c: F0 09 00 [18:03:04]MH_I2C_Read... [18:03:04]Read from MH i2c: F0 09 00 F1 03 00 DA FE F2 66 CE CC 0E 66 2A [18:03:04]GetLastDocTimeStamp 1727200875 [18:03:04]current date 1727200986 [18:03:04]FM_GetShiftState [18:03:04]SAM_PROTO_GetShiftState [18:03:04]wFMCommunicate request_size=4 [18:03:04]MH_SAM_APDU [18:03:04]CAPDU: 80 13 01 00 [18:03:04]Write to MH i2c: E2 08 00 F2 03 80 13 01 00 00 00 00 00 72 [18:03:04]Write i2c OK [18:03:04]MH_I2C_Read... [18:03:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:04]Read from MH i2c: E2 [18:03:04]MH_I2C_Read... [18:03:04]Read from MH i2c: E2 0E 00 [18:03:04]MH_I2C_Read... [18:03:04]Read from MH i2c: E2 0E 00 F2 03 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A9 [18:03:04]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:03:04]wFMCommunicate OK [18:03:04]SAM_PROTO_GetShiftState done [18:03:04]FM_GetShiftState done [18:03:04]opened in 1727136720 [18:03:04]opened+sec_in_day 1727223120 [18:03:04]quantity*price = 99999 [18:03:04]sum+1 = 100001 [18:03:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.00 НСП 1% : 8.85 НДС 12% : 106.19 Наличными: 0.00 Безнал.: 1000.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 43 24.09.2024 18:03 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18873 ФПД: 182552254963378 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180306&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18873&fm=182552254963378&tin=02508201610067®Number=0000000000152968&sum=100000 [18:03:05]StoreToDocumentArchive [18:03:05]shift 182 fd 18873 [18:03:05]save to /storage/0182/doc_00018873 [18:03:05]save last doc name /storage/0182/doc_00018873 to /storage/kkm_last_doc_name [18:03:05]save OK [18:03:05]Clear old archive folders... [18:03:05]ProcessDocumentItem done err = 0, tmpTLVsize=252 [18:03:05]tlvbuf is 018484D0 [18:03:05]SAM_PROTO_ClearQueue [18:03:05]wFMCommunicate request_size=4 [18:03:05]MH_SAM_APDU [18:03:05]CAPDU: 80 09 00 00 [18:03:05]Write to MH i2c: E2 08 00 FF 03 80 09 00 00 00 00 00 00 74 [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:03:05]Read from MH i2c: E2 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 FF 03 00 90 00 76 [18:03:05]RAPDU: 90 00 [18:03:05]wFMCommunicate OK [18:03:05]SAM_PROTO_ClearQueue done [18:03:05]KKMCreateOFDPacket [18:03:05]OFDProtocolAddRootSTLVToBuf [18:03:05]FM_MakeSignedData [18:03:05]FM_MakeSignedData [18:03:05]SAM_PROTO_SignData [18:03:05]wFMCommunicate request_size=4 [18:03:05]MH_SAM_APDU [18:03:05]CAPDU: 80 0D 01 02 [18:03:05]Write to MH i2c: E2 08 00 00 04 80 0D 01 02 00 00 00 00 7D [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:03:05]Read from MH i2c: E2 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 00 04 00 90 00 78 [18:03:05]RAPDU: 90 00 [18:03:05]wFMCommunicate OK [18:03:05]wFMCommunicate request_size=255 [18:03:05]MH_SAM_APDU [18:03:05]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 DA FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B9 49 00 00 35 04 06 00 [18:03:05]Write to MH i2c: E2 02 01 01 04 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 DA FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B9 49 00 00 35 04 06 00 00 00 EE [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:05]Read from MH i2c: E2 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 01 04 00 90 00 79 [18:03:05]RAPDU: 90 00 [18:03:05]wFMCommunicate OK [18:03:05]wFMCommunicate request_size=11 [18:03:05]MH_SAM_APDU [18:03:05]CAPDU: 80 0D 02 02 06 A6 07 C2 4F 5E B2 [18:03:05]Write to MH i2c: E2 0E 00 02 04 80 0D 02 02 06 00 A6 07 C2 4F 5E B2 00 00 5A [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:05]Read from MH i2c: E2 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 03 00 02 04 00 90 00 7A [18:03:05]RAPDU: 90 00 [18:03:05]wFMCommunicate OK [18:03:05]wFMCommunicate request_size=4 [18:03:05]MH_SAM_APDU [18:03:05]CAPDU: 80 0D 03 02 [18:03:05]Write to MH i2c: E2 08 00 03 04 80 0D 03 02 00 00 00 00 82 [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:03:05]Read from MH i2c: E2 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 0B 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 0B 00 03 04 00 08 84 7E DA 4B 55 06 D7 90 00 E4 [18:03:05]RAPDU: 08 84 7E DA 4B 55 06 D7 90 00 [18:03:05]wFMCommunicate OK [18:03:05]SAM_PROTO_SignData done [18:03:05]FM_MakeSignedData done [18:03:05]CreateOFDProtocolMessage [18:03:05]wFMCommunicate request_size=4 [18:03:05]MH_SAM_APDU [18:03:05]CAPDU: 80 11 00 00 [18:03:05]Write to MH i2c: E2 08 00 04 04 80 11 00 00 00 00 00 00 82 [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:05]Read from MH i2c: E2 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 17 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: E2 17 00 04 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DB [18:03:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:03:05]wFMCommunicate OK [18:03:05]CreateOFDProtocolMessage done [18:03:05]OFDSenderStorePacket 18873 [18:03:05]StoreOFDPacket docnum=18873 [18:03:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 D4 71 08 01 C1 04 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 DA FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B9 49 00 00 35 04 06 00 A6 07 C2 4F 5E B2 08 84 7E DA 4B 55 06 D7 [18:03:05]CheckFolder [18:03:05]dirname=/storage/ofd_packets [18:03:05]CheckFolder done [18:03:05]ProducePacketName [18:03:05]name=ofd_packets/00018873 [18:03:05]NVStorageSaveData ofd_packets/00018873 [18:03:05]File name is /storage/ofd_packets/00018873 [18:03:05]Write 302 bytes [18:03:05]NVStorageSaveData done [18:03:05]OFDSenderStorePacket done [18:03:05]KKMCreateOFDPacket done [18:03:05]NVStorageSaveData kkm_last_timestamp [18:03:05]File name is /storage/kkm_last_timestamp [18:03:05]Write 4 bytes [18:03:05]NVStorageSaveData done [18:03:05]ExternCall_PrintAddStr [18:03:05]wPrintStart [18:03:05]Write to MH i2c: 01 00 00 05 04 09 [18:03:05]Write i2c OK [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: 01 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: 01 07 00 [18:03:05]MH_I2C_Read... [18:03:05]Read from MH i2c: 01 07 00 05 04 00 00 00 00 00 FF 0F 1E [18:03:05]RasterBufferAndPrint [18:03:05]line Счет N : (1)117070 [18:03:05]line ИНН: 02508201610067 [18:03:05]line Контрольно-Кассовый Чек [18:03:05]line ПРОДАЖА [18:03:05]line ТРК (МРК, ГНК) : 41 [18:03:05]line Товар: 2710194210 [18:03:05]line ДТ(л)-К-5 [18:03:05]line 13.210 * 75.70 [18:03:05]line = 1000.00 [18:03:05]line НДС 12% НСП 1% [18:03:05]line > о реализуемом товаре [18:03:05]line ИТОГО: 1000.00 [18:03:05]line НСП 1% : 8.85 [18:03:05]line НДС 12% : 106.19 [18:03:05]line Наличными: 0.00 [18:03:05]line Безнал.: 1000.00 [18:03:05]line Место: АЗС № 176 "Партнер Нефть" [18:03:05]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:03:05]line СНО: Общий режим [18:03:05]line Чек 43 24.09.2024 18:03 [18:03:05]line Смена: 182 ФФД: 1.0 [18:03:05]line ЗНМ: 0300000010 [18:03:05]line РНМ: 0000000000152968 [18:03:05]line Версия ККМ: v1.0 [18:03:05]line Платежная система: O! деньги [18:03:05]line ФМ: 0000000000959456 [18:03:05]line ФД: 18873 [18:03:05]line ФПД: 182552254963378 [18:03:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180306&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18873&fm=182552254963378&tin=02508201610067®Number=0000000000152968&sum=100000 [18:03:06]OFD Sender: Processing packet 18873 [packets to send 7, broken 6] [18:03:06]ProducePacketName [18:03:06]name=ofd_packets/00018873 [18:03:06]OFD Sender: To server: pG, [18:03:06]CommunicateWithHost lk.salyk.kg:30040 [18:03:06]ConnectInit lk.salyk.kg [18:03:06]written 0, free lines is 4095 [18:03:06]Connected sock=10 [18:03:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 D4 71 08 01 C1 04 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 DA FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B9 49 00 00 35 04 06 00 A6 07 C2 4F 5E B2 08 84 7E DA 4B 55 06 D7 [18:03:06]Write to MH i2c: 01 00 00 2F 04 33 [18:03:06]Write i2c OK [18:03:06]MH_I2C_Read... [18:03:06]Read from MH i2c: 01 [18:03:06]MH_I2C_Read... [18:03:06]Read from MH i2c: 01 07 00 [18:03:06]MH_I2C_Read... [18:03:06]Read from MH i2c: 01 07 00 2F 04 00 00 00 00 00 03 0D 4A [18:03:06]RasterBufferAndPrint [18:03:06]line [18:03:06]line [18:03:06]line [18:03:06]line [18:03:06]line [18:03:06]written 0, free lines is 3337 [18:03:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E4 FD 47 00 F9 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 B9 49 00 00 F4 03 04 00 3A A8 F2 66 B6 04 01 00 00 F0 8D E8 51 FC F9 36 74 [18:03:06]CommunicateWithHost err = 0 [18:03:06]CheckOFDResponse [18:03:06]1017 (14) - 77093643461234 [18:03:06]1041 (16) - 0000000000959456 [18:03:06]1040 (4) - 18873 [18:03:06]1012 (4) - 24.09.2024 11:53 [18:03:06]1206 (1) - 0 [18:03:06]OFD Sender: Remove packet 18873 [18:03:06]ProducePacketName [18:03:06]name=ofd_packets/00018873 [18:03:06]NVStorageDeleteData [18:03:06]MH_Cut [18:03:06]Write to MH i2c: D1 01 00 36 04 01 0C [18:03:06]Write i2c OK [18:03:06]MH_I2C_Read... [18:03:06]Read from MH i2c: D1 [18:03:06]MH_I2C_Read... [18:03:06]Read from MH i2c: D1 01 00 [18:03:06]MH_I2C_Read... [18:03:06]Read from MH i2c: D1 01 00 36 04 00 0B [18:03:06]Write to MH i2c: 01 00 00 37 04 3B [18:03:06]Write i2c OK [18:03:06]MH_I2C_Read... [18:03:07]OFD Sender: No OFD packet to send [18:03:07]*** Cut start [18:03:07]*** Partial cut [18:03:07]*** CUTSNS_PIN = 1 [18:03:07]*** CUTSNS_PIN = 0 [18:03:07]*** Brake cut motor [18:03:07]Read from MH i2c: 01 [18:03:07]MH_I2C_Read... [18:03:07]*** Stop cut motor [18:03:07]*** Cut end [18:03:07]Read from MH i2c: 01 07 00 [18:03:07]MH_I2C_Read... [18:03:07]Read from MH i2c: 01 07 00 37 04 00 00 00 00 00 FF 0F 50 [18:03:07]process_action close_receipt done [18:03:07]requested_data is exist [18:03:07]produce_requested_data [18:03:07]requested_item fm.sn is exist - process it [18:03:07]wFMCommunicate request_size=4 [18:03:07]MH_SAM_APDU [18:03:07]CAPDU: 80 11 00 00 [18:03:07]Write to MH i2c: E2 08 00 38 04 80 11 00 00 00 00 00 00 B6 [18:03:07]Write i2c OK [18:03:07]MH_I2C_Read... [18:03:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:08]Read from MH i2c: E2 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 17 00 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 17 00 38 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0F [18:03:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:03:08]wFMCommunicate OK [18:03:08]requested_item fd.num is exist - process it [18:03:08]SAM_PROTO_GetFieldsCounters [18:03:08]wFMCommunicate request_size=4 [18:03:08]MH_SAM_APDU [18:03:08]CAPDU: 80 13 00 00 [18:03:08]Write to MH i2c: E2 08 00 39 04 80 13 00 00 00 00 00 00 B9 [18:03:08]Write i2c OK [18:03:08]MH_I2C_Read... [18:03:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:03:08]Read from MH i2c: E2 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 62 00 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 62 00 39 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B9 49 00 00 0E 04 04 00 B6 00 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 1F [18:03:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 B9 49 00 00 0E 04 04 00 B6 00 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:03:08]wFMCommunicate OK [18:03:08]SAM_PROTO_GetFieldsCounters done [18:03:08]requested_item shift.num is exist - process it [18:03:08]requested_item shift.opened is exist - process it [18:03:08]req_shift_opened [18:03:08]FM_GetShiftState [18:03:08]SAM_PROTO_GetShiftState [18:03:08]wFMCommunicate request_size=4 [18:03:08]MH_SAM_APDU [18:03:08]CAPDU: 80 13 01 00 [18:03:08]Write to MH i2c: E2 08 00 3A 04 80 13 01 00 00 00 00 00 BB [18:03:08]Write i2c OK [18:03:08]MH_I2C_Read... [18:03:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:08]Read from MH i2c: E2 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 0E 00 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 0E 00 3A 04 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 F2 [18:03:08]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:03:08]wFMCommunicate OK [18:03:08]SAM_PROTO_GetShiftState done [18:03:08]FM_GetShiftState done [18:03:08]req_shift_opened done [18:03:08]requested_item shift.open_date is exist - process it [18:03:08]req_shift_open_date [18:03:08]req_shift_open_date done [18:03:08]produce_requested_data done [18:03:08]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18873,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:03:08]process_action_free close_receipt [18:03:08]json_value_free [18:03:08]json_value_free done [18:03:08]process_json_proto returns [18:03:08]Send response to host [18:03:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18873,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:03:08]free response buf [18:03:08]execute_script done [18:03:08]execute_script returns [18:03:08]free content buf [18:03:08]Sock 9.Close socket [18:03:08]Sock 9.Thread stoped [18:03:08]accept exits with 8 [18:03:08]New connection [18:03:08]New thread 3067047268 created [18:03:08]Thread 3066903908 joined [18:03:08]Waiting for new connection... [18:03:08] Sock 8.Parse request [18:03:08]Sock 8.Check first char [18:03:08]Sock 8.First char is OK [18:03:08]request: POST /json_proto HTTP/1.0 [18:03:08]Method: POST [18:03:08]URL: /json_proto [18:03:08]Method is POST - this is cgi request [18:03:08]url: /json_proto [18:03:08]query_string will be loaded in cgi processing [18:03:08]execute_cgi json_proto POST (null) [18:03:08]execute_cgi path=json_proto method=POST [18:03:08]POST find Content-Length [18:03:08]Host: 172.17.62.196:8080 [18:03:08]Content-Length: 687 [18:03:08]Content-Type: application/json [18:03:08] [18:03:08]POST finish read [18:03:08]Found Content-Length = 687 [18:03:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117069", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 26.430, "sum" : 2000.75, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:08]execute_script... [18:03:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117069", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 26.430, "sum" : 2000.75, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:08]POST & json_proto [18:03:08]process_json_proto [18:03:08]json parsed OK: [18:03:08]protocol is kg_v1.0 [18:03:08]action value=close_receipt [18:03:08]process_action close_receipt [18:03:08]cmd_close_receipt [18:03:08]MH_GetDate [18:03:08]Write to MH i2c: F0 00 00 3B 04 2E [18:03:08]Write i2c OK [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: F0 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: F0 09 00 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: F0 09 00 3B 04 00 DE FE F2 66 CE CC 0E 66 79 [18:03:08]GetLastDocTimeStamp 1727200986 [18:03:08]current date 1727200990 [18:03:08]FM_GetShiftState [18:03:08]SAM_PROTO_GetShiftState [18:03:08]wFMCommunicate request_size=4 [18:03:08]MH_SAM_APDU [18:03:08]CAPDU: 80 13 01 00 [18:03:08]Write to MH i2c: E2 08 00 3C 04 80 13 01 00 00 00 00 00 BD [18:03:08]Write i2c OK [18:03:08]MH_I2C_Read... [18:03:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:08]Read from MH i2c: E2 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 0E 00 [18:03:08]MH_I2C_Read... [18:03:08]Read from MH i2c: E2 0E 00 3C 04 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 F4 [18:03:08]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:03:08]wFMCommunicate OK [18:03:08]SAM_PROTO_GetShiftState done [18:03:08]FM_GetShiftState done [18:03:08]opened in 1727136720 [18:03:08]opened+sec_in_day 1727223120 [18:03:08]quantity*price = 200075 [18:03:08]sum+1 = 200076 [18:03:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.75 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.71 НДС 12% : 212.47 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 44 24.09.2024 18:03 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18874 ФПД: 75784130617596 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180310&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18874&fm=75784130617596&tin=02508201610067®Number=0000000000152968&sum=200000 [18:03:10]StoreToDocumentArchive [18:03:10]shift 182 fd 18874 [18:03:10]save to /storage/0182/doc_00018874 [18:03:10]save last doc name /storage/0182/doc_00018874 to /storage/kkm_last_doc_name [18:03:10]save OK [18:03:10]Clear old archive folders... [18:03:10]ProcessDocumentItem done err = 0, tmpTLVsize=252 [18:03:10]tlvbuf is 0188F380 [18:03:10]SAM_PROTO_ClearQueue [18:03:10]wFMCommunicate request_size=4 [18:03:10]MH_SAM_APDU [18:03:10]CAPDU: 80 09 00 00 [18:03:10]Write to MH i2c: E2 08 00 49 04 80 09 00 00 00 00 00 00 BF [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:03:10]Read from MH i2c: E2 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [18:03:10]RAPDU: 90 00 [18:03:10]wFMCommunicate OK [18:03:10]SAM_PROTO_ClearQueue done [18:03:10]KKMCreateOFDPacket [18:03:10]OFDProtocolAddRootSTLVToBuf [18:03:10]FM_MakeSignedData [18:03:10]FM_MakeSignedData [18:03:10]SAM_PROTO_SignData [18:03:10]wFMCommunicate request_size=4 [18:03:10]MH_SAM_APDU [18:03:10]CAPDU: 80 0D 01 02 [18:03:10]Write to MH i2c: E2 08 00 4A 04 80 0D 01 02 00 00 00 00 C7 [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:03:10]Read from MH i2c: E2 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 4A 04 00 90 00 C2 [18:03:10]RAPDU: 90 00 [18:03:10]wFMCommunicate OK [18:03:10]wFMCommunicate request_size=255 [18:03:10]MH_SAM_APDU [18:03:10]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 DE FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BA 49 00 00 35 04 06 00 [18:03:10]Write to MH i2c: E2 02 01 4B 04 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 DE FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BA 49 00 00 35 04 06 00 00 00 02 [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:10]Read from MH i2c: E2 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 4B 04 00 90 00 C3 [18:03:10]RAPDU: 90 00 [18:03:10]wFMCommunicate OK [18:03:10]wFMCommunicate request_size=11 [18:03:10]MH_SAM_APDU [18:03:10]CAPDU: 80 0D 02 02 06 44 EC DE 2F 60 FC [18:03:10]Write to MH i2c: E2 0E 00 4C 04 80 0D 02 02 06 00 44 EC DE 2F 60 FC 00 00 6F [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:10]Read from MH i2c: E2 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 03 00 4C 04 00 90 00 C4 [18:03:10]RAPDU: 90 00 [18:03:10]wFMCommunicate OK [18:03:10]wFMCommunicate request_size=4 [18:03:10]MH_SAM_APDU [18:03:10]CAPDU: 80 0D 03 02 [18:03:10]Write to MH i2c: E2 08 00 4D 04 80 0D 03 02 00 00 00 00 CC [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:03:10]Read from MH i2c: E2 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 0B 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 0B 00 4D 04 00 76 28 16 46 A6 D0 F4 C9 90 00 FA [18:03:10]RAPDU: 76 28 16 46 A6 D0 F4 C9 90 00 [18:03:10]wFMCommunicate OK [18:03:10]SAM_PROTO_SignData done [18:03:10]FM_MakeSignedData done [18:03:10]CreateOFDProtocolMessage [18:03:10]wFMCommunicate request_size=4 [18:03:10]MH_SAM_APDU [18:03:10]CAPDU: 80 11 00 00 [18:03:10]Write to MH i2c: E2 08 00 4E 04 80 11 00 00 00 00 00 00 CC [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:10]Read from MH i2c: E2 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 17 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: E2 17 00 4E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 25 [18:03:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:03:10]wFMCommunicate OK [18:03:10]CreateOFDProtocolMessage done [18:03:10]OFDSenderStorePacket 18874 [18:03:10]StoreOFDPacket docnum=18874 [18:03:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 CA 96 08 01 1E 51 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 DE FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BA 49 00 00 35 04 06 00 44 EC DE 2F 60 FC 76 28 16 46 A6 D0 F4 C9 [18:03:10]CheckFolder [18:03:10]dirname=/storage/ofd_packets [18:03:10]CheckFolder done [18:03:10]ProducePacketName [18:03:10]name=ofd_packets/00018874 [18:03:10]NVStorageSaveData ofd_packets/00018874 [18:03:10]File name is /storage/ofd_packets/00018874 [18:03:10]Write 302 bytes [18:03:10]NVStorageSaveData done [18:03:10]OFDSenderStorePacket done [18:03:10]KKMCreateOFDPacket done [18:03:10]NVStorageSaveData kkm_last_timestamp [18:03:10]File name is /storage/kkm_last_timestamp [18:03:10]Write 4 bytes [18:03:10]NVStorageSaveData done [18:03:10]ExternCall_PrintAddStr [18:03:10]wPrintStart [18:03:10]Write to MH i2c: 01 00 00 4F 04 53 [18:03:10]Write i2c OK [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: 01 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: 01 07 00 [18:03:10]MH_I2C_Read... [18:03:10]Read from MH i2c: 01 07 00 4F 04 00 00 00 00 00 FF 0F 68 [18:03:10]RasterBufferAndPrint [18:03:10]line Счет N : (1)117069 [18:03:10]line ИНН: 02508201610067 [18:03:10]line Контрольно-Кассовый Чек [18:03:10]line ПРОДАЖА [18:03:10]line ТРК (МРК, ГНК) : 11 [18:03:10]line Товар: 2710194210 [18:03:10]line ДТ(л)-К-5 [18:03:10]line 26.430 * 75.70 [18:03:10]line = 2000.75 [18:03:10]line НДС 12% НСП 1% [18:03:10]line > о реализуемом товаре [18:03:10]line ОКРУГЛЕНИЕ: -0.75 [18:03:10]line ИТОГО: 2000.00 [18:03:10]line Внесено: 2000.00 [18:03:10]line СДАЧА: 0.00 [18:03:10]line НСП 1% : 17.71 [18:03:10]line НДС 12% : 212.47 [18:03:10]line Наличными: 2000.00 [18:03:10]line Безнал.: 0.00 [18:03:10]line Место: АЗС № 176 "Партнер Нефть" [18:03:10]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:03:10]line СНО: Общий режим [18:03:10]line Чек 44 24.09.2024 18:03 [18:03:10]line Смена: 182 ФФД: 1.0 [18:03:10]line ЗНМ: 0300000010 [18:03:10]line РНМ: 0000000000152968 [18:03:10]line Версия ККМ: v1.0 [18:03:10]line ФМ: 0000000000959456 [18:03:10]line ФД: 18874 [18:03:10]line ФПД: 75784130617596 [18:03:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180310&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18874&fm=75784130617596&tin=02508201610067®Number=0000000000152968&sum=200000 [18:03:10]written 0, free lines is 4095 [18:03:10]OFD Sender: Processing packet 18874 [packets to send 7, broken 6] [18:03:10]ProducePacketName [18:03:10]name=ofd_packets/00018874 [18:03:10]OFD Sender: To server: pG, [18:03:10]CommunicateWithHost lk.salyk.kg:30040 [18:03:10]ConnectInit lk.salyk.kg [18:03:11]Connected sock=10 [18:03:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 CA 96 08 01 1E 51 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E 67 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 8B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 DE FE F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BA 49 00 00 35 04 06 00 44 EC DE 2F 60 FC 76 28 16 46 A6 D0 F4 C9 [18:03:11]Write to MH i2c: 01 00 00 7A 04 7E [18:03:11]Write i2c OK [18:03:11]MH_I2C_Read... [18:03:11]Read from MH i2c: 01 [18:03:11]MH_I2C_Read... [18:03:11]Read from MH i2c: 01 07 00 [18:03:11]MH_I2C_Read... [18:03:11]Read from MH i2c: 01 07 00 7A 04 00 00 00 00 00 F0 0C 81 [18:03:11]RasterBufferAndPrint [18:03:11]line [18:03:11]line [18:03:11]line [18:03:11]line [18:03:11]line [18:03:11]written 0, free lines is 3324 [18:03:11]MH_Cut [18:03:11]Write to MH i2c: D1 01 00 81 04 01 57 [18:03:11]Write i2c OK [18:03:11]MH_I2C_Read... [18:03:11]Read from MH i2c: D1 [18:03:11]MH_I2C_Read... [18:03:11]Read from MH i2c: D1 01 00 [18:03:11]MH_I2C_Read... [18:03:11]Read from MH i2c: D1 01 00 81 04 00 56 [18:03:11]Write to MH i2c: 01 00 00 82 04 86 [18:03:11]Write i2c OK [18:03:11]MH_I2C_Read... [18:03:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 11 9E 47 00 5A D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BA 49 00 00 F4 03 04 00 3E A8 F2 66 B6 04 01 00 00 29 84 FD A7 FD 0D F0 8E [18:03:11]CommunicateWithHost err = 0 [18:03:11]CheckOFDResponse [18:03:11]1017 (14) - 77093643461234 [18:03:11]1041 (16) - 0000000000959456 [18:03:11]1040 (4) - 18874 [18:03:11]1012 (4) - 24.09.2024 11:53 [18:03:11]1206 (1) - 0 [18:03:11]OFD Sender: Remove packet 18874 [18:03:11]ProducePacketName [18:03:11]name=ofd_packets/00018874 [18:03:11]NVStorageDeleteData [18:03:11]OFD Sender: No OFD packet to send [18:03:11]*** Cut start [18:03:11]*** Partial cut [18:03:11]*** CUTSNS_PIN = 1 [18:03:11]*** CUTSNS_PIN = 0 [18:03:12]*** Brake cut motor [18:03:12]Read from MH i2c: 01 [18:03:12]MH_I2C_Read... [18:03:12]*** Stop cut motor [18:03:12]*** Cut end [18:03:12]Read from MH i2c: 01 07 00 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: 01 07 00 82 04 00 00 00 00 00 FF 0F 9B [18:03:12]process_action close_receipt done [18:03:12]requested_data is exist [18:03:12]produce_requested_data [18:03:12]requested_item fm.sn is exist - process it [18:03:12]wFMCommunicate request_size=4 [18:03:12]MH_SAM_APDU [18:03:12]CAPDU: 80 11 00 00 [18:03:12]Write to MH i2c: E2 08 00 83 04 80 11 00 00 00 00 00 00 01 [18:03:12]Write i2c OK [18:03:12]MH_I2C_Read... [18:03:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:12]Read from MH i2c: E2 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: E2 17 00 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: E2 17 00 83 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 5A [18:03:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:03:12]wFMCommunicate OK [18:03:12]requested_item fd.num is exist - process it [18:03:12]SAM_PROTO_GetFieldsCounters [18:03:12]wFMCommunicate request_size=4 [18:03:12]MH_SAM_APDU [18:03:12]CAPDU: 80 13 00 00 [18:03:12]Write to MH i2c: E2 08 00 84 04 80 13 00 00 00 00 00 00 04 [18:03:12]Write i2c OK [18:03:12]MH_I2C_Read... [18:03:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:03:12]Read from MH i2c: E2 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: E2 62 00 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: E2 62 00 84 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BA 49 00 00 0E 04 04 00 B6 00 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 6E [18:03:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BA 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:03:12]wFMCommunicate OK [18:03:12]SAM_PROTO_GetFieldsCounters done [18:03:12]requested_item shift.num is exist - process it [18:03:12]requested_item shift.opened is exist - process it [18:03:12]req_shift_opened [18:03:12]FM_GetShiftState [18:03:12]SAM_PROTO_GetShiftState [18:03:12]wFMCommunicate request_size=4 [18:03:12]MH_SAM_APDU [18:03:12]CAPDU: 80 13 01 00 [18:03:12]Write to MH i2c: E2 08 00 85 04 80 13 01 00 00 00 00 00 06 [18:03:12]Write i2c OK [18:03:12]MH_I2C_Read... [18:03:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:12]Read from MH i2c: E2 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: E2 0E 00 [18:03:12]MH_I2C_Read... [18:03:12]Read from MH i2c: E2 0E 00 85 04 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 3D [18:03:12]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:03:12]wFMCommunicate OK [18:03:12]SAM_PROTO_GetShiftState done [18:03:12]FM_GetShiftState done [18:03:12]req_shift_opened done [18:03:12]requested_item shift.open_date is exist - process it [18:03:12]req_shift_open_date [18:03:12]req_shift_open_date done [18:03:12]produce_requested_data done [18:03:12]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18874,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:03:12]process_action_free close_receipt [18:03:12]json_value_free [18:03:12]json_value_free done [18:03:12]process_json_proto returns [18:03:12]Send response to host [18:03:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18874,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:03:12]free response buf [18:03:12]execute_script done [18:03:12]execute_script returns [18:03:12]free content buf [18:03:12]Sock 8.Close socket [18:03:12]Sock 8.Thread stoped [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:14]accept exits with 9 [18:05:14]New connection [18:05:14]New thread 3066903908 created [18:05:14]Thread 3067047268 joined [18:05:14]Waiting for new connection... [18:05:14] Sock 9.Parse request [18:05:14]Sock 9.Check first char [18:05:14]Sock 9.First char is OK [18:05:14]request: POST /json_proto HTTP/1.0 [18:05:14]Method: POST [18:05:14]URL: /json_proto [18:05:14]Method is POST - this is cgi request [18:05:14]url: /json_proto [18:05:14]query_string will be loaded in cgi processing [18:05:14]execute_cgi json_proto POST (null) [18:05:14]execute_cgi path=json_proto method=POST [18:05:14]POST find Content-Length [18:05:14]Host: 172.17.62.196:8080 [18:05:14]Content-Length: 678 [18:05:14]Content-Type: application/json [18:05:14] [18:05:14]POST finish read [18:05:14]Found Content-Length = 678 [18:05:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117071", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:05:14]execute_script... [18:05: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 : (1)117071", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:05:14]POST & json_proto [18:05:14]process_json_proto [18:05:14]json parsed OK: [18:05:14]protocol is kg_v1.0 [18:05:14]action value=close_receipt [18:05:14]process_action close_receipt [18:05:14]cmd_close_receipt [18:05:14]MH_GetDate [18:05:14]Write to MH i2c: F0 00 00 86 04 79 [18:05:14]Write i2c OK [18:05:14]MH_I2C_Read... [18:05:14]Read from MH i2c: F0 [18:05:14]MH_I2C_Read... [18:05:14]Read from MH i2c: F0 09 00 [18:05:14]MH_I2C_Read... [18:05:14]Read from MH i2c: F0 09 00 86 04 00 5B FF F2 66 CE CC 0E 66 42 [18:05:14]GetLastDocTimeStamp 1727200990 [18:05:14]current date 1727201115 [18:05:14]FM_GetShiftState [18:05:14]SAM_PROTO_GetShiftState [18:05:14]wFMCommunicate request_size=4 [18:05:14]MH_SAM_APDU [18:05:14]CAPDU: 80 13 01 00 [18:05:14]Write to MH i2c: E2 08 00 87 04 80 13 01 00 00 00 00 00 08 [18:05:14]Write i2c OK [18:05:14]MH_I2C_Read... [18:05:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:05:14]Read from MH i2c: E2 [18:05:14]MH_I2C_Read... [18:05:14]Read from MH i2c: E2 0E 00 [18:05:14]MH_I2C_Read... [18:05:14]Read from MH i2c: E2 0E 00 87 04 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 3F [18:05:14]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:05:14]wFMCommunicate OK [18:05:14]SAM_PROTO_GetShiftState done [18:05:14]FM_GetShiftState done [18:05:14]opened in 1727136720 [18:05:14]opened+sec_in_day 1727223120 [18:05:14]quantity*price = 70037 [18:05:14]sum+1 = 70038 [18:05:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.38 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 45 24.09.2024 18:05 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18875 ФПД: 74391524897079 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180515&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18875&fm=74391524897079&tin=02508201610067®Number=0000000000152968&sum=70000 [18:05:15]StoreToDocumentArchive [18:05:15]shift 182 fd 18875 [18:05:15]save to /storage/0182/doc_00018875 [18:05:15]save last doc name /storage/0182/doc_00018875 to /storage/kkm_last_doc_name [18:05:15]save OK [18:05:15]Clear old archive folders... [18:05:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:05:15]tlvbuf is 01836E30 [18:05:15]SAM_PROTO_ClearQueue [18:05:15]wFMCommunicate request_size=4 [18:05:15]MH_SAM_APDU [18:05:15]CAPDU: 80 09 00 00 [18:05:15]Write to MH i2c: E2 08 00 94 04 80 09 00 00 00 00 00 00 0A [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:05:15]Read from MH i2c: E2 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 94 04 00 90 00 0C [18:05:15]RAPDU: 90 00 [18:05:15]wFMCommunicate OK [18:05:15]SAM_PROTO_ClearQueue done [18:05:15]KKMCreateOFDPacket [18:05:15]OFDProtocolAddRootSTLVToBuf [18:05:15]FM_MakeSignedData [18:05:15]FM_MakeSignedData [18:05:15]SAM_PROTO_SignData [18:05:15]wFMCommunicate request_size=4 [18:05:15]MH_SAM_APDU [18:05:15]CAPDU: 80 0D 01 02 [18:05:15]Write to MH i2c: E2 08 00 95 04 80 0D 01 02 00 00 00 00 12 [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:05:15]Read from MH i2c: E2 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 95 04 00 90 00 0D [18:05:15]RAPDU: 90 00 [18:05:15]wFMCommunicate OK [18:05:15]wFMCommunicate request_size=255 [18:05:15]MH_SAM_APDU [18:05:15]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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 5B FF F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BB 49 00 00 35 04 06 00 43 [18:05:15]Write to MH i2c: E2 02 01 96 04 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 5B FF F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BB 49 00 00 35 04 06 00 43 00 00 60 [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:05:15]Read from MH i2c: E2 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 96 04 00 90 00 0E [18:05:15]RAPDU: 90 00 [18:05:15]wFMCommunicate OK [18:05:15]wFMCommunicate request_size=10 [18:05:15]MH_SAM_APDU [18:05:15]CAPDU: 80 0D 02 02 05 A8 A0 6A 71 37 [18:05:15]Write to MH i2c: E2 0D 00 97 04 80 0D 02 02 05 00 A8 A0 6A 71 37 00 00 79 [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:05:15]Read from MH i2c: E2 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 03 00 97 04 00 90 00 0F [18:05:15]RAPDU: 90 00 [18:05:15]wFMCommunicate OK [18:05:15]wFMCommunicate request_size=4 [18:05:15]MH_SAM_APDU [18:05:15]CAPDU: 80 0D 03 02 [18:05:15]Write to MH i2c: E2 08 00 98 04 80 0D 03 02 00 00 00 00 17 [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:05:15]Read from MH i2c: E2 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 0B 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 0B 00 98 04 00 D0 EA 19 99 63 38 55 42 90 00 B6 [18:05:15]RAPDU: D0 EA 19 99 63 38 55 42 90 00 [18:05:15]wFMCommunicate OK [18:05:15]SAM_PROTO_SignData done [18:05:15]FM_MakeSignedData done [18:05:15]CreateOFDProtocolMessage [18:05:15]wFMCommunicate request_size=4 [18:05:15]MH_SAM_APDU [18:05:15]CAPDU: 80 11 00 00 [18:05:15]Write to MH i2c: E2 08 00 99 04 80 11 00 00 00 00 00 00 17 [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:05:15]Read from MH i2c: E2 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 17 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: E2 17 00 99 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 70 [18:05:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:05:15]wFMCommunicate OK [18:05:15]CreateOFDProtocolMessage done [18:05:15]OFDSenderStorePacket 18875 [18:05:15]StoreOFDPacket docnum=18875 [18:05:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 D5 FA 07 01 D4 DE 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 5B FF F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BB 49 00 00 35 04 06 00 43 A8 A0 6A 71 37 D0 EA 19 99 63 38 55 42 [18:05:15]CheckFolder [18:05:15]dirname=/storage/ofd_packets [18:05:15]CheckFolder done [18:05:15]ProducePacketName [18:05:15]name=ofd_packets/00018875 [18:05:15]NVStorageSaveData ofd_packets/00018875 [18:05:15]File name is /storage/ofd_packets/00018875 [18:05:15]Write 301 bytes [18:05:15]NVStorageSaveData done [18:05:15]OFDSenderStorePacket done [18:05:15]KKMCreateOFDPacket done [18:05:15]NVStorageSaveData kkm_last_timestamp [18:05:15]File name is /storage/kkm_last_timestamp [18:05:15]Write 4 bytes [18:05:15]NVStorageSaveData done [18:05:15]ExternCall_PrintAddStr [18:05:15]wPrintStart [18:05:15]Write to MH i2c: 01 00 00 9A 04 9E [18:05:15]Write i2c OK [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: 01 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: 01 07 00 [18:05:15]MH_I2C_Read... [18:05:15]Read from MH i2c: 01 07 00 9A 04 00 00 00 00 00 FF 0F B3 [18:05:15]RasterBufferAndPrint [18:05:15]line Счет N : (1)117071 [18:05:15]line ИНН: 02508201610067 [18:05:15]line Контрольно-Кассовый Чек [18:05:15]line ПРОДАЖА [18:05:15]line ТРК (МРК, ГНК) : 22 [18:05:15]line Товар: 2710124130 [18:05:15]line Аи-92-К-5 [18:05:15]line 10.330 * 67.80 [18:05:15]line = 700.37 [18:05:15]line НДС 12% НСП 1% [18:05:15]line > о реализуемом товаре [18:05:15]line ОКРУГЛЕНИЕ: -0.37 [18:05:15]line ИТОГО: 700.00 [18:05:15]line Внесено: 700.00 [18:05:15]line СДАЧА: 0.00 [18:05:15]line НСП 1% : 6.20 [18:05:15]line НДС 12% : 74.38 [18:05:15]line Наличными: 700.00 [18:05:15]line Безнал.: 0.00 [18:05:15]line Место: АЗС № 176 "Партнер Нефть" [18:05:15]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:05:15]line СНО: Общий режим [18:05:15]line Чек 45 24.09.2024 18:05 [18:05:15]line Смена: 182 ФФД: 1.0 [18:05:15]line ЗНМ: 0300000010 [18:05:15]line РНМ: 0000000000152968 [18:05:15]line Версия ККМ: v1.0 [18:05:15]line ФМ: 0000000000959456 [18:05:15]line ФД: 18875 [18:05:15]line ФПД: 74391524897079 [18:05:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T180515&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18875&fm=74391524897079&tin=02508201610067®Number=0000000000152968&sum=70000 [18:05:16]OFD Sender: Processing packet 18875 [packets to send 7, broken 6] [18:05:16]ProducePacketName [18:05:16]name=ofd_packets/00018875 [18:05:16]OFD Sender: To server: pG, [18:05:16]CommunicateWithHost lk.salyk.kg:30040 [18:05:16]ConnectInit lk.salyk.kg [18:05:16]written 0, free lines is 4095 [18:05:16]Connected sock=10 [18:05:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 D5 FA 07 01 D4 DE 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 5B FF F2 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BB 49 00 00 35 04 06 00 43 A8 A0 6A 71 37 D0 EA 19 99 63 38 55 42 [18:05:16]Write to MH i2c: 01 00 00 C5 04 C9 [18:05:16]Write i2c OK [18:05:16]MH_I2C_Read... [18:05:16]Read from MH i2c: 01 [18:05:16]MH_I2C_Read... [18:05:16]Read from MH i2c: 01 07 00 [18:05:16]MH_I2C_Read... [18:05:16]Read from MH i2c: 01 07 00 C5 04 00 00 00 00 00 EE 0C CA [18:05:16]RasterBufferAndPrint [18:05:16]line [18:05:16]line [18:05:16]line [18:05:16]line [18:05:16]line [18:05:16]written 0, free lines is 3316 [18:05:16]MH_Cut [18:05:16]Write to MH i2c: D1 01 00 CC 04 01 A2 [18:05:16]Write i2c OK [18:05:16]MH_I2C_Read... [18:05:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 6C 54 47 00 C4 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BB 49 00 00 F4 03 04 00 BC A8 F2 66 B6 04 01 00 00 DF 48 D2 42 2C DD 2A E9 [18:05:16]CommunicateWithHost err = 0 [18:05:16]CheckOFDResponse [18:05:16]1017 (14) - 77093643461234 [18:05:16]1041 (16) - 0000000000959456 [18:05:16]1040 (4) - 18875 [18:05:16]1012 (4) - 24.09.2024 11:55 [18:05:16]1206 (1) - 0 [18:05:16]OFD Sender: Remove packet 18875 [18:05:16]ProducePacketName [18:05:16]name=ofd_packets/00018875 [18:05:16]NVStorageDeleteData [18:05:16]Read from MH i2c: D1 [18:05:16]MH_I2C_Read... [18:05:16]Read from MH i2c: D1 01 00 [18:05:16]MH_I2C_Read... [18:05:16]Read from MH i2c: D1 01 00 CC 04 00 A1 [18:05:16]Write to MH i2c: 01 00 00 CD 04 D1 [18:05:16]Write i2c OK [18:05:16]MH_I2C_Read... [18:05:17]OFD Sender: No OFD packet to send [18:05:17]*** Cut start [18:05:17]*** Partial cut [18:05:17]*** CUTSNS_PIN = 1 [18:05:17]*** CUTSNS_PIN = 0 [18:05:17]*** Brake cut motor [18:05:17]Read from MH i2c: 01 [18:05:17]MH_I2C_Read... [18:05:17]Read from MH i2c: *** Stop cut motor [18:05:17]01 07 *** Cut end [18:05:17]00 [18:05:17]MH_I2C_Read... [18:05:17]Read from MH i2c: 01 07 00 CD 04 00 00 00 00 00 FF 0F E6 [18:05:17]process_action close_receipt done [18:05:17]requested_data is exist [18:05:17]produce_requested_data [18:05:17]requested_item fm.sn is exist - process it [18:05:17]wFMCommunicate request_size=4 [18:05:17]MH_SAM_APDU [18:05:17]CAPDU: 80 11 00 00 [18:05:17]Write to MH i2c: E2 08 00 CE 04 80 11 00 00 00 00 00 00 4C [18:05:17]Write i2c OK [18:05:17]MH_I2C_Read... [18:05:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:05:17]Read from MH i2c: E2 [18:05:17]MH_I2C_Read... [18:05:17]Read from MH i2c: E2 17 00 [18:05:17]MH_I2C_Read... [18:05:17]Read from MH i2c: E2 17 00 CE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A5 [18:05:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:05:17]wFMCommunicate OK [18:05:17]requested_item fd.num is exist - process it [18:05:17]SAM_PROTO_GetFieldsCounters [18:05:17]wFMCommunicate request_size=4 [18:05:17]MH_SAM_APDU [18:05:17]CAPDU: 80 13 00 00 [18:05:17]Write to MH i2c: E2 08 00 CF 04 80 13 00 00 00 00 00 00 4F [18:05:17]Write i2c OK [18:05:17]MH_I2C_Read... [18:05:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:05:18]Read from MH i2c: E2 [18:05:18]MH_I2C_Read... [18:05:18]Read from MH i2c: E2 62 00 [18:05:18]MH_I2C_Read... [18:05:18]Read from MH i2c: E2 62 00 CF 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BB 49 00 00 0E 04 04 00 B6 00 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 BD [18:05:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BB 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:05:18]wFMCommunicate OK [18:05:18]SAM_PROTO_GetFieldsCounters done [18:05:18]requested_item shift.num is exist - process it [18:05:18]requested_item shift.opened is exist - process it [18:05:18]req_shift_opened [18:05:18]FM_GetShiftState [18:05:18]SAM_PROTO_GetShiftState [18:05:18]wFMCommunicate request_size=4 [18:05:18]MH_SAM_APDU [18:05:18]CAPDU: 80 13 01 00 [18:05:18]Write to MH i2c: E2 08 00 D0 04 80 13 01 00 00 00 00 00 51 [18:05:18]Write i2c OK [18:05:18]MH_I2C_Read... [18:05:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:05:18]Read from MH i2c: E2 [18:05:18]MH_I2C_Read... [18:05:18]Read from MH i2c: E2 0E 00 [18:05:18]MH_I2C_Read... [18:05:18]Read from MH i2c: E2 0E 00 D0 04 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 88 [18:05:18]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:05:18]wFMCommunicate OK [18:05:18]SAM_PROTO_GetShiftState done [18:05:18]FM_GetShiftState done [18:05:18]req_shift_opened done [18:05:18]requested_item shift.open_date is exist - process it [18:05:18]req_shift_open_date [18:05:18]req_shift_open_date done [18:05:18]produce_requested_data done [18:05:18]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18875,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:05:18]process_action_free close_receipt [18:05:18]json_value_free [18:05:18]json_value_free done [18:05:18]process_json_proto returns [18:05:18]Send response to host [18:05:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18875,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:05:18]free response buf [18:05:18]execute_script done [18:05:18]execute_script returns [18:05:18]free content buf [18:05:18]Sock 9.Close socket [18:05:18]Sock 9.Thread stoped [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:13]accept exits with 8 [18:10:13]New connection [18:10:13]New thread 3067047268 created [18:10:13]Thread 3066903908 joined [18:10:13]Waiting for new connection... [18:10:13] Sock 8.Parse request [18:10:13]Sock 8.Check first char [18:10:13]Sock 8.First char is OK [18:10:13]request: POST /json_proto HTTP/1.0 [18:10:13]Method: POST [18:10:13]URL: /json_proto [18:10:13]Method is POST - this is cgi request [18:10:13]url: /json_proto [18:10:13]query_string will be loaded in cgi processing [18:10:13]execute_cgi json_proto POST (null) [18:10:13]execute_cgi path=json_proto method=POST [18:10:13]POST find Content-Length [18:10:13]Host: 172.17.62.196:8080 [18:10:13]Content-Length: 629 [18:10:13]Content-Type: application/json [18:10:13] [18:10:13]POST finish read [18:10:13]Found Content-Length = 629 [18:10:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16803", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:10:13]execute_script... [18:10: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)16803", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:10:13]POST & json_proto [18:10:13]process_json_proto [18:10:13]json parsed OK: [18:10:13]protocol is kg_v1.0 [18:10:13]action value=close_receipt [18:10:13]process_action close_receipt [18:10:13]cmd_close_receipt [18:10:13]MH_GetDate [18:10:13]Write to MH i2c: F0 00 00 D1 04 C4 [18:10:13]Write i2c OK [18:10:13]MH_I2C_Read... [18:10:13]Read from MH i2c: F0 [18:10:13]MH_I2C_Read... [18:10:13]Read from MH i2c: F0 09 00 [18:10:13]MH_I2C_Read... [18:10:13]Read from MH i2c: F0 09 00 D1 04 00 87 00 F3 66 CE CC 0E 66 BB [18:10:13]GetLastDocTimeStamp 1727201115 [18:10:13]current date 1727201415 [18:10:13]FM_GetShiftState [18:10:13]SAM_PROTO_GetShiftState [18:10:13]wFMCommunicate request_size=4 [18:10:13]MH_SAM_APDU [18:10:13]CAPDU: 80 13 01 00 [18:10:13]Write to MH i2c: E2 08 00 D2 04 80 13 01 00 00 00 00 00 53 [18:10:13]Write i2c OK [18:10:13]MH_I2C_Read... [18:10:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:10:13]Read from MH i2c: E2 [18:10:13]MH_I2C_Read... [18:10:13]Read from MH i2c: E2 0E 00 [18:10:13]MH_I2C_Read... [18:10:13]Read from MH i2c: E2 0E 00 D2 04 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 8A [18:10:13]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:10:13]wFMCommunicate OK [18:10:13]SAM_PROTO_GetShiftState done [18:10:13]FM_GetShiftState done [18:10:13]opened in 1727136720 [18:10:13]opened+sec_in_day 1727223120 [18:10:13]quantity*price = 5000 [18:10:13]sum+1 = 5001 [18:10:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 46 24.09.2024 18:10 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18876 ФПД: 6997130205770 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T181015&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18876&fm=6997130205770&tin=02508201610067®Number=0000000000152968&sum=5000 0 [18:10:14]StoreToDocumentArchive [18:10:14]shift 182 fd 18876 [18:10:14]save to /storage/0182/doc_00018876 [18:10:14]save last doc name /storage/0182/doc_00018876 to /storage/kkm_last_doc_name [18:10:14]save OK [18:10:14]Clear old archive folders... [18:10:14]ProcessDocumentItem done err = 0, tmpTLVsize=269 [18:10:14]tlvbuf is 0184A6C0 [18:10:14]SAM_PROTO_ClearQueue [18:10:14]wFMCommunicate request_size=4 [18:10:14]MH_SAM_APDU [18:10:14]CAPDU: 80 09 00 00 [18:10:14]Write to MH i2c: E2 08 00 DF 04 80 09 00 00 00 00 00 00 55 [18:10:14]Write i2c OK [18:10:14]MH_I2C_Read... [18:10:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:10:14]Read from MH i2c: E2 [18:10:14]MH_I2C_Read... [18:10:14]Read from MH i2c: E2 03 00 [18:10:14]MH_I2C_Read... [18:10:14]Read from MH i2c: E2 03 00 DF 04 00 90 00 57 [18:10:14]RAPDU: 90 00 [18:10:14]wFMCommunicate OK [18:10:14]SAM_PROTO_ClearQueue done [18:10:14]KKMCreateOFDPacket [18:10:14]OFDProtocolAddRootSTLVToBuf [18:10:14]FM_MakeSignedData [18:10:14]FM_MakeSignedData [18:10:14]SAM_PROTO_SignData [18:10:14]wFMCommunicate request_size=4 [18:10:14]MH_SAM_APDU [18:10:14]CAPDU: 80 0D 01 02 [18:10:14]Write to MH i2c: E2 08 00 E0 04 80 0D 01 02 00 00 00 00 5D [18:10:14]Write i2c OK [18:10:14]MH_I2C_Read... [18:10:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:10:15]Read from MH i2c: E2 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 03 00 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 03 00 E0 04 00 90 00 58 [18:10:15]RAPDU: 90 00 [18:10:15]wFMCommunicate OK [18:10:15]wFMCommunicate request_size=255 [18:10:15]MH_SAM_APDU [18:10:15]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 87 00 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [18:10:15]Write to MH i2c: E2 02 01 E1 04 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 87 00 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 3F [18:10:15]Write i2c OK [18:10:15]MH_I2C_Read... [18:10:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:10:15]Read from MH i2c: E2 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 03 00 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 03 00 E1 04 00 90 00 59 [18:10:15]RAPDU: 90 00 [18:10:15]wFMCommunicate OK [18:10:15]wFMCommunicate request_size=28 [18:10:15]MH_SAM_APDU [18:10:15]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 BC 49 00 00 35 04 06 00 06 5D 25 75 DA 4A [18:10:15]Write to MH i2c: E2 1F 00 E2 04 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 BC 49 00 00 35 04 06 00 06 5D 25 75 DA 4A 00 00 18 [18:10:15]Write i2c OK [18:10:15]MH_I2C_Read... [18:10:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:10:15]Read from MH i2c: E2 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 03 00 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 03 00 E2 04 00 90 00 5A [18:10:15]RAPDU: 90 00 [18:10:15]wFMCommunicate OK [18:10:15]wFMCommunicate request_size=4 [18:10:15]MH_SAM_APDU [18:10:15]CAPDU: 80 0D 03 02 [18:10:15]Write to MH i2c: E2 08 00 E3 04 80 0D 03 02 00 00 00 00 62 [18:10:15]Write i2c OK [18:10:15]MH_I2C_Read... [18:10:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:10:15]Read from MH i2c: E2 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 0B 00 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 0B 00 E3 04 00 84 F9 DB D4 3F 22 2E 91 90 00 AF [18:10:15]RAPDU: 84 F9 DB D4 3F 22 2E 91 90 00 [18:10:15]wFMCommunicate OK [18:10:15]SAM_PROTO_SignData done [18:10:15]FM_MakeSignedData done [18:10:15]CreateOFDProtocolMessage [18:10:15]wFMCommunicate request_size=4 [18:10:15]MH_SAM_APDU [18:10:15]CAPDU: 80 11 00 00 [18:10:15]Write to MH i2c: E2 08 00 E4 04 80 11 00 00 00 00 00 00 62 [18:10:15]Write i2c OK [18:10:15]MH_I2C_Read... [18:10:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:10:15]Read from MH i2c: E2 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 17 00 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: E2 17 00 E4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 BB [18:10:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:10:15]wFMCommunicate OK [18:10:15]CreateOFDProtocolMessage done [18:10:15]OFDSenderStorePacket 18876 [18:10:15]StoreOFDPacket docnum=18876 [18:10:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 FA 79 19 01 9A 19 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 87 00 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BC 49 00 00 35 04 06 00 06 5D 25 75 DA 4A 84 F9 DB D4 3F 22 2E 91 [18:10:15]CheckFolder [18:10:15]dirname=/storage/ofd_packets [18:10:15]CheckFolder done [18:10:15]ProducePacketName [18:10:15]name=ofd_packets/00018876 [18:10:15]NVStorageSaveData ofd_packets/00018876 [18:10:15]File name is /storage/ofd_packets/00018876 [18:10:15]Write 319 bytes [18:10:15]NVStorageSaveData done [18:10:15]OFDSenderStorePacket done [18:10:15]KKMCreateOFDPacket done [18:10:15]NVStorageSaveData kkm_last_timestamp [18:10:15]File name is /storage/kkm_last_timestamp [18:10:15]Write 4 bytes [18:10:15]NVStorageSaveData done [18:10:15]ExternCall_PrintAddStr [18:10:15]wPrintStart [18:10:15]Write to MH i2c: 01 00 00 E5 04 E9 [18:10:15]Write i2c OK [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: 01 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: 01 07 00 [18:10:15]MH_I2C_Read... [18:10:15]Read from MH i2c: 01 07 00 E5 04 00 00 00 00 00 FF 0F FE [18:10:15]RasterBufferAndPrint [18:10:15]line Счет N : (3)16803 [18:10:15]line ИНН: 02508201610067 [18:10:15]line Контрольно-Кассовый Чек [18:10:15]line ПРОДАЖА [18:10:15]line Товар: 4700000160358 [18:10:15]line Вода Легенда 1л [18:10:15]line 1.000 * 50.00 [18:10:15]line = 50.00 [18:10:15]line НДС 12% НСП 1% [18:10:15]line > о реализуемом товаре [18:10:15]line ИТОГО: 50.00 [18:10:15]line НСП 1% : 0.44 [18:10:15]line НДС 12% : 5.31 [18:10:15]line Наличными: 50.00 [18:10:15]line Безнал.: 0.00 [18:10:15]line Место: АЗС № 176 "Партнер Нефть" [18:10:15]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:10:15]line СНО: Общий режим [18:10:15]line Чек 46 24.09.2024 18:10 [18:10:15]line Смена: 182 ФФД: 1.0 [18:10:15]line ЗНМ: 0300000010 [18:10:15]line РНМ: 0000000000152968 [18:10:15]line Версия ККМ: v1.0 [18:10:15]line ФМ: 0000000000959456 [18:10:15]line ФД: 18876 [18:10:15]line ФПД: 6997130205770 [18:10:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T181015&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18876&fm=6997130205770&tin=02508201610067®Number=0000000000152968&sum=5000 [18:10:15]OFD Sender: Processing packet 18876 [packets to send 7, broken 6] [18:10:15]ProducePacketName [18:10:15]name=ofd_packets/00018876 [18:10:15]OFD Sender: To server: pG, [18:10:15]CommunicateWithHost lk.salyk.kg:30040 [18:10:15]ConnectInit lk.salyk.kg [18:10:15]line 0 [18:10:15]written 0, free lines is 4095 [18:10:16]Connected sock=11 [18:10:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 FA 79 19 01 9A 19 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 87 00 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BC 49 00 00 35 04 06 00 06 5D 25 75 DA 4A 84 F9 DB D4 3F 22 2E 91 [18:10:16]Write to MH i2c: 01 00 00 0D 05 12 [18:10:16]Write i2c OK [18:10:16]MH_I2C_Read... [18:10:16]Read from MH i2c: 01 [18:10:16]MH_I2C_Read... [18:10:16]Read from MH i2c: 01 07 00 [18:10:16]MH_I2C_Read... [18:10:16]Read from MH i2c: 01 07 00 0D 05 00 00 00 00 00 05 0D 2B [18:10:16]RasterBufferAndPrint [18:10:16]line [18:10:16]line [18:10:16]line [18:10:16]line [18:10:16]line [18:10:16]written 0, free lines is 3339 [18:10:16]MH_Cut [18:10:16]Write to MH i2c: D1 01 00 14 05 01 EB [18:10:16]Write i2c OK [18:10:16]MH_I2C_Read... [18:10:16]Read from MH i2c: D1 [18:10:16]MH_I2C_Read... [18:10:16]Read from MH i2c: D1 01 00 [18:10:16]MH_I2C_Read... [18:10:16]Read from MH i2c: D1 01 00 14 05 00 EA [18:10:16]Write to MH i2c: 01 00 00 15 05 1A [18:10:16]Write i2c OK [18:10:16]MH_I2C_Read... [18:10:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 82 68 47 00 14 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BC 49 00 00 F4 03 04 00 E7 A9 F2 66 B6 04 01 00 00 80 1C CE D9 70 DE C6 4A [18:10:16]CommunicateWithHost err = 0 [18:10:16]CheckOFDResponse [18:10:16]1017 (14) - 77093643461234 [18:10:16]1041 (16) - 0000000000959456 [18:10:16]1040 (4) - 18876 [18:10:16]1012 (4) - 24.09.2024 12:00 [18:10:16]1206 (1) - 0 [18:10:16]OFD Sender: Remove packet 18876 [18:10:16]ProducePacketName [18:10:16]name=ofd_packets/00018876 [18:10:16]NVStorageDeleteData [18:10:16]OFD Sender: No OFD packet to send [18:10:16]*** Cut start [18:10:16]*** Partial cut [18:10:16]*** CUTSNS_PIN = 1 [18:10:16]*** CUTSNS_PIN = 0 [18:10:17]*** Brake cut motor [18:10:17]Read from MH i2c: 01 [18:10:17]MH_I2C_Read... [18:10:17]*** Stop cut motor [18:10:17]*** Cut end [18:10:17]Read from MH i2c: 01 07 00 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: 01 07 00 15 05 00 00 00 00 00 FF 0F 2F [18:10:17]process_action close_receipt done [18:10:17]requested_data is exist [18:10:17]produce_requested_data [18:10:17]requested_item fm.sn is exist - process it [18:10:17]wFMCommunicate request_size=4 [18:10:17]MH_SAM_APDU [18:10:17]CAPDU: 80 11 00 00 [18:10:17]Write to MH i2c: E2 08 00 16 05 80 11 00 00 00 00 00 00 95 [18:10:17]Write i2c OK [18:10:17]MH_I2C_Read... [18:10:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:10:17]Read from MH i2c: E2 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: E2 17 00 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: E2 17 00 16 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EE [18:10:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:10:17]wFMCommunicate OK [18:10:17]requested_item fd.num is exist - process it [18:10:17]SAM_PROTO_GetFieldsCounters [18:10:17]wFMCommunicate request_size=4 [18:10:17]MH_SAM_APDU [18:10:17]CAPDU: 80 13 00 00 [18:10:17]Write to MH i2c: E2 08 00 17 05 80 13 00 00 00 00 00 00 98 [18:10:17]Write i2c OK [18:10:17]MH_I2C_Read... [18:10:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:10:17]Read from MH i2c: E2 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: E2 62 00 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: E2 62 00 17 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BC 49 00 00 0E 04 04 00 B6 00 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 0A [18:10:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BC 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:10:17]wFMCommunicate OK [18:10:17]SAM_PROTO_GetFieldsCounters done [18:10:17]requested_item shift.num is exist - process it [18:10:17]requested_item shift.opened is exist - process it [18:10:17]req_shift_opened [18:10:17]FM_GetShiftState [18:10:17]SAM_PROTO_GetShiftState [18:10:17]wFMCommunicate request_size=4 [18:10:17]MH_SAM_APDU [18:10:17]CAPDU: 80 13 01 00 [18:10:17]Write to MH i2c: E2 08 00 18 05 80 13 01 00 00 00 00 00 9A [18:10:17]Write i2c OK [18:10:17]MH_I2C_Read... [18:10:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:10:17]Read from MH i2c: E2 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: E2 0E 00 [18:10:17]MH_I2C_Read... [18:10:17]Read from MH i2c: E2 0E 00 18 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 D1 [18:10:17]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:10:17]wFMCommunicate OK [18:10:17]SAM_PROTO_GetShiftState done [18:10:17]FM_GetShiftState done [18:10:17]req_shift_opened done [18:10:17]requested_item shift.open_date is exist - process it [18:10:17]req_shift_open_date [18:10:17]req_shift_open_date done [18:10:17]produce_requested_data done [18:10:17]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18876,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:10:17]process_action_free close_receipt [18:10:17]json_value_free [18:10:17]json_value_free done [18:10:17]process_json_proto returns [18:10:17]Send response to host [18:10:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18876,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:10:17]free response buf [18:10:17]execute_script done [18:10:17]execute_script returns [18:10:17]free content buf [18:10:17]Sock 8.Close socket [18:10:17]Sock 8.Thread stoped [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:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:32]OFD Sender: No OFD packet to send [18:15:37]OFD Sender: No OFD packet to send [18:15:42]OFD Sender: No OFD packet to send [18:15:47]OFD Sender: No OFD packet to send [18:15:52]OFD Sender: No OFD packet to send [18:15:57]OFD Sender: No OFD packet to send [18:16:02]OFD Sender: No OFD packet to send [18:16:07]OFD Sender: No OFD packet to send [18:16:12]OFD Sender: No OFD packet to send [18:16:17]OFD Sender: No OFD packet to send [18:16:22]OFD Sender: No OFD packet to send [18:16:27]OFD Sender: No OFD packet to send [18:16:32]OFD Sender: No OFD packet to send [18:16:37]OFD Sender: No OFD packet to send [18:16:42]OFD Sender: No OFD packet to send [18:16:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:02]accept exits with 9 [18:20:02]New connection [18:20:02]New thread 3066903908 created [18:20:02]Thread 3067047268 joined [18:20:02]Waiting for new connection... [18:20:02] Sock 9.Parse request [18:20:02]Sock 9.Check first char [18:20:02]Sock 9.First char is OK [18:20:02]request: POST /json_proto HTTP/1.0 [18:20:02]Method: POST [18:20:02]URL: /json_proto [18:20:02]Method is POST - this is cgi request [18:20:02]url: /json_proto [18:20:02]query_string will be loaded in cgi processing [18:20:02]execute_cgi json_proto POST (null) [18:20:02]execute_cgi path=json_proto method=POST [18:20:02]POST find Content-Length [18:20:02]Host: 172.17.62.196:8080 [18:20:02]Content-Length: 842 [18:20:02]Content-Type: application/json [18:20:02] [18:20:02]POST finish read [18:20:02]Found Content-Length = 842 [18:20:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16804", "tax_sys" : 0, "items" : [ { "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:20:02]execute_script... [18:20:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16804", "tax_sys" : 0, "items" : [ { "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:20:02]POST & json_proto [18:20:02]process_json_proto [18:20:02]json parsed OK: [18:20:02]protocol is kg_v1.0 [18:20:02]action value=close_receipt [18:20:02]process_action close_receipt [18:20:02]cmd_close_receipt [18:20:02]MH_GetDate [18:20:02]Write to MH i2c: F0 00 00 19 05 0D [18:20:02]Write i2c OK [18:20:02]MH_I2C_Read... [18:20:02]Read from MH i2c: F0 [18:20:02]MH_I2C_Read... [18:20:02]Read from MH i2c: F0 09 00 [18:20:02]MH_I2C_Read... [18:20:02]Read from MH i2c: F0 09 00 19 05 00 D4 02 F3 66 CE CC 0E 66 53 [18:20:02]GetLastDocTimeStamp 1727201415 [18:20:02]current date 1727202004 [18:20:02]FM_GetShiftState [18:20:02]SAM_PROTO_GetShiftState [18:20:02]wFMCommunicate request_size=4 [18:20:02]MH_SAM_APDU [18:20:02]CAPDU: 80 13 01 00 [18:20:02]Write to MH i2c: E2 08 00 1A 05 80 13 01 00 00 00 00 00 9C [18:20:02]Write i2c OK [18:20:02]MH_I2C_Read... [18:20:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:02]Read from MH i2c: E2 [18:20:02]MH_I2C_Read... [18:20:02]Read from MH i2c: E2 0E 00 [18:20:02]MH_I2C_Read... [18:20:02]Read from MH i2c: E2 0E 00 1A 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 D3 [18:20:02]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:20:02]wFMCommunicate OK [18:20:02]SAM_PROTO_GetShiftState done [18:20:02]FM_GetShiftState done [18:20:02]opened in 1727136720 [18:20:02]opened+sec_in_day 1727223120 [18:20:02]quantity*price = 7000 [18:20:02]sum+1 = 7001 [18:20:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 0.00 Безнал.: 70.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 47 24.09.2024 18:20 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18877 ФПД: 198321250253466 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T182004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18877&fm=198321250253466&tin=02508201610067®Number=0000000000152968&sum=7000 0 [18:20:04]StoreToDocumentArchive [18:20:04]shift 182 fd 18877 [18:20:04]save to /storage/0182/doc_00018877 [18:20:04]save last doc name /storage/0182/doc_00018877 to /storage/kkm_last_doc_name [18:20:04]save OK [18:20:04]Clear old archive folders... [18:20:04]ProcessDocumentItem done err = 0, tmpTLVsize=293 [18:20:04]tlvbuf is 01835E30 [18:20:04]SAM_PROTO_ClearQueue [18:20:04]wFMCommunicate request_size=4 [18:20:04]MH_SAM_APDU [18:20:04]CAPDU: 80 09 00 00 [18:20:04]Write to MH i2c: E2 08 00 27 05 80 09 00 00 00 00 00 00 9E [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:20:04]Read from MH i2c: E2 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 27 05 00 90 00 A0 [18:20:04]RAPDU: 90 00 [18:20:04]wFMCommunicate OK [18:20:04]SAM_PROTO_ClearQueue done [18:20:04]KKMCreateOFDPacket [18:20:04]OFDProtocolAddRootSTLVToBuf [18:20:04]FM_MakeSignedData [18:20:04]FM_MakeSignedData [18:20:04]SAM_PROTO_SignData [18:20:04]wFMCommunicate request_size=4 [18:20:04]MH_SAM_APDU [18:20:04]CAPDU: 80 0D 01 02 [18:20:04]Write to MH i2c: E2 08 00 28 05 80 0D 01 02 00 00 00 00 A6 [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:20:04]Read from MH i2c: E2 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 28 05 00 90 00 A1 [18:20:04]RAPDU: 90 00 [18:20:04]wFMCommunicate OK [18:20:04]wFMCommunicate request_size=255 [18:20:04]MH_SAM_APDU [18:20:04]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 D4 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [18:20:04]Write to MH i2c: E2 02 01 29 05 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 D4 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 2C [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:04]Read from MH i2c: E2 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 29 05 00 90 00 A2 [18:20:04]RAPDU: 90 00 [18:20:04]wFMCommunicate OK [18:20:04]wFMCommunicate request_size=52 [18:20:04]MH_SAM_APDU [18:20:04]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BD 49 00 00 35 04 06 00 B4 5F 43 AC 3A 9A [18:20:04]Write to MH i2c: E2 37 00 2A 05 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BD 49 00 00 35 04 06 00 B4 5F 43 AC 3A 9A 00 00 54 [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:04]Read from MH i2c: E2 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 03 00 2A 05 00 90 00 A3 [18:20:04]RAPDU: 90 00 [18:20:04]wFMCommunicate OK [18:20:04]wFMCommunicate request_size=4 [18:20:04]MH_SAM_APDU [18:20:04]CAPDU: 80 0D 03 02 [18:20:04]Write to MH i2c: E2 08 00 2B 05 80 0D 03 02 00 00 00 00 AB [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:20:04]Read from MH i2c: E2 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 0B 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 0B 00 2B 05 00 F3 48 C0 75 FC C0 F4 EA 90 00 B6 [18:20:04]RAPDU: F3 48 C0 75 FC C0 F4 EA 90 00 [18:20:04]wFMCommunicate OK [18:20:04]SAM_PROTO_SignData done [18:20:04]FM_MakeSignedData done [18:20:04]CreateOFDProtocolMessage [18:20:04]wFMCommunicate request_size=4 [18:20:04]MH_SAM_APDU [18:20:04]CAPDU: 80 11 00 00 [18:20:04]Write to MH i2c: E2 08 00 2C 05 80 11 00 00 00 00 00 00 AB [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:04]Read from MH i2c: E2 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 17 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: E2 17 00 2C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 04 [18:20:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:20:04]wFMCommunicate OK [18:20:04]CreateOFDProtocolMessage done [18:20:04]OFDSenderStorePacket 18877 [18:20:04]StoreOFDPacket docnum=18877 [18:20:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 AE DB 31 01 63 5C 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 D4 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BD 49 00 00 35 04 06 00 B4 5F 43 AC 3A 9A F3 48 C0 75 FC C0 F4 EA [18:20:04]CheckFolder [18:20:04]dirname=/storage/ofd_packets [18:20:04]CheckFolder done [18:20:04]ProducePacketName [18:20:04]name=ofd_packets/00018877 [18:20:04]NVStorageSaveData ofd_packets/00018877 [18:20:04]File name is /storage/ofd_packets/00018877 [18:20:04]Write 343 bytes [18:20:04]NVStorageSaveData done [18:20:04]OFDSenderStorePacket done [18:20:04]KKMCreateOFDPacket done [18:20:04]NVStorageSaveData kkm_last_timestamp [18:20:04]File name is /storage/kkm_last_timestamp [18:20:04]Write 4 bytes [18:20:04]NVStorageSaveData done [18:20:04]ExternCall_PrintAddStr [18:20:04]wPrintStart [18:20:04]Write to MH i2c: 01 00 00 2D 05 32 [18:20:04]Write i2c OK [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: 01 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: 01 07 00 [18:20:04]MH_I2C_Read... [18:20:04]Read from MH i2c: 01 07 00 2D 05 00 00 00 00 00 FF 0F 47 [18:20:04]RasterBufferAndPrint [18:20:04]line Счет N : (3)16804 [18:20:04]line ИНН: 02508201610067 [18:20:04]line Контрольно-Кассовый Чек [18:20:04]line ПРОДАЖА [18:20:04]line Товар: 4870202521148 [18:20:04]line Напиток MAXI чай зел лимон 0.45л [18:20:04]line 1.000 * 70.00 [18:20:04]line = 70.00 [18:20:04]line НДС 12% НСП 1% [18:20:04]line > о реализуемом товаре [18:20:04]line ИТОГО: 70.00 [18:20:04]line НСП 1% : 0.62 [18:20:04]line НДС 12% : 7.43 [18:20:04]line Наличными: 0.00 [18:20:04]line Безнал.: 70.00 [18:20:04]line Место: АЗС № 176 "Партнер Нефть" [18:20:04]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:20:04]line СНО: Общий режим [18:20:04]line Чек 47 24.09.2024 18:20 [18:20:04]line Смена: 182 ФФД: 1.0 [18:20:04]line ЗНМ: 0300000010 [18:20:04]line РНМ: 0000000000152968 [18:20:04]line Версия ККМ: v1.0 [18:20:04]line Платежная система: O! деньги [18:20:04]line ФМ: 0000000000959456 [18:20:04]line ФД: 18877 [18:20:04]line ФПД: 198321250253466 [18:20:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T182004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18877&fm=198321250253466&tin=02508201610067®Number=0000000000152968&sum=7000 [18:20:04]line 0 [18:20:04]OFD Sender: Processing packet 18877 [packets to send 7, broken 6] [18:20:04]ProducePacketName [18:20:04]name=ofd_packets/00018877 [18:20:04]OFD Sender: To server: pG, [18:20:04]CommunicateWithHost lk.salyk.kg:30040 [18:20:04]ConnectInit lk.salyk.kg [18:20:04]written 0, free lines is 4095 [18:20:05]Connected sock=10 [18:20:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 AE DB 31 01 63 5C 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 D4 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BD 49 00 00 35 04 06 00 B4 5F 43 AC 3A 9A F3 48 C0 75 FC C0 F4 EA [18:20:05]Write to MH i2c: 01 00 00 58 05 5D [18:20:05]Write i2c OK [18:20:05]MH_I2C_Read... [18:20:05]Read from MH i2c: 01 [18:20:05]MH_I2C_Read... [18:20:05]Read from MH i2c: 01 07 00 [18:20:05]MH_I2C_Read... [18:20:05]Read from MH i2c: 01 07 00 58 05 00 00 00 00 00 D9 0C 49 [18:20:05]RasterBufferAndPrint [18:20:05]line [18:20:05]line [18:20:05]line [18:20:05]line [18:20:05]line [18:20:05]written 0, free lines is 3296 [18:20:05]MH_Cut [18:20:05]Write to MH i2c: D1 01 00 5F 05 01 36 [18:20:05]Write i2c OK [18:20:05]MH_I2C_Read... [18:20:05]Read from MH i2c: D1 [18:20:05]MH_I2C_Read... [18:20:05]Read from MH i2c: D1 01 00 [18:20:05]MH_I2C_Read... [18:20:05]Read from MH i2c: D1 01 00 5F 05 00 35 [18:20:05]Write to MH i2c: 01 00 00 60 05 65 [18:20:05]Write i2c OK [18:20:05]MH_I2C_Read... [18:20:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 EC E8 47 00 DF 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BD 49 00 00 F4 03 04 00 34 AC F2 66 B6 04 01 00 00 09 ED 03 51 10 8D 8F A1 [18:20:05]CommunicateWithHost err = 0 [18:20:05]CheckOFDResponse [18:20:05]1017 (14) - 77093643461234 [18:20:05]1041 (16) - 0000000000959456 [18:20:05]1040 (4) - 18877 [18:20:05]1012 (4) - 24.09.2024 12:10 [18:20:05]1206 (1) - 0 [18:20:05]OFD Sender: Remove packet 18877 [18:20:05]ProducePacketName [18:20:05]name=ofd_packets/00018877 [18:20:05]NVStorageDeleteData [18:20:05]OFD Sender: No OFD packet to send [18:20:06]*** Cut start [18:20:06]*** Partial cut [18:20:06]*** CUTSNS_PIN = 1 [18:20:06]*** CUTSNS_PIN = 0 [18:20:06]*** Brake cut motor [18:20:06]Read from MH i2c: 01 [18:20:06]MH_I2C_Read... [18:20:06]*** Stop cut motor [18:20:06]*** Cut end [18:20:06]Read from MH i2c: 01 07 00 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: 01 07 00 60 05 00 00 00 00 00 FF 0F 7A [18:20:06]process_action close_receipt done [18:20:06]requested_data is exist [18:20:06]produce_requested_data [18:20:06]requested_item fm.sn is exist - process it [18:20:06]wFMCommunicate request_size=4 [18:20:06]MH_SAM_APDU [18:20:06]CAPDU: 80 11 00 00 [18:20:06]Write to MH i2c: E2 08 00 61 05 80 11 00 00 00 00 00 00 E0 [18:20:06]Write i2c OK [18:20:06]MH_I2C_Read... [18:20:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:06]Read from MH i2c: E2 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: E2 17 00 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: E2 17 00 61 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 39 [18:20:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:20:06]wFMCommunicate OK [18:20:06]requested_item fd.num is exist - process it [18:20:06]SAM_PROTO_GetFieldsCounters [18:20:06]wFMCommunicate request_size=4 [18:20:06]MH_SAM_APDU [18:20:06]CAPDU: 80 13 00 00 [18:20:06]Write to MH i2c: E2 08 00 62 05 80 13 00 00 00 00 00 00 E3 [18:20:06]Write i2c OK [18:20:06]MH_I2C_Read... [18:20:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:20:06]Read from MH i2c: E2 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: E2 62 00 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: E2 62 00 62 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BD 49 00 00 0E 04 04 00 B6 00 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 59 [18:20:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BD 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:20:06]wFMCommunicate OK [18:20:06]SAM_PROTO_GetFieldsCounters done [18:20:06]requested_item shift.num is exist - process it [18:20:06]requested_item shift.opened is exist - process it [18:20:06]req_shift_opened [18:20:06]FM_GetShiftState [18:20:06]SAM_PROTO_GetShiftState [18:20:06]wFMCommunicate request_size=4 [18:20:06]MH_SAM_APDU [18:20:06]CAPDU: 80 13 01 00 [18:20:06]Write to MH i2c: E2 08 00 63 05 80 13 01 00 00 00 00 00 E5 [18:20:06]Write i2c OK [18:20:06]MH_I2C_Read... [18:20:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:06]Read from MH i2c: E2 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: E2 0E 00 [18:20:06]MH_I2C_Read... [18:20:06]Read from MH i2c: E2 0E 00 63 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 1C [18:20:06]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:20:06]wFMCommunicate OK [18:20:06]SAM_PROTO_GetShiftState done [18:20:06]FM_GetShiftState done [18:20:06]req_shift_opened done [18:20:06]requested_item shift.open_date is exist - process it [18:20:06]req_shift_open_date [18:20:06]req_shift_open_date done [18:20:06]produce_requested_data done [18:20:06]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18877,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:20:06]process_action_free close_receipt [18:20:06]json_value_free [18:20:06]json_value_free done [18:20:06]process_json_proto returns [18:20:06]Send response to host [18:20:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18877,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:20:06]free response buf [18:20:06]execute_script done [18:20:06]execute_script returns [18:20:06]free content buf [18:20:06]Sock 9.Close socket [18:20:06]Sock 9.Thread stoped [18:20:10]OFD Sender: No OFD packet to send [18:20:15]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:35]accept exits with 8 [18:20:35]New connection [18:20:35]New thread 3067047268 created [18:20:35]Thread 3066903908 joined [18:20:35]Waiting for new connection... [18:20:35] Sock 8.Parse request [18:20:35]Sock 8.Check first char [18:20:35]Sock 8.First char is OK [18:20:35]request: POST /json_proto HTTP/1.0 [18:20:35]Method: POST [18:20:35]URL: /json_proto [18:20:35]Method is POST - this is cgi request [18:20:35]url: /json_proto [18:20:35]query_string will be loaded in cgi processing [18:20:35]execute_cgi json_proto POST (null) [18:20:35]execute_cgi path=json_proto method=POST [18:20:35]POST find Content-Length [18:20:35]Host: 172.17.62.196:8080 [18:20:35]Content-Length: 645 [18:20:35]Content-Type: application/json [18:20:35] [18:20:35]POST finish read [18:20:35]Found Content-Length = 645 [18:20:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16805", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:20:35]execute_script... [18:20: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)16805", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:20:35]POST & json_proto [18:20:35]process_json_proto [18:20:35]json parsed OK: [18:20:35]protocol is kg_v1.0 [18:20:35]action value=close_receipt [18:20:35]process_action close_receipt [18:20:35]cmd_close_receipt [18:20:35]MH_GetDate [18:20:35]Write to MH i2c: F0 00 00 64 05 58 [18:20:35]Write i2c OK [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: F0 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: F0 09 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: F0 09 00 64 05 00 F5 02 F3 66 CE CC 0E 66 BF [18:20:35]GetLastDocTimeStamp 1727202004 [18:20:35]current date 1727202037 [18:20:35]FM_GetShiftState [18:20:35]SAM_PROTO_GetShiftState [18:20:35]wFMCommunicate request_size=4 [18:20:35]MH_SAM_APDU [18:20:35]CAPDU: 80 13 01 00 [18:20:35]Write to MH i2c: E2 08 00 65 05 80 13 01 00 00 00 00 00 E7 [18:20:35]Write i2c OK [18:20:35]MH_I2C_Read... [18:20:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:35]Read from MH i2c: E2 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 0E 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 0E 00 65 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 1E [18:20:35]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:20:35]wFMCommunicate OK [18:20:35]SAM_PROTO_GetShiftState done [18:20:35]FM_GetShiftState done [18:20:35]opened in 1727136720 [18:20:35]opened+sec_in_day 1727223120 [18:20:35]quantity*price = 13000 [18:20:35]sum+1 = 13001 [18:20:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 48 24.09.2024 18:20 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18878 ФПД: 35584587178781 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T182037&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18878&fm=35584587178781&tin=02508201610067®Number=0000000000152968&sum=13000 0 [18:20:36]StoreToDocumentArchive [18:20:36]shift 182 fd 18878 [18:20:36]save to /storage/0182/doc_00018878 [18:20:36]save last doc name /storage/0182/doc_00018878 to /storage/kkm_last_doc_name [18:20:36]save OK [18:20:36]Clear old archive folders... [18:20:36]ProcessDocumentItem done err = 0, tmpTLVsize=282 [18:20:36]tlvbuf is 01847650 [18:20:36]SAM_PROTO_ClearQueue [18:20:36]wFMCommunicate request_size=4 [18:20:36]MH_SAM_APDU [18:20:36]CAPDU: 80 09 00 00 [18:20:36]Write to MH i2c: E2 08 00 72 05 80 09 00 00 00 00 00 00 E9 [18:20:36]Write i2c OK [18:20:36]MH_I2C_Read... [18:20:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:20:36]Read from MH i2c: E2 [18:20:36]MH_I2C_Read... [18:20:36]Read from MH i2c: E2 03 00 [18:20:36]MH_I2C_Read... [18:20:36]Read from MH i2c: E2 03 00 72 05 00 90 00 EB [18:20:36]RAPDU: 90 00 [18:20:36]wFMCommunicate OK [18:20:36]SAM_PROTO_ClearQueue done [18:20:36]KKMCreateOFDPacket [18:20:36]OFDProtocolAddRootSTLVToBuf [18:20:36]FM_MakeSignedData [18:20:36]FM_MakeSignedData [18:20:36]SAM_PROTO_SignData [18:20:36]wFMCommunicate request_size=4 [18:20:36]MH_SAM_APDU [18:20:36]CAPDU: 80 0D 01 02 [18:20:36]Write to MH i2c: E2 08 00 73 05 80 0D 01 02 00 00 00 00 F1 [18:20:36]Write i2c OK [18:20:36]MH_I2C_Read... [18:20:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:20:37]Read from MH i2c: E2 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 03 00 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 03 00 73 05 00 90 00 EC [18:20:37]RAPDU: 90 00 [18:20:37]wFMCommunicate OK [18:20:37]wFMCommunicate request_size=255 [18:20:37]MH_SAM_APDU [18:20:37]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F5 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [18:20:37]Write to MH i2c: E2 02 01 74 05 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F5 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 3C [18:20:37]Write i2c OK [18:20:37]MH_I2C_Read... [18:20:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:37]Read from MH i2c: E2 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 03 00 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 03 00 74 05 00 90 00 ED [18:20:37]RAPDU: 90 00 [18:20:37]wFMCommunicate OK [18:20:37]wFMCommunicate request_size=41 [18:20:37]MH_SAM_APDU [18:20:37]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BE 49 00 00 35 04 06 00 20 5D 2E AD A3 1D [18:20:37]Write to MH i2c: E2 2C 00 75 05 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BE 49 00 00 35 04 06 00 20 5D 2E AD A3 1D 00 00 E8 [18:20:37]Write i2c OK [18:20:37]MH_I2C_Read... [18:20:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:37]Read from MH i2c: E2 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 03 00 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 03 00 75 05 00 90 00 EE [18:20:37]RAPDU: 90 00 [18:20:37]wFMCommunicate OK [18:20:37]wFMCommunicate request_size=4 [18:20:37]MH_SAM_APDU [18:20:37]CAPDU: 80 0D 03 02 [18:20:37]Write to MH i2c: E2 08 00 76 05 80 0D 03 02 00 00 00 00 F6 [18:20:37]Write i2c OK [18:20:37]MH_I2C_Read... [18:20:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:20:37]Read from MH i2c: E2 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 0B 00 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 0B 00 76 05 00 E6 82 33 D9 E1 30 F8 5B 90 00 CF [18:20:37]RAPDU: E6 82 33 D9 E1 30 F8 5B 90 00 [18:20:37]wFMCommunicate OK [18:20:37]SAM_PROTO_SignData done [18:20:37]FM_MakeSignedData done [18:20:37]CreateOFDProtocolMessage [18:20:37]wFMCommunicate request_size=4 [18:20:37]MH_SAM_APDU [18:20:37]CAPDU: 80 11 00 00 [18:20:37]Write to MH i2c: E2 08 00 77 05 80 11 00 00 00 00 00 00 F6 [18:20:37]Write i2c OK [18:20:37]MH_I2C_Read... [18:20:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:37]Read from MH i2c: E2 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 17 00 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: E2 17 00 77 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4F [18:20:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:20:37]wFMCommunicate OK [18:20:37]CreateOFDProtocolMessage done [18:20:37]OFDSenderStorePacket 18878 [18:20:37]StoreOFDPacket docnum=18878 [18:20:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 7C 78 26 01 53 47 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F5 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BE 49 00 00 35 04 06 00 20 5D 2E AD A3 1D E6 82 33 D9 E1 30 F8 5B [18:20:37]CheckFolder [18:20:37]dirname=/storage/ofd_packets [18:20:37]CheckFolder done [18:20:37]ProducePacketName [18:20:37]name=ofd_packets/00018878 [18:20:37]NVStorageSaveData ofd_packets/00018878 [18:20:37]File name is /storage/ofd_packets/00018878 [18:20:37]Write 332 bytes [18:20:37]NVStorageSaveData done [18:20:37]OFDSenderStorePacket done [18:20:37]KKMCreateOFDPacket done [18:20:37]NVStorageSaveData kkm_last_timestamp [18:20:37]File name is /storage/kkm_last_timestamp [18:20:37]Write 4 bytes [18:20:37]NVStorageSaveData done [18:20:37]ExternCall_PrintAddStr [18:20:37]wPrintStart [18:20:37]Write to MH i2c: 01 00 00 78 05 7D [18:20:37]Write i2c OK [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: 01 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: 01 07 00 [18:20:37]MH_I2C_Read... [18:20:37]Read from MH i2c: 01 07 00 78 05 00 00 00 00 00 FF 0F 92 [18:20:37]RasterBufferAndPrint [18:20:37]line Счет N : (3)16805 [18:20:37]line ИНН: 02508201610067 [18:20:37]line Контрольно-Кассовый Чек [18:20:37]line ПРОДАЖА [18:20:37]line Товар: 2000036220012 [18:20:37]line Кофе Капучино XL(GABB TRADE) [18:20:37]line 1.000 * 130.00 [18:20:37]line = 130.00 [18:20:37]line НДС 12% НСП 1% [18:20:37]line > о реализуемом товаре [18:20:37]line ИТОГО: 130.00 [18:20:37]line НСП 1% : 1.15 [18:20:37]line НДС 12% : 13.80 [18:20:37]line Наличными: 130.00 [18:20:37]line Безнал.: 0.00 [18:20:37]line Место: АЗС № 176 "Партнер Нефть" [18:20:37]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:20:37]line СНО: Общий режим [18:20:37]line Чек 48 24.09.2024 18:20 [18:20:37]line Смена: 182 ФФД: 1.0 [18:20:37]line ЗНМ: 0300000010 [18:20:37]line РНМ: 0000000000152968 [18:20:37]line Версия ККМ: v1.0 [18:20:37]line ФМ: 0000000000959456 [18:20:37]line ФД: 18878 [18:20:37]line ФПД: 35584587178781 [18:20:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T182037&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18878&fm=35584587178781&tin=02508201610067®Number=0000000000152968&sum=13000 [18:20:37]line 0 [18:20:37]OFD Sender: Processing packet 18878 [packets to send 7, broken 6] [18:20:37]ProducePacketName [18:20:37]name=ofd_packets/00018878 [18:20:37]OFD Sender: To server: pG, [18:20:37]CommunicateWithHost lk.salyk.kg:30040 [18:20:37]ConnectInit lk.salyk.kg [18:20:37]written 0, free lines is 4095 [18:20:37]Connected sock=9 [18:20:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 7C 78 26 01 53 47 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F5 02 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BE 49 00 00 35 04 06 00 20 5D 2E AD A3 1D E6 82 33 D9 E1 30 F8 5B [18:20:38]Write to MH i2c: 01 00 00 A1 05 A6 [18:20:38]Write i2c OK [18:20:38]MH_I2C_Read... [18:20:38]Read from MH i2c: 01 [18:20:38]MH_I2C_Read... [18:20:38]Read from MH i2c: 01 07 00 [18:20:38]MH_I2C_Read... [18:20:38]Read from MH i2c: 01 07 00 A1 05 00 00 00 00 00 04 0D BE [18:20:38]RasterBufferAndPrint [18:20:38]line [18:20:38]line [18:20:38]line [18:20:38]line [18:20:38]line [18:20:38]written 0, free lines is 3338 [18:20:38]MH_Cut [18:20:38]Write to MH i2c: D1 01 00 A8 05 01 7F [18:20:38]Write i2c OK [18:20:38]MH_I2C_Read... [18:20:38]Read from MH i2c: D1 [18:20:38]MH_I2C_Read... [18:20:38]Read from MH i2c: D1 01 00 [18:20:38]MH_I2C_Read... [18:20:38]Read from MH i2c: D1 01 00 A8 05 00 7E [18:20:38]Write to MH i2c: 01 00 00 A9 05 AE [18:20:38]Write i2c OK [18:20:38]MH_I2C_Read... [18:20:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 6C 85 47 00 20 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BE 49 00 00 F4 03 04 00 55 AC F2 66 B6 04 01 00 00 6B 34 3B 30 E3 3E 41 53 [18:20:38]CommunicateWithHost err = 0 [18:20:38]CheckOFDResponse [18:20:38]1017 (14) - 77093643461234 [18:20:38]1041 (16) - 0000000000959456 [18:20:38]1040 (4) - 18878 [18:20:38]1012 (4) - 24.09.2024 12:11 [18:20:38]1206 (1) - 0 [18:20:38]OFD Sender: Remove packet 18878 [18:20:38]ProducePacketName [18:20:38]name=ofd_packets/00018878 [18:20:38]NVStorageDeleteData [18:20:38]OFD Sender: No OFD packet to send [18:20:38]*** Cut start [18:20:38]*** Partial cut [18:20:38]*** CUTSNS_PIN = 1 [18:20:38]*** CUTSNS_PIN = 0 [18:20:39]*** Brake cut motor [18:20:39]Read from MH i2c: 01 [18:20:39]MH_I2C_Read... [18:20:39]*** Stop cut motor [18:20:39]*** Cut end [18:20:39]Read from MH i2c: 01 07 00 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: 01 07 00 A9 05 00 00 00 00 00 FF 0F C3 [18:20:39]process_action close_receipt done [18:20:39]requested_data is exist [18:20:39]produce_requested_data [18:20:39]requested_item fm.sn is exist - process it [18:20:39]wFMCommunicate request_size=4 [18:20:39]MH_SAM_APDU [18:20:39]CAPDU: 80 11 00 00 [18:20:39]Write to MH i2c: E2 08 00 AA 05 80 11 00 00 00 00 00 00 29 [18:20:39]Write i2c OK [18:20:39]MH_I2C_Read... [18:20:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:39]Read from MH i2c: E2 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: E2 17 00 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: E2 17 00 AA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 82 [18:20:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:20:39]wFMCommunicate OK [18:20:39]requested_item fd.num is exist - process it [18:20:39]SAM_PROTO_GetFieldsCounters [18:20:39]wFMCommunicate request_size=4 [18:20:39]MH_SAM_APDU [18:20:39]CAPDU: 80 13 00 00 [18:20:39]Write to MH i2c: E2 08 00 AB 05 80 13 00 00 00 00 00 00 2C [18:20:39]Write i2c OK [18:20:39]MH_I2C_Read... [18:20:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:20:39]Read from MH i2c: E2 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: E2 62 00 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: E2 62 00 AB 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BE 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [18:20:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BE 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:20:39]wFMCommunicate OK [18:20:39]SAM_PROTO_GetFieldsCounters done [18:20:39]requested_item shift.num is exist - process it [18:20:39]requested_item shift.opened is exist - process it [18:20:39]req_shift_opened [18:20:39]FM_GetShiftState [18:20:39]SAM_PROTO_GetShiftState [18:20:39]wFMCommunicate request_size=4 [18:20:39]MH_SAM_APDU [18:20:39]CAPDU: 80 13 01 00 [18:20:39]Write to MH i2c: E2 08 00 AC 05 80 13 01 00 00 00 00 00 2E [18:20:39]Write i2c OK [18:20:39]MH_I2C_Read... [18:20:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:39]Read from MH i2c: E2 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: E2 0E 00 [18:20:39]MH_I2C_Read... [18:20:39]Read from MH i2c: E2 0E 00 AC 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 65 [18:20:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:20:39]wFMCommunicate OK [18:20:39]SAM_PROTO_GetShiftState done [18:20:39]FM_GetShiftState done [18:20:39]req_shift_opened done [18:20:39]requested_item shift.open_date is exist - process it [18:20:39]req_shift_open_date [18:20:39]req_shift_open_date done [18:20:39]produce_requested_data done [18:20:39]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18878,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:20:39]process_action_free close_receipt [18:20:39]json_value_free [18:20:39]json_value_free done [18:20:39]process_json_proto returns [18:20:39]Send response to host [18:20:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18878,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:20:39]free response buf [18:20:39]execute_script done [18:20:39]execute_script returns [18:20:39]free content buf [18:20:39]Sock 8.Close socket [18:20:39]Sock 8.Thread stoped [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:49]accept exits with 10 [18:21:49]New connection [18:21:49]New thread 3066903908 created [18:21:49]Thread 3067047268 joined [18:21:49]Waiting for new connection... [18:21:49] Sock 10.Parse request [18:21:49]Sock 10.Check first char [18:21:49]Sock 10.First char is OK [18:21:49]request: POST /json_proto HTTP/1.0 [18:21:49]Method: POST [18:21:49]URL: /json_proto [18:21:49]Method is POST - this is cgi request [18:21:49]url: /json_proto [18:21:49]query_string will be loaded in cgi processing [18:21:49]execute_cgi json_proto POST (null) [18:21:49]execute_cgi path=json_proto method=POST [18:21:49]POST find Content-Length [18:21:49]Host: 172.17.62.196:8080 [18:21:49]Content-Length: 894 [18:21:49]Content-Type: application/json [18:21:49] [18:21:49]POST finish read [18:21:49]Found Content-Length = 894 [18:21:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16806", "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" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:21:49]execute_script... [18:21:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16806", "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" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:21:49]POST & json_proto [18:21:49]process_json_proto [18:21:49]json parsed OK: [18:21:49]protocol is kg_v1.0 [18:21:49]action value=close_receipt [18:21:49]process_action close_receipt [18:21:49]cmd_close_receipt [18:21:49]MH_GetDate [18:21:49]Write to MH i2c: F0 00 00 AD 05 A1 [18:21:49]Write i2c OK [18:21:49]MH_I2C_Read... [18:21:49]Read from MH i2c: F0 [18:21:49]MH_I2C_Read... [18:21:49]Read from MH i2c: F0 09 00 [18:21:49]MH_I2C_Read... [18:21:49]Read from MH i2c: F0 09 00 AD 05 00 3E 03 F3 66 CE CC 0E 66 52 [18:21:49]GetLastDocTimeStamp 1727202037 [18:21:49]current date 1727202110 [18:21:49]FM_GetShiftState [18:21:49]SAM_PROTO_GetShiftState [18:21:49]wFMCommunicate request_size=4 [18:21:49]MH_SAM_APDU [18:21:49]CAPDU: 80 13 01 00 [18:21:49]Write to MH i2c: E2 08 00 AE 05 80 13 01 00 00 00 00 00 30 [18:21:49]Write i2c OK [18:21:49]MH_I2C_Read... [18:21:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:21:49]Read from MH i2c: E2 [18:21:49]MH_I2C_Read... [18:21:49]Read from MH i2c: E2 0E 00 [18:21:49]MH_I2C_Read... [18:21:49]Read from MH i2c: E2 0E 00 AE 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 67 [18:21:49]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:21:49]wFMCommunicate OK [18:21:49]SAM_PROTO_GetShiftState done [18:21:49]FM_GetShiftState done [18:21:49]opened in 1727136720 [18:21:49]opened+sec_in_day 1727223120 [18:21:49]quantity*price = 18500 [18:21:49]sum+1 = 18501 [18:21:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.90 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 49 24.09.2024 18:21 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18879 ФПД: 251986494244458 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T182151&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18879&fm=251986494244458&tin=02508201610067®Number=0000000000152968&sum=22500 0 [18:21:50]StoreToDocumentArchive [18:21:50]shift 182 fd 18879 [18:21:50]save to /storage/0182/doc_00018879 [18:21:50]save last doc name /storage/0182/doc_00018879 to /storage/kkm_last_doc_name [18:21:50]save OK [18:21:50]Clear old archive folders... [18:21:50]ProcessDocumentItem done err = 0, tmpTLVsize=379 [18:21:50]tlvbuf is 01898F40 [18:21:50]SAM_PROTO_ClearQueue [18:21:50]wFMCommunicate request_size=4 [18:21:50]MH_SAM_APDU [18:21:50]CAPDU: 80 09 00 00 [18:21:50]Write to MH i2c: E2 08 00 BB 05 80 09 00 00 00 00 00 00 32 [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:21:50]Read from MH i2c: E2 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 BB 05 00 90 00 34 [18:21:50]RAPDU: 90 00 [18:21:50]wFMCommunicate OK [18:21:50]SAM_PROTO_ClearQueue done [18:21:50]KKMCreateOFDPacket [18:21:50]OFDProtocolAddRootSTLVToBuf [18:21:50]FM_MakeSignedData [18:21:50]FM_MakeSignedData [18:21:50]SAM_PROTO_SignData [18:21:50]wFMCommunicate request_size=4 [18:21:50]MH_SAM_APDU [18:21:50]CAPDU: 80 0D 01 02 [18:21:50]Write to MH i2c: E2 08 00 BC 05 80 0D 01 02 00 00 00 00 3A [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:21:50]Read from MH i2c: E2 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 BC 05 00 90 00 35 [18:21:50]RAPDU: 90 00 [18:21:50]wFMCommunicate OK [18:21:50]wFMCommunicate request_size=255 [18:21:50]MH_SAM_APDU [18:21:50]CAPDU: 80 0D 02 02 FA 03 00 7B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 [18:21:50]Write to MH i2c: E2 02 01 BD 05 80 0D 02 02 FA 00 03 00 7B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 00 9A [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:21:50]Read from MH i2c: E2 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 BD 05 00 90 00 36 [18:21:50]RAPDU: 90 00 [18:21:50]wFMCommunicate OK [18:21:50]wFMCommunicate request_size=138 [18:21:50]MH_SAM_APDU [18:21:50]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3F 03 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BF 49 00 00 35 04 06 00 E5 2E 2D 7A 46 6A [18:21:50]Write to MH i2c: E2 8D 00 BE 05 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3F 03 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BF 49 00 00 35 04 06 00 E5 2E 2D 7A 46 6A 00 00 0E [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:21:50]Read from MH i2c: E2 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 03 00 BE 05 00 90 00 37 [18:21:50]RAPDU: 90 00 [18:21:50]wFMCommunicate OK [18:21:50]wFMCommunicate request_size=4 [18:21:50]MH_SAM_APDU [18:21:50]CAPDU: 80 0D 03 02 [18:21:50]Write to MH i2c: E2 08 00 BF 05 80 0D 03 02 00 00 00 00 3F [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:21:50]Read from MH i2c: E2 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 0B 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 0B 00 BF 05 00 80 10 0F B7 AA 78 A7 BC 90 00 1B [18:21:50]RAPDU: 80 10 0F B7 AA 78 A7 BC 90 00 [18:21:50]wFMCommunicate OK [18:21:50]SAM_PROTO_SignData done [18:21:50]FM_MakeSignedData done [18:21:50]CreateOFDProtocolMessage [18:21:50]wFMCommunicate request_size=4 [18:21:50]MH_SAM_APDU [18:21:50]CAPDU: 80 11 00 00 [18:21:50]Write to MH i2c: E2 08 00 C0 05 80 11 00 00 00 00 00 00 3F [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:21:50]Read from MH i2c: E2 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 17 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: E2 17 00 C0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 98 [18:21:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:21:50]wFMCommunicate OK [18:21:50]CreateOFDProtocolMessage done [18:21:50]OFDSenderStorePacket 18879 [18:21:50]StoreOFDPacket docnum=18879 [18:21:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8F 01 00 00 73 EA 87 01 37 47 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3F 03 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BF 49 00 00 35 04 06 00 E5 2E 2D 7A 46 6A 80 10 0F B7 AA 78 A7 BC [18:21:50]CheckFolder [18:21:50]dirname=/storage/ofd_packets [18:21:50]CheckFolder done [18:21:50]ProducePacketName [18:21:50]name=ofd_packets/00018879 [18:21:50]NVStorageSaveData ofd_packets/00018879 [18:21:50]File name is /storage/ofd_packets/00018879 [18:21:50]Write 429 bytes [18:21:50]NVStorageSaveData done [18:21:50]OFDSenderStorePacket done [18:21:50]KKMCreateOFDPacket done [18:21:50]NVStorageSaveData kkm_last_timestamp [18:21:50]File name is /storage/kkm_last_timestamp [18:21:50]Write 4 bytes [18:21:50]NVStorageSaveData done [18:21:50]ExternCall_PrintAddStr [18:21:50]wPrintStart [18:21:50]Write to MH i2c: 01 00 00 C1 05 C6 [18:21:50]Write i2c OK [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: 01 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: 01 07 00 [18:21:50]MH_I2C_Read... [18:21:50]Read from MH i2c: 01 07 00 C1 05 00 00 00 00 00 FF 0F DB [18:21:51]RasterBufferAndPrint [18:21:51]line Счет N : (3)16806 [18:21:51]line ИНН: 02508201610067 [18:21:51]line Контрольно-Кассовый Чек [18:21:51]line ПРОДАЖА [18:21:51]line Товар: 90162602 [18:21:51]line Энерг напиток Red bull 0,25л [18:21:51]line 1.000 * 185.00 [18:21:51]line = 185.00 [18:21:51]line НДС 12% НСП 1% [18:21:51]line > о реализуемом товаре [18:21:51]line Товар: 4700000160211 [18:21:51]line Вода Легенда 0,5л [18:21:51]line 1.000 * 40.00 [18:21:51]line = 40.00 [18:21:51]line НДС 12% НСП 1% [18:21:51]line > о реализуемом товаре [18:21:51]line ИТОГО: 225.00 [18:21:51]line НСП 1% : 1.99 [18:21:51]line НДС 12% : 23.90 [18:21:51]line Наличными: 225.00 [18:21:51]line Безнал.: 0.00 [18:21:51]line Место: АЗС № 176 "Партнер Нефть" [18:21:51]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:21:51]line СНО: Общий режим [18:21:51]line Чек 49 24.09.2024 18:21 [18:21:51]line Смена: 182 ФФД: 1.0 [18:21:51]line ЗНМ: 0300000010 [18:21:51]line РНМ: 0000000000152968 [18:21:51]line Версия ККМ: v1.0 [18:21:51]line ФМ: 0000000000959456 [18:21:51]line ФД: 18879 [18:21:51]line ФПД: 251986494244458 [18:21:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T182151&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18879&fm=251986494244458&tin=02508201610067®Number=0000000000152968&sum=22500 [18:21:51]OFD Sender: Processing packet 18879 [packets to send 7, broken 6] [18:21:51]ProducePacketName [18:21:51]name=ofd_packets/00018879 [18:21:51]OFD Sender: To server: pG, [18:21:51]CommunicateWithHost lk.salyk.kg:30040 [18:21:51]ConnectInit lk.salyk.kg [18:21:51]line 0 [18:21:51]written 0, free lines is 4095 [18:21:51]Connected sock=9 [18:21:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8F 01 00 00 73 EA 87 01 37 47 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3F 03 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BF 49 00 00 35 04 06 00 E5 2E 2D 7A 46 6A 80 10 0F B7 AA 78 A7 BC [18:21:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A0 75 47 00 50 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 BF 49 00 00 F4 03 04 00 9F AC F2 66 B6 04 01 00 00 58 57 FF E4 15 8F 75 04 [18:21:51]CommunicateWithHost err = 0 [18:21:51]CheckOFDResponse [18:21:51]1017 (14) - 77093643461234 [18:21:51]1041 (16) - 0000000000959456 [18:21:51]1040 (4) - 18879 [18:21:51]1012 (4) - 24.09.2024 12:12 [18:21:51]1206 (1) - 0 [18:21:51]OFD Sender: Remove packet 18879 [18:21:51]ProducePacketName [18:21:51]name=ofd_packets/00018879 [18:21:51]NVStorageDeleteData [18:21:51]Write to MH i2c: 01 00 00 EF 05 F4 [18:21:51]Write i2c OK [18:21:51]MH_I2C_Read... [18:21:51]Read from MH i2c: 01 [18:21:51]MH_I2C_Read... [18:21:51]Read from MH i2c: 01 07 00 [18:21:51]MH_I2C_Read... [18:21:51]Read from MH i2c: 01 07 00 EF 05 00 00 00 00 00 EB 0C F2 [18:21:51]RasterBufferAndPrint [18:21:51]line [18:21:51]line [18:21:51]line [18:21:51]line [18:21:51]line [18:21:51]written 0, free lines is 3313 [18:21:51]MH_Cut [18:21:51]Write to MH i2c: D1 01 00 F6 05 01 CD [18:21:51]Write i2c OK [18:21:51]MH_I2C_Read... [18:21:51]Read from MH i2c: D1 [18:21:51]MH_I2C_Read... [18:21:51]Read from MH i2c: D1 01 00 [18:21:51]MH_I2C_Read... [18:21:51]Read from MH i2c: D1 01 00 F6 05 00 CC [18:21:51]Write to MH i2c: 01 00 00 F7 05 FC [18:21:51]Write i2c OK [18:21:51]MH_I2C_Read... [18:21:52]OFD Sender: No OFD packet to send [18:21:52]*** Cut start [18:21:52]*** Partial cut [18:21:52]*** CUTSNS_PIN = 1 [18:21:52]*** CUTSNS_PIN = 0 [18:21:52]*** Brake cut motor [18:21:52]Read from MH i2c: 01 [18:21:53]MH_I2C_Read... [18:21:53]*** Stop cut motor [18:21:53]*** Cut end [18:21:53]Read from MH i2c: 01 07 00 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: 01 07 00 F7 05 00 00 00 00 00 FF 0F 11 [18:21:53]process_action close_receipt done [18:21:53]requested_data is exist [18:21:53]produce_requested_data [18:21:53]requested_item fm.sn is exist - process it [18:21:53]wFMCommunicate request_size=4 [18:21:53]MH_SAM_APDU [18:21:53]CAPDU: 80 11 00 00 [18:21:53]Write to MH i2c: E2 08 00 F8 05 80 11 00 00 00 00 00 00 77 [18:21:53]Write i2c OK [18:21:53]MH_I2C_Read... [18:21:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:21:53]Read from MH i2c: E2 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: E2 17 00 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: E2 17 00 F8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D0 [18:21:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:21:53]wFMCommunicate OK [18:21:53]requested_item fd.num is exist - process it [18:21:53]SAM_PROTO_GetFieldsCounters [18:21:53]wFMCommunicate request_size=4 [18:21:53]MH_SAM_APDU [18:21:53]CAPDU: 80 13 00 00 [18:21:53]Write to MH i2c: E2 08 00 F9 05 80 13 00 00 00 00 00 00 7A [18:21:53]Write i2c OK [18:21:53]MH_I2C_Read... [18:21:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:21:53]Read from MH i2c: E2 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: E2 62 00 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: E2 62 00 F9 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BF 49 00 00 0E 04 04 00 B6 00 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 F8 [18:21:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 BF 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:21:53]wFMCommunicate OK [18:21:53]SAM_PROTO_GetFieldsCounters done [18:21:53]requested_item shift.num is exist - process it [18:21:53]requested_item shift.opened is exist - process it [18:21:53]req_shift_opened [18:21:53]FM_GetShiftState [18:21:53]SAM_PROTO_GetShiftState [18:21:53]wFMCommunicate request_size=4 [18:21:53]MH_SAM_APDU [18:21:53]CAPDU: 80 13 01 00 [18:21:53]Write to MH i2c: E2 08 00 FA 05 80 13 01 00 00 00 00 00 7C [18:21:53]Write i2c OK [18:21:53]MH_I2C_Read... [18:21:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:21:53]Read from MH i2c: E2 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: E2 0E 00 [18:21:53]MH_I2C_Read... [18:21:53]Read from MH i2c: E2 0E 00 FA 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 B3 [18:21:53]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:21:53]wFMCommunicate OK [18:21:53]SAM_PROTO_GetShiftState done [18:21:53]FM_GetShiftState done [18:21:53]req_shift_opened done [18:21:53]requested_item shift.open_date is exist - process it [18:21:53]req_shift_open_date [18:21:53]req_shift_open_date done [18:21:53]produce_requested_data done [18:21:53]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18879,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:21:53]process_action_free close_receipt [18:21:53]json_value_free [18:21:53]json_value_free done [18:21:53]process_json_proto returns [18:21:53]Send response to host [18:21:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18879,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:21:53]free response buf [18:21:53]execute_script done [18:21:53]execute_script returns [18:21:53]free content buf [18:21:53]Sock 10.Close socket [18:21:53]Sock 10.Thread stoped [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:17]OFD Sender: No OFD packet to send [18:34:22]OFD Sender: No OFD packet to send [18:34:27]OFD Sender: No OFD packet to send [18:34:32]OFD Sender: No OFD packet to send [18:34:37]OFD Sender: No OFD packet to send [18:34:42]OFD Sender: No OFD packet to send [18:34:47]OFD Sender: No OFD packet to send [18:34:52]OFD Sender: No OFD packet to send [18:34:57]OFD Sender: No OFD packet to send [18:35:02]OFD Sender: No OFD packet to send [18:35:07]OFD Sender: No OFD packet to send [18:35:12]OFD Sender: No OFD packet to send [18:35:17]OFD Sender: No OFD packet to send [18:35:22]OFD Sender: No OFD packet to send [18:35:27]OFD Sender: No OFD packet to send [18:35:32]OFD Sender: No OFD packet to send [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:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:33]OFD Sender: No OFD packet to send [18:51:38]OFD Sender: No OFD packet to send [18:51:43]OFD Sender: No OFD packet to send [18:51:48]OFD Sender: No OFD packet to send [18:51:53]OFD Sender: No OFD packet to send [18:51:58]OFD Sender: No OFD packet to send [18:52:03]OFD Sender: No OFD packet to send [18:52:08]OFD Sender: No OFD packet to send [18:52:13]OFD Sender: No OFD packet to send [18:52:18]OFD Sender: No OFD packet to send [18:52:23]OFD Sender: No OFD packet to send [18:52:28]OFD Sender: No OFD packet to send [18:52:33]OFD Sender: No OFD packet to send [18:52:38]OFD Sender: No OFD packet to send [18:52:43]OFD Sender: No OFD packet to send [18:52:48]OFD Sender: No OFD packet to send [18:52:53]OFD Sender: No OFD packet to send [18:52:58]OFD Sender: No OFD packet to send [18:53:03]OFD Sender: No OFD packet to send [18:53:08]OFD Sender: No OFD packet to send [18:53:13]OFD Sender: No OFD packet to send [18:53:18]OFD Sender: No OFD packet to send [18:53:23]OFD Sender: No OFD packet to send [18:53:28]OFD Sender: No OFD packet to send [18:53:33]OFD Sender: No OFD packet to send [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54: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:24]accept exits with 8 [18:56:24]New connection [18:56:24]New thread 3067047268 created [18:56:24]Thread 3066903908 joined [18:56:24]Waiting for new connection... [18:56:24] Sock 8.Parse request [18:56:24]Sock 8.Check first char [18:56:24]Sock 8.First char is OK [18:56:24]request: POST /json_proto HTTP/1.0 [18:56:24]Method: POST [18:56:24]URL: /json_proto [18:56:24]Method is POST - this is cgi request [18:56:24]url: /json_proto [18:56:24]query_string will be loaded in cgi processing [18:56:24]execute_cgi json_proto POST (null) [18:56:24]execute_cgi path=json_proto method=POST [18:56:24]POST find Content-Length [18:56:24]Host: 172.17.62.196:8080 [18:56:24]Content-Length: 1326 [18:56:24]Content-Type: application/json [18:56:24] [18:56:24]POST finish read [18:56:24]Found Content-Length = 1326 [18:56:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16807", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:24]execute_script... [18:56:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16807", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:24]POST & json_proto [18:56:24]process_json_proto [18:56:24]json parsed OK: [18:56:24]protocol is kg_v1.0 [18:56:24]action value=close_receipt [18:56:24]process_action close_receipt [18:56:24]cmd_close_receipt [18:56:24]MH_GetDate [18:56:24]Write to MH i2c: F0 00 00 FB 05 EF [18:56:24]Write i2c OK [18:56:24]MH_I2C_Read... [18:56:24]Read from MH i2c: F0 [18:56:24]MH_I2C_Read... [18:56:24]Read from MH i2c: F0 09 00 [18:56:24]MH_I2C_Read... [18:56:24]Read from MH i2c: F0 09 00 FB 05 00 5A 0B F3 66 CE CC 0E 66 C4 [18:56:24]GetLastDocTimeStamp 1727202111 [18:56:24]current date 1727204186 [18:56:24]FM_GetShiftState [18:56:24]SAM_PROTO_GetShiftState [18:56:24]wFMCommunicate request_size=4 [18:56:24]MH_SAM_APDU [18:56:24]CAPDU: 80 13 01 00 [18:56:24]Write to MH i2c: E2 08 00 FC 05 80 13 01 00 00 00 00 00 7E [18:56:24]Write i2c OK [18:56:24]MH_I2C_Read... [18:56:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:24]Read from MH i2c: E2 [18:56:24]MH_I2C_Read... [18:56:24]Read from MH i2c: E2 0E 00 [18:56:24]MH_I2C_Read... [18:56:24]Read from MH i2c: E2 0E 00 FC 05 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 B5 [18:56:24]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:56:24]wFMCommunicate OK [18:56:24]SAM_PROTO_GetShiftState done [18:56:24]FM_GetShiftState done [18:56:24]opened in 1727136720 [18:56:24]opened+sec_in_day 1727223120 [18:56:24]quantity*price = 10500 [18:56:24]sum+1 = 10501 [18:56:24]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400389 Семечки ДЖИНН 140г 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681062 Grizzly волнистые Колбаски с горчицей 55 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 50 24.09.2024 18:56 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18880 ФПД: 175760698615004 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T185626&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18880&fm=175760698615004&tin=02508201610067®Number=0000000000152968&sum=32500 0 [18:56:25]StoreToDocumentArchive [18:56:25]shift 182 fd 18880 [18:56:25]save to /storage/0182/doc_00018880 [18:56:25]save last doc name /storage/0182/doc_00018880 to /storage/kkm_last_doc_name [18:56:25]save OK [18:56:25]Clear old archive folders... [18:56:25]ProcessDocumentItem done err = 0, tmpTLVsize=549 [18:56:25]tlvbuf is 0184DF20 [18:56:25]SAM_PROTO_ClearQueue [18:56:25]wFMCommunicate request_size=4 [18:56:25]MH_SAM_APDU [18:56:25]CAPDU: 80 09 00 00 [18:56:25]Write to MH i2c: E2 08 00 09 06 80 09 00 00 00 00 00 00 81 [18:56:25]Write i2c OK [18:56:25]MH_I2C_Read... [18:56:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:25]Read from MH i2c: E2 [18:56:25]MH_I2C_Read... [18:56:25]Read from MH i2c: E2 03 00 [18:56:25]MH_I2C_Read... [18:56:25]Read from MH i2c: E2 03 00 09 06 00 90 00 83 [18:56:25]RAPDU: 90 00 [18:56:25]wFMCommunicate OK [18:56:25]SAM_PROTO_ClearQueue done [18:56:25]KKMCreateOFDPacket [18:56:25]OFDProtocolAddRootSTLVToBuf [18:56:25]FM_MakeSignedData [18:56:25]FM_MakeSignedData [18:56:25]SAM_PROTO_SignData [18:56:25]wFMCommunicate request_size=4 [18:56:25]MH_SAM_APDU [18:56:25]CAPDU: 80 0D 01 02 [18:56:25]Write to MH i2c: E2 08 00 0A 06 80 0D 01 02 00 00 00 00 89 [18:56:25]Write i2c OK [18:56:25]MH_I2C_Read... [18:56:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:25]Read from MH i2c: E2 [18:56:25]MH_I2C_Read... [18:56:25]Read from MH i2c: E2 03 00 [18:56:25]MH_I2C_Read... [18:56:25]Read from MH i2c: E2 03 00 0A 06 00 90 00 84 [18:56:25]RAPDU: 90 00 [18:56:25]wFMCommunicate OK [18:56:25]wFMCommunicate request_size=255 [18:56:25]MH_SAM_APDU [18:56:25]CAPDU: 80 0D 02 02 FA 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [18:56:25]Write to MH i2c: E2 02 01 0B 06 80 0D 02 02 FA 00 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 BC [18:56:25]Write i2c OK [18:56:25]MH_I2C_Read... [18:56:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:26]Read from MH i2c: E2 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 03 00 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 03 00 0B 06 00 90 00 85 [18:56:26]RAPDU: 90 00 [18:56:26]wFMCommunicate OK [18:56:26]wFMCommunicate request_size=255 [18:56:26]MH_SAM_APDU [18:56:26]CAPDU: 80 0D 02 02 FA 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 5A 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [18:56:26]Write to MH i2c: E2 02 01 0C 06 80 0D 02 02 FA 00 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 5A 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 65 [18:56:26]Write i2c OK [18:56:26]MH_I2C_Read... [18:56:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:26]Read from MH i2c: E2 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 03 00 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 03 00 0C 06 00 90 00 86 [18:56:26]RAPDU: 90 00 [18:56:26]wFMCommunicate OK [18:56:26]wFMCommunicate request_size=58 [18:56:26]MH_SAM_APDU [18:56:26]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C0 49 00 00 35 04 06 00 9F DA 7A 01 A4 DC [18:56:26]Write to MH i2c: E2 3D 00 0D 06 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C0 49 00 00 35 04 06 00 9F DA 7A 01 A4 DC 00 00 05 [18:56:26]Write i2c OK [18:56:26]MH_I2C_Read... [18:56:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:26]Read from MH i2c: E2 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 03 00 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 03 00 0D 06 00 90 00 87 [18:56:26]RAPDU: 90 00 [18:56:26]wFMCommunicate OK [18:56:26]wFMCommunicate request_size=4 [18:56:26]MH_SAM_APDU [18:56:26]CAPDU: 80 0D 03 02 [18:56:26]Write to MH i2c: E2 08 00 0E 06 80 0D 03 02 00 00 00 00 8F [18:56:26]Write i2c OK [18:56:26]MH_I2C_Read... [18:56:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:26]Read from MH i2c: E2 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 0B 00 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 0B 00 0E 06 00 C6 FF EF 83 5D 8F FF 94 90 00 46 [18:56:26]RAPDU: C6 FF EF 83 5D 8F FF 94 90 00 [18:56:26]wFMCommunicate OK [18:56:26]SAM_PROTO_SignData done [18:56:26]FM_MakeSignedData done [18:56:26]CreateOFDProtocolMessage [18:56:26]wFMCommunicate request_size=4 [18:56:26]MH_SAM_APDU [18:56:26]CAPDU: 80 11 00 00 [18:56:26]Write to MH i2c: E2 08 00 0F 06 80 11 00 00 00 00 00 00 8F [18:56:26]Write i2c OK [18:56:26]MH_I2C_Read... [18:56:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:26]Read from MH i2c: E2 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 17 00 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: E2 17 00 0F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E8 [18:56:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:56:26]wFMCommunicate OK [18:56:26]CreateOFDProtocolMessage done [18:56:26]OFDSenderStorePacket 18880 [18:56:26]StoreOFDPacket docnum=18880 [18:56:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 02 00 00 D0 D7 31 02 80 D3 5A 03 01 00 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 5A 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C0 49 00 00 35 04 06 00 9F DA 7A 01 A4 DC C6 FF EF 83 5D 8F FF 94 [18:56:26]CheckFolder [18:56:26]dirname=/storage/ofd_packets [18:56:26]CheckFolder done [18:56:26]ProducePacketName [18:56:26]name=ofd_packets/00018880 [18:56:26]NVStorageSaveData ofd_packets/00018880 [18:56:26]File name is /storage/ofd_packets/00018880 [18:56:26]Write 599 bytes [18:56:26]NVStorageSaveData done [18:56:26]OFDSenderStorePacket done [18:56:26]KKMCreateOFDPacket done [18:56:26]NVStorageSaveData kkm_last_timestamp [18:56:26]File name is /storage/kkm_last_timestamp [18:56:26]Write 4 bytes [18:56:26]NVStorageSaveData done [18:56:26]ExternCall_PrintAddStr [18:56:26]wPrintStart [18:56:26]Write to MH i2c: 01 00 00 10 06 16 [18:56:26]Write i2c OK [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: 01 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: 01 07 00 [18:56:26]MH_I2C_Read... [18:56:26]Read from MH i2c: 01 07 00 10 06 00 00 00 00 00 FF 0F 2B [18:56:26]RasterBufferAndPrint [18:56:26]line Счет N : (3)16807 [18:56:26]line ИНН: 02508201610067 [18:56:26]line Контрольно-Кассовый Чек [18:56:26]line ПРОДАЖА [18:56:26]line Товар: 5449000027474 [18:56:26]line Напиток FuzeTea зел чай манго,ромашка 1л [18:56:26]line 1.000 * 105.00 [18:56:26]line = 105.00 [18:56:26]line НДС 12% НСП 1% [18:56:26]line > о реализуемом товаре [18:56:26]line Товар: 4630007400389 [18:56:26]line Семечки ДЖИНН 140г [18:56:26]line 1.000 * 130.00 [18:56:26]line = 130.00 [18:56:26]line НДС 12% НСП 1% [18:56:26]line > о реализуемом товаре [18:56:26]line Товар: 4870235681062 [18:56:26]line Grizzly волнистые Колбаски с горчицей 55 [18:56:26]line 1.000 * 90.00 [18:56:26]line = 90.00 [18:56:26]line НДС 12% НСП 1% [18:56:26]line > о реализуемом товаре [18:56:26]line ИТОГО: 325.00 [18:56:26]line НСП 1% : 2.88 [18:56:26]line НДС 12% : 34.51 [18:56:26]line Наличными: 325.00 [18:56:26]line Безнал.: 0.00 [18:56:26]line Место: АЗС № 176 "Партнер Нефть" [18:56:26]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:56:26]line СНО: Общий режим [18:56:26]line Чек 50 24.09.2024 18:56 [18:56:26]line Смена: 182 ФФД: 1.0 [18:56:26]line ЗНМ: 0300000010 [18:56:26]line РНМ: 0000000000152968 [18:56:26]line Версия ККМ: v1.0 [18:56:26]line ФМ: 0000000000959456 [18:56:26]line ФД: 18880 [18:56:26]line ФПД: 175760698615004 [18:56:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T185626&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18880&fm=175760698615004&tin=02508201610067®Number=0000000000152968&sum=32500 [18:56:26]line 0 [18:56:26]OFD Sender: Processing packet 18880 [packets to send 7, broken 6] [18:56:26]ProducePacketName [18:56:26]name=ofd_packets/00018880 [18:56:26]OFD Sender: To server: pG, [18:56:26]CommunicateWithHost lk.salyk.kg:30040 [18:56:26]ConnectInit lk.salyk.kg [18:56:26]written 0, free lines is 4095 [18:56:27]Connected sock=10 [18:56:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 02 00 00 D0 D7 31 02 80 D3 5A 03 01 00 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 5A 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C0 49 00 00 35 04 06 00 9F DA 7A 01 A4 DC C6 FF EF 83 5D 8F FF 94 [18:56:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2A 3F 47 00 E0 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C0 49 00 00 F4 03 04 00 BA B4 F2 66 B6 04 01 00 00 D2 2A 3E 4D 45 6B 4E 92 [18:56:27]CommunicateWithHost err = 0 [18:56:27]CheckOFDResponse [18:56:27]1017 (14) - 77093643461234 [18:56:27]1041 (16) - 0000000000959456 [18:56:27]1040 (4) - 18880 [18:56:27]1012 (4) - 24.09.2024 12:46 [18:56:27]1206 (1) - 0 [18:56:27]OFD Sender: Remove packet 18880 [18:56:27]ProducePacketName [18:56:27]name=ofd_packets/00018880 [18:56:27]NVStorageDeleteData [18:56:27]Write to MH i2c: 01 00 00 46 06 4C [18:56:27]Write i2c OK [18:56:27]MH_I2C_Read... [18:56:27]Read from MH i2c: 01 [18:56:27]MH_I2C_Read... [18:56:27]Read from MH i2c: 01 07 00 [18:56:27]MH_I2C_Read... [18:56:27]Read from MH i2c: 01 07 00 46 06 00 00 00 00 00 5E 0C BD [18:56:27]RasterBufferAndPrint [18:56:27]line [18:56:27]line [18:56:27]line [18:56:27]line [18:56:27]line [18:56:27]written 0, free lines is 3175 [18:56:27]MH_Cut [18:56:27]Write to MH i2c: D1 01 00 4D 06 01 25 [18:56:27]Write i2c OK [18:56:27]MH_I2C_Read... [18:56:27]Read from MH i2c: D1 [18:56:27]MH_I2C_Read... [18:56:27]Read from MH i2c: D1 01 00 [18:56:27]MH_I2C_Read... [18:56:27]Read from MH i2c: D1 01 00 4D 06 00 24 [18:56:27]Write to MH i2c: 01 00 00 4E 06 54 [18:56:27]Write i2c OK [18:56:27]MH_I2C_Read... [18:56:27]OFD Sender: No OFD packet to send [18:56:28]*** Cut start [18:56:28]*** Partial cut [18:56:28]*** CUTSNS_PIN = 1 [18:56:28]*** CUTSNS_PIN = 0 [18:56:28]*** Brake cut motor [18:56:28]Read from MH i2c: 01 [18:56:28]MH_I2C_Read... [18:56:28]*** Stop cut motor [18:56:28]*** Cut end [18:56:28]Read from MH i2c: 01 07 00 [18:56:28]MH_I2C_Read... [18:56:28]Read from MH i2c: 01 07 00 4E 06 00 00 00 00 00 FF 0F 69 [18:56:28]process_action close_receipt done [18:56:28]requested_data is exist [18:56:28]produce_requested_data [18:56:28]requested_item fm.sn is exist - process it [18:56:28]wFMCommunicate request_size=4 [18:56:28]MH_SAM_APDU [18:56:28]CAPDU: 80 11 00 00 [18:56:28]Write to MH i2c: E2 08 00 4F 06 80 11 00 00 00 00 00 00 CF [18:56:28]Write i2c OK [18:56:28]MH_I2C_Read... [18:56:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:28]Read from MH i2c: E2 [18:56:28]MH_I2C_Read... [18:56:28]Read from MH i2c: E2 17 00 [18:56:28]MH_I2C_Read... [18:56:28]Read from MH i2c: E2 17 00 4F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 28 [18:56:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:56:28]wFMCommunicate OK [18:56:28]requested_item fd.num is exist - process it [18:56:28]SAM_PROTO_GetFieldsCounters [18:56:28]wFMCommunicate request_size=4 [18:56:28]MH_SAM_APDU [18:56:28]CAPDU: 80 13 00 00 [18:56:28]Write to MH i2c: E2 08 00 50 06 80 13 00 00 00 00 00 00 D2 [18:56:28]Write i2c OK [18:56:28]MH_I2C_Read... [18:56:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:56:29]Read from MH i2c: E2 [18:56:29]MH_I2C_Read... [18:56:29]Read from MH i2c: E2 62 00 [18:56:29]MH_I2C_Read... [18:56:29]Read from MH i2c: E2 62 00 50 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C0 49 00 00 0E 04 04 00 B6 00 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 54 [18:56:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C0 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:56:29]wFMCommunicate OK [18:56:29]SAM_PROTO_GetFieldsCounters done [18:56:29]requested_item shift.num is exist - process it [18:56:29]requested_item shift.opened is exist - process it [18:56:29]req_shift_opened [18:56:29]FM_GetShiftState [18:56:29]SAM_PROTO_GetShiftState [18:56:29]wFMCommunicate request_size=4 [18:56:29]MH_SAM_APDU [18:56:29]CAPDU: 80 13 01 00 [18:56:29]Write to MH i2c: E2 08 00 51 06 80 13 01 00 00 00 00 00 D4 [18:56:29]Write i2c OK [18:56:29]MH_I2C_Read... [18:56:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:29]Read from MH i2c: E2 [18:56:29]MH_I2C_Read... [18:56:29]Read from MH i2c: E2 0E 00 [18:56:29]MH_I2C_Read... [18:56:29]Read from MH i2c: E2 0E 00 51 06 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 0B [18:56:29]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:56:29]wFMCommunicate OK [18:56:29]SAM_PROTO_GetShiftState done [18:56:29]FM_GetShiftState done [18:56:29]req_shift_opened done [18:56:29]requested_item shift.open_date is exist - process it [18:56:29]req_shift_open_date [18:56:29]req_shift_open_date done [18:56:29]produce_requested_data done [18:56:29]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18880,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:56:29]process_action_free close_receipt [18:56:29]json_value_free [18:56:29]json_value_free done [18:56:29]process_json_proto returns [18:56:29]Send response to host [18:56:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18880,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:56:29]free response buf [18:56:29]execute_script done [18:56:29]execute_script returns [18:56:29]free content buf [18:56:29]Sock 8.Close socket [18:56:29]Sock 8.Thread stoped [18:56:32]OFD Sender: No OFD packet to send [18:56:35]accept exits with 9 [18:56:35]New connection [18:56:35]New thread 3066903908 created [18:56:35]Thread 3067047268 joined [18:56:35]Waiting for new connection... [18:56:35] Sock 9.Parse request [18:56:35]Sock 9.Check first char [18:56:35]Sock 9.First char is OK [18:56:35]request: POST /json_proto HTTP/1.0 [18:56:35]Method: POST [18:56:35]URL: /json_proto [18:56:35]Method is POST - this is cgi request [18:56:35]url: /json_proto [18:56:35]query_string will be loaded in cgi processing [18:56:35]execute_cgi json_proto POST (null) [18:56:35]execute_cgi path=json_proto method=POST [18:56:35]POST find Content-Length [18:56:35]Host: 172.17.62.196:8080 [18:56:35]Content-Length: 644 [18:56:35]Content-Type: application/json [18:56:35] [18:56:35]POST finish read [18:56:35]Found Content-Length = 644 [18:56:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16808", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:35]execute_script... [18:56: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)16808", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:35]POST & json_proto [18:56:35]process_json_proto [18:56:35]json parsed OK: [18:56:35]protocol is kg_v1.0 [18:56:35]action value=close_receipt [18:56:35]process_action close_receipt [18:56:35]cmd_close_receipt [18:56:35]MH_GetDate [18:56:35]Write to MH i2c: F0 00 00 52 06 47 [18:56:35]Write i2c OK [18:56:35]MH_I2C_Read... [18:56:35]Read from MH i2c: F0 [18:56:35]MH_I2C_Read... [18:56:35]Read from MH i2c: F0 09 00 [18:56:35]MH_I2C_Read... [18:56:35]Read from MH i2c: F0 09 00 52 06 00 65 0B F3 66 CE CC 0E 66 27 [18:56:35]GetLastDocTimeStamp 1727204186 [18:56:35]current date 1727204197 [18:56:35]FM_GetShiftState [18:56:35]SAM_PROTO_GetShiftState [18:56:35]wFMCommunicate request_size=4 [18:56:35]MH_SAM_APDU [18:56:35]CAPDU: 80 13 01 00 [18:56:35]Write to MH i2c: E2 08 00 53 06 80 13 01 00 00 00 00 00 D6 [18:56:35]Write i2c OK [18:56:35]MH_I2C_Read... [18:56:35]Read from MH i2c: E2 [18:56:35]MH_I2C_Read... [18:56:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:35]Read from MH i2c: E2 0E 00 [18:56:35]MH_I2C_Read... [18:56:35]Read from MH i2c: E2 0E 00 53 06 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 0D [18:56:35]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:56:35]wFMCommunicate OK [18:56:35]SAM_PROTO_GetShiftState done [18:56:35]FM_GetShiftState done [18:56:35]opened in 1727136720 [18:56:35]opened+sec_in_day 1727223120 [18:56:35]quantity*price = 6000 [18:56:35]sum+1 = 6001 [18:56:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 51 24.09.2024 18:56 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18881 ФПД: 97745869819840 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T185637&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18881&fm=97745869819840&tin=02508201610067®Number=0000000000152968&sum=6000 0 [18:56:36]StoreToDocumentArchive [18:56:36]shift 182 fd 18881 [18:56:36]save to /storage/0182/doc_00018881 [18:56:36]save last doc name /storage/0182/doc_00018881 to /storage/kkm_last_doc_name [18:56:36]save OK [18:56:36]Clear old archive folders... [18:56:36]ProcessDocumentItem done err = 0, tmpTLVsize=276 [18:56:36]tlvbuf is 01890BE0 [18:56:36]SAM_PROTO_ClearQueue [18:56:36]wFMCommunicate request_size=4 [18:56:36]MH_SAM_APDU [18:56:36]CAPDU: 80 09 00 00 [18:56:36]Write to MH i2c: E2 08 00 60 06 80 09 00 00 00 00 00 00 D8 [18:56:36]Write i2c OK [18:56:36]MH_I2C_Read... [18:56:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:36]Read from MH i2c: E2 [18:56:36]MH_I2C_Read... [18:56:36]Read from MH i2c: E2 03 00 [18:56:36]MH_I2C_Read... [18:56:36]Read from MH i2c: E2 03 00 60 06 00 90 00 DA [18:56:36]RAPDU: 90 00 [18:56:36]wFMCommunicate OK [18:56:36]SAM_PROTO_ClearQueue done [18:56:36]KKMCreateOFDPacket [18:56:36]OFDProtocolAddRootSTLVToBuf [18:56:36]FM_MakeSignedData [18:56:36]FM_MakeSignedData [18:56:36]SAM_PROTO_SignData [18:56:36]wFMCommunicate request_size=4 [18:56:36]MH_SAM_APDU [18:56:36]CAPDU: 80 0D 01 02 [18:56:36]Write to MH i2c: E2 08 00 61 06 80 0D 01 02 00 00 00 00 E0 [18:56:36]Write i2c OK [18:56:36]MH_I2C_Read... [18:56:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:36]Read from MH i2c: E2 [18:56:36]MH_I2C_Read... [18:56:36]Read from MH i2c: E2 03 00 [18:56:36]MH_I2C_Read... [18:56:36]Read from MH i2c: E2 03 00 61 06 00 90 00 DB [18:56:36]RAPDU: 90 00 [18:56:36]wFMCommunicate OK [18:56:36]wFMCommunicate request_size=255 [18:56:36]MH_SAM_APDU [18:56:36]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 65 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 [18:56:37]Write to MH i2c: E2 02 01 62 06 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 65 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 00 00 D3 [18:56:37]Write i2c OK [18:56:37]MH_I2C_Read... [18:56:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:37]Read from MH i2c: E2 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 03 00 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 03 00 62 06 00 90 00 DC [18:56:37]RAPDU: 90 00 [18:56:37]wFMCommunicate OK [18:56:37]wFMCommunicate request_size=35 [18:56:37]MH_SAM_APDU [18:56:37]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C1 49 00 00 35 04 06 00 58 E6 3B D9 4F C0 [18:56:37]Write to MH i2c: E2 26 00 63 06 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C1 49 00 00 35 04 06 00 58 E6 3B D9 4F C0 00 00 47 [18:56:37]Write i2c OK [18:56:37]MH_I2C_Read... [18:56:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:37]Read from MH i2c: E2 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 03 00 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 03 00 63 06 00 90 00 DD [18:56:37]RAPDU: 90 00 [18:56:37]wFMCommunicate OK [18:56:37]wFMCommunicate request_size=4 [18:56:37]MH_SAM_APDU [18:56:37]CAPDU: 80 0D 03 02 [18:56:37]Write to MH i2c: E2 08 00 64 06 80 0D 03 02 00 00 00 00 E5 [18:56:37]Write i2c OK [18:56:37]MH_I2C_Read... [18:56:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:37]Read from MH i2c: E2 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 0B 00 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 0B 00 64 06 00 C8 03 5A DE 90 AD EC C4 90 00 D6 [18:56:37]RAPDU: C8 03 5A DE 90 AD EC C4 90 00 [18:56:37]wFMCommunicate OK [18:56:37]SAM_PROTO_SignData done [18:56:37]FM_MakeSignedData done [18:56:37]CreateOFDProtocolMessage [18:56:37]wFMCommunicate request_size=4 [18:56:37]MH_SAM_APDU [18:56:37]CAPDU: 80 11 00 00 [18:56:37]Write to MH i2c: E2 08 00 65 06 80 11 00 00 00 00 00 00 E5 [18:56:37]Write i2c OK [18:56:37]MH_I2C_Read... [18:56:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:37]Read from MH i2c: E2 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 17 00 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: E2 17 00 65 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3E [18:56:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:56:37]wFMCommunicate OK [18:56:37]CreateOFDProtocolMessage done [18:56:37]OFDSenderStorePacket 18881 [18:56:37]StoreOFDPacket docnum=18881 [18:56:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 E7 08 20 01 C6 61 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 65 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C1 49 00 00 35 04 06 00 58 E6 3B D9 4F C0 C8 03 5A DE 90 AD EC C4 [18:56:37]CheckFolder [18:56:37]dirname=/storage/ofd_packets [18:56:37]CheckFolder done [18:56:37]ProducePacketName [18:56:37]name=ofd_packets/00018881 [18:56:37]NVStorageSaveData ofd_packets/00018881 [18:56:37]File name is /storage/ofd_packets/00018881 [18:56:37]Write 326 bytes [18:56:37]NVStorageSaveData done [18:56:37]OFDSenderStorePacket done [18:56:37]KKMCreateOFDPacket done [18:56:37]NVStorageSaveData kkm_last_timestamp [18:56:37]File name is /storage/kkm_last_timestamp [18:56:37]Write 4 bytes [18:56:37]NVStorageSaveData done [18:56:37]ExternCall_PrintAddStr [18:56:37]wPrintStart [18:56:37]Write to MH i2c: 01 00 00 66 06 6C [18:56:37]Write i2c OK [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: 01 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: 01 07 00 [18:56:37]MH_I2C_Read... [18:56:37]Read from MH i2c: 01 07 00 66 06 00 00 00 00 00 FF 0F 81 [18:56:37]RasterBufferAndPrint [18:56:37]line Счет N : (3)16808 [18:56:37]line ИНН: 02508201610067 [18:56:37]line Контрольно-Кассовый Чек [18:56:37]line ПРОДАЖА [18:56:37]line Товар: 4700000310043 [18:56:37]line Вода Жалалабат 27 1л [18:56:37]line 1.000 * 60.00 [18:56:37]line = 60.00 [18:56:37]line НДС 12% НСП 1% [18:56:37]line > о реализуемом товаре [18:56:37]line ИТОГО: 60.00 [18:56:37]line НСП 1% : 0.53 [18:56:37]line НДС 12% : 6.37 [18:56:37]line Наличными: 60.00 [18:56:37]line Безнал.: 0.00 [18:56:37]line Место: АЗС № 176 "Партнер Нефть" [18:56:37]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:56:37]line СНО: Общий режим [18:56:37]line Чек 51 24.09.2024 18:56 [18:56:37]line Смена: 182 ФФД: 1.0 [18:56:37]line ЗНМ: 0300000010 [18:56:37]line РНМ: 0000000000152968 [18:56:37]line Версия ККМ: v1.0 [18:56:37]line ФМ: 0000000000959456 [18:56:37]line ФД: 18881 [18:56:37]line ФПД: 97745869819840 [18:56:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T185637&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18881&fm=97745869819840&tin=02508201610067®Number=0000000000152968&sum=6000 [18:56:37]line 0 [18:56:37]written 0, free lines is 4095 [18:56:37]OFD Sender: Processing packet 18881 [packets to send 7, broken 6] [18:56:37]ProducePacketName [18:56:37]name=ofd_packets/00018881 [18:56:37]OFD Sender: To server: pG, [18:56:37]CommunicateWithHost lk.salyk.kg:30040 [18:56:37]ConnectInit lk.salyk.kg [18:56:37]Connected sock=10 [18:56:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 E7 08 20 01 C6 61 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 65 0B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C1 49 00 00 35 04 06 00 58 E6 3B D9 4F C0 C8 03 5A DE 90 AD EC C4 [18:56:38]Write to MH i2c: 01 00 00 8E 06 94 [18:56:38]Write i2c OK [18:56:38]MH_I2C_Read... [18:56:38]Read from MH i2c: 01 [18:56:38]MH_I2C_Read... [18:56:38]Read from MH i2c: 01 07 00 [18:56:38]MH_I2C_Read... [18:56:38]Read from MH i2c: 01 07 00 8E 06 00 00 00 00 00 1C 0D C4 [18:56:38]RasterBufferAndPrint [18:56:38]line [18:56:38]line [18:56:38]line [18:56:38]line [18:56:38]line [18:56:38]written 0, free lines is 3365 [18:56:38]MH_Cut [18:56:38]Write to MH i2c: D1 01 00 95 06 01 6D [18:56:38]Write i2c OK [18:56:38]MH_I2C_Read... [18:56:38]Read from MH i2c: D1 [18:56:38]MH_I2C_Read... [18:56:38]Read from MH i2c: D1 01 00 [18:56:38]MH_I2C_Read... [18:56:38]Read from MH i2c: D1 01 00 95 06 00 6C [18:56:38]Write to MH i2c: 01 00 00 96 06 9C [18:56:38]Write i2c OK [18:56:38]MH_I2C_Read... [18:56:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 6E 21 47 00 C0 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C1 49 00 00 F4 03 04 00 C5 B4 F2 66 B6 04 01 00 00 CE DE AF 11 72 51 0E B1 [18:56:38]CommunicateWithHost err = 0 [18:56:38]CheckOFDResponse [18:56:38]1017 (14) - 77093643461234 [18:56:38]1041 (16) - 0000000000959456 [18:56:38]1040 (4) - 18881 [18:56:38]1012 (4) - 24.09.2024 12:47 [18:56:38]1206 (1) - 0 [18:56:38]OFD Sender: Remove packet 18881 [18:56:38]ProducePacketName [18:56:38]name=ofd_packets/00018881 [18:56:38]NVStorageDeleteData [18:56:38]OFD Sender: No OFD packet to send [18:56:38]*** Cut start [18:56:38]*** Partial cut [18:56:38]*** CUTSNS_PIN = 1 [18:56:38]*** CUTSNS_PIN = 0 [18:56:38]*** Brake cut motor [18:56:39]Read from MH i2c: 01 [18:56:39]MH_I2C_Read... [18:56:39]*** Stop cut motor [18:56:39]*** Cut end [18:56:39]Read from MH i2c: 01 07 00 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: 01 07 00 96 06 00 00 00 00 00 FF 0F B1 [18:56:39]process_action close_receipt done [18:56:39]requested_data is exist [18:56:39]produce_requested_data [18:56:39]requested_item fm.sn is exist - process it [18:56:39]wFMCommunicate request_size=4 [18:56:39]MH_SAM_APDU [18:56:39]CAPDU: 80 11 00 00 [18:56:39]Write to MH i2c: E2 08 00 97 06 80 11 00 00 00 00 00 00 17 [18:56:39]Write i2c OK [18:56:39]MH_I2C_Read... [18:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:39]Read from MH i2c: E2 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 17 00 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 17 00 97 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 70 [18:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:56:39]wFMCommunicate OK [18:56:39]requested_item fd.num is exist - process it [18:56:39]SAM_PROTO_GetFieldsCounters [18:56:39]wFMCommunicate request_size=4 [18:56:39]MH_SAM_APDU [18:56:39]CAPDU: 80 13 00 00 [18:56:39]Write to MH i2c: E2 08 00 98 06 80 13 00 00 00 00 00 00 1A [18:56:39]Write i2c OK [18:56:39]MH_I2C_Read... [18:56:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:56:39]Read from MH i2c: E2 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 62 00 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 62 00 98 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C1 49 00 00 0E 04 04 00 B6 00 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 A0 [18:56:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C1 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:56:39]wFMCommunicate OK [18:56:39]SAM_PROTO_GetFieldsCounters done [18:56:39]requested_item shift.num is exist - process it [18:56:39]requested_item shift.opened is exist - process it [18:56:39]req_shift_opened [18:56:39]FM_GetShiftState [18:56:39]SAM_PROTO_GetShiftState [18:56:39]wFMCommunicate request_size=4 [18:56:39]MH_SAM_APDU [18:56:39]CAPDU: 80 13 01 00 [18:56:39]Write to MH i2c: E2 08 00 99 06 80 13 01 00 00 00 00 00 1C [18:56:39]Write i2c OK [18:56:39]MH_I2C_Read... [18:56:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:39]Read from MH i2c: E2 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 0E 00 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 0E 00 99 06 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 53 [18:56:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [18:56:39]wFMCommunicate OK [18:56:39]SAM_PROTO_GetShiftState done [18:56:39]FM_GetShiftState done [18:56:39]req_shift_opened done [18:56:39]requested_item shift.open_date is exist - process it [18:56:39]req_shift_open_date [18:56:39]req_shift_open_date done [18:56:39]produce_requested_data done [18:56:39]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18881,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [18:56:39]process_action_free close_receipt [18:56:39]json_value_free [18:56:39]json_value_free done [18:56:39]process_json_proto returns [18:56:39]Send response to host [18:56:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18881,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [18:56:39]free response buf [18:56:39]execute_script done [18:56:39]execute_script returns [18:56:39]free content buf [18:56:39]Sock 9.Close socket [18:56:39]Sock 9.Thread stoped [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:08]OFD Sender: No OFD packet to send [19:00:13]OFD Sender: No OFD packet to send [19:00:18]OFD Sender: No OFD packet to send [19:00:23]OFD Sender: No OFD packet to send [19:00:28]OFD Sender: No OFD packet to send [19:00:33]OFD Sender: No OFD packet to send [19:00:38]OFD Sender: No OFD packet to send [19:00:43]OFD Sender: No OFD packet to send [19:00:48]OFD Sender: No OFD packet to send [19:00:53]OFD Sender: No OFD packet to send [19:00:58]OFD Sender: No OFD packet to send [19:01:03]OFD Sender: No OFD packet to send [19:01:08]OFD Sender: No OFD packet to send [19:01:13]OFD Sender: No OFD packet to send [19:01:18]OFD Sender: No OFD packet to send [19:01:23]OFD Sender: No OFD packet to send [19:01:28]OFD Sender: No OFD packet to send [19:01:33]OFD Sender: No OFD packet to send [19:01:38]OFD Sender: No OFD packet to send [19:01:43]OFD Sender: No OFD packet to send [19:01:48]OFD Sender: No OFD packet to send [19:01:53]OFD Sender: No OFD packet to send [19:01:58]OFD Sender: No OFD packet to send [19:02:03]OFD Sender: No OFD packet to send [19:02:08]OFD Sender: No OFD packet to send [19:02:13]OFD Sender: No OFD packet to send [19:02:18]OFD Sender: No OFD packet to send [19:02:23]OFD Sender: No OFD packet to send [19:02:28]OFD Sender: No OFD packet to send [19:02:33]OFD Sender: No OFD packet to send [19:02:38]OFD Sender: No OFD packet to send [19:02:43]OFD Sender: No OFD packet to send [19:02:48]OFD Sender: No OFD packet to send [19:02:53]OFD Sender: No OFD packet to send [19:02:58]OFD Sender: No OFD packet to send [19:03:03]OFD Sender: No OFD packet to send [19:03:08]OFD Sender: No OFD packet to send [19:03:13]OFD Sender: No OFD packet to send [19:03:18]OFD Sender: No OFD packet to send [19:03:23]OFD Sender: No OFD packet to send [19:03:28]OFD Sender: No OFD packet to send [19:03:33]OFD Sender: No OFD packet to send [19:03:38]OFD Sender: No OFD packet to send [19:03:43]OFD Sender: No OFD packet to send [19:03:48]OFD Sender: No OFD packet to send [19:03:53]OFD Sender: No OFD packet to send [19:03:58]OFD Sender: No OFD packet to send [19:04:03]OFD Sender: No OFD packet to send [19:04:08]OFD Sender: No OFD packet to send [19:04:13]OFD Sender: No OFD packet to send [19:04:18]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:26]accept exits with 8 [19:15:26]New connection [19:15:26]New thread 3067047268 created [19:15:26]Thread 3066903908 joined [19:15:26]Waiting for new connection... [19:15:26] Sock 8.Parse request [19:15:26]Sock 8.Check first char [19:15:26]Sock 8.First char is OK [19:15:26]request: POST /json_proto HTTP/1.0 [19:15:26]Method: POST [19:15:26]URL: /json_proto [19:15:26]Method is POST - this is cgi request [19:15:26]url: /json_proto [19:15:26]query_string will be loaded in cgi processing [19:15:26]execute_cgi json_proto POST (null) [19:15:26]execute_cgi path=json_proto method=POST [19:15:26]POST find Content-Length [19:15:26]Host: 172.17.62.196:8080 [19:15:26]Content-Length: 668 [19:15:26]Content-Type: application/json [19:15:26] [19:15:26]POST finish read [19:15:26]Found Content-Length = 668 [19:15:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16809", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:26]execute_script... [19:15: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)16809", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:26]POST & json_proto [19:15:26]process_json_proto [19:15:26]json parsed OK: [19:15:26]protocol is kg_v1.0 [19:15:26]action value=close_receipt [19:15:26]process_action close_receipt [19:15:26]cmd_close_receipt [19:15:26]MH_GetDate [19:15:26]Write to MH i2c: F0 00 00 9A 06 8F [19:15:26]Write i2c OK [19:15:26]MH_I2C_Read... [19:15:26]Read from MH i2c: F0 [19:15:26]MH_I2C_Read... [19:15:26]Read from MH i2c: F0 09 00 [19:15:26]MH_I2C_Read... [19:15:26]Read from MH i2c: F0 09 00 9A 06 00 D0 0F F3 66 CE CC 0E 66 DE [19:15:26]GetLastDocTimeStamp 1727204197 [19:15:26]current date 1727205328 [19:15:26]FM_GetShiftState [19:15:26]SAM_PROTO_GetShiftState [19:15:26]wFMCommunicate request_size=4 [19:15:26]MH_SAM_APDU [19:15:26]CAPDU: 80 13 01 00 [19:15:26]Write to MH i2c: E2 08 00 9B 06 80 13 01 00 00 00 00 00 1E [19:15:26]Write i2c OK [19:15:26]MH_I2C_Read... [19:15:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:26]Read from MH i2c: E2 [19:15:26]MH_I2C_Read... [19:15:26]Read from MH i2c: E2 0E 00 [19:15:26]MH_I2C_Read... [19:15:26]Read from MH i2c: E2 0E 00 9B 06 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 55 [19:15:26]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:15:26]wFMCommunicate OK [19:15:26]SAM_PROTO_GetShiftState done [19:15:26]FM_GetShiftState done [19:15:26]opened in 1727136720 [19:15:26]opened+sec_in_day 1727223120 [19:15:26]quantity*price = 10500 [19:15:26]sum+1 = 10501 [19:15:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 52 24.09.2024 19:15 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18882 ФПД: 28653042830606 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T191528&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18882&fm=28653042830606&tin=02508201610067®Number=0000000000152968&sum=10500 0 [19:15:28]StoreToDocumentArchive [19:15:28]shift 182 fd 18882 [19:15:28]save to /storage/0182/doc_00018882 [19:15:28]save last doc name /storage/0182/doc_00018882 to /storage/kkm_last_doc_name [19:15:28]save OK [19:15:28]Clear old archive folders... [19:15:28]ProcessDocumentItem done err = 0, tmpTLVsize=285 [19:15:28]tlvbuf is 0182F9E0 [19:15:28]SAM_PROTO_ClearQueue [19:15:28]wFMCommunicate request_size=4 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 09 00 00 [19:15:28]Write to MH i2c: E2 08 00 A8 06 80 09 00 00 00 00 00 00 20 [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 A8 06 00 90 00 22 [19:15:28]RAPDU: 90 00 [19:15:28]wFMCommunicate OK [19:15:28]SAM_PROTO_ClearQueue done [19:15:28]KKMCreateOFDPacket [19:15:28]OFDProtocolAddRootSTLVToBuf [19:15:28]FM_MakeSignedData [19:15:28]FM_MakeSignedData [19:15:28]SAM_PROTO_SignData [19:15:28]wFMCommunicate request_size=4 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 0D 01 02 [19:15:28]Write to MH i2c: E2 08 00 A9 06 80 0D 01 02 00 00 00 00 28 [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 A9 06 00 90 00 23 [19:15:28]RAPDU: 90 00 [19:15:28]wFMCommunicate OK [19:15:28]wFMCommunicate request_size=255 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D0 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 [19:15:28]Write to MH i2c: E2 02 01 AA 06 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D0 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 00 00 7A [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 AA 06 00 90 00 24 [19:15:28]RAPDU: 90 00 [19:15:28]wFMCommunicate OK [19:15:28]wFMCommunicate request_size=44 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 0D 02 02 27 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C2 49 00 00 35 04 06 00 1A 0F 4E 70 8D 0E [19:15:28]Write to MH i2c: E2 2F 00 AB 06 80 0D 02 02 27 00 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C2 49 00 00 35 04 06 00 1A 0F 4E 70 8D 0E 00 00 E0 [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 03 00 AB 06 00 90 00 25 [19:15:28]RAPDU: 90 00 [19:15:28]wFMCommunicate OK [19:15:28]wFMCommunicate request_size=4 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 0D 03 02 [19:15:28]Write to MH i2c: E2 08 00 AC 06 80 0D 03 02 00 00 00 00 2D [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 0B 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 0B 00 AC 06 00 12 FC 9F B3 CC 98 0A 80 90 00 7C [19:15:28]RAPDU: 12 FC 9F B3 CC 98 0A 80 90 00 [19:15:28]wFMCommunicate OK [19:15:28]SAM_PROTO_SignData done [19:15:28]FM_MakeSignedData done [19:15:28]CreateOFDProtocolMessage [19:15:28]wFMCommunicate request_size=4 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 11 00 00 [19:15:28]Write to MH i2c: E2 08 00 AD 06 80 11 00 00 00 00 00 00 2D [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 17 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 17 00 AD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 86 [19:15:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:15:28]wFMCommunicate OK [19:15:28]CreateOFDProtocolMessage done [19:15:28]OFDSenderStorePacket 18882 [19:15:28]StoreOFDPacket docnum=18882 [19:15:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 31 01 00 00 80 5E 29 01 EE 38 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D0 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C2 49 00 00 35 04 06 00 1A 0F 4E 70 8D 0E 12 FC 9F B3 CC 98 0A 80 [19:15:28]CheckFolder [19:15:28]dirname=/storage/ofd_packets [19:15:28]CheckFolder done [19:15:28]ProducePacketName [19:15:28]name=ofd_packets/00018882 [19:15:28]NVStorageSaveData ofd_packets/00018882 [19:15:28]File name is /storage/ofd_packets/00018882 [19:15:28]Write 335 bytes [19:15:28]NVStorageSaveData done [19:15:28]OFDSenderStorePacket done [19:15:28]KKMCreateOFDPacket done [19:15:28]NVStorageSaveData kkm_last_timestamp [19:15:28]File name is /storage/kkm_last_timestamp [19:15:28]Write 4 bytes [19:15:28]NVStorageSaveData done [19:15:28]ExternCall_PrintAddStr [19:15:28]wPrintStart [19:15:28]Write to MH i2c: 01 00 00 AE 06 B4 [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: 01 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: 01 07 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: 01 07 00 AE 06 00 00 00 00 00 FF 0F C9 [19:15:28]RasterBufferAndPrint [19:15:28]line Счет N : (3)16809 [19:15:28]line ИНН: 02508201610067 [19:15:28]line Контрольно-Кассовый Чек [19:15:28]line ПРОДАЖА [19:15:28]line Товар: 5449000189318 [19:15:28]line Холодный чай Fuse лимон 1л [19:15:28]line 1.000 * 105.00 [19:15:28]line = 105.00 [19:15:28]line НДС 12% НСП 1% [19:15:28]line > о реализуемом товаре [19:15:28]line ИТОГО: 105.00 [19:15:28]line НСП 1% : 0.93 [19:15:28]line НДС 12% : 11.15 [19:15:28]line Наличными: 105.00 [19:15:28]line Безнал.: 0.00 [19:15:28]line Место: АЗС № 176 "Партнер Нефть" [19:15:28]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:15:28]line СНО: Общий режим [19:15:28]line Чек 52 24.09.2024 19:15 [19:15:28]line Смена: 182 ФФД: 1.0 [19:15:28]line ЗНМ: 0300000010 [19:15:28]line РНМ: 0000000000152968 [19:15:28]line Версия ККМ: v1.0 [19:15:28]line ФМ: 0000000000959456 [19:15:28]line ФД: 18882 [19:15:28]line ФПД: 28653042830606 [19:15:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T191528&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18882&fm=28653042830606&tin=02508201610067®Number=0000000000152968&sum=10500 [19:15:28]line 0 [19:15:28]OFD Sender: Processing packet 18882 [packets to send 7, broken 6] [19:15:28]ProducePacketName [19:15:28]name=ofd_packets/00018882 [19:15:28]OFD Sender: To server: pG, [19:15:28]CommunicateWithHost lk.salyk.kg:30040 [19:15:28]ConnectInit lk.salyk.kg [19:15:28]written 0, free lines is 4095 [19:15:29]Connected sock=10 [19:15:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 31 01 00 00 80 5E 29 01 EE 38 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D0 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C2 49 00 00 35 04 06 00 1A 0F 4E 70 8D 0E 12 FC 9F B3 CC 98 0A 80 [19:15:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 3B A9 47 00 98 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 39 35 39 34 35 36 10 04 04 00 C2 49 00 00 F4 03 04 00 30 B9 F2 66 B6 04 01 00 00 84 2B 9D 94 65 96 72 4D [19:15:29]CommunicateWithHost err = 0 [19:15:29]CheckOFDResponse [19:15:29]1017 (14) - 77093643461234 [19:15:29]1041 (16) - 0000000000959456 [19:15:29]1040 (4) - 18882 [19:15:29]1012 (4) - 24.09.2024 13:05 [19:15:29]1206 (1) - 0 [19:15:29]OFD Sender: Remove packet 18882 [19:15:29]ProducePacketName [19:15:29]name=ofd_packets/00018882 [19:15:29]NVStorageDeleteData [19:15:29]Write to MH i2c: 01 00 00 D6 06 DC [19:15:29]Write i2c OK [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: 01 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: 01 07 00 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: 01 07 00 D6 06 00 00 00 00 00 2B 0D 1B [19:15:29]RasterBufferAndPrint [19:15:29]line [19:15:29]line [19:15:29]line [19:15:29]line [19:15:29]line [19:15:29]written 0, free lines is 3378 [19:15:29]MH_Cut [19:15:29]Write to MH i2c: D1 01 00 DD 06 01 B5 [19:15:29]Write i2c OK [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: D1 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: D1 01 00 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: D1 01 00 DD 06 00 B4 [19:15:29]Write to MH i2c: 01 00 00 DE 06 E4 [19:15:29]Write i2c OK [19:15:29]MH_I2C_Read... [19:15:29]OFD Sender: No OFD packet to send [19:15:29]*** Cut start [19:15:29]*** Partial cut [19:15:29]*** CUTSNS_PIN = 1 [19:15:30]*** CUTSNS_PIN = 0 [19:15:30]*** Brake cut motor [19:15:30]Read from MH i2c: 01 [19:15:30]MH_I2C_Read... [19:15:30]*** Stop cut motor [19:15:30]*** Cut end [19:15:30]Read from MH i2c: 01 07 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: 01 07 00 DE 06 00 00 00 00 00 FF 0F F9 [19:15:30]process_action close_receipt done [19:15:30]requested_data is exist [19:15:30]produce_requested_data [19:15:30]requested_item fm.sn is exist - process it [19:15:30]wFMCommunicate request_size=4 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 11 00 00 [19:15:30]Write to MH i2c: E2 08 00 DF 06 80 11 00 00 00 00 00 00 5F [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 17 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 17 00 DF 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B8 [19:15:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:15:30]wFMCommunicate OK [19:15:30]requested_item fd.num is exist - process it [19:15:30]SAM_PROTO_GetFieldsCounters [19:15:30]wFMCommunicate request_size=4 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 13 00 00 [19:15:30]Write to MH i2c: E2 08 00 E0 06 80 13 00 00 00 00 00 00 62 [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 62 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 62 00 E0 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C2 49 00 00 0E 04 04 00 B6 00 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 EC [19:15:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C2 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:15:30]wFMCommunicate OK [19:15:30]SAM_PROTO_GetFieldsCounters done [19:15:30]requested_item shift.num is exist - process it [19:15:30]requested_item shift.opened is exist - process it [19:15:30]req_shift_opened [19:15:30]FM_GetShiftState [19:15:30]SAM_PROTO_GetShiftState [19:15:30]wFMCommunicate request_size=4 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 13 01 00 [19:15:30]Write to MH i2c: E2 08 00 E1 06 80 13 01 00 00 00 00 00 64 [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 0E 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 0E 00 E1 06 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 9B [19:15:30]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:15:30]wFMCommunicate OK [19:15:30]SAM_PROTO_GetShiftState done [19:15:30]FM_GetShiftState done [19:15:30]req_shift_opened done [19:15:30]requested_item shift.open_date is exist - process it [19:15:30]req_shift_open_date [19:15:30]req_shift_open_date done [19:15:30]produce_requested_data done [19:15:30]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18882,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:15:30]process_action_free close_receipt [19:15:30]json_value_free [19:15:30]json_value_free done [19:15:30]process_json_proto returns [19:15:30]Send response to host [19:15:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18882,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:15:30]free response buf [19:15:30]execute_script done [19:15:30]execute_script returns [19:15:30]free content buf [19:15:30]Sock 8.Close socket [19:15:30]Sock 8.Thread stoped [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:54]accept exits with 9 [19:15:54]New connection [19:15:54]New thread 3066903908 created [19:15:54]Thread 3067047268 joined [19:15:54]Waiting for new connection... [19:15:54] Sock 9.Parse request [19:15:54]Sock 9.Check first char [19:15:54]Sock 9.First char is OK [19:15:54]request: POST /json_proto HTTP/1.0 [19:15:54]Method: POST [19:15:54]URL: /json_proto [19:15:54]Method is POST - this is cgi request [19:15:54]url: /json_proto [19:15:54]query_string will be loaded in cgi processing [19:15:54]execute_cgi json_proto POST (null) [19:15:54]execute_cgi path=json_proto method=POST [19:15:54]POST find Content-Length [19:15:54]Host: 172.17.62.196:8080 [19:15:54]Content-Length: 665 [19:15:54]Content-Type: application/json [19:15:54] [19:15:54]POST finish read [19:15:54]Found Content-Length = 665 [19:15:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16810", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:54]execute_script... [19:15:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16810", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:54]POST & json_proto [19:15:54]process_json_proto [19:15:54]json parsed OK: [19:15:54]protocol is kg_v1.0 [19:15:54]action value=close_receipt [19:15:54]process_action close_receipt [19:15:54]cmd_close_receipt [19:15:54]MH_GetDate [19:15:54]Write to MH i2c: F0 00 00 E2 06 D7 [19:15:54]Write i2c OK [19:15:54]MH_I2C_Read... [19:15:55]Read from MH i2c: F0 [19:15:55]MH_I2C_Read... [19:15:55]Read from MH i2c: F0 09 00 [19:15:55]MH_I2C_Read... [19:15:55]Read from MH i2c: F0 09 00 E2 06 00 ED 0F F3 66 CE CC 0E 66 43 [19:15:55]GetLastDocTimeStamp 1727205328 [19:15:55]current date 1727205357 [19:15:55]FM_GetShiftState [19:15:55]SAM_PROTO_GetShiftState [19:15:55]wFMCommunicate request_size=4 [19:15:55]MH_SAM_APDU [19:15:55]CAPDU: 80 13 01 00 [19:15:55]Write to MH i2c: E2 08 00 E3 06 80 13 01 00 00 00 00 00 66 [19:15:55]Write i2c OK [19:15:55]MH_I2C_Read... [19:15:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:55]Read from MH i2c: E2 [19:15:55]MH_I2C_Read... [19:15:55]Read from MH i2c: E2 0E 00 [19:15:55]MH_I2C_Read... [19:15:55]Read from MH i2c: E2 0E 00 E3 06 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 9D [19:15:55]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:15:55]wFMCommunicate OK [19:15:55]SAM_PROTO_GetShiftState done [19:15:55]FM_GetShiftState done [19:15:55]opened in 1727136720 [19:15:55]opened+sec_in_day 1727223120 [19:15:55]quantity*price = 9000 [19:15:55]sum+1 = 9001 [19:15:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 53 24.09.2024 19:15 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18883 ФПД: 119707873656302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T191557&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18883&fm=119707873656302&tin=02508201610067®Number=0000000000152968&sum=9000 0 [19:15:56]StoreToDocumentArchive [19:15:56]shift 182 fd 18883 [19:15:56]save to /storage/0182/doc_00018883 [19:15:56]save last doc name /storage/0182/doc_00018883 to /storage/kkm_last_doc_name [19:15:56]save OK [19:15:56]Clear old archive folders... [19:15:56]ProcessDocumentItem done err = 0, tmpTLVsize=293 [19:15:56]tlvbuf is 01851420 [19:15:56]SAM_PROTO_ClearQueue [19:15:56]wFMCommunicate request_size=4 [19:15:56]MH_SAM_APDU [19:15:56]CAPDU: 80 09 00 00 [19:15:56]Write to MH i2c: E2 08 00 F0 06 80 09 00 00 00 00 00 00 68 [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:15:56]Read from MH i2c: E2 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 F0 06 00 90 00 6A [19:15:56]RAPDU: 90 00 [19:15:56]wFMCommunicate OK [19:15:56]SAM_PROTO_ClearQueue done [19:15:56]KKMCreateOFDPacket [19:15:56]OFDProtocolAddRootSTLVToBuf [19:15:56]FM_MakeSignedData [19:15:56]FM_MakeSignedData [19:15:56]SAM_PROTO_SignData [19:15:56]wFMCommunicate request_size=4 [19:15:56]MH_SAM_APDU [19:15:56]CAPDU: 80 0D 01 02 [19:15:56]Write to MH i2c: E2 08 00 F1 06 80 0D 01 02 00 00 00 00 70 [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:15:56]Read from MH i2c: E2 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 F1 06 00 90 00 6B [19:15:56]RAPDU: 90 00 [19:15:56]wFMCommunicate OK [19:15:56]wFMCommunicate request_size=255 [19:15:56]MH_SAM_APDU [19:15:56]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 ED 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [19:15:56]Write to MH i2c: E2 02 01 F2 06 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 ED 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 88 [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:56]Read from MH i2c: E2 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 F2 06 00 90 00 6C [19:15:56]RAPDU: 90 00 [19:15:56]wFMCommunicate OK [19:15:56]wFMCommunicate request_size=52 [19:15:56]MH_SAM_APDU [19:15:56]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C3 49 00 00 35 04 06 00 6C DF A9 49 3D EE [19:15:56]Write to MH i2c: E2 37 00 F3 06 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C3 49 00 00 35 04 06 00 6C DF A9 49 3D EE 00 00 B6 [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:56]Read from MH i2c: E2 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 03 00 F3 06 00 90 00 6D [19:15:56]RAPDU: 90 00 [19:15:56]wFMCommunicate OK [19:15:56]wFMCommunicate request_size=4 [19:15:56]MH_SAM_APDU [19:15:56]CAPDU: 80 0D 03 02 [19:15:56]Write to MH i2c: E2 08 00 F4 06 80 0D 03 02 00 00 00 00 75 [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:15:56]Read from MH i2c: E2 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 0B 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 0B 00 F4 06 00 02 9A 99 FB B7 D9 06 3E 90 00 7A [19:15:56]RAPDU: 02 9A 99 FB B7 D9 06 3E 90 00 [19:15:56]wFMCommunicate OK [19:15:56]SAM_PROTO_SignData done [19:15:56]FM_MakeSignedData done [19:15:56]CreateOFDProtocolMessage [19:15:56]wFMCommunicate request_size=4 [19:15:56]MH_SAM_APDU [19:15:56]CAPDU: 80 11 00 00 [19:15:56]Write to MH i2c: E2 08 00 F5 06 80 11 00 00 00 00 00 00 75 [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:56]Read from MH i2c: E2 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 17 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: E2 17 00 F5 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CE [19:15:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:15:56]wFMCommunicate OK [19:15:56]CreateOFDProtocolMessage done [19:15:56]OFDSenderStorePacket 18883 [19:15:56]StoreOFDPacket docnum=18883 [19:15:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 FA 64 31 01 CF DF 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 ED 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C3 49 00 00 35 04 06 00 6C DF A9 49 3D EE 02 9A 99 FB B7 D9 06 3E [19:15:56]CheckFolder [19:15:56]dirname=/storage/ofd_packets [19:15:56]CheckFolder done [19:15:56]ProducePacketName [19:15:56]name=ofd_packets/00018883 [19:15:56]NVStorageSaveData ofd_packets/00018883 [19:15:56]File name is /storage/ofd_packets/00018883 [19:15:56]Write 343 bytes [19:15:56]NVStorageSaveData done [19:15:56]OFDSenderStorePacket done [19:15:56]KKMCreateOFDPacket done [19:15:56]NVStorageSaveData kkm_last_timestamp [19:15:56]File name is /storage/kkm_last_timestamp [19:15:56]Write 4 bytes [19:15:56]NVStorageSaveData done [19:15:56]ExternCall_PrintAddStr [19:15:56]wPrintStart [19:15:56]Write to MH i2c: 01 00 00 F6 06 FC [19:15:56]Write i2c OK [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: 01 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: 01 07 00 [19:15:56]MH_I2C_Read... [19:15:56]Read from MH i2c: 01 07 00 F6 06 00 00 00 00 00 FF 0F 11 [19:15:56]RasterBufferAndPrint [19:15:56]line Счет N : (3)16810 [19:15:56]line ИНН: 02508201610067 [19:15:56]line Контрольно-Кассовый Чек [19:15:56]line ПРОДАЖА [19:15:56]line Товар: 4870022003305 [19:15:56]line Напиток Gorilla эн нат ж/б 0,5/0,45л [19:15:56]line 1.000 * 90.00 [19:15:56]line = 90.00 [19:15:56]line НДС 12% НСП 1% [19:15:56]line > о реализуемом товаре [19:15:56]line ИТОГО: 90.00 [19:15:56]line НСП 1% : 0.80 [19:15:56]line НДС 12% : 9.56 [19:15:56]line Наличными: 90.00 [19:15:56]line Безнал.: 0.00 [19:15:56]line Место: АЗС № 176 "Партнер Нефть" [19:15:56]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:15:56]line СНО: Общий режим [19:15:56]line Чек 53 24.09.2024 19:15 [19:15:56]line Смена: 182 ФФД: 1.0 [19:15:56]line ЗНМ: 0300000010 [19:15:56]line РНМ: 0000000000152968 [19:15:56]line Версия ККМ: v1.0 [19:15:57]line ФМ: 0000000000959456 [19:15:57]line ФД: 18883 [19:15:57]line ФПД: 119707873656302 [19:15:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T191557&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18883&fm=119707873656302&tin=02508201610067®Number=0000000000152968&sum=9000 [19:15:57]line 0 [19:15:57]OFD Sender: Processing packet 18883 [packets to send 7, broken 6] [19:15:57]ProducePacketName [19:15:57]name=ofd_packets/00018883 [19:15:57]OFD Sender: To server: pG, [19:15:57]CommunicateWithHost lk.salyk.kg:30040 [19:15:57]ConnectInit lk.salyk.kg [19:15:57]written 0, free lines is 4095 [19:15:57]Connected sock=10 [19:15:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 FA 64 31 01 CF DF 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 ED 0F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C3 49 00 00 35 04 06 00 6C DF A9 49 3D EE 02 9A 99 FB B7 D9 06 3E [19:15:57]Write to MH i2c: 01 00 00 1F 07 26 [19:15:57]Write i2c OK [19:15:57]MH_I2C_Read... [19:15:57]Read from MH i2c: 01 [19:15:57]MH_I2C_Read... [19:15:57]Read from MH i2c: 01 07 00 [19:15:57]MH_I2C_Read... [19:15:57]Read from MH i2c: 01 07 00 1F 07 00 00 00 00 00 0C 0D 46 [19:15:57]RasterBufferAndPrint [19:15:57]line [19:15:57]line [19:15:57]line [19:15:57]line [19:15:57]line [19:15:57]written 0, free lines is 3346 [19:15:57]MH_Cut [19:15:57]Write to MH i2c: D1 01 00 26 07 01 FF [19:15:57]Write i2c OK [19:15:57]MH_I2C_Read... [19:15:57]Read from MH i2c: D1 [19:15:57]MH_I2C_Read... [19:15:57]Read from MH i2c: D1 01 00 [19:15:57]MH_I2C_Read... [19:15:57]Read from MH i2c: D1 01 00 26 07 00 FE [19:15:57]Write to MH i2c: 01 00 00 27 07 2E [19:15:57]Write i2c OK [19:15:57]MH_I2C_Read... [19:15:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 58 BB 47 00 02 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C3 49 00 00 F4 03 04 00 4D B9 F2 66 B6 04 01 00 00 98 33 B3 B8 2C C9 37 35 [19:15:57]CommunicateWithHost err = 0 [19:15:57]CheckOFDResponse [19:15:57]1017 (14) - 77093643461234 [19:15:57]1041 (16) - 0000000000959456 [19:15:57]1040 (4) - 18883 [19:15:57]1012 (4) - 24.09.2024 13:06 [19:15:57]1206 (1) - 0 [19:15:57]OFD Sender: Remove packet 18883 [19:15:57]ProducePacketName [19:15:57]name=ofd_packets/00018883 [19:15:57]NVStorageDeleteData [19:15:58]OFD Sender: No OFD packet to send [19:15:58]*** Cut start [19:15:58]*** Partial cut [19:15:58]*** CUTSNS_PIN = 1 [19:15:58]*** CUTSNS_PIN = 0 [19:15:58]*** Brake cut motor [19:15:58]Read from MH i2c: 01 [19:15:58]MH_I2C_Read... [19:15:58]*** Stop cut motor [19:15:58]*** Cut end [19:15:58]Read from MH i2c: 01 07 00 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: 01 07 00 27 07 00 00 00 00 00 FF 0F 43 [19:15:58]process_action close_receipt done [19:15:58]requested_data is exist [19:15:58]produce_requested_data [19:15:58]requested_item fm.sn is exist - process it [19:15:58]wFMCommunicate request_size=4 [19:15:58]MH_SAM_APDU [19:15:58]CAPDU: 80 11 00 00 [19:15:58]Write to MH i2c: E2 08 00 28 07 80 11 00 00 00 00 00 00 A9 [19:15:58]Write i2c OK [19:15:58]MH_I2C_Read... [19:15:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:58]Read from MH i2c: E2 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: E2 17 00 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: E2 17 00 28 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 02 [19:15:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:15:58]wFMCommunicate OK [19:15:58]requested_item fd.num is exist - process it [19:15:58]SAM_PROTO_GetFieldsCounters [19:15:58]wFMCommunicate request_size=4 [19:15:58]MH_SAM_APDU [19:15:58]CAPDU: 80 13 00 00 [19:15:58]Write to MH i2c: E2 08 00 29 07 80 13 00 00 00 00 00 00 AC [19:15:58]Write i2c OK [19:15:58]MH_I2C_Read... [19:15:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:15:58]Read from MH i2c: E2 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: E2 62 00 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: E2 62 00 29 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C3 49 00 00 0E 04 04 00 B6 00 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 3A [19:15:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C3 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:15:58]wFMCommunicate OK [19:15:58]SAM_PROTO_GetFieldsCounters done [19:15:58]requested_item shift.num is exist - process it [19:15:58]requested_item shift.opened is exist - process it [19:15:58]req_shift_opened [19:15:58]FM_GetShiftState [19:15:58]SAM_PROTO_GetShiftState [19:15:58]wFMCommunicate request_size=4 [19:15:58]MH_SAM_APDU [19:15:58]CAPDU: 80 13 01 00 [19:15:58]Write to MH i2c: E2 08 00 2A 07 80 13 01 00 00 00 00 00 AE [19:15:58]Write i2c OK [19:15:58]MH_I2C_Read... [19:15:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:58]Read from MH i2c: E2 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: E2 0E 00 [19:15:58]MH_I2C_Read... [19:15:58]Read from MH i2c: E2 0E 00 2A 07 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E5 [19:15:58]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:15:58]wFMCommunicate OK [19:15:58]SAM_PROTO_GetShiftState done [19:15:58]FM_GetShiftState done [19:15:58]req_shift_opened done [19:15:58]requested_item shift.open_date is exist - process it [19:15:58]req_shift_open_date [19:15:58]req_shift_open_date done [19:15:58]produce_requested_data done [19:15:58]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18883,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:15:58]process_action_free close_receipt [19:15:58]json_value_free [19:15:58]json_value_free done [19:15:58]process_json_proto returns [19:15:58]Send response to host [19:15:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18883,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:15:58]free response buf [19:15:58]execute_script done [19:15:58]execute_script returns [19:15:58]free content buf [19:15:58]Sock 9.Close socket [19:15:58]Sock 9.Thread stoped [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:39]accept exits with 8 [19:20:39]New connection [19:20:39]New thread 3067047268 created [19:20:39]Thread 3066903908 joined [19:20:39]Waiting for new connection... [19:20:39] Sock 8.Parse request [19:20:39]Sock 8.Check first char [19:20:39]Sock 8.First char is OK [19:20:39]request: POST /json_proto HTTP/1.0 [19:20:39]Method: POST [19:20:39]URL: /json_proto [19:20:39]Method is POST - this is cgi request [19:20:39]url: /json_proto [19:20:39]query_string will be loaded in cgi processing [19:20:39]execute_cgi json_proto POST (null) [19:20:39]execute_cgi path=json_proto method=POST [19:20:39]POST find Content-Length [19:20:39]Host: 172.17.62.196:8080 [19:20:39]Content-Length: 1045 [19:20:39]Content-Type: application/json [19:20:39] [19:20:39]POST finish read [19:20:39]Found Content-Length = 1045 [19:20:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16811", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:20:39]execute_script... [19:20: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)16811", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:20:39]POST & json_proto [19:20:39]process_json_proto [19:20:39]json parsed OK: [19:20:39]protocol is kg_v1.0 [19:20:39]action value=close_receipt [19:20:39]process_action close_receipt [19:20:39]cmd_close_receipt [19:20:39]MH_GetDate [19:20:39]Write to MH i2c: F0 00 00 2B 07 21 [19:20:39]Write i2c OK [19:20:39]MH_I2C_Read... [19:20:39]Read from MH i2c: F0 [19:20:39]MH_I2C_Read... [19:20:39]Read from MH i2c: F0 09 00 [19:20:39]MH_I2C_Read... [19:20:39]Read from MH i2c: F0 09 00 2B 07 00 09 11 F3 66 CE CC 0E 66 AB [19:20:39]GetLastDocTimeStamp 1727205357 [19:20:39]current date 1727205641 [19:20:39]FM_GetShiftState [19:20:39]SAM_PROTO_GetShiftState [19:20:39]wFMCommunicate request_size=4 [19:20:39]MH_SAM_APDU [19:20:39]CAPDU: 80 13 01 00 [19:20:39]Write to MH i2c: E2 08 00 2C 07 80 13 01 00 00 00 00 00 B0 [19:20:39]Write i2c OK [19:20:39]MH_I2C_Read... [19:20:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:39]Read from MH i2c: E2 [19:20:39]MH_I2C_Read... [19:20:39]Read from MH i2c: E2 0E 00 [19:20:39]MH_I2C_Read... [19:20:39]Read from MH i2c: E2 0E 00 2C 07 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E7 [19:20:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:20:39]wFMCommunicate OK [19:20:39]SAM_PROTO_GetShiftState done [19:20:39]FM_GetShiftState done [19:20:39]opened in 1727136720 [19:20:39]opened+sec_in_day 1727223120 [19:20:39]quantity*price = 15000 [19:20:39]sum+1 = 15001 [19:20:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000483259 Напиток Nitro Fresh Мохито 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 0.00 Безнал.: 245.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 54 24.09.2024 19:20 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18884 ФПД: 82348515470672 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T192041&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18884&fm=82348515470672&tin=02508201610067®Number=0000000000152968&sum=24500 0 [19:20:40]StoreToDocumentArchive [19:20:40]shift 182 fd 18884 [19:20:40]save to /storage/0182/doc_00018884 [19:20:40]save last doc name /storage/0182/doc_00018884 to /storage/kkm_last_doc_name [19:20:40]save OK [19:20:40]Clear old archive folders... [19:20:40]ProcessDocumentItem done err = 0, tmpTLVsize=385 [19:20:40]tlvbuf is 0183B800 [19:20:40]SAM_PROTO_ClearQueue [19:20:40]wFMCommunicate request_size=4 [19:20:40]MH_SAM_APDU [19:20:40]CAPDU: 80 09 00 00 [19:20:40]Write to MH i2c: E2 08 00 39 07 80 09 00 00 00 00 00 00 B2 [19:20:40]Write i2c OK [19:20:40]MH_I2C_Read... [19:20:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:20:40]Read from MH i2c: E2 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 39 07 00 90 00 B4 [19:20:40]RAPDU: 90 00 [19:20:40]wFMCommunicate OK [19:20:40]SAM_PROTO_ClearQueue done [19:20:40]KKMCreateOFDPacket [19:20:40]OFDProtocolAddRootSTLVToBuf [19:20:40]FM_MakeSignedData [19:20:40]FM_MakeSignedData [19:20:40]SAM_PROTO_SignData [19:20:40]wFMCommunicate request_size=4 [19:20:40]MH_SAM_APDU [19:20:40]CAPDU: 80 0D 01 02 [19:20:40]Write to MH i2c: E2 08 00 3A 07 80 0D 01 02 00 00 00 00 BA [19:20:40]Write i2c OK [19:20:40]MH_I2C_Read... [19:20:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:20:40]Read from MH i2c: E2 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 3A 07 00 90 00 B5 [19:20:40]RAPDU: 90 00 [19:20:40]wFMCommunicate OK [19:20:40]wFMCommunicate request_size=255 [19:20:40]MH_SAM_APDU [19:20:40]CAPDU: 80 0D 02 02 FA 03 00 81 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [19:20:40]Write to MH i2c: E2 02 01 3B 07 80 0D 02 02 FA 00 03 00 81 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 AB [19:20:40]Write i2c OK [19:20:40]MH_I2C_Read... [19:20:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:20:40]Read from MH i2c: E2 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 3B 07 00 90 00 B6 [19:20:40]RAPDU: 90 00 [19:20:40]wFMCommunicate OK [19:20:40]wFMCommunicate request_size=144 [19:20:40]MH_SAM_APDU [19:20:40]CAPDU: 80 0D 02 02 8B 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 09 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C4 49 00 00 35 04 06 00 4A E5 42 03 2D 50 [19:20:40]Write to MH i2c: E2 93 00 3C 07 80 0D 02 02 8B 00 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 09 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C4 49 00 00 35 04 06 00 4A E5 42 03 2D 50 00 00 89 [19:20:40]Write i2c OK [19:20:40]MH_I2C_Read... [19:20:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:20:40]Read from MH i2c: E2 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 03 00 3C 07 00 90 00 B7 [19:20:40]RAPDU: 90 00 [19:20:40]wFMCommunicate OK [19:20:40]wFMCommunicate request_size=4 [19:20:40]MH_SAM_APDU [19:20:40]CAPDU: 80 0D 03 02 [19:20:40]Write to MH i2c: E2 08 00 3D 07 80 0D 03 02 00 00 00 00 BF [19:20:40]Write i2c OK [19:20:40]MH_I2C_Read... [19:20:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:20:40]Read from MH i2c: E2 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 0B 00 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 0B 00 3D 07 00 5C 25 F6 52 05 BA C0 41 90 00 49 [19:20:40]RAPDU: 5C 25 F6 52 05 BA C0 41 90 00 [19:20:40]wFMCommunicate OK [19:20:40]SAM_PROTO_SignData done [19:20:40]FM_MakeSignedData done [19:20:40]CreateOFDProtocolMessage [19:20:40]wFMCommunicate request_size=4 [19:20:40]MH_SAM_APDU [19:20:40]CAPDU: 80 11 00 00 [19:20:40]Write to MH i2c: E2 08 00 3E 07 80 11 00 00 00 00 00 00 BF [19:20:40]Write i2c OK [19:20:40]MH_I2C_Read... [19:20:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:40]Read from MH i2c: E2 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 17 00 [19:20:40]MH_I2C_Read... [19:20:40]Read from MH i2c: E2 17 00 3E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 18 [19:20:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:20:40]wFMCommunicate OK [19:20:40]CreateOFDProtocolMessage done [19:20:40]OFDSenderStorePacket 18884 [19:20:40]StoreOFDPacket docnum=18884 [19:20:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 95 01 00 00 75 77 8D 01 2E A5 5A 03 01 00 03 00 81 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 09 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C4 49 00 00 35 04 06 00 4A E5 42 03 2D 50 5C 25 F6 52 05 BA C0 41 [19:20:40]CheckFolder [19:20:40]dirname=/storage/ofd_packets [19:20:40]CheckFolder done [19:20:40]ProducePacketName [19:20:40]name=ofd_packets/00018884 [19:20:40]NVStorageSaveData ofd_packets/00018884 [19:20:40]File name is /storage/ofd_packets/00018884 [19:20:40]Write 435 bytes [19:20:40]NVStorageSaveData done [19:20:40]OFDSenderStorePacket done [19:20:40]KKMCreateOFDPacket done [19:20:40]NVStorageSaveData kkm_last_timestamp [19:20:40]File name is /storage/kkm_last_timestamp [19:20:40]Write 4 bytes [19:20:40]NVStorageSaveData done [19:20:41]ExternCall_PrintAddStr [19:20:41]wPrintStart [19:20:41]Write to MH i2c: 01 00 00 3F 07 46 [19:20:41]OFD Sender: Processing packet 18884 [packets to send 7, broken 6] [19:20:41]ProducePacketName [19:20:41]name=ofd_packets/00018884 [19:20:41]Write i2c OK [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: 01 [19:20:41]MH_I2C_Read... [19:20:41]OFD Sender: To server: pG, [19:20:41]CommunicateWithHost lk.salyk.kg:30040 [19:20:41]ConnectInit lk.salyk.kg [19:20:41]Read from MH i2c: 01 07 00 [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: 01 07 00 3F 07 00 00 00 00 00 FF 0F 5B [19:20:41]RasterBufferAndPrint [19:20:41]line Счет N : (3)16811 [19:20:41]line ИНН: 02508201610067 [19:20:41]line Контрольно-Кассовый Чек [19:20:41]line ПРОДАЖА [19:20:41]line Товар: 4640030091645 [19:20:41]line Сигареты ESSE Exchange M [19:20:41]line 1.000 * 150.00 [19:20:41]line = 150.00 [19:20:41]line НДС 12% НСП 1% [19:20:41]line > о реализуемом товаре [19:20:41]line Товар: 4700000483259 [19:20:41]line Напиток Nitro Fresh Мохито [19:20:41]line 1.000 * 95.00 [19:20:41]line = 95.00 [19:20:41]line НДС 12% НСП 1% [19:20:41]line > о реализуемом товаре [19:20:41]line ИТОГО: 245.00 [19:20:41]line НСП 1% : 2.17 [19:20:41]line НДС 12% : 26.02 [19:20:41]line Наличными: 0.00 [19:20:41]line Безнал.: 245.00 [19:20:41]line Место: АЗС № 176 "Партнер Нефть" [19:20:41]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:20:41]line СНО: Общий режим [19:20:41]line Чек 54 24.09.2024 19:20 [19:20:41]line Смена: 182 ФФД: 1.0 [19:20:41]line ЗНМ: 0300000010 [19:20:41]line РНМ: 0000000000152968 [19:20:41]line Версия ККМ: v1.0 [19:20:41]line Платежная система: O! деньги [19:20:41]line ФМ: 0000000000959456 [19:20:41]line ФД: 18884 [19:20:41]line ФПД: 82348515470672 [19:20:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T192041&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18884&fm=82348515470672&tin=02508201610067®Number=0000000000152968&sum=24500 [19:20:41]line 0 [19:20:41]written 0, free lines is 4095 [19:20:41]Connected sock=10 [19:20:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 95 01 00 00 75 77 8D 01 2E A5 5A 03 01 00 03 00 81 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 09 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C4 49 00 00 35 04 06 00 4A E5 42 03 2D 50 5C 25 F6 52 05 BA C0 41 [19:20:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2C 59 47 00 98 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C4 49 00 00 F4 03 04 00 69 BA F2 66 B6 04 01 00 00 3D 4B 1F B0 85 FD 09 AF [19:20:41]CommunicateWithHost err = 0 [19:20:41]CheckOFDResponse [19:20:41]1017 (14) - 77093643461234 [19:20:41]1041 (16) - 0000000000959456 [19:20:41]1040 (4) - 18884 [19:20:41]1012 (4) - 24.09.2024 13:11 [19:20:41]1206 (1) - 0 [19:20:41]OFD Sender: Remove packet 18884 [19:20:41]ProducePacketName [19:20:41]name=ofd_packets/00018884 [19:20:41]NVStorageDeleteData [19:20:41]Write to MH i2c: 01 00 00 6F 07 76 [19:20:41]Write i2c OK [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: 01 [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: 01 07 00 [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: 01 07 00 6F 07 00 00 00 00 00 B5 0C 3E [19:20:41]RasterBufferAndPrint [19:20:41]line [19:20:41]line [19:20:41]line [19:20:41]line [19:20:41]line [19:20:41]written 0, free lines is 3259 [19:20:41]MH_Cut [19:20:41]Write to MH i2c: D1 01 00 76 07 01 4F [19:20:41]Write i2c OK [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: D1 [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: D1 01 00 [19:20:41]MH_I2C_Read... [19:20:41]Read from MH i2c: D1 01 00 76 07 00 4E [19:20:41]Write to MH i2c: 01 00 00 77 07 7E [19:20:41]Write i2c OK [19:20:41]MH_I2C_Read... [19:20:42]OFD Sender: No OFD packet to send [19:20:42]*** Cut start [19:20:42]*** Partial cut [19:20:42]*** CUTSNS_PIN = 1 [19:20:42]*** CUTSNS_PIN = 0 [19:20:42]*** Brake cut motor [19:20:43]Read from MH i2c: 01 [19:20:43]MH_I2C_Read... [19:20:43]*** Stop cut motor [19:20:43]*** Cut end [19:20:43]Read from MH i2c: 01 07 00 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: 01 07 00 77 07 00 00 00 00 00 FF 0F 93 [19:20:43]process_action close_receipt done [19:20:43]requested_data is exist [19:20:43]produce_requested_data [19:20:43]requested_item fm.sn is exist - process it [19:20:43]wFMCommunicate request_size=4 [19:20:43]MH_SAM_APDU [19:20:43]CAPDU: 80 11 00 00 [19:20:43]Write to MH i2c: E2 08 00 78 07 80 11 00 00 00 00 00 00 F9 [19:20:43]Write i2c OK [19:20:43]MH_I2C_Read... [19:20:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:43]Read from MH i2c: E2 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 17 00 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 17 00 78 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 52 [19:20:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:20:43]wFMCommunicate OK [19:20:43]requested_item fd.num is exist - process it [19:20:43]SAM_PROTO_GetFieldsCounters [19:20:43]wFMCommunicate request_size=4 [19:20:43]MH_SAM_APDU [19:20:43]CAPDU: 80 13 00 00 [19:20:43]Write to MH i2c: E2 08 00 79 07 80 13 00 00 00 00 00 00 FC [19:20:43]Write i2c OK [19:20:43]MH_I2C_Read... [19:20:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:20:43]Read from MH i2c: E2 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 62 00 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 62 00 79 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C4 49 00 00 0E 04 04 00 B6 00 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 8E [19:20:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C4 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:20:43]wFMCommunicate OK [19:20:43]SAM_PROTO_GetFieldsCounters done [19:20:43]requested_item shift.num is exist - process it [19:20:43]requested_item shift.opened is exist - process it [19:20:43]req_shift_opened [19:20:43]FM_GetShiftState [19:20:43]SAM_PROTO_GetShiftState [19:20:43]wFMCommunicate request_size=4 [19:20:43]MH_SAM_APDU [19:20:43]CAPDU: 80 13 01 00 [19:20:43]Write to MH i2c: E2 08 00 7A 07 80 13 01 00 00 00 00 00 FE [19:20:43]Write i2c OK [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 [19:20:43]MH_I2C_Read... [19:20:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:43]Read from MH i2c: E2 0E 00 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 0E 00 7A 07 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 35 [19:20:43]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:20:43]wFMCommunicate OK [19:20:43]SAM_PROTO_GetShiftState done [19:20:43]FM_GetShiftState done [19:20:43]req_shift_opened done [19:20:43]requested_item shift.open_date is exist - process it [19:20:43]req_shift_open_date [19:20:43]req_shift_open_date done [19:20:43]produce_requested_data done [19:20:43]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18884,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:20:43]process_action_free close_receipt [19:20:43]json_value_free [19:20:43]json_value_free done [19:20:43]process_json_proto returns [19:20:43]Send response to host [19:20:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18884,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:20:43]free response buf [19:20:43]execute_script done [19:20:43]execute_script returns [19:20:43]free content buf [19:20:43]Sock 8.Close socket [19:20:43]Sock 8.Thread stoped [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:21]accept exits with 9 [19:22:21]New connection [19:22:21]New thread 3066903908 created [19:22:21]Thread 3067047268 joined [19:22:21]Waiting for new connection... [19:22:21] Sock 9.Parse request [19:22:21]Sock 9.Check first char [19:22:21]Sock 9.First char is OK [19:22:21]request: POST /json_proto HTTP/1.0 [19:22:21]Method: POST [19:22:21]URL: /json_proto [19:22:21]Method is POST - this is cgi request [19:22:21]url: /json_proto [19:22:21]query_string will be loaded in cgi processing [19:22:21]execute_cgi json_proto POST (null) [19:22:21]execute_cgi path=json_proto method=POST [19:22:21]POST find Content-Length [19:22:21]Host: 172.17.62.196:8080 [19:22:21]Content-Length: 806 [19:22:21]Content-Type: application/json [19:22:21] [19:22:21]POST finish read [19:22:21]Found Content-Length = 806 [19:22:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16812", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:22:21]execute_script... [19:22:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16812", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:22:21]POST & json_proto [19:22:21]process_json_proto [19:22:21]json parsed OK: [19:22:21]protocol is kg_v1.0 [19:22:21]action value=close_receipt [19:22:21]process_action close_receipt [19:22:21]cmd_close_receipt [19:22:21]MH_GetDate [19:22:21]Write to MH i2c: F0 00 00 7B 07 71 [19:22:21]Write i2c OK [19:22:21]MH_I2C_Read... [19:22:21]Read from MH i2c: F0 [19:22:21]MH_I2C_Read... [19:22:21]Read from MH i2c: F0 09 00 [19:22:21]MH_I2C_Read... [19:22:21]Read from MH i2c: F0 09 00 7B 07 00 70 11 F3 66 CE CC 0E 66 62 [19:22:21]GetLastDocTimeStamp 1727205641 [19:22:21]current date 1727205744 [19:22:21]FM_GetShiftState [19:22:21]SAM_PROTO_GetShiftState [19:22:21]wFMCommunicate request_size=4 [19:22:21]MH_SAM_APDU [19:22:21]CAPDU: 80 13 01 00 [19:22:21]Write to MH i2c: E2 08 00 7C 07 80 13 01 00 00 00 00 00 00 [19:22:21]Write i2c OK [19:22:21]MH_I2C_Read... [19:22:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:22:21]Read from MH i2c: E2 [19:22:21]MH_I2C_Read... [19:22:21]Read from MH i2c: E2 0E 00 [19:22:21]MH_I2C_Read... [19:22:21]Read from MH i2c: E2 0E 00 7C 07 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 37 [19:22:21]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:22:21]wFMCommunicate OK [19:22:21]SAM_PROTO_GetShiftState done [19:22:21]FM_GetShiftState done [19:22:21]opened in 1727136720 [19:22:21]opened+sec_in_day 1727223120 [19:22:21]quantity*price = 5000 [19:22:21]sum+1 = 5001 [19:22:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 0.00 Безнал.: 50.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 55 24.09.2024 19:22 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 18885 ФПД: 39265264232848 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T192224&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18885&fm=39265264232848&tin=02508201610067®Number=0000000000152968&sum=5000 0 [19:22:23]StoreToDocumentArchive [19:22:23]shift 182 fd 18885 [19:22:23]save to /storage/0182/doc_00018885 [19:22:23]save last doc name /storage/0182/doc_00018885 to /storage/kkm_last_doc_name [19:22:23]save OK [19:22:23]Clear old archive folders... [19:22:23]ProcessDocumentItem done err = 0, tmpTLVsize=269 [19:22:23]tlvbuf is 0183F180 [19:22:23]SAM_PROTO_ClearQueue [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 09 00 00 [19:22:23]Write to MH i2c: E2 08 00 89 07 80 09 00 00 00 00 00 00 02 [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 89 07 00 90 00 04 [19:22:23]RAPDU: 90 00 [19:22:23]wFMCommunicate OK [19:22:23]SAM_PROTO_ClearQueue done [19:22:23]KKMCreateOFDPacket [19:22:23]OFDProtocolAddRootSTLVToBuf [19:22:23]FM_MakeSignedData [19:22:23]FM_MakeSignedData [19:22:23]SAM_PROTO_SignData [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 0D 01 02 [19:22:23]Write to MH i2c: E2 08 00 8A 07 80 0D 01 02 00 00 00 00 0A [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 8A 07 00 90 00 05 [19:22:23]RAPDU: 90 00 [19:22:23]wFMCommunicate OK [19:22:23]wFMCommunicate request_size=255 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 70 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [19:22:23]Write to MH i2c: E2 02 01 8B 07 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 70 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 EF [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 8B 07 00 90 00 06 [19:22:23]RAPDU: 90 00 [19:22:23]wFMCommunicate OK [19:22:23]wFMCommunicate request_size=28 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 C5 49 00 00 35 04 06 00 23 B6 28 20 69 90 [19:22:23]Write to MH i2c: E2 1F 00 8C 07 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 C5 49 00 00 35 04 06 00 23 B6 28 20 69 90 00 00 C7 [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 03 00 8C 07 00 90 00 07 [19:22:23]RAPDU: 90 00 [19:22:23]wFMCommunicate OK [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 0D 03 02 [19:22:23]Write to MH i2c: E2 08 00 8D 07 80 0D 03 02 00 00 00 00 0F [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 0B 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 0B 00 8D 07 00 61 AD 99 FF 6A A0 B3 2F 90 00 A2 [19:22:23]RAPDU: 61 AD 99 FF 6A A0 B3 2F 90 00 [19:22:23]wFMCommunicate OK [19:22:23]SAM_PROTO_SignData done [19:22:23]FM_MakeSignedData done [19:22:23]CreateOFDProtocolMessage [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 11 00 00 [19:22:23]Write to MH i2c: E2 08 00 8E 07 80 11 00 00 00 00 00 00 0F [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 17 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 17 00 8E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 68 [19:22:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:22:23]wFMCommunicate OK [19:22:23]CreateOFDProtocolMessage done [19:22:23]OFDSenderStorePacket 18885 [19:22:23]StoreOFDPacket docnum=18885 [19:22:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 AF B9 19 01 0F 46 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 70 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C5 49 00 00 35 04 06 00 23 B6 28 20 69 90 61 AD 99 FF 6A A0 B3 2F [19:22:23]CheckFolder [19:22:23]dirname=/storage/ofd_packets [19:22:23]CheckFolder done [19:22:23]ProducePacketName [19:22:23]name=ofd_packets/00018885 [19:22:23]NVStorageSaveData ofd_packets/00018885 [19:22:23]File name is /storage/ofd_packets/00018885 [19:22:23]Write 319 bytes [19:22:23]NVStorageSaveData done [19:22:23]OFDSenderStorePacket done [19:22:23]KKMCreateOFDPacket done [19:22:23]NVStorageSaveData kkm_last_timestamp [19:22:23]File name is /storage/kkm_last_timestamp [19:22:23]Write 4 bytes [19:22:23]NVStorageSaveData done [19:22:23]ExternCall_PrintAddStr [19:22:23]wPrintStart [19:22:23]Write to MH i2c: 01 00 00 8F 07 96 [19:22:23]OFD Sender: Processing packet 18885 [packets to send 7, broken 6] [19:22:23]ProducePacketName [19:22:23]name=ofd_packets/00018885 [19:22:23]OFD Sender: To server: pG, [19:22:23]CommunicateWithHost lk.salyk.kg:30040 [19:22:23]ConnectInit lk.salyk.kg [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: 01 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: 01 07 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: 01 07 00 8F 07 00 00 00 00 00 FF 0F AB [19:22:23]RasterBufferAndPrint [19:22:23]line Счет N : (3)16812 [19:22:23]line ИНН: 02508201610067 [19:22:23]line Контрольно-Кассовый Чек [19:22:23]line ПРОДАЖА [19:22:23]line Товар: 4700000160358 [19:22:23]line Вода Легенда 1л [19:22:23]line 1.000 * 50.00 [19:22:23]line = 50.00 [19:22:23]line НДС 12% НСП 1% [19:22:23]line > о реализуемом товаре [19:22:23]line ИТОГО: 50.00 [19:22:23]line НСП 1% : 0.44 [19:22:23]line НДС 12% : 5.31 [19:22:23]line Наличными: 0.00 [19:22:23]line Безнал.: 50.00 [19:22:23]line Место: АЗС № 176 "Партнер Нефть" [19:22:23]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:22:23]line СНО: Общий режим [19:22:23]line Чек 55 24.09.2024 19:22 [19:22:23]line Смена: 182 ФФД: 1.0 [19:22:23]line ЗНМ: 0300000010 [19:22:23]line РНМ: 0000000000152968 [19:22:23]line Версия ККМ: v1.0 [19:22:23]line Платежная система: Бакай Банк [19:22:23]line ФМ: 0000000000959456 [19:22:23]line ФД: 18885 [19:22:23]line ФПД: 39265264232848 [19:22:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T192224&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18885&fm=39265264232848&tin=02508201610067®Number=0000000000152968&sum=5000 [19:22:23]Connected sock=10 [19:22:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 AF B9 19 01 0F 46 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 70 11 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C5 49 00 00 35 04 06 00 23 B6 28 20 69 90 61 AD 99 FF 6A A0 B3 2F [19:22:23]line 0 [19:22:23]written 0, free lines is 4095 [19:22:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 56 6D 47 00 0B C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C5 49 00 00 F4 03 04 00 CF BA F2 66 B6 04 01 00 00 47 38 50 3E E7 68 9B AC [19:22:24]CommunicateWithHost err = 0 [19:22:24]CheckOFDResponse [19:22:24]1017 (14) - 77093643461234 [19:22:24]1041 (16) - 0000000000959456 [19:22:24]1040 (4) - 18885 [19:22:24]1012 (4) - 24.09.2024 13:12 [19:22:24]1206 (1) - 0 [19:22:24]OFD Sender: Remove packet 18885 [19:22:24]ProducePacketName [19:22:24]name=ofd_packets/00018885 [19:22:24]NVStorageDeleteData [19:22:24]Write to MH i2c: 01 00 00 B9 07 C0 [19:22:24]Write i2c OK [19:22:24]MH_I2C_Read... [19:22:24]Read from MH i2c: 01 [19:22:24]MH_I2C_Read... [19:22:24]Read from MH i2c: 01 07 00 [19:22:24]MH_I2C_Read... [19:22:24]Read from MH i2c: 01 07 00 B9 07 00 00 00 00 00 F6 0C C9 [19:22:24]RasterBufferAndPrint [19:22:24]line [19:22:24]line [19:22:24]line [19:22:24]line [19:22:24]line [19:22:24]written 0, free lines is 3325 [19:22:24]MH_Cut [19:22:24]Write to MH i2c: D1 01 00 C0 07 01 99 [19:22:24]Write i2c OK [19:22:24]MH_I2C_Read... [19:22:24]Read from MH i2c: D1 [19:22:24]MH_I2C_Read... [19:22:24]Read from MH i2c: D1 01 00 [19:22:24]MH_I2C_Read... [19:22:24]Read from MH i2c: D1 01 00 C0 07 00 98 [19:22:24]Write to MH i2c: 01 00 00 C1 07 C8 [19:22:24]Write i2c OK [19:22:24]MH_I2C_Read... [19:22:24]OFD Sender: No OFD packet to send [19:22:25]*** Cut start [19:22:25]*** Partial cut [19:22:25]*** CUTSNS_PIN = 1 [19:22:25]*** CUTSNS_PIN = 0 [19:22:25]*** Brake cut motor [19:22:25]Read from MH i2c: 01 [19:22:25]MH_I2C_Read... [19:22:25]*** Stop cut motor [19:22:25]*** Cut end [19:22:25]Read from MH i2c: 01 07 00 [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: 01 07 00 C1 07 00 00 00 00 00 FF 0F DD [19:22:25]process_action close_receipt done [19:22:25]requested_data is exist [19:22:25]produce_requested_data [19:22:25]requested_item fm.sn is exist - process it [19:22:25]wFMCommunicate request_size=4 [19:22:25]MH_SAM_APDU [19:22:25]CAPDU: 80 11 00 00 [19:22:25]Write to MH i2c: E2 08 00 C2 07 80 11 00 00 00 00 00 00 43 [19:22:25]Write i2c OK [19:22:25]MH_I2C_Read... [19:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:22:25]Read from MH i2c: E2 [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: E2 17 00 [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: E2 17 00 C2 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9C [19:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:22:25]wFMCommunicate OK [19:22:25]requested_item fd.num is exist - process it [19:22:25]SAM_PROTO_GetFieldsCounters [19:22:25]wFMCommunicate request_size=4 [19:22:25]MH_SAM_APDU [19:22:25]CAPDU: 80 13 00 00 [19:22:25]Write to MH i2c: E2 08 00 C3 07 80 13 00 00 00 00 00 00 46 [19:22:25]Write i2c OK [19:22:25]MH_I2C_Read... [19:22:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:22:25]Read from MH i2c: E2 [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: E2 62 00 [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: E2 62 00 C3 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C5 49 00 00 0E 04 04 00 B6 00 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 DC [19:22:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C5 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:22:25]wFMCommunicate OK [19:22:25]SAM_PROTO_GetFieldsCounters done [19:22:25]requested_item shift.num is exist - process it [19:22:25]requested_item shift.opened is exist - process it [19:22:25]req_shift_opened [19:22:25]FM_GetShiftState [19:22:25]SAM_PROTO_GetShiftState [19:22:25]wFMCommunicate request_size=4 [19:22:25]MH_SAM_APDU [19:22:25]CAPDU: 80 13 01 00 [19:22:25]Write to MH i2c: E2 08 00 C4 07 80 13 01 00 00 00 00 00 48 [19:22:25]Write i2c OK [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: E2 [19:22:25]MH_I2C_Read... [19:22:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:22:25]Read from MH i2c: E2 0E 00 [19:22:25]MH_I2C_Read... [19:22:25]Read from MH i2c: E2 0E 00 C4 07 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7F [19:22:25]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:22:25]wFMCommunicate OK [19:22:25]SAM_PROTO_GetShiftState done [19:22:25]FM_GetShiftState done [19:22:25]req_shift_opened done [19:22:25]requested_item shift.open_date is exist - process it [19:22:25]req_shift_open_date [19:22:25]req_shift_open_date done [19:22:25]produce_requested_data done [19:22:25]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18885,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:22:25]process_action_free close_receipt [19:22:25]json_value_free [19:22:25]json_value_free done [19:22:25]process_json_proto returns [19:22:25]Send response to host [19:22:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18885,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:22:25]free response buf [19:22:25]execute_script done [19:22:25]execute_script returns [19:22:25]free content buf [19:22:25]Sock 9.Close socket [19:22:25]Sock 9.Thread stoped [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:54]OFD Sender: No OFD packet to send [19:22:59]OFD Sender: No OFD packet to send [19:23:04]OFD Sender: No OFD packet to send [19:23:09]OFD Sender: No OFD packet to send [19:23:14]OFD Sender: No OFD packet to send [19:23:19]OFD Sender: No OFD packet to send [19:23:24]OFD Sender: No OFD packet to send [19:23:29]OFD Sender: No OFD packet to send [19:23:34]OFD Sender: No OFD packet to send [19:23:39]OFD Sender: No OFD packet to send [19:23:44]OFD Sender: No OFD packet to send [19:23:49]OFD Sender: No OFD packet to send [19:23:54]OFD Sender: No OFD packet to send [19:23:59]OFD Sender: No OFD packet to send [19:24:04]OFD Sender: No OFD packet to send [19:24:09]OFD Sender: No OFD packet to send [19:24:14]OFD Sender: No OFD packet to send [19:24:19]OFD Sender: No OFD packet to send [19:24:24]OFD Sender: No OFD packet to send [19:24:29]OFD Sender: No OFD packet to send [19:24:34]OFD Sender: No OFD packet to send [19:24:39]OFD Sender: No OFD packet to send [19:24:44]OFD Sender: No OFD packet to send [19:24:49]OFD Sender: No OFD packet to send [19:24:54]OFD Sender: No OFD packet to send [19:24:59]OFD Sender: No OFD packet to send [19:25:04]OFD Sender: No OFD packet to send [19:25:09]OFD Sender: No OFD packet to send [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [19:25:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:14]OFD Sender: No OFD packet to send [19:27:19]OFD Sender: No OFD packet to send [19:27:24]OFD Sender: No OFD packet to send [19:27:29]OFD Sender: No OFD packet to send [19:27:34]OFD Sender: No OFD packet to send [19:27:39]OFD Sender: No OFD packet to send [19:27:44]OFD Sender: No OFD packet to send [19:27:49]OFD Sender: No OFD packet to send [19:27: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:07]accept exits with 8 [19:28:07]New connection [19:28:07]New thread 3067047268 created [19:28:07]Thread 3066903908 joined [19:28:07]Waiting for new connection... [19:28:07] Sock 8.Parse request [19:28:07]Sock 8.Check first char [19:28:07]Sock 8.First char is OK [19:28:07]request: POST /json_proto HTTP/1.0 [19:28:07]Method: POST [19:28:07]URL: /json_proto [19:28:07]Method is POST - this is cgi request [19:28:07]url: /json_proto [19:28:07]query_string will be loaded in cgi processing [19:28:07]execute_cgi json_proto POST (null) [19:28:07]execute_cgi path=json_proto method=POST [19:28:07]POST find Content-Length [19:28:07]Host: 172.17.62.196:8080 [19:28:07]Content-Length: 798 [19:28:07]Content-Type: application/json [19:28:07] [19:28:07]POST finish read [19:28:07]Found Content-Length = 798 [19:28:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16813", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:28:07]execute_script... [19:28: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)16813", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:28:07]POST & json_proto [19:28:07]process_json_proto [19:28:07]json parsed OK: [19:28:07]protocol is kg_v1.0 [19:28:07]action value=close_receipt [19:28:07]process_action close_receipt [19:28:07]cmd_close_receipt [19:28:07]MH_GetDate [19:28:07]Write to MH i2c: F0 00 00 C5 07 BB [19:28:07]Write i2c OK [19:28:07]MH_I2C_Read... [19:28:07]Read from MH i2c: F0 [19:28:07]MH_I2C_Read... [19:28:07]Read from MH i2c: F0 09 00 [19:28:07]MH_I2C_Read... [19:28:07]Read from MH i2c: F0 09 00 C5 07 00 CA 12 F3 66 CE CC 0E 66 07 [19:28:07]GetLastDocTimeStamp 1727205744 [19:28:07]current date 1727206090 [19:28:07]FM_GetShiftState [19:28:07]SAM_PROTO_GetShiftState [19:28:07]wFMCommunicate request_size=4 [19:28:07]MH_SAM_APDU [19:28:07]CAPDU: 80 13 01 00 [19:28:07]Write to MH i2c: E2 08 00 C6 07 80 13 01 00 00 00 00 00 4A [19:28:07]Write i2c OK [19:28:07]MH_I2C_Read... [19:28:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:28:07]Read from MH i2c: E2 [19:28:07]MH_I2C_Read... [19:28:07]Read from MH i2c: E2 0E 00 [19:28:07]MH_I2C_Read... [19:28:07]Read from MH i2c: E2 0E 00 C6 07 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 81 [19:28:07]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:28:07]wFMCommunicate OK [19:28:07]SAM_PROTO_GetShiftState done [19:28:07]FM_GetShiftState done [19:28:07]opened in 1727136720 [19:28:07]opened+sec_in_day 1727223120 [19:28:07]quantity*price = 15000 [19:28:07]sum+1 = 15001 [19:28:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 56 24.09.2024 19:28 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 18886 ФПД: 14556043880700 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T192810&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18886&fm=14556043880700&tin=02508201610067®Number=0000000000152968&sum=15000 0 [19:28:09]StoreToDocumentArchive [19:28:09]shift 182 fd 18886 [19:28:09]save to /storage/0182/doc_00018886 [19:28:09]save last doc name /storage/0182/doc_00018886 to /storage/kkm_last_doc_name [19:28:09]save OK [19:28:09]Clear old archive folders... [19:28:09]ProcessDocumentItem done err = 0, tmpTLVsize=274 [19:28:09]tlvbuf is 018452E0 [19:28:09]SAM_PROTO_ClearQueue [19:28:09]wFMCommunicate request_size=4 [19:28:09]MH_SAM_APDU [19:28:09]CAPDU: 80 09 00 00 [19:28:09]Write to MH i2c: E2 08 00 D3 07 80 09 00 00 00 00 00 00 4C [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:28:09]Read from MH i2c: E2 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 D3 07 00 90 00 4E [19:28:09]RAPDU: 90 00 [19:28:09]wFMCommunicate OK [19:28:09]SAM_PROTO_ClearQueue done [19:28:09]KKMCreateOFDPacket [19:28:09]OFDProtocolAddRootSTLVToBuf [19:28:09]FM_MakeSignedData [19:28:09]FM_MakeSignedData [19:28:09]SAM_PROTO_SignData [19:28:09]wFMCommunicate request_size=4 [19:28:09]MH_SAM_APDU [19:28:09]CAPDU: 80 0D 01 02 [19:28:09]Write to MH i2c: E2 08 00 D4 07 80 0D 01 02 00 00 00 00 54 [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:28:09]Read from MH i2c: E2 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 D4 07 00 90 00 4F [19:28:09]RAPDU: 90 00 [19:28:09]wFMCommunicate OK [19:28:09]wFMCommunicate request_size=255 [19:28:09]MH_SAM_APDU [19:28:09]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 CA 12 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [19:28:09]Write to MH i2c: E2 02 01 D5 07 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 CA 12 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 1A [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:28:09]Read from MH i2c: E2 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 D5 07 00 90 00 50 [19:28:09]RAPDU: 90 00 [19:28:09]wFMCommunicate OK [19:28:09]wFMCommunicate request_size=33 [19:28:09]MH_SAM_APDU [19:28:09]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C6 49 00 00 35 04 06 00 0D 3D 17 D3 28 FC [19:28:09]Write to MH i2c: E2 24 00 D6 07 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C6 49 00 00 35 04 06 00 0D 3D 17 D3 28 FC 00 00 53 [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:28:09]Read from MH i2c: E2 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 03 00 D6 07 00 90 00 51 [19:28:09]RAPDU: 90 00 [19:28:09]wFMCommunicate OK [19:28:09]wFMCommunicate request_size=4 [19:28:09]MH_SAM_APDU [19:28:09]CAPDU: 80 0D 03 02 [19:28:09]Write to MH i2c: E2 08 00 D7 07 80 0D 03 02 00 00 00 00 59 [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:28:09]Read from MH i2c: E2 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 0B 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 0B 00 D7 07 00 7D 94 F8 CF 6A 41 92 2E 90 00 9D [19:28:09]RAPDU: 7D 94 F8 CF 6A 41 92 2E 90 00 [19:28:09]wFMCommunicate OK [19:28:09]SAM_PROTO_SignData done [19:28:09]FM_MakeSignedData done [19:28:09]CreateOFDProtocolMessage [19:28:09]wFMCommunicate request_size=4 [19:28:09]MH_SAM_APDU [19:28:09]CAPDU: 80 11 00 00 [19:28:09]Write to MH i2c: E2 08 00 D8 07 80 11 00 00 00 00 00 00 59 [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:28:09]Read from MH i2c: E2 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 17 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: E2 17 00 D8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B2 [19:28:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:28:09]wFMCommunicate OK [19:28:09]CreateOFDProtocolMessage done [19:28:09]OFDSenderStorePacket 18886 [19:28:09]StoreOFDPacket docnum=18886 [19:28:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 77 AC 1E 01 2C FA 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 CA 12 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C6 49 00 00 35 04 06 00 0D 3D 17 D3 28 FC 7D 94 F8 CF 6A 41 92 2E [19:28:09]CheckFolder [19:28:09]dirname=/storage/ofd_packets [19:28:09]CheckFolder done [19:28:09]ProducePacketName [19:28:09]name=ofd_packets/00018886 [19:28:09]NVStorageSaveData ofd_packets/00018886 [19:28:09]File name is /storage/ofd_packets/00018886 [19:28:09]Write 324 bytes [19:28:09]NVStorageSaveData done [19:28:09]OFDSenderStorePacket done [19:28:09]KKMCreateOFDPacket done [19:28:09]NVStorageSaveData kkm_last_timestamp [19:28:09]File name is /storage/kkm_last_timestamp [19:28:09]Write 4 bytes [19:28:09]NVStorageSaveData done [19:28:09]ExternCall_PrintAddStr [19:28:09]wPrintStart [19:28:09]Write to MH i2c: 01 00 00 D9 07 E0 [19:28:09]Write i2c OK [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: 01 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: 01 07 00 [19:28:09]MH_I2C_Read... [19:28:09]Read from MH i2c: 01 07 00 D9 07 00 00 00 00 00 FF 0F F5 [19:28:09]RasterBufferAndPrint [19:28:09]line Счет N : (3)16813 [19:28:09]line ИНН: 02508201610067 [19:28:09]line Контрольно-Кассовый Чек [19:28:09]line ПРОДАЖА [19:28:09]line Товар: 4640030091645 [19:28:09]line Сигареты ESSE Exchange M [19:28:09]line 1.000 * 150.00 [19:28:09]line = 150.00 [19:28:09]line НДС 12% НСП 1% [19:28:09]line > о реализуемом товаре [19:28:09]line ИТОГО: 150.00 [19:28:09]line НСП 1% : 1.33 [19:28:09]line НДС 12% : 15.93 [19:28:09]line Наличными: 0.00 [19:28:09]line Безнал.: 150.00 [19:28:09]line Место: АЗС № 176 "Партнер Нефть" [19:28:09]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:28:09]line СНО: Общий режим [19:28:09]line Чек 56 24.09.2024 19:28 [19:28:09]line Смена: 182 ФФД: 1.0 [19:28:09]line ЗНМ: 0300000010 [19:28:09]line РНМ: 0000000000152968 [19:28:09]line Версия ККМ: v1.0 [19:28:09]line Платежная система: Бакай Банк [19:28:09]line ФМ: 0000000000959456 [19:28:09]line ФД: 18886 [19:28:09]line ФПД: 14556043880700 [19:28:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T192810&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18886&fm=14556043880700&tin=02508201610067®Number=0000000000152968&sum=15000 [19:28:09]line 0 [19:28:09]OFD Sender: Processing packet 18886 [packets to send 7, broken 6] [19:28:09]ProducePacketName [19:28:09]name=ofd_packets/00018886 [19:28:09]OFD Sender: To server: pG, [19:28:09]CommunicateWithHost lk.salyk.kg:30040 [19:28:09]ConnectInit lk.salyk.kg [19:28:09]written 0, free lines is 4095 [19:28:10]Connected sock=10 [19:28:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 77 AC 1E 01 2C FA 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 CA 12 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C6 49 00 00 35 04 06 00 0D 3D 17 D3 28 FC 7D 94 F8 CF 6A 41 92 2E [19:28:10]Write to MH i2c: 01 00 00 03 08 0B [19:28:10]Write i2c OK [19:28:10]MH_I2C_Read... [19:28:10]Read from MH i2c: 01 [19:28:10]MH_I2C_Read... [19:28:10]Read from MH i2c: 01 07 00 [19:28:10]MH_I2C_Read... [19:28:10]Read from MH i2c: 01 07 00 03 08 00 00 00 00 00 FF 0C 1D [19:28:10]RasterBufferAndPrint [19:28:10]line [19:28:10]line [19:28:10]line [19:28:10]line [19:28:10]line [19:28:10]written 0, free lines is 3333 [19:28:10]MH_Cut [19:28:10]Write to MH i2c: D1 01 00 0A 08 01 E4 [19:28:10]Write i2c OK [19:28:10]MH_I2C_Read... [19:28:10]Read from MH i2c: D1 [19:28:10]MH_I2C_Read... [19:28:10]Read from MH i2c: D1 01 00 [19:28:10]MH_I2C_Read... [19:28:10]Read from MH i2c: D1 01 00 0A 08 00 E3 [19:28:10]Write to MH i2c: 01 00 00 0B 08 13 [19:28:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 60 0D 47 00 A0 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C6 49 00 00 F4 03 04 00 29 BC F2 66 B6 04 01 00 00 F4 B1 08 7E 63 3E F5 E7 [19:28:10]CommunicateWithHost err = 0 [19:28:10]CheckOFDResponse [19:28:10]1017 (14) - 77093643461234 [19:28:10]1041 (16) - 0000000000959456 [19:28:10]1040 (4) - 18886 [19:28:10]1012 (4) - 24.09.2024 13:18 [19:28:10]1206 (1) - 0 [19:28:10]OFD Sender: Remove packet 18886 [19:28:10]ProducePacketName [19:28:10]name=ofd_packets/00018886 [19:28:10]NVStorageDeleteData [19:28:10]Write i2c OK [19:28:10]MH_I2C_Read... [19:28:10]OFD Sender: No OFD packet to send [19:28:11]*** Cut start [19:28:11]*** Partial cut [19:28:11]*** CUTSNS_PIN = 1 [19:28:11]*** CUTSNS_PIN = 0 [19:28:11]*** Brake cut motor [19:28:11]Read from MH i2c: 01 [19:28:11]MH_I2C_Read... [19:28:11]*** Stop cut motor [19:28:11]*** Cut end [19:28:11]Read from MH i2c: 01 07 00 [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: 01 07 00 0B 08 00 00 00 00 00 FF 0F 28 [19:28:11]process_action close_receipt done [19:28:11]requested_data is exist [19:28:11]produce_requested_data [19:28:11]requested_item fm.sn is exist - process it [19:28:11]wFMCommunicate request_size=4 [19:28:11]MH_SAM_APDU [19:28:11]CAPDU: 80 11 00 00 [19:28:11]Write to MH i2c: E2 08 00 0C 08 80 11 00 00 00 00 00 00 8E [19:28:11]Write i2c OK [19:28:11]MH_I2C_Read... [19:28:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:28:11]Read from MH i2c: E2 [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: E2 17 00 [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: E2 17 00 0C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E7 [19:28:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:28:11]wFMCommunicate OK [19:28:11]requested_item fd.num is exist - process it [19:28:11]SAM_PROTO_GetFieldsCounters [19:28:11]wFMCommunicate request_size=4 [19:28:11]MH_SAM_APDU [19:28:11]CAPDU: 80 13 00 00 [19:28:11]Write to MH i2c: E2 08 00 0D 08 80 13 00 00 00 00 00 00 91 [19:28:11]Write i2c OK [19:28:11]MH_I2C_Read... [19:28:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:28:11]Read from MH i2c: E2 [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: E2 62 00 [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: E2 62 00 0D 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C6 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [19:28:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C6 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:28:11]wFMCommunicate OK [19:28:11]SAM_PROTO_GetFieldsCounters done [19:28:11]requested_item shift.num is exist - process it [19:28:11]requested_item shift.opened is exist - process it [19:28:11]req_shift_opened [19:28:11]FM_GetShiftState [19:28:11]SAM_PROTO_GetShiftState [19:28:11]wFMCommunicate request_size=4 [19:28:11]MH_SAM_APDU [19:28:11]CAPDU: 80 13 01 00 [19:28:11]Write to MH i2c: E2 08 00 0E 08 80 13 01 00 00 00 00 00 93 [19:28:11]Write i2c OK [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: E2 [19:28:11]MH_I2C_Read... [19:28:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:28:11]Read from MH i2c: E2 0E 00 [19:28:11]MH_I2C_Read... [19:28:11]Read from MH i2c: E2 0E 00 0E 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 CA [19:28:11]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:28:11]wFMCommunicate OK [19:28:11]SAM_PROTO_GetShiftState done [19:28:11]FM_GetShiftState done [19:28:11]req_shift_opened done [19:28:11]requested_item shift.open_date is exist - process it [19:28:11]req_shift_open_date [19:28:11]req_shift_open_date done [19:28:11]produce_requested_data done [19:28:11]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18886,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:28:11]process_action_free close_receipt [19:28:11]json_value_free [19:28:11]json_value_free done [19:28:11]process_json_proto returns [19:28:11]Send response to host [19:28:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18886,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:28:11]free response buf [19:28:11]execute_script done [19:28:11]execute_script returns [19:28:11]free content buf [19:28:11]Sock 8.Close socket [19:28:11]Sock 8.Thread stoped [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:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:06]accept exits with 9 [19:42:06]New connection [19:42:06]New thread 3066903908 created [19:42:06]Thread 3067047268 joined [19:42:06]Waiting for new connection... [19:42:06] Sock 9.Parse request [19:42:06]Sock 9.Check first char [19:42:06]Sock 9.First char is OK [19:42:06]request: POST /json_proto HTTP/1.0 [19:42:06]Method: POST [19:42:06]URL: /json_proto [19:42:06]Method is POST - this is cgi request [19:42:06]url: /json_proto [19:42:06]query_string will be loaded in cgi processing [19:42:06]execute_cgi json_proto POST (null) [19:42:06]execute_cgi path=json_proto method=POST [19:42:06]POST find Content-Length [19:42:06]Host: 172.17.62.196:8080 [19:42:06]Content-Length: 759 [19:42:06]Content-Type: application/json [19:42:06] [19:42:06]POST finish read [19:42:06]Found Content-Length = 759 [19:42:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16814", "tax_sys" : 0, "items" : [ { "code": "40099484", "name": "\u0416\u0435\u0432 Orbit White \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:06]execute_script... [19:42:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16814", "tax_sys" : 0, "items" : [ { "code": "40099484", "name": "\u0416\u0435\u0432 Orbit White \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:06]POST & json_proto [19:42:06]process_json_proto [19:42:06]json parsed OK: [19:42:06]protocol is kg_v1.0 [19:42:06]action value=close_receipt [19:42:06]process_action close_receipt [19:42:06]cmd_close_receipt [19:42:06]MH_GetDate [19:42:06]Write to MH i2c: F0 00 00 0F 08 06 [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: F0 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: F0 09 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: F0 09 00 0F 08 00 11 16 F3 66 CE CC 0E 66 9D [19:42:06]GetLastDocTimeStamp 1727206090 [19:42:06]current date 1727206929 [19:42:06]FM_GetShiftState [19:42:06]SAM_PROTO_GetShiftState [19:42:06]wFMCommunicate request_size=4 [19:42:06]MH_SAM_APDU [19:42:06]CAPDU: 80 13 01 00 [19:42:06]Write to MH i2c: E2 08 00 10 08 80 13 01 00 00 00 00 00 95 [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:06]Read from MH i2c: E2 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 0E 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 0E 00 10 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 CC [19:42:06]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:42:06]wFMCommunicate OK [19:42:06]SAM_PROTO_GetShiftState done [19:42:06]FM_GetShiftState done [19:42:06]opened in 1727136720 [19:42:06]opened+sec_in_day 1727223120 [19:42:06]quantity*price = 4500 [19:42:06]sum+1 = 4501 [19:42:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 57 24.09.2024 19:42 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18887 ФПД: 68751260242059 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194209&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18887&fm=68751260242059&tin=02508201610067®Number=0000000000152968&sum=4500 0 [19:42:08]StoreToDocumentArchive [19:42:08]shift 182 fd 18887 [19:42:08]save to /storage/0182/doc_00018887 [19:42:08]save last doc name /storage/0182/doc_00018887 to /storage/kkm_last_doc_name [19:42:08]save OK [19:42:08]Clear old archive folders... [19:42:08]ProcessDocumentItem done err = 0, tmpTLVsize=262 [19:42:08]tlvbuf is 0185EC50 [19:42:08]SAM_PROTO_ClearQueue [19:42:08]wFMCommunicate request_size=4 [19:42:08]MH_SAM_APDU [19:42:08]CAPDU: 80 09 00 00 [19:42:08]Write to MH i2c: E2 08 00 1D 08 80 09 00 00 00 00 00 00 97 [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:08]Read from MH i2c: E2 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 1D 08 00 90 00 99 [19:42:08]RAPDU: 90 00 [19:42:08]wFMCommunicate OK [19:42:08]SAM_PROTO_ClearQueue done [19:42:08]KKMCreateOFDPacket [19:42:08]OFDProtocolAddRootSTLVToBuf [19:42:08]FM_MakeSignedData [19:42:08]FM_MakeSignedData [19:42:08]SAM_PROTO_SignData [19:42:08]wFMCommunicate request_size=4 [19:42:08]MH_SAM_APDU [19:42:08]CAPDU: 80 0D 01 02 [19:42:08]Write to MH i2c: E2 08 00 1E 08 80 0D 01 02 00 00 00 00 9F [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:08]Read from MH i2c: E2 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 1E 08 00 90 00 9A [19:42:08]RAPDU: 90 00 [19:42:08]wFMCommunicate OK [19:42:08]wFMCommunicate request_size=255 [19:42:08]MH_SAM_APDU [19:42:08]CAPDU: 80 0D 02 02 FA 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 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 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 39 00 00 00 F4 03 04 00 11 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 [19:42:08]Write to MH i2c: E2 02 01 1F 08 80 0D 02 02 FA 00 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 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 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 39 00 00 00 F4 03 04 00 11 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 00 00 30 [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:08]Read from MH i2c: E2 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 1F 08 00 90 00 9B [19:42:08]RAPDU: 90 00 [19:42:08]wFMCommunicate OK [19:42:08]wFMCommunicate request_size=21 [19:42:08]MH_SAM_APDU [19:42:08]CAPDU: 80 0D 02 02 10 04 00 C7 49 00 00 35 04 06 00 3E 87 66 71 D0 8B [19:42:08]Write to MH i2c: E2 18 00 20 08 80 0D 02 02 10 00 04 00 C7 49 00 00 35 04 06 00 3E 87 66 71 D0 8B 00 00 0C [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:08]Read from MH i2c: E2 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 03 00 20 08 00 90 00 9C [19:42:08]RAPDU: 90 00 [19:42:08]wFMCommunicate OK [19:42:08]wFMCommunicate request_size=4 [19:42:08]MH_SAM_APDU [19:42:08]CAPDU: 80 0D 03 02 [19:42:08]Write to MH i2c: E2 08 00 21 08 80 0D 03 02 00 00 00 00 A4 [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:08]Read from MH i2c: E2 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 0B 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 0B 00 21 08 00 87 99 9C C3 B0 AE 53 31 90 00 06 [19:42:08]RAPDU: 87 99 9C C3 B0 AE 53 31 90 00 [19:42:08]wFMCommunicate OK [19:42:08]SAM_PROTO_SignData done [19:42:08]FM_MakeSignedData done [19:42:08]CreateOFDProtocolMessage [19:42:08]wFMCommunicate request_size=4 [19:42:08]MH_SAM_APDU [19:42:08]CAPDU: 80 11 00 00 [19:42:08]Write to MH i2c: E2 08 00 22 08 80 11 00 00 00 00 00 00 A4 [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:08]Read from MH i2c: E2 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 17 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: E2 17 00 22 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FD [19:42:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:42:08]wFMCommunicate OK [19:42:08]CreateOFDProtocolMessage done [19:42:08]OFDSenderStorePacket 18887 [19:42:08]StoreOFDPacket docnum=18887 [19:42:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1A 01 00 00 FD 49 12 01 D3 98 5A 03 01 00 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 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 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 39 00 00 00 F4 03 04 00 11 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C7 49 00 00 35 04 06 00 3E 87 66 71 D0 8B 87 99 9C C3 B0 AE 53 31 [19:42:08]CheckFolder [19:42:08]dirname=/storage/ofd_packets [19:42:08]CheckFolder done [19:42:08]ProducePacketName [19:42:08]name=ofd_packets/00018887 [19:42:08]NVStorageSaveData ofd_packets/00018887 [19:42:08]File name is /storage/ofd_packets/00018887 [19:42:08]Write 312 bytes [19:42:08]NVStorageSaveData done [19:42:08]OFDSenderStorePacket done [19:42:08]KKMCreateOFDPacket done [19:42:08]NVStorageSaveData kkm_last_timestamp [19:42:08]File name is /storage/kkm_last_timestamp [19:42:08]Write 4 bytes [19:42:08]NVStorageSaveData done [19:42:08]ExternCall_PrintAddStr [19:42:08]wPrintStart [19:42:08]Write to MH i2c: 01 00 00 23 08 2B [19:42:08]Write i2c OK [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: 01 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: 01 07 00 [19:42:08]MH_I2C_Read... [19:42:08]Read from MH i2c: 01 07 00 23 08 00 00 00 00 00 FF 0F 40 [19:42:08]RasterBufferAndPrint [19:42:08]line Счет N : (3)16814 [19:42:08]line ИНН: 02508201610067 [19:42:08]line Контрольно-Кассовый Чек [19:42:08]line ПРОДАЖА [19:42:08]line Товар: 40099484 [19:42:08]line Жев Orbit White под [19:42:08]line 1.000 * 45.00 [19:42:08]line = 45.00 [19:42:08]line НДС 12% НСП 1% [19:42:08]line > о реализуемом товаре [19:42:08]line ИТОГО: 45.00 [19:42:08]line НСП 1% : 0.40 [19:42:08]line НДС 12% : 4.78 [19:42:08]line Наличными: 0.00 [19:42:08]line Безнал.: 45.00 [19:42:08]line Место: АЗС № 176 "Партнер Нефть" [19:42:08]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:42:08]line СНО: Общий режим [19:42:08]line Чек 57 24.09.2024 19:42 [19:42:08]line Смена: 182 ФФД: 1.0 [19:42:08]line ЗНМ: 0300000010 [19:42:08]line РНМ: 0000000000152968 [19:42:08]line Версия ККМ: v1.0 [19:42:08]line Платежная система: O! деньги [19:42:08]line ФМ: 0000000000959456 [19:42:08]line ФД: 18887 [19:42:08]line ФПД: 68751260242059 [19:42:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194209&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18887&fm=68751260242059&tin=02508201610067®Number=0000000000152968&sum=4500 [19:42:08]line 0 [19:42:08]OFD Sender: Processing packet 18887 [packets to send 7, broken 6] [19:42:08]ProducePacketName [19:42:08]name=ofd_packets/00018887 [19:42:08]OFD Sender: To server: pG, [19:42:08]CommunicateWithHost lk.salyk.kg:30040 [19:42:08]ConnectInit lk.salyk.kg [19:42:08]written 0, free lines is 4095 [19:42:09]Connected sock=10 [19:42:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1A 01 00 00 FD 49 12 01 D3 98 5A 03 01 00 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 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 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 39 00 00 00 F4 03 04 00 11 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C7 49 00 00 35 04 06 00 3E 87 66 71 D0 8B 87 99 9C C3 B0 AE 53 31 [19:42:09]Write to MH i2c: 01 00 00 4D 08 55 [19:42:09]Write i2c OK [19:42:09]MH_I2C_Read... [19:42:09]Read from MH i2c: 01 [19:42:09]MH_I2C_Read... [19:42:09]Read from MH i2c: 01 07 00 [19:42:09]MH_I2C_Read... [19:42:09]Read from MH i2c: 01 07 00 4D 08 00 00 00 00 00 00 0D 69 [19:42:09]RasterBufferAndPrint [19:42:09]line [19:42:09]line [19:42:09]line [19:42:09]line [19:42:09]line [19:42:09]written 0, free lines is 3333 [19:42:09]MH_Cut [19:42:09]Write to MH i2c: D1 01 00 54 08 01 2E [19:42:09]Write i2c OK [19:42:09]MH_I2C_Read... [19:42:09]Read from MH i2c: D1 [19:42:09]MH_I2C_Read... [19:42:09]Read from MH i2c: D1 01 00 [19:42:09]MH_I2C_Read... [19:42:09]Read from MH i2c: D1 01 00 54 08 00 2D [19:42:09]Write to MH i2c: 01 00 00 55 08 5D [19:42:09]Write i2c OK [19:42:09]MH_I2C_Read... [19:42:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2B 01 47 00 36 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C7 49 00 00 F4 03 04 00 71 BF F2 66 B6 04 01 00 00 51 98 9E B8 2D AF A5 17 [19:42:09]CommunicateWithHost err = 0 [19:42:09]CheckOFDResponse [19:42:09]1017 (14) - 77093643461234 [19:42:09]1041 (16) - 0000000000959456 [19:42:09]1040 (4) - 18887 [19:42:09]1012 (4) - 24.09.2024 13:32 [19:42:09]1206 (1) - 0 [19:42:09]OFD Sender: Remove packet 18887 [19:42:09]ProducePacketName [19:42:09]name=ofd_packets/00018887 [19:42:09]NVStorageDeleteData [19:42:09]OFD Sender: No OFD packet to send [19:42:10]*** Cut start [19:42:10]*** Partial cut [19:42:10]*** CUTSNS_PIN = 1 [19:42:10]*** CUTSNS_PIN = 0 [19:42:10]*** Brake cut motor [19:42:10]Read from MH i2c: 01 [19:42:10]MH_I2C_Read... [19:42:10]*** Stop cut motor [19:42:10]*** Cut end [19:42:10]Read from MH i2c: 01 07 00 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: 01 07 00 55 08 00 00 00 00 00 FF 0F 72 [19:42:10]process_action close_receipt done [19:42:10]requested_data is exist [19:42:10]produce_requested_data [19:42:10]requested_item fm.sn is exist - process it [19:42:10]wFMCommunicate request_size=4 [19:42:10]MH_SAM_APDU [19:42:10]CAPDU: 80 11 00 00 [19:42:10]Write to MH i2c: E2 08 00 56 08 80 11 00 00 00 00 00 00 D8 [19:42:10]Write i2c OK [19:42:10]MH_I2C_Read... [19:42:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:10]Read from MH i2c: E2 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: E2 17 00 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: E2 17 00 56 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 31 [19:42:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:42:10]wFMCommunicate OK [19:42:10]requested_item fd.num is exist - process it [19:42:10]SAM_PROTO_GetFieldsCounters [19:42:10]wFMCommunicate request_size=4 [19:42:10]MH_SAM_APDU [19:42:10]CAPDU: 80 13 00 00 [19:42:10]Write to MH i2c: E2 08 00 57 08 80 13 00 00 00 00 00 00 DB [19:42:10]Write i2c OK [19:42:10]MH_I2C_Read... [19:42:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:10]Read from MH i2c: E2 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: E2 62 00 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: E2 62 00 57 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 79 [19:42:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:10]wFMCommunicate OK [19:42:10]SAM_PROTO_GetFieldsCounters done [19:42:10]requested_item shift.num is exist - process it [19:42:10]requested_item shift.opened is exist - process it [19:42:10]req_shift_opened [19:42:10]FM_GetShiftState [19:42:10]SAM_PROTO_GetShiftState [19:42:10]wFMCommunicate request_size=4 [19:42:10]MH_SAM_APDU [19:42:10]CAPDU: 80 13 01 00 [19:42:10]Write to MH i2c: E2 08 00 58 08 80 13 01 00 00 00 00 00 DD [19:42:10]Write i2c OK [19:42:10]MH_I2C_Read... [19:42:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:10]Read from MH i2c: E2 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: E2 0E 00 [19:42:10]MH_I2C_Read... [19:42:10]Read from MH i2c: E2 0E 00 58 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 14 [19:42:10]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:42:10]wFMCommunicate OK [19:42:10]SAM_PROTO_GetShiftState done [19:42:10]FM_GetShiftState done [19:42:10]req_shift_opened done [19:42:10]requested_item shift.open_date is exist - process it [19:42:10]req_shift_open_date [19:42:10]req_shift_open_date done [19:42:10]produce_requested_data done [19:42:10]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18887,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:42:10]process_action_free close_receipt [19:42:10]json_value_free [19:42:10]json_value_free done [19:42:10]process_json_proto returns [19:42:10]Send response to host [19:42:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18887,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:42:10]free response buf [19:42:10]execute_script done [19:42:10]execute_script returns [19:42:10]free content buf [19:42:10]Sock 9.Close socket [19:42:10]Sock 9.Thread stoped [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:46]accept exits with 8 [19:43:46]New connection [19:43:46]New thread 3067047268 created [19:43:46]Thread 3066903908 joined [19:43:46]Waiting for new connection... [19:43:46] Sock 8.Parse request [19:43:46]Sock 8.Check first char [19:43:46]Sock 8.First char is OK [19:43:46]request: POST /json_proto HTTP/1.0 [19:43:46]Method: POST [19:43:46]URL: /json_proto [19:43:46]Method is POST - this is cgi request [19:43:46]url: /json_proto [19:43:46]query_string will be loaded in cgi processing [19:43:46]execute_cgi json_proto POST (null) [19:43:46]execute_cgi path=json_proto method=POST [19:43:46]POST find Content-Length [19:43:46]Host: 172.17.62.196:8080 [19:43:46]Content-Length: 695 [19:43:46]Content-Type: application/json [19:43:46] [19:43:46]POST finish read [19:43:46]Found Content-Length = 695 [19:43:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16815", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:43:46]execute_script... [19:43: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)16815", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:43:46]POST & json_proto [19:43:46]process_json_proto [19:43:46]json parsed OK: [19:43:46]protocol is kg_v1.0 [19:43:46]action value=close_receipt [19:43:46]process_action close_receipt [19:43:46]cmd_close_receipt [19:43:46]MH_GetDate [19:43:46]Write to MH i2c: F0 00 00 59 08 50 [19:43:46]Write i2c OK [19:43:46]MH_I2C_Read... [19:43:46]Read from MH i2c: F0 [19:43:46]MH_I2C_Read... [19:43:46]Read from MH i2c: F0 09 00 [19:43:46]MH_I2C_Read... [19:43:46]Read from MH i2c: F0 09 00 59 08 00 75 16 F3 66 CE CC 0E 66 4B [19:43:46]GetLastDocTimeStamp 1727206929 [19:43:46]current date 1727207029 [19:43:46]FM_GetShiftState [19:43:46]SAM_PROTO_GetShiftState [19:43:46]wFMCommunicate request_size=4 [19:43:46]MH_SAM_APDU [19:43:46]CAPDU: 80 13 01 00 [19:43:46]Write to MH i2c: E2 08 00 5A 08 80 13 01 00 00 00 00 00 DF [19:43:46]Write i2c OK [19:43:46]MH_I2C_Read... [19:43:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:46]Read from MH i2c: E2 [19:43:46]MH_I2C_Read... [19:43:46]Read from MH i2c: E2 0E 00 [19:43:46]MH_I2C_Read... [19:43:46]Read from MH i2c: E2 0E 00 5A 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 16 [19:43:46]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:43:46]wFMCommunicate OK [19:43:46]SAM_PROTO_GetShiftState done [19:43:46]FM_GetShiftState done [19:43:46]opened in 1727136720 [19:43:46]opened+sec_in_day 1727223120 [19:43:46]quantity*price = 9500 [19:43:46]sum+1 = 9501 [19:43:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 58 24.09.2024 19:43 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18888 ФПД: 3724847654185 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194349&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18888&fm=3724847654185&tin=02508201610067®Number=0000000000152968&sum=9500 0 [19:43:48]StoreToDocumentArchive [19:43:48]shift 182 fd 18888 [19:43:48]save to /storage/0182/doc_00018888 [19:43:48]save last doc name /storage/0182/doc_00018888 to /storage/kkm_last_doc_name [19:43:48]save OK [19:43:48]Clear old archive folders... [19:43:48]ProcessDocumentItem done err = 0, tmpTLVsize=299 [19:43:48]tlvbuf is 01811D20 [19:43:48]SAM_PROTO_ClearQueue [19:43:48]wFMCommunicate request_size=4 [19:43:48]MH_SAM_APDU [19:43:48]CAPDU: 80 09 00 00 [19:43:48]Write to MH i2c: E2 08 00 67 08 80 09 00 00 00 00 00 00 E1 [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:43:48]Read from MH i2c: E2 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 67 08 00 90 00 E3 [19:43:48]RAPDU: 90 00 [19:43:48]wFMCommunicate OK [19:43:48]SAM_PROTO_ClearQueue done [19:43:48]KKMCreateOFDPacket [19:43:48]OFDProtocolAddRootSTLVToBuf [19:43:48]FM_MakeSignedData [19:43:48]FM_MakeSignedData [19:43:48]SAM_PROTO_SignData [19:43:48]wFMCommunicate request_size=4 [19:43:48]MH_SAM_APDU [19:43:48]CAPDU: 80 0D 01 02 [19:43:48]Write to MH i2c: E2 08 00 68 08 80 0D 01 02 00 00 00 00 E9 [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:43:48]Read from MH i2c: E2 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 68 08 00 90 00 E4 [19:43:48]RAPDU: 90 00 [19:43:48]wFMCommunicate OK [19:43:48]wFMCommunicate request_size=255 [19:43:48]MH_SAM_APDU [19:43:48]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 75 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [19:43:48]Write to MH i2c: E2 02 01 69 08 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 75 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 EE [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:43:48]Read from MH i2c: E2 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 69 08 00 90 00 E5 [19:43:48]RAPDU: 90 00 [19:43:48]wFMCommunicate OK [19:43:48]wFMCommunicate request_size=58 [19:43:48]MH_SAM_APDU [19:43:48]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C8 49 00 00 35 04 06 00 03 63 42 38 A5 29 [19:43:48]Write to MH i2c: E2 3D 00 6A 08 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C8 49 00 00 35 04 06 00 03 63 42 38 A5 29 00 00 A6 [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:43:48]Read from MH i2c: E2 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 03 00 6A 08 00 90 00 E6 [19:43:48]RAPDU: 90 00 [19:43:48]wFMCommunicate OK [19:43:48]wFMCommunicate request_size=4 [19:43:48]MH_SAM_APDU [19:43:48]CAPDU: 80 0D 03 02 [19:43:48]Write to MH i2c: E2 08 00 6B 08 80 0D 03 02 00 00 00 00 EE [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:43:48]Read from MH i2c: E2 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 0B 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 0B 00 6B 08 00 D8 57 AB C5 95 4F 8B F5 90 00 F2 [19:43:48]RAPDU: D8 57 AB C5 95 4F 8B F5 90 00 [19:43:48]wFMCommunicate OK [19:43:48]SAM_PROTO_SignData done [19:43:48]FM_MakeSignedData done [19:43:48]CreateOFDProtocolMessage [19:43:48]wFMCommunicate request_size=4 [19:43:48]MH_SAM_APDU [19:43:48]CAPDU: 80 11 00 00 [19:43:48]Write to MH i2c: E2 08 00 6C 08 80 11 00 00 00 00 00 00 EE [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:48]Read from MH i2c: E2 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 17 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: E2 17 00 6C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 47 [19:43:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:43:48]wFMCommunicate OK [19:43:48]CreateOFDProtocolMessage done [19:43:48]OFDSenderStorePacket 18888 [19:43:48]StoreOFDPacket docnum=18888 [19:43:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 B2 F4 37 01 E5 40 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 75 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C8 49 00 00 35 04 06 00 03 63 42 38 A5 29 D8 57 AB C5 95 4F 8B F5 [19:43:48]CheckFolder [19:43:48]dirname=/storage/ofd_packets [19:43:48]CheckFolder done [19:43:48]ProducePacketName [19:43:48]name=ofd_packets/00018888 [19:43:48]NVStorageSaveData ofd_packets/00018888 [19:43:48]File name is /storage/ofd_packets/00018888 [19:43:48]Write 349 bytes [19:43:48]NVStorageSaveData done [19:43:48]OFDSenderStorePacket done [19:43:48]KKMCreateOFDPacket done [19:43:48]NVStorageSaveData kkm_last_timestamp [19:43:48]File name is /storage/kkm_last_timestamp [19:43:48]Write 4 bytes [19:43:48]NVStorageSaveData done [19:43:48]ExternCall_PrintAddStr [19:43:48]wPrintStart [19:43:48]Write to MH i2c: 01 00 00 6D 08 75 [19:43:48]Write i2c OK [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: 01 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: 01 07 00 [19:43:48]MH_I2C_Read... [19:43:48]Read from MH i2c: 01 07 00 6D 08 00 00 00 00 00 FF 0F 8A [19:43:48]RasterBufferAndPrint [19:43:48]line Счет N : (3)16815 [19:43:48]line ИНН: 02508201610067 [19:43:48]line Контрольно-Кассовый Чек [19:43:48]line ПРОДАЖА [19:43:48]line Товар: 4700000480364 [19:43:48]line Напиток энерг Nitro экзотик 0.45 ж/б [19:43:48]line 1.000 * 95.00 [19:43:48]line = 95.00 [19:43:48]line НДС 12% НСП 1% [19:43:48]line > о реализуемом товаре [19:43:48]line ИТОГО: 95.00 [19:43:48]line НСП 1% : 0.84 [19:43:48]line НДС 12% : 10.09 [19:43:48]line Наличными: 95.00 [19:43:48]line Безнал.: 0.00 [19:43:48]line Место: АЗС № 176 "Партнер Нефть" [19:43:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:43:48]line СНО: Общий режим [19:43:48]line Чек 58 24.09.2024 19:43 [19:43:48]line Смена: 182 ФФД: 1.0 [19:43:48]line ЗНМ: 0300000010 [19:43:48]line РНМ: 0000000000152968 [19:43:48]line Версия ККМ: v1.0 [19:43:48]line ФМ: 0000000000959456 [19:43:48]line ФД: 18888 [19:43:48]line ФПД: 3724847654185 [19:43:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194349&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18888&fm=3724847654185&tin=02508201610067®Number=0000000000152968&sum=9500 [19:43:48]line 0 [19:43:48]OFD Sender: Processing packet 18888 [packets to send 7, broken 6] [19:43:48]ProducePacketName [19:43:48]name=ofd_packets/00018888 [19:43:48]OFD Sender: To server: pG, [19:43:48]CommunicateWithHost lk.salyk.kg:30040 [19:43:48]ConnectInit lk.salyk.kg [19:43:48]written 0, free lines is 4095 [19:43:49]Connected sock=10 [19:43:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 B2 F4 37 01 E5 40 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 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 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 75 16 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C8 49 00 00 35 04 06 00 03 63 42 38 A5 29 D8 57 AB C5 95 4F 8B F5 [19:43:49]Write to MH i2c: 01 00 00 96 08 9E [19:43:49]Write i2c OK [19:43:49]MH_I2C_Read... [19:43:49]Read from MH i2c: 01 [19:43:49]MH_I2C_Read... [19:43:49]Read from MH i2c: 01 07 00 [19:43:49]MH_I2C_Read... [19:43:49]Read from MH i2c: 01 07 00 96 08 00 00 00 00 00 15 0D C7 [19:43:49]RasterBufferAndPrint [19:43:49]line [19:43:49]line [19:43:49]line [19:43:49]line [19:43:49]line [19:43:49]written 0, free lines is 3356 [19:43:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 BF 5A 47 00 16 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C8 49 00 00 F4 03 04 00 D4 BF F2 66 B6 04 01 00 00 39 A5 E2 B0 89 1F 2C 53 [19:43:49]CommunicateWithHost err = 0 [19:43:49]CheckOFDResponse [19:43:49]1017 (14) - 77093643461234 [19:43:49]1041 (16) - 0000000000959456 [19:43:49]1040 (4) - 18888 [19:43:49]1012 (4) - 24.09.2024 13:34 [19:43:49]1206 (1) - 0 [19:43:49]OFD Sender: Remove packet 18888 [19:43:49]ProducePacketName [19:43:49]name=ofd_packets/00018888 [19:43:49]NVStorageDeleteData [19:43:49]MH_Cut [19:43:49]Write to MH i2c: D1 01 00 9D 08 01 77 [19:43:49]Write i2c OK [19:43:49]MH_I2C_Read... [19:43:49]Read from MH i2c: D1 [19:43:49]MH_I2C_Read... [19:43:49]Read from MH i2c: D1 01 00 [19:43:49]MH_I2C_Read... [19:43:49]Read from MH i2c: D1 01 00 9D 08 00 76 [19:43:49]Write to MH i2c: 01 00 00 9E 08 A6 [19:43:49]Write i2c OK [19:43:49]MH_I2C_Read... [19:43:49]OFD Sender: No OFD packet to send [19:43:50]*** Cut start [19:43:50]*** Partial cut [19:43:50]*** CUTSNS_PIN = 1 [19:43:50]*** CUTSNS_PIN = 0 [19:43:50]*** Brake cut motor [19:43:50]Read from MH i2c: 01 [19:43:50]MH_I2C_Read... [19:43:50]*** Stop cut motor [19:43:50]*** Cut end [19:43:50]Read from MH i2c: 01 07 00 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: 01 07 00 9E 08 00 00 00 00 00 FF 0F BB [19:43:50]process_action close_receipt done [19:43:50]requested_data is exist [19:43:50]produce_requested_data [19:43:50]requested_item fm.sn is exist - process it [19:43:50]wFMCommunicate request_size=4 [19:43:50]MH_SAM_APDU [19:43:50]CAPDU: 80 11 00 00 [19:43:50]Write to MH i2c: E2 08 00 9F 08 80 11 00 00 00 00 00 00 21 [19:43:50]Write i2c OK [19:43:50]MH_I2C_Read... [19:43:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:50]Read from MH i2c: E2 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: E2 17 00 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: E2 17 00 9F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7A [19:43:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:43:50]wFMCommunicate OK [19:43:50]requested_item fd.num is exist - process it [19:43:50]SAM_PROTO_GetFieldsCounters [19:43:50]wFMCommunicate request_size=4 [19:43:50]MH_SAM_APDU [19:43:50]CAPDU: 80 13 00 00 [19:43:50]Write to MH i2c: E2 08 00 A0 08 80 13 00 00 00 00 00 00 24 [19:43:50]Write i2c OK [19:43:50]MH_I2C_Read... [19:43:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:43:50]Read from MH i2c: E2 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: E2 62 00 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: E2 62 00 A0 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 C6 [19:43:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:43:50]wFMCommunicate OK [19:43:50]SAM_PROTO_GetFieldsCounters done [19:43:50]requested_item shift.num is exist - process it [19:43:50]requested_item shift.opened is exist - process it [19:43:50]req_shift_opened [19:43:50]FM_GetShiftState [19:43:50]SAM_PROTO_GetShiftState [19:43:50]wFMCommunicate request_size=4 [19:43:50]MH_SAM_APDU [19:43:50]CAPDU: 80 13 01 00 [19:43:50]Write to MH i2c: E2 08 00 A1 08 80 13 01 00 00 00 00 00 26 [19:43:50]Write i2c OK [19:43:50]MH_I2C_Read... [19:43:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:50]Read from MH i2c: E2 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: E2 0E 00 [19:43:50]MH_I2C_Read... [19:43:50]Read from MH i2c: E2 0E 00 A1 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5D [19:43:50]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:43:50]wFMCommunicate OK [19:43:50]SAM_PROTO_GetShiftState done [19:43:50]FM_GetShiftState done [19:43:50]req_shift_opened done [19:43:50]requested_item shift.open_date is exist - process it [19:43:50]req_shift_open_date [19:43:50]req_shift_open_date done [19:43:50]produce_requested_data done [19:43:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18888,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:43:50]process_action_free close_receipt [19:43:50]json_value_free [19:43:50]json_value_free done [19:43:50]process_json_proto returns [19:43:50]Send response to host [19:43:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18888,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:43:50]free response buf [19:43:50]execute_script done [19:43:50]execute_script returns [19:43:50]free content buf [19:43:50]Sock 8.Close socket [19:43:50]Sock 8.Thread stoped [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45: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:39]accept exits with 9 [19:46:39]New connection [19:46:39]New thread 3066903908 created [19:46:39]Thread 3067047268 joined [19:46:39]Waiting for new connection... [19:46:39] Sock 9.Parse request [19:46:39]Sock 9.Check first char [19:46:39]Sock 9.First char is OK [19:46:39]request: POST /json_proto HTTP/1.0 [19:46:39]Method: POST [19:46:39]URL: /json_proto [19:46:39]Method is POST - this is cgi request [19:46:39]url: /json_proto [19:46:39]query_string will be loaded in cgi processing [19:46:39]execute_cgi json_proto POST (null) [19:46:39]execute_cgi path=json_proto method=POST [19:46:39]POST find Content-Length [19:46:39]Host: 172.17.62.196:8080 [19:46:39]Content-Length: 682 [19:46:39]Content-Type: application/json [19:46:39] [19:46:39]POST finish read [19:46:39]Found Content-Length = 682 [19:46:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117161", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 2.650, "sum" : 200.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:46:39]execute_script... [19:46:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117161", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 2.650, "sum" : 200.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:46:39]POST & json_proto [19:46:39]process_json_proto [19:46:39]json parsed OK: [19:46:39]protocol is kg_v1.0 [19:46:39]action value=close_receipt [19:46:39]process_action close_receipt [19:46:39]cmd_close_receipt [19:46:39]MH_GetDate [19:46:39]Write to MH i2c: F0 00 00 A2 08 99 [19:46:39]Write i2c OK [19:46:39]MH_I2C_Read... [19:46:39]Read from MH i2c: F0 [19:46:39]MH_I2C_Read... [19:46:39]Read from MH i2c: F0 09 00 [19:46:39]MH_I2C_Read... [19:46:39]Read from MH i2c: F0 09 00 A2 08 00 21 17 F3 66 CE CC 0E 66 41 [19:46:39]GetLastDocTimeStamp 1727207029 [19:46:39]current date 1727207201 [19:46:39]FM_GetShiftState [19:46:39]SAM_PROTO_GetShiftState [19:46:39]wFMCommunicate request_size=4 [19:46:39]MH_SAM_APDU [19:46:39]CAPDU: 80 13 01 00 [19:46:39]Write to MH i2c: E2 08 00 A3 08 80 13 01 00 00 00 00 00 28 [19:46:39]Write i2c OK [19:46:39]MH_I2C_Read... [19:46:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:39]Read from MH i2c: E2 [19:46:39]MH_I2C_Read... [19:46:39]Read from MH i2c: E2 0E 00 [19:46:39]MH_I2C_Read... [19:46:39]Read from MH i2c: E2 0E 00 A3 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5F [19:46:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:46:39]wFMCommunicate OK [19:46:39]SAM_PROTO_GetShiftState done [19:46:39]FM_GetShiftState done [19:46:39]opened in 1727136720 [19:46:39]opened+sec_in_day 1727223120 [19:46:39]quantity*price = 20060 [19:46:39]sum+1 = 20062 [19:46:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.30 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 59 24.09.2024 19:46 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18889 ФПД: 268326505945193 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194641&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18889&fm=268326505945193&tin=02508201610067®Number=0000000000152968&sum=20000 [19:46:40]StoreToDocumentArchive [19:46:40]shift 182 fd 18889 [19:46:40]save to /storage/0182/doc_00018889 [19:46:40]save last doc name /storage/0182/doc_00018889 to /storage/kkm_last_doc_name [19:46:40]save OK [19:46:40]Clear old archive folders... [19:46:40]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:46:40]tlvbuf is 01831750 [19:46:40]SAM_PROTO_ClearQueue [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 09 00 00 [19:46:40]Write to MH i2c: E2 08 00 B0 08 80 09 00 00 00 00 00 00 2A [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B0 08 00 90 00 2C [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]SAM_PROTO_ClearQueue done [19:46:40]KKMCreateOFDPacket [19:46:40]OFDProtocolAddRootSTLVToBuf [19:46:40]FM_MakeSignedData [19:46:40]FM_MakeSignedData [19:46:40]SAM_PROTO_SignData [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 01 02 [19:46:40]Write to MH i2c: E2 08 00 B1 08 80 0D 01 02 00 00 00 00 32 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B1 08 00 90 00 2D [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]wFMCommunicate request_size=255 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 5A 0A 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 5D 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 21 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C9 49 00 00 35 04 06 00 [19:46:40]Write to MH i2c: E2 02 01 B2 08 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 5A 0A 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 5D 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 21 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C9 49 00 00 35 04 06 00 00 00 BC [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B2 08 00 90 00 2E [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]wFMCommunicate request_size=11 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 02 02 06 F4 0A A2 12 18 69 [19:46:40]Write to MH i2c: E2 0E 00 B3 08 80 0D 02 02 06 00 F4 0A A2 12 18 69 00 00 74 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B3 08 00 90 00 2F [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 03 02 [19:46:40]Write to MH i2c: E2 08 00 B4 08 80 0D 03 02 00 00 00 00 37 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 0B 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 0B 00 B4 08 00 48 FF EF FA D9 E5 17 C7 90 00 04 [19:46:40]RAPDU: 48 FF EF FA D9 E5 17 C7 90 00 [19:46:40]wFMCommunicate OK [19:46:40]SAM_PROTO_SignData done [19:46:40]FM_MakeSignedData done [19:46:40]CreateOFDProtocolMessage [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 11 00 00 [19:46:40]Write to MH i2c: E2 08 00 B5 08 80 11 00 00 00 00 00 00 37 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 17 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 17 00 B5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 90 [19:46:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:46:40]wFMCommunicate OK [19:46:40]CreateOFDProtocolMessage done [19:46:40]OFDSenderStorePacket 18889 [19:46:40]StoreOFDPacket docnum=18889 [19:46:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 D3 AE 08 01 E6 58 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 5A 0A 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 5D 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 21 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C9 49 00 00 35 04 06 00 F4 0A A2 12 18 69 48 FF EF FA D9 E5 17 C7 [19:46:40]CheckFolder [19:46:40]dirname=/storage/ofd_packets [19:46:40]CheckFolder done [19:46:40]ProducePacketName [19:46:40]name=ofd_packets/00018889 [19:46:40]NVStorageSaveData ofd_packets/00018889 [19:46:40]File name is /storage/ofd_packets/00018889 [19:46:40]Write 302 bytes [19:46:40]NVStorageSaveData done [19:46:40]OFDSenderStorePacket done [19:46:40]KKMCreateOFDPacket done [19:46:40]NVStorageSaveData kkm_last_timestamp [19:46:40]File name is /storage/kkm_last_timestamp [19:46:40]Write 4 bytes [19:46:40]NVStorageSaveData done [19:46:40]ExternCall_PrintAddStr [19:46:40]wPrintStart [19:46:40]Write to MH i2c: 01 00 00 B6 08 BE [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: 01 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: 01 07 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: 01 07 00 B6 08 00 00 00 00 00 FF 0F D3 [19:46:40]RasterBufferAndPrint [19:46:40]line Счет N : (1)117161 [19:46:40]line ИНН: 02508201610067 [19:46:40]line Контрольно-Кассовый Чек [19:46:40]line ПРОДАЖА [19:46:40]line ТРК (МРК, ГНК) : 21 [19:46:40]line Товар: 2710194210 [19:46:40]line ДТ(л)-К-5 [19:46:40]line 2.650 * 75.70 [19:46:40]line = 200.61 [19:46:40]line НДС 12% НСП 1% [19:46:40]line > о реализуемом товаре [19:46:40]line ОКРУГЛЕНИЕ: -0.61 [19:46:40]line ИТОГО: 200.00 [19:46:40]line Внесено: 200.00 [19:46:40]line СДАЧА: 0.00 [19:46:40]line НСП 1% : 1.77 [19:46:40]line НДС 12% : 21.30 [19:46:40]line Наличными: 200.00 [19:46:40]line Безнал.: 0.00 [19:46:40]line Место: АЗС № 176 "Партнер Нефть" [19:46:40]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:46:40]line СНО: Общий режим [19:46:40]line Чек 59 24.09.2024 19:46 [19:46:40]line Смена: 182 ФФД: 1.0 [19:46:40]line ЗНМ: 0300000010 [19:46:40]line РНМ: 0000000000152968 [19:46:40]line Версия ККМ: v1.0 [19:46:40]line ФМ: 0000000000959456 [19:46:40]line ФД: 18889 [19:46:40]line ФПД: 268326505945193 [19:46:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194641&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18889&fm=268326505945193&tin=02508201610067®Number=0000000000152968&sum=20000 [19:46:41]OFD Sender: Processing packet 18889 [packets to send 7, broken 6] [19:46:41]ProducePacketName [19:46:41]name=ofd_packets/00018889 [19:46:41]OFD Sender: To server: pG, [19:46:41]CommunicateWithHost lk.salyk.kg:30040 [19:46:41]ConnectInit lk.salyk.kg [19:46:41]written 0, free lines is 4095 [19:46:41]Connected sock=10 [19:46:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 D3 AE 08 01 E6 58 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 5A 0A 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 5D 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 21 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 C9 49 00 00 35 04 06 00 F4 0A A2 12 18 69 48 FF EF FA D9 E5 17 C7 [19:46:41]Write to MH i2c: 01 00 00 E1 08 E9 [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 07 00 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 07 00 E1 08 00 00 00 00 00 FA 0C F6 [19:46:41]RasterBufferAndPrint [19:46:41]line [19:46:41]line [19:46:41]line [19:46:41]line [19:46:41]line [19:46:41]written 0, free lines is 3328 [19:46:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 10 8B 47 00 01 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 39 35 39 34 35 36 10 04 04 00 C9 49 00 00 F4 03 04 00 81 C0 F2 66 B6 04 01 00 00 48 EA 59 B0 D5 11 C6 B8 [19:46:41]CommunicateWithHost err = 0 [19:46:41]CheckOFDResponse [19:46:41]1017 (14) - 77093643461234 [19:46:41]1041 (16) - 0000000000959456 [19:46:41]1040 (4) - 18889 [19:46:41]1012 (4) - 24.09.2024 13:37 [19:46:41]1206 (1) - 0 [19:46:41]OFD Sender: Remove packet 18889 [19:46:41]ProducePacketName [19:46:41]name=ofd_packets/00018889 [19:46:41]NVStorageDeleteData [19:46:41]MH_Cut [19:46:41]Write to MH i2c: D1 01 00 E8 08 01 C2 [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: D1 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: D1 01 00 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: D1 01 00 E8 08 00 C1 [19:46:41]Write to MH i2c: 01 00 00 E9 08 F1 [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:42]OFD Sender: No OFD packet to send [19:46:42]*** Cut start [19:46:42]*** Partial cut [19:46:42]*** CUTSNS_PIN = 1 [19:46:42]*** CUTSNS_PIN = 0 [19:46:42]*** Brake cut motor [19:46:42]Read from MH i2c: 01 [19:46:42]MH_I2C_Read... [19:46:42]*** Stop cut motor [19:46:42]*** Cut end [19:46:42]Read from MH i2c: 01 07 00 [19:46:42]MH_I2C_Read... [19:46:42]Read from MH i2c: 01 07 00 E9 08 00 00 00 00 00 FF 0F 06 [19:46:42]process_action close_receipt done [19:46:42]requested_data is exist [19:46:42]produce_requested_data [19:46:42]requested_item fm.sn is exist - process it [19:46:42]wFMCommunicate request_size=4 [19:46:42]MH_SAM_APDU [19:46:42]CAPDU: 80 11 00 00 [19:46:42]Write to MH i2c: E2 08 00 EA 08 80 11 00 00 00 00 00 00 6C [19:46:42]Write i2c OK [19:46:42]MH_I2C_Read... [19:46:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:42]Read from MH i2c: E2 [19:46:42]MH_I2C_Read... [19:46:42]Read from MH i2c: E2 17 00 [19:46:42]MH_I2C_Read... [19:46:42]Read from MH i2c: E2 17 00 EA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C5 [19:46:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:46:42]wFMCommunicate OK [19:46:42]requested_item fd.num is exist - process it [19:46:42]SAM_PROTO_GetFieldsCounters [19:46:42]wFMCommunicate request_size=4 [19:46:42]MH_SAM_APDU [19:46:42]CAPDU: 80 13 00 00 [19:46:42]Write to MH i2c: E2 08 00 EB 08 80 13 00 00 00 00 00 00 6F [19:46:42]Write i2c OK [19:46:42]MH_I2C_Read... [19:46:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:46:43]Read from MH i2c: E2 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 62 00 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 62 00 EB 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 15 [19:46:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 C9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:46:43]wFMCommunicate OK [19:46:43]SAM_PROTO_GetFieldsCounters done [19:46:43]requested_item shift.num is exist - process it [19:46:43]requested_item shift.opened is exist - process it [19:46:43]req_shift_opened [19:46:43]FM_GetShiftState [19:46:43]SAM_PROTO_GetShiftState [19:46:43]wFMCommunicate request_size=4 [19:46:43]MH_SAM_APDU [19:46:43]CAPDU: 80 13 01 00 [19:46:43]Write to MH i2c: E2 08 00 EC 08 80 13 01 00 00 00 00 00 71 [19:46:43]Write i2c OK [19:46:43]MH_I2C_Read... [19:46:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:43]Read from MH i2c: E2 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 0E 00 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 0E 00 EC 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A8 [19:46:43]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:46:43]wFMCommunicate OK [19:46:43]SAM_PROTO_GetShiftState done [19:46:43]FM_GetShiftState done [19:46:43]req_shift_opened done [19:46:43]requested_item shift.open_date is exist - process it [19:46:43]req_shift_open_date [19:46:43]req_shift_open_date done [19:46:43]produce_requested_data done [19:46:43]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18889,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:46:43]process_action_free close_receipt [19:46:43]json_value_free [19:46:43]json_value_free done [19:46:43]process_json_proto returns [19:46:43]Send response to host [19:46:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18889,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:46:43]free response buf [19:46:43]execute_script done [19:46:43]execute_script returns [19:46:43]free content buf [19:46:43]Sock 9.Close socket [19:46:43]Sock 9.Thread stoped [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:09]accept exits with 8 [19:48:09]New connection [19:48:09]New thread 3067047268 created [19:48:09]Thread 3066903908 joined [19:48:09]Waiting for new connection... [19:48:09] Sock 8.Parse request [19:48:09]Sock 8.Check first char [19:48:09]Sock 8.First char is OK [19:48:09]request: POST /json_proto HTTP/1.0 [19:48:09]Method: POST [19:48:09]URL: /json_proto [19:48:09]Method is POST - this is cgi request [19:48:09]url: /json_proto [19:48:09]query_string will be loaded in cgi processing [19:48:09]execute_cgi json_proto POST (null) [19:48:09]execute_cgi path=json_proto method=POST [19:48:09]POST find Content-Length [19:48:09]Host: 172.17.62.196:8080 [19:48:09]Content-Length: 803 [19:48:09]Content-Type: application/json [19:48:09] [19:48:09]POST finish read [19:48:09]Found Content-Length = 803 [19:48:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117163", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.22 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:09]execute_script... [19:48:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117163", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.22 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:09]POST & json_proto [19:48:09]process_json_proto [19:48:09]json parsed OK: [19:48:09]protocol is kg_v1.0 [19:48:09]action value=close_receipt [19:48:09]process_action close_receipt [19:48:09]cmd_close_receipt [19:48:09]MH_GetDate [19:48:09]Write to MH i2c: F0 00 00 ED 08 E4 [19:48:09]Write i2c OK [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: F0 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: F0 09 00 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: F0 09 00 ED 08 00 7B 17 F3 66 CE CC 0E 66 E6 [19:48:09]GetLastDocTimeStamp 1727207201 [19:48:09]current date 1727207291 [19:48:09]FM_GetShiftState [19:48:09]SAM_PROTO_GetShiftState [19:48:09]wFMCommunicate request_size=4 [19:48:09]MH_SAM_APDU [19:48:09]CAPDU: 80 13 01 00 [19:48:09]Write to MH i2c: E2 08 00 EE 08 80 13 01 00 00 00 00 00 73 [19:48:09]Write i2c OK [19:48:09]MH_I2C_Read... [19:48:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:09]Read from MH i2c: E2 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: E2 0E 00 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: E2 0E 00 EE 08 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 AA [19:48:09]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:48:09]wFMCommunicate OK [19:48:09]SAM_PROTO_GetShiftState done [19:48:09]FM_GetShiftState done [19:48:09]opened in 1727136720 [19:48:09]opened+sec_in_day 1727223120 [19:48:09]quantity*price = 100021 [19:48:09]sum+1 = 100023 [19:48:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.22 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 0.00 Безнал.: 1000.22 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 60 24.09.2024 19:48 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18890 ФПД: 98097228566002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194812&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18890&fm=98097228566002&tin=02508201610067®Number=0000000000152968&sum=100022 [19:48:10]StoreToDocumentArchive [19:48:10]shift 182 fd 18890 [19:48:10]save to /storage/0182/doc_00018890 [19:48:10]save last doc name /storage/0182/doc_00018890 to /storage/kkm_last_doc_name [19:48:10]save OK [19:48:10]Clear old archive folders... [19:48:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:48:10]tlvbuf is 01834AF0 [19:48:10]SAM_PROTO_ClearQueue [19:48:10]wFMCommunicate request_size=4 [19:48:10]MH_SAM_APDU [19:48:10]CAPDU: 80 09 00 00 [19:48:10]Write to MH i2c: E2 08 00 FB 08 80 09 00 00 00 00 00 00 75 [19:48:10]Write i2c OK [19:48:10]MH_I2C_Read... [19:48:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:10]Read from MH i2c: E2 [19:48:10]MH_I2C_Read... [19:48:10]Read from MH i2c: E2 03 00 [19:48:10]MH_I2C_Read... [19:48:10]Read from MH i2c: E2 03 00 FB 08 00 90 00 77 [19:48:10]RAPDU: 90 00 [19:48:10]wFMCommunicate OK [19:48:10]SAM_PROTO_ClearQueue done [19:48:10]KKMCreateOFDPacket [19:48:10]OFDProtocolAddRootSTLVToBuf [19:48:10]FM_MakeSignedData [19:48:10]FM_MakeSignedData [19:48:10]SAM_PROTO_SignData [19:48:10]wFMCommunicate request_size=4 [19:48:10]MH_SAM_APDU [19:48:10]CAPDU: 80 0D 01 02 [19:48:10]Write to MH i2c: E2 08 00 FC 08 80 0D 01 02 00 00 00 00 7D [19:48:10]Write i2c OK [19:48:10]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 FC 08 00 90 00 78 [19:48:11]RAPDU: 90 00 [19:48:11]wFMCommunicate OK [19:48:11]wFMCommunicate request_size=255 [19:48:11]MH_SAM_APDU [19:48:11]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 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 7C 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CA 49 00 00 35 04 06 00 59 [19:48:11]Write to MH i2c: E2 02 01 FD 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 7C 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CA 49 00 00 35 04 06 00 59 00 00 AB [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 FD 08 00 90 00 79 [19:48:11]RAPDU: 90 00 [19:48:11]wFMCommunicate OK [19:48:11]wFMCommunicate request_size=10 [19:48:11]MH_SAM_APDU [19:48:11]CAPDU: 80 0D 02 02 05 38 0A 76 4D F2 [19:48:11]Write to MH i2c: E2 0D 00 FE 08 80 0D 02 02 05 00 38 0A 76 4D F2 00 00 81 [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 FE 08 00 90 00 7A [19:48:11]RAPDU: 90 00 [19:48:11]wFMCommunicate OK [19:48:11]wFMCommunicate request_size=4 [19:48:11]MH_SAM_APDU [19:48:11]CAPDU: 80 0D 03 02 [19:48:11]Write to MH i2c: E2 08 00 FF 08 80 0D 03 02 00 00 00 00 82 [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 0B 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 0B 00 FF 08 00 1E BC 04 55 E9 98 11 1D 90 00 65 [19:48:11]RAPDU: 1E BC 04 55 E9 98 11 1D 90 00 [19:48:11]wFMCommunicate OK [19:48:11]SAM_PROTO_SignData done [19:48:11]FM_MakeSignedData done [19:48:11]CreateOFDProtocolMessage [19:48:11]wFMCommunicate request_size=4 [19:48:11]MH_SAM_APDU [19:48:11]CAPDU: 80 11 00 00 [19:48:11]Write to MH i2c: E2 08 00 00 09 80 11 00 00 00 00 00 00 83 [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 17 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 17 00 00 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DC [19:48:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:48:11]wFMCommunicate OK [19:48:11]CreateOFDProtocolMessage done [19:48:11]OFDSenderStorePacket 18890 [19:48:11]StoreOFDPacket docnum=18890 [19:48:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 D8 CB 07 01 62 F1 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 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 7C 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CA 49 00 00 35 04 06 00 59 38 0A 76 4D F2 1E BC 04 55 E9 98 11 1D [19:48:11]CheckFolder [19:48:11]dirname=/storage/ofd_packets [19:48:11]CheckFolder done [19:48:11]ProducePacketName [19:48:11]name=ofd_packets/00018890 [19:48:11]NVStorageSaveData ofd_packets/00018890 [19:48:11]File name is /storage/ofd_packets/00018890 [19:48:11]Write 301 bytes [19:48:11]NVStorageSaveData done [19:48:11]OFDSenderStorePacket done [19:48:11]KKMCreateOFDPacket done [19:48:11]NVStorageSaveData kkm_last_timestamp [19:48:11]File name is /storage/kkm_last_timestamp [19:48:11]Write 4 bytes [19:48:11]NVStorageSaveData done [19:48:11]ExternCall_PrintAddStr [19:48:11]wPrintStart [19:48:11]Write to MH i2c: 01 00 00 01 09 0A [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: 01 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: 01 07 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: 01 07 00 01 09 00 00 00 00 00 FF 0F 1F [19:48:11]RasterBufferAndPrint [19:48:11]line Счет N : (1)117163 [19:48:11]line ИНН: 02508201610067 [19:48:11]line Контрольно-Кассовый Чек [19:48:11]line ПРОДАЖА [19:48:11]line ТРК (МРК, ГНК) : 13 [19:48:11]line Товар: 2710124500 [19:48:11]line Аи-95-К-5 [19:48:11]line 13.480 * 74.20 [19:48:11]line = 1000.22 [19:48:11]line НДС 12% НСП 1% [19:48:11]line > о реализуемом товаре [19:48:11]line ИТОГО: 1000.22 [19:48:11]line НСП 1% : 8.85 [19:48:11]line НДС 12% : 106.22 [19:48:11]line Наличными: 0.00 [19:48:11]line Безнал.: 1000.22 [19:48:11]line Место: АЗС № 176 "Партнер Нефть" [19:48:11]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:48:11]line СНО: Общий режим [19:48:11]line Чек 60 24.09.2024 19:48 [19:48:11]line Смена: 182 ФФД: 1.0 [19:48:11]line ЗНМ: 0300000010 [19:48:11]line РНМ: 0000000000152968 [19:48:11]line Версия ККМ: v1.0 [19:48:11]line Платежная система: O! деньги [19:48:11]line ФМ: 0000000000959456 [19:48:11]line ФД: 18890 [19:48:11]line ФПД: 98097228566002 [19:48:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194812&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18890&fm=98097228566002&tin=02508201610067®Number=0000000000152968&sum=100022 [19:48:11]OFD Sender: Processing packet 18890 [packets to send 7, broken 6] [19:48:11]ProducePacketName [19:48:11]name=ofd_packets/00018890 [19:48:11]OFD Sender: To server: pG, [19:48:11]CommunicateWithHost lk.salyk.kg:30040 [19:48:11]ConnectInit lk.salyk.kg [19:48:11]written 0, free lines is 4095 [19:48:11]Connected sock=10 [19:48:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 D8 CB 07 01 62 F1 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 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 7C 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CA 49 00 00 35 04 06 00 59 38 0A 76 4D F2 1E BC 04 55 E9 98 11 1D [19:48:12]Write to MH i2c: 01 00 00 2B 09 34 [19:48:12]Write i2c OK [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: 01 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: 01 07 00 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: 01 07 00 2B 09 00 00 00 00 00 09 0D 51 [19:48:12]RasterBufferAndPrint [19:48:12]line [19:48:12]line [19:48:12]line [19:48:12]line [19:48:12]line [19:48:12]written 0, free lines is 3343 [19:48:12]MH_Cut [19:48:12]Write to MH i2c: D1 01 00 32 09 01 0D [19:48:12]Write i2c OK [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: D1 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: D1 01 00 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: D1 01 00 32 09 00 0C [19:48:12]Write to MH i2c: 01 00 00 33 09 3C [19:48:12]Write i2c OK [19:48:12]MH_I2C_Read... [19:48:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 5D A9 47 00 2B AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CA 49 00 00 F4 03 04 00 DB C0 F2 66 B6 04 01 00 00 BB 72 B2 67 DF 1A 02 EB [19:48:12]CommunicateWithHost err = 0 [19:48:12]CheckOFDResponse [19:48:12]1017 (14) - 77093643461234 [19:48:12]1041 (16) - 0000000000959456 [19:48:12]1040 (4) - 18890 [19:48:12]1012 (4) - 24.09.2024 13:38 [19:48:12]1206 (1) - 0 [19:48:12]OFD Sender: Remove packet 18890 [19:48:12]ProducePacketName [19:48:12]name=ofd_packets/00018890 [19:48:12]NVStorageDeleteData [19:48:12]OFD Sender: No OFD packet to send [19:48:12]*** Cut start [19:48:12]*** Partial cut [19:48:12]*** CUTSNS_PIN = 1 [19:48:12]*** CUTSNS_PIN = 0 [19:48:13]*** Brake cut motor [19:48:13]Read from MH i2c: 01 [19:48:13]MH_I2C_Read... [19:48:13]*** Stop cut motor [19:48:13]*** Cut end [19:48:13]Read from MH i2c: 01 07 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: 01 07 00 33 09 00 00 00 00 00 FF 0F 51 [19:48:13]process_action close_receipt done [19:48:13]requested_data is exist [19:48:13]produce_requested_data [19:48:13]requested_item fm.sn is exist - process it [19:48:13]wFMCommunicate request_size=4 [19:48:13]MH_SAM_APDU [19:48:13]CAPDU: 80 11 00 00 [19:48:13]Write to MH i2c: E2 08 00 34 09 80 11 00 00 00 00 00 00 B7 [19:48:13]Write i2c OK [19:48:13]MH_I2C_Read... [19:48:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:13]Read from MH i2c: E2 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 17 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 17 00 34 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 10 [19:48:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:48:13]wFMCommunicate OK [19:48:13]requested_item fd.num is exist - process it [19:48:13]SAM_PROTO_GetFieldsCounters [19:48:13]wFMCommunicate request_size=4 [19:48:13]MH_SAM_APDU [19:48:13]CAPDU: 80 13 00 00 [19:48:13]Write to MH i2c: E2 08 00 35 09 80 13 00 00 00 00 00 00 BA [19:48:13]Write i2c OK [19:48:13]MH_I2C_Read... [19:48:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:13]Read from MH i2c: E2 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 62 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 62 00 35 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CA 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 64 [19:48:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CA 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:13]wFMCommunicate OK [19:48:13]SAM_PROTO_GetFieldsCounters done [19:48:13]requested_item shift.num is exist - process it [19:48:13]requested_item shift.opened is exist - process it [19:48:13]req_shift_opened [19:48:13]FM_GetShiftState [19:48:13]SAM_PROTO_GetShiftState [19:48:13]wFMCommunicate request_size=4 [19:48:13]MH_SAM_APDU [19:48:13]CAPDU: 80 13 01 00 [19:48:13]Write to MH i2c: E2 08 00 36 09 80 13 01 00 00 00 00 00 BC [19:48:13]Write i2c OK [19:48:13]MH_I2C_Read... [19:48:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:13]Read from MH i2c: E2 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 0E 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 0E 00 36 09 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 F3 [19:48:13]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:48:13]wFMCommunicate OK [19:48:13]SAM_PROTO_GetShiftState done [19:48:13]FM_GetShiftState done [19:48:13]req_shift_opened done [19:48:13]requested_item shift.open_date is exist - process it [19:48:13]req_shift_open_date [19:48:13]req_shift_open_date done [19:48:13]produce_requested_data done [19:48:13]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18890,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:48:13]process_action_free close_receipt [19:48:13]json_value_free [19:48:13]json_value_free done [19:48:13]process_json_proto returns [19:48:13]Send response to host [19:48:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18890,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:48:13]free response buf [19:48:13]execute_script done [19:48:13]execute_script returns [19:48:13]free content buf [19:48:13]Sock 8.Close socket [19:48:13]Sock 8.Thread stoped [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:56]accept exits with 9 [19:48:56]New connection [19:48:56]New thread 3066903908 created [19:48:56]Thread 3067047268 joined [19:48:56]Waiting for new connection... [19:48:56] Sock 9.Parse request [19:48:56]Sock 9.Check first char [19:48:56]Sock 9.First char is OK [19:48:56]request: POST /json_proto HTTP/1.0 [19:48:56]Method: POST [19:48:56]URL: /json_proto [19:48:56]Method is POST - this is cgi request [19:48:56]url: /json_proto [19:48:56]query_string will be loaded in cgi processing [19:48:56]execute_cgi json_proto POST (null) [19:48:56]execute_cgi path=json_proto method=POST [19:48:56]POST find Content-Length [19:48:56]Host: 172.17.62.196:8080 [19:48:56]Content-Length: 1242 [19:48:56]Content-Type: application/json [19:48:56] [19:48:56]POST finish read [19:48:56]Found Content-Length = 1242 [19:48:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16816", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:56]execute_script... [19:48:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16816", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:56]POST & json_proto [19:48:56]process_json_proto [19:48:56]json parsed OK: [19:48:56]protocol is kg_v1.0 [19:48:56]action value=close_receipt [19:48:56]process_action close_receipt [19:48:56]cmd_close_receipt [19:48:56]MH_GetDate [19:48:56]Write to MH i2c: F0 00 00 37 09 2F [19:48:56]Write i2c OK [19:48:56]MH_I2C_Read... [19:48:56]Read from MH i2c: F0 [19:48:56]MH_I2C_Read... [19:48:56]Read from MH i2c: F0 09 00 [19:48:56]MH_I2C_Read... [19:48:56]Read from MH i2c: F0 09 00 37 09 00 AA 17 F3 66 CE CC 0E 66 60 [19:48:56]GetLastDocTimeStamp 1727207292 [19:48:56]current date 1727207338 [19:48:56]FM_GetShiftState [19:48:56]SAM_PROTO_GetShiftState [19:48:56]wFMCommunicate request_size=4 [19:48:56]MH_SAM_APDU [19:48:56]CAPDU: 80 13 01 00 [19:48:56]Write to MH i2c: E2 08 00 38 09 80 13 01 00 00 00 00 00 BE [19:48:56]Write i2c OK [19:48:56]MH_I2C_Read... [19:48:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:56]Read from MH i2c: E2 [19:48:56]MH_I2C_Read... [19:48:56]Read from MH i2c: E2 0E 00 [19:48:56]MH_I2C_Read... [19:48:56]Read from MH i2c: E2 0E 00 38 09 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 F5 [19:48:56]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:48:56]wFMCommunicate OK [19:48:56]SAM_PROTO_GetShiftState done [19:48:56]FM_GetShiftState done [19:48:56]opened in 1727136720 [19:48:56]opened+sec_in_day 1727223120 [19:48:56]quantity*price = 9000 [19:48:56]sum+1 = 9001 [19:48:56]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010346 Напиток Let`s Go! с/с груша ПЭТ 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 61 24.09.2024 19:48 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18891 ФПД: 141009379368153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194858&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18891&fm=141009379368153&tin=02508201610067®Number=0000000000152968&sum=26000 0 [19:48:57]StoreToDocumentArchive [19:48:57]shift 182 fd 18891 [19:48:57]save to /storage/0182/doc_00018891 [19:48:57]save last doc name /storage/0182/doc_00018891 to /storage/kkm_last_doc_name [19:48:57]save OK [19:48:57]Clear old archive folders... [19:48:57]ProcessDocumentItem done err = 0, tmpTLVsize=531 [19:48:57]tlvbuf is 01811230 [19:48:57]SAM_PROTO_ClearQueue [19:48:57]wFMCommunicate request_size=4 [19:48:57]MH_SAM_APDU [19:48:57]CAPDU: 80 09 00 00 [19:48:57]Write to MH i2c: E2 08 00 45 09 80 09 00 00 00 00 00 00 C0 [19:48:57]Write i2c OK [19:48:57]MH_I2C_Read... [19:48:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:57]Read from MH i2c: E2 [19:48:57]MH_I2C_Read... [19:48:57]Read from MH i2c: E2 03 00 [19:48:57]MH_I2C_Read... [19:48:57]Read from MH i2c: E2 03 00 45 09 00 90 00 C2 [19:48:57]RAPDU: 90 00 [19:48:57]wFMCommunicate OK [19:48:57]SAM_PROTO_ClearQueue done [19:48:57]KKMCreateOFDPacket [19:48:57]OFDProtocolAddRootSTLVToBuf [19:48:57]FM_MakeSignedData [19:48:57]FM_MakeSignedData [19:48:57]SAM_PROTO_SignData [19:48:57]wFMCommunicate request_size=4 [19:48:57]MH_SAM_APDU [19:48:57]CAPDU: 80 0D 01 02 [19:48:57]Write to MH i2c: E2 08 00 46 09 80 0D 01 02 00 00 00 00 C8 [19:48:57]Write i2c OK [19:48:57]MH_I2C_Read... [19:48:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:57]Read from MH i2c: E2 [19:48:57]MH_I2C_Read... [19:48:57]Read from MH i2c: E2 03 00 [19:48:57]MH_I2C_Read... [19:48:57]Read from MH i2c: E2 03 00 46 09 00 90 00 C3 [19:48:57]RAPDU: 90 00 [19:48:57]wFMCommunicate OK [19:48:57]wFMCommunicate request_size=255 [19:48:57]MH_SAM_APDU [19:48:57]CAPDU: 80 0D 02 02 FA 03 00 13 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 7A 00 8A 04 [19:48:57]Write to MH i2c: E2 02 01 47 09 80 0D 02 02 FA 00 03 00 13 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 7A 00 8A 04 00 00 C2 [19:48:57]OFD Sender: No OFD packet to send [19:48:57]Write i2c OK [19:48:57]MH_I2C_Read... [19:48:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:58]Read from MH i2c: E2 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 03 00 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 03 00 47 09 00 90 00 C4 [19:48:58]RAPDU: 90 00 [19:48:58]wFMCommunicate OK [19:48:58]wFMCommunicate request_size=255 [19:48:58]MH_SAM_APDU [19:48:58]CAPDU: 80 0D 02 02 FA 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 AA 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 [19:48:58]Write to MH i2c: E2 02 01 48 09 80 0D 02 02 FA 00 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 AA 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 00 CE [19:48:58]Write i2c OK [19:48:58]MH_I2C_Read... [19:48:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:58]Read from MH i2c: E2 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 03 00 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 03 00 48 09 00 90 00 C5 [19:48:58]RAPDU: 90 00 [19:48:58]wFMCommunicate OK [19:48:58]wFMCommunicate request_size=40 [19:48:58]MH_SAM_APDU [19:48:58]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CB 49 00 00 35 04 06 00 80 3F 4D F7 9C D9 [19:48:58]Write to MH i2c: E2 2B 00 49 09 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CB 49 00 00 35 04 06 00 80 3F 4D F7 9C D9 00 00 1B [19:48:58]Write i2c OK [19:48:58]MH_I2C_Read... [19:48:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:58]Read from MH i2c: E2 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 03 00 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 03 00 49 09 00 90 00 C6 [19:48:58]RAPDU: 90 00 [19:48:58]wFMCommunicate OK [19:48:58]wFMCommunicate request_size=4 [19:48:58]MH_SAM_APDU [19:48:58]CAPDU: 80 0D 03 02 [19:48:58]Write to MH i2c: E2 08 00 4A 09 80 0D 03 02 00 00 00 00 CE [19:48:58]Write i2c OK [19:48:58]MH_I2C_Read... [19:48:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:58]Read from MH i2c: E2 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 0B 00 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 0B 00 4A 09 00 9A FF DA 87 DE 03 9F D7 90 00 20 [19:48:58]RAPDU: 9A FF DA 87 DE 03 9F D7 90 00 [19:48:58]wFMCommunicate OK [19:48:58]SAM_PROTO_SignData done [19:48:58]FM_MakeSignedData done [19:48:58]CreateOFDProtocolMessage [19:48:58]wFMCommunicate request_size=4 [19:48:58]MH_SAM_APDU [19:48:58]CAPDU: 80 11 00 00 [19:48:58]Write to MH i2c: E2 08 00 4B 09 80 11 00 00 00 00 00 00 CE [19:48:58]Write i2c OK [19:48:58]MH_I2C_Read... [19:48:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:58]Read from MH i2c: E2 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 17 00 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: E2 17 00 4B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 27 [19:48:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:48:58]wFMCommunicate OK [19:48:58]CreateOFDProtocolMessage done [19:48:58]OFDSenderStorePacket 18891 [19:48:58]StoreOFDPacket docnum=18891 [19:48:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 02 00 00 21 BA 1F 02 28 BC 5A 03 01 00 03 00 13 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 AA 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CB 49 00 00 35 04 06 00 80 3F 4D F7 9C D9 9A FF DA 87 DE 03 9F D7 [19:48:58]CheckFolder [19:48:58]dirname=/storage/ofd_packets [19:48:58]CheckFolder done [19:48:58]ProducePacketName [19:48:58]name=ofd_packets/00018891 [19:48:58]NVStorageSaveData ofd_packets/00018891 [19:48:58]File name is /storage/ofd_packets/00018891 [19:48:58]Write 581 bytes [19:48:58]NVStorageSaveData done [19:48:58]OFDSenderStorePacket done [19:48:58]KKMCreateOFDPacket done [19:48:58]NVStorageSaveData kkm_last_timestamp [19:48:58]File name is /storage/kkm_last_timestamp [19:48:58]Write 4 bytes [19:48:58]NVStorageSaveData done [19:48:58]ExternCall_PrintAddStr [19:48:58]wPrintStart [19:48:58]Write to MH i2c: 01 00 00 4C 09 55 [19:48:58]Write i2c OK [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: 01 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: 01 07 00 [19:48:58]MH_I2C_Read... [19:48:58]Read from MH i2c: 01 07 00 4C 09 00 00 00 00 00 FF 0F 6A [19:48:58]RasterBufferAndPrint [19:48:58]line Счет N : (3)16816 [19:48:58]line ИНН: 02508201610067 [19:48:58]line Контрольно-Кассовый Чек [19:48:58]line ПРОДАЖА [19:48:58]line Товар: 4870002325113 [19:48:58]line Напиток PEPSI газированный ст 0,25л [19:48:58]line 1.000 * 90.00 [19:48:58]line = 90.00 [19:48:58]line НДС 12% НСП 1% [19:48:58]line > о реализуемом товаре [19:48:58]line Товар: 2000036230011 [19:48:58]line Кофе Латте XL(GABB TRADE) [19:48:58]line 1.000 * 130.00 [19:48:58]line = 130.00 [19:48:58]line НДС 12% НСП 1% [19:48:58]line > о реализуемом товаре [19:48:58]line Товар: 4700003010346 [19:48:58]line Напиток Let`s Go! с/с груша ПЭТ 0,5л [19:48:58]line 1.000 * 40.00 [19:48:58]line = 40.00 [19:48:58]line НДС 12% НСП 1% [19:48:58]line > о реализуемом товаре [19:48:58]line ИТОГО: 260.00 [19:48:58]line НСП 1% : 2.30 [19:48:58]line НДС 12% : 27.61 [19:48:58]line Наличными: 260.00 [19:48:58]line Безнал.: 0.00 [19:48:58]line Место: АЗС № 176 "Партнер Нефть" [19:48:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:48:58]line СНО: Общий режим [19:48:58]line Чек 61 24.09.2024 19:48 [19:48:58]line Смена: 182 ФФД: 1.0 [19:48:58]line ЗНМ: 0300000010 [19:48:58]line РНМ: 0000000000152968 [19:48:58]line Версия ККМ: v1.0 [19:48:58]line ФМ: 0000000000959456 [19:48:58]line ФД: 18891 [19:48:58]line ФПД: 141009379368153 [19:48:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T194858&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18891&fm=141009379368153&tin=02508201610067®Number=0000000000152968&sum=26000 [19:48:58]line 0 [19:48:58]OFD Sender: Processing packet 18891 [packets to send 7, broken 6] [19:48:58]ProducePacketName [19:48:58]name=ofd_packets/00018891 [19:48:58]OFD Sender: To server: pG, [19:48:58]CommunicateWithHost lk.salyk.kg:30040 [19:48:58]ConnectInit lk.salyk.kg [19:48:58]written 0, free lines is 4095 [19:48:59]Connected sock=10 [19:48:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 02 00 00 21 BA 1F 02 28 BC 5A 03 01 00 03 00 13 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 AA 17 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CB 49 00 00 35 04 06 00 80 3F 4D F7 9C D9 9A FF DA 87 DE 03 9F D7 [19:48:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 70 96 47 00 D0 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CB 49 00 00 F4 03 04 00 0B C1 F2 66 B6 04 01 00 00 C6 98 B7 59 CF 25 19 7C [19:48:59]CommunicateWithHost err = 0 [19:48:59]CheckOFDResponse [19:48:59]1017 (14) - 77093643461234 [19:48:59]1041 (16) - 0000000000959456 [19:48:59]1040 (4) - 18891 [19:48:59]1012 (4) - 24.09.2024 13:39 [19:48:59]1206 (1) - 0 [19:48:59]OFD Sender: Remove packet 18891 [19:48:59]ProducePacketName [19:48:59]name=ofd_packets/00018891 [19:48:59]NVStorageDeleteData [19:48:59]Write to MH i2c: 01 00 00 82 09 8B [19:48:59]Write i2c OK [19:48:59]MH_I2C_Read... [19:48:59]Read from MH i2c: 01 [19:48:59]MH_I2C_Read... [19:48:59]Read from MH i2c: 01 07 00 [19:48:59]MH_I2C_Read... [19:48:59]Read from MH i2c: 01 07 00 82 09 00 00 00 00 00 73 0C 11 [19:48:59]RasterBufferAndPrint [19:48:59]line [19:48:59]line [19:48:59]line [19:48:59]line [19:48:59]line [19:48:59]written 0, free lines is 3196 [19:48:59]MH_Cut [19:48:59]Write to MH i2c: D1 01 00 89 09 01 64 [19:48:59]Write i2c OK [19:48:59]MH_I2C_Read... [19:48:59]Read from MH i2c: D1 [19:48:59]MH_I2C_Read... [19:48:59]Read from MH i2c: D1 01 00 [19:48:59]MH_I2C_Read... [19:48:59]Read from MH i2c: D1 01 00 89 09 00 63 [19:48:59]Write to MH i2c: 01 00 00 8A 09 93 [19:48:59]Write i2c OK [19:48:59]MH_I2C_Read... [19:48:59]OFD Sender: No OFD packet to send [19:49:00]*** Cut start [19:49:00]*** Partial cut [19:49:00]*** CUTSNS_PIN = 1 [19:49:00]*** CUTSNS_PIN = 0 [19:49:00]*** Brake cut motor [19:49:00]Read from MH i2c: 01 [19:49:00]MH_I2C_Read... [19:49:00]*** Stop cut motor [19:49:00]*** Cut end [19:49:00]Read from MH i2c: 01 07 00 [19:49:00]MH_I2C_Read... [19:49:00]Read from MH i2c: 01 07 00 8A 09 00 00 00 00 00 FF 0F A8 [19:49:00]process_action close_receipt done [19:49:00]requested_data is exist [19:49:00]produce_requested_data [19:49:00]requested_item fm.sn is exist - process it [19:49:00]wFMCommunicate request_size=4 [19:49:00]MH_SAM_APDU [19:49:00]CAPDU: 80 11 00 00 [19:49:00]Write to MH i2c: E2 08 00 8B 09 80 11 00 00 00 00 00 00 0E [19:49:00]Write i2c OK [19:49:00]MH_I2C_Read... [19:49:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:00]Read from MH i2c: E2 [19:49:00]MH_I2C_Read... [19:49:00]Read from MH i2c: E2 17 00 [19:49:00]MH_I2C_Read... [19:49:00]Read from MH i2c: E2 17 00 8B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 67 [19:49:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:49:00]wFMCommunicate OK [19:49:00]requested_item fd.num is exist - process it [19:49:00]SAM_PROTO_GetFieldsCounters [19:49:00]wFMCommunicate request_size=4 [19:49:00]MH_SAM_APDU [19:49:00]CAPDU: 80 13 00 00 [19:49:00]Write to MH i2c: E2 08 00 8C 09 80 13 00 00 00 00 00 00 11 [19:49:00]Write i2c OK [19:49:00]MH_I2C_Read... [19:49:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:49:01]Read from MH i2c: E2 [19:49:01]MH_I2C_Read... [19:49:01]Read from MH i2c: E2 62 00 [19:49:01]MH_I2C_Read... [19:49:01]Read from MH i2c: E2 62 00 8C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CB 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [19:49:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CB 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:49:01]wFMCommunicate OK [19:49:01]SAM_PROTO_GetFieldsCounters done [19:49:01]requested_item shift.num is exist - process it [19:49:01]requested_item shift.opened is exist - process it [19:49:01]req_shift_opened [19:49:01]FM_GetShiftState [19:49:01]SAM_PROTO_GetShiftState [19:49:01]wFMCommunicate request_size=4 [19:49:01]MH_SAM_APDU [19:49:01]CAPDU: 80 13 01 00 [19:49:01]Write to MH i2c: E2 08 00 8D 09 80 13 01 00 00 00 00 00 13 [19:49:01]Write i2c OK [19:49:01]MH_I2C_Read... [19:49:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:01]Read from MH i2c: E2 [19:49:01]MH_I2C_Read... [19:49:01]Read from MH i2c: E2 0E 00 [19:49:01]MH_I2C_Read... [19:49:01]Read from MH i2c: E2 0E 00 8D 09 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 4A [19:49:01]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:49:01]wFMCommunicate OK [19:49:01]SAM_PROTO_GetShiftState done [19:49:01]FM_GetShiftState done [19:49:01]req_shift_opened done [19:49:01]requested_item shift.open_date is exist - process it [19:49:01]req_shift_open_date [19:49:01]req_shift_open_date done [19:49:01]produce_requested_data done [19:49:01]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18891,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:49:01]process_action_free close_receipt [19:49:01]json_value_free [19:49:01]json_value_free done [19:49:01]process_json_proto returns [19:49:01]Send response to host [19:49:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18891,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:49:01]free response buf [19:49:01]execute_script done [19:49:01]execute_script returns [19:49:01]free content buf [19:49:01]Sock 9.Close socket [19:49:01]Sock 9.Thread stoped [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50: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:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]OFD Sender: No OFD packet to send [19:51:29]accept exits with 8 [19:51:29]New connection [19:51:29]New thread 3067047268 created [19:51:29]Thread 3066903908 joined [19:51:29]Waiting for new connection... [19:51:29] Sock 8.Parse request [19:51:29]Sock 8.Check first char [19:51:29]Sock 8.First char is OK [19:51:29]request: POST /json_proto HTTP/1.0 [19:51:29]Method: POST [19:51:29]URL: /json_proto [19:51:29]Method is POST - this is cgi request [19:51:29]url: /json_proto [19:51:29]query_string will be loaded in cgi processing [19:51:29]execute_cgi json_proto POST (null) [19:51:29]execute_cgi path=json_proto method=POST [19:51:29]POST find Content-Length [19:51:29]Host: 172.17.62.196:8080 [19:51:29]Content-Length: 803 [19:51:29]Content-Type: application/json [19:51:29] [19:51:29]POST finish read [19:51:29]Found Content-Length = 803 [19:51:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117168", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.05 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:29]execute_script... [19:51: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 : (1)117168", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.05 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:29]POST & json_proto [19:51:29]process_json_proto [19:51:29]json parsed OK: [19:51:29]protocol is kg_v1.0 [19:51:29]action value=close_receipt [19:51:29]process_action close_receipt [19:51:29]cmd_close_receipt [19:51:29]MH_GetDate [19:51:29]Write to MH i2c: F0 00 00 8E 09 86 [19:51:29]Write i2c OK [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: F0 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: F0 09 00 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: F0 09 00 8E 09 00 43 18 F3 66 CE CC 0E 66 51 [19:51:29]GetLastDocTimeStamp 1727207338 [19:51:29]current date 1727207491 [19:51:29]FM_GetShiftState [19:51:29]SAM_PROTO_GetShiftState [19:51:29]wFMCommunicate request_size=4 [19:51:29]MH_SAM_APDU [19:51:29]CAPDU: 80 13 01 00 [19:51:29]Write to MH i2c: E2 08 00 8F 09 80 13 01 00 00 00 00 00 15 [19:51:29]Write i2c OK [19:51:29]MH_I2C_Read... [19:51:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:29]Read from MH i2c: E2 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 0E 00 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 0E 00 8F 09 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 4C [19:51:29]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:51:29]wFMCommunicate OK [19:51:29]SAM_PROTO_GetShiftState done [19:51:29]FM_GetShiftState done [19:51:29]opened in 1727136720 [19:51:29]opened+sec_in_day 1727223120 [19:51:29]quantity*price = 100005 [19:51:29]sum+1 = 100006 [19:51:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.05 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 0.00 Безнал.: 1000.05 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 62 24.09.2024 19:51 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18892 ФПД: 81986064257920 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195132&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18892&fm=81986064257920&tin=02508201610067®Number=0000000000152968&sum=100005 [19:51:30]StoreToDocumentArchive [19:51:30]shift 182 fd 18892 [19:51:30]save to /storage/0182/doc_00018892 [19:51:30]save last doc name /storage/0182/doc_00018892 to /storage/kkm_last_doc_name [19:51:30]save OK [19:51:30]Clear old archive folders... [19:51:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:51:30]tlvbuf is 01834960 [19:51:30]SAM_PROTO_ClearQueue [19:51:30]wFMCommunicate request_size=4 [19:51:30]MH_SAM_APDU [19:51:30]CAPDU: 80 09 00 00 [19:51:30]Write to MH i2c: E2 08 00 9C 09 80 09 00 00 00 00 00 00 17 [19:51:30]Write i2c OK [19:51:30]MH_I2C_Read... [19:51:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:51:30]Read from MH i2c: E2 [19:51:30]MH_I2C_Read... [19:51:30]Read from MH i2c: E2 03 00 [19:51:30]MH_I2C_Read... [19:51:30]Read from MH i2c: E2 03 00 9C 09 00 90 00 19 [19:51:30]RAPDU: 90 00 [19:51:30]wFMCommunicate OK [19:51:30]SAM_PROTO_ClearQueue done [19:51:30]KKMCreateOFDPacket [19:51:30]OFDProtocolAddRootSTLVToBuf [19:51:30]FM_MakeSignedData [19:51:30]FM_MakeSignedData [19:51:30]SAM_PROTO_SignData [19:51:30]wFMCommunicate request_size=4 [19:51:30]MH_SAM_APDU [19:51:30]CAPDU: 80 0D 01 02 [19:51:30]Write to MH i2c: E2 08 00 9D 09 80 0D 01 02 00 00 00 00 1F [19:51:30]Write i2c OK [19:51:30]MH_I2C_Read... [19:51:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:51:31]Read from MH i2c: E2 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 03 00 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 03 00 9D 09 00 90 00 1A [19:51:31]RAPDU: 90 00 [19:51:31]wFMCommunicate OK [19:51:31]wFMCommunicate request_size=255 [19:51:31]MH_SAM_APDU [19:51:31]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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A5 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A5 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 18 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CC 49 00 00 35 04 06 00 4A [19:51:31]Write to MH i2c: E2 02 01 9E 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A5 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A5 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 18 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CC 49 00 00 35 04 06 00 4A 00 00 4B [19:51:31]Write i2c OK [19:51:31]MH_I2C_Read... [19:51:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:31]Read from MH i2c: E2 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 03 00 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 03 00 9E 09 00 90 00 1B [19:51:31]RAPDU: 90 00 [19:51:31]wFMCommunicate OK [19:51:31]wFMCommunicate request_size=10 [19:51:31]MH_SAM_APDU [19:51:31]CAPDU: 80 0D 02 02 05 90 DE 3C 93 80 [19:51:31]Write to MH i2c: E2 0D 00 9F 09 80 0D 02 02 05 00 90 DE 3C 93 80 00 00 E9 [19:51:31]Write i2c OK [19:51:31]MH_I2C_Read... [19:51:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:31]Read from MH i2c: E2 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 03 00 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 03 00 9F 09 00 90 00 1C [19:51:31]RAPDU: 90 00 [19:51:31]wFMCommunicate OK [19:51:31]wFMCommunicate request_size=4 [19:51:31]MH_SAM_APDU [19:51:31]CAPDU: 80 0D 03 02 [19:51:31]Write to MH i2c: E2 08 00 A0 09 80 0D 03 02 00 00 00 00 24 [19:51:31]Write i2c OK [19:51:31]MH_I2C_Read... [19:51:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:51:31]Read from MH i2c: E2 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 0B 00 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 0B 00 A0 09 00 5B 9E 81 8E 36 85 A8 D7 90 00 67 [19:51:31]RAPDU: 5B 9E 81 8E 36 85 A8 D7 90 00 [19:51:31]wFMCommunicate OK [19:51:31]SAM_PROTO_SignData done [19:51:31]FM_MakeSignedData done [19:51:31]CreateOFDProtocolMessage [19:51:31]wFMCommunicate request_size=4 [19:51:31]MH_SAM_APDU [19:51:31]CAPDU: 80 11 00 00 [19:51:31]Write to MH i2c: E2 08 00 A1 09 80 11 00 00 00 00 00 00 24 [19:51:31]Write i2c OK [19:51:31]MH_I2C_Read... [19:51:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:31]Read from MH i2c: E2 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 17 00 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: E2 17 00 A1 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7D [19:51:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:51:31]wFMCommunicate OK [19:51:31]CreateOFDProtocolMessage done [19:51:31]OFDSenderStorePacket 18892 [19:51:31]StoreOFDPacket docnum=18892 [19:51:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 5E 2E 07 01 A9 73 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A5 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A5 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 18 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CC 49 00 00 35 04 06 00 4A 90 DE 3C 93 80 5B 9E 81 8E 36 85 A8 D7 [19:51:31]CheckFolder [19:51:31]dirname=/storage/ofd_packets [19:51:31]CheckFolder done [19:51:31]ProducePacketName [19:51:31]name=ofd_packets/00018892 [19:51:31]NVStorageSaveData ofd_packets/00018892 [19:51:31]File name is /storage/ofd_packets/00018892 [19:51:31]Write 301 bytes [19:51:31]NVStorageSaveData done [19:51:31]OFDSenderStorePacket done [19:51:31]KKMCreateOFDPacket done [19:51:31]NVStorageSaveData kkm_last_timestamp [19:51:31]File name is /storage/kkm_last_timestamp [19:51:31]Write 4 bytes [19:51:31]NVStorageSaveData done [19:51:31]ExternCall_PrintAddStr [19:51:31]wPrintStart [19:51:31]Write to MH i2c: 01 00 00 A2 09 AB [19:51:31]Write i2c OK [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: 01 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: 01 07 00 [19:51:31]MH_I2C_Read... [19:51:31]Read from MH i2c: 01 07 00 A2 09 00 00 00 00 00 FF 0F C0 [19:51:31]RasterBufferAndPrint [19:51:31]line Счет N : (1)117168 [19:51:31]line ИНН: 02508201610067 [19:51:31]line Контрольно-Кассовый Чек [19:51:31]line ПРОДАЖА [19:51:31]line ТРК (МРК, ГНК) : 22 [19:51:31]line Товар: 2710124130 [19:51:31]line Аи-92-К-5 [19:51:31]line 14.750 * 67.80 [19:51:31]line = 1000.05 [19:51:31]line НДС 12% НСП 1% [19:51:31]line > о реализуемом товаре [19:51:31]line ИТОГО: 1000.05 [19:51:31]line НСП 1% : 8.85 [19:51:31]line НДС 12% : 106.20 [19:51:31]line Наличными: 0.00 [19:51:31]line Безнал.: 1000.05 [19:51:31]line Место: АЗС № 176 "Партнер Нефть" [19:51:31]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:51:31]line СНО: Общий режим [19:51:31]line Чек 62 24.09.2024 19:51 [19:51:31]line Смена: 182 ФФД: 1.0 [19:51:31]line ЗНМ: 0300000010 [19:51:31]line РНМ: 0000000000152968 [19:51:31]line Версия ККМ: v1.0 [19:51:31]line Платежная система: O! деньги [19:51:31]line ФМ: 0000000000959456 [19:51:31]line ФД: 18892 [19:51:31]line ФПД: 81986064257920 [19:51:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195132&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18892&fm=81986064257920&tin=02508201610067®Number=0000000000152968&sum=100005 [19:51:31]OFD Sender: Processing packet 18892 [packets to send 7, broken 6] [19:51:31]ProducePacketName [19:51:31]name=ofd_packets/00018892 [19:51:31]OFD Sender: To server: pG, [19:51:31]CommunicateWithHost lk.salyk.kg:30040 [19:51:31]ConnectInit lk.salyk.kg [19:51:31]written 0, free lines is 4095 [19:51:31]Connected sock=9 [19:51:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 5E 2E 07 01 A9 73 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A5 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A5 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 18 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CC 49 00 00 35 04 06 00 4A 90 DE 3C 93 80 5B 9E 81 8E 36 85 A8 D7 [19:51:32]Write to MH i2c: 01 00 00 CC 09 D5 [19:51:32]Write i2c OK [19:51:32]MH_I2C_Read... [19:51:32]Read from MH i2c: 01 [19:51:32]MH_I2C_Read... [19:51:32]Read from MH i2c: 01 07 00 [19:51:32]MH_I2C_Read... [19:51:32]Read from MH i2c: 01 07 00 CC 09 00 00 00 00 00 08 0D F1 [19:51:32]RasterBufferAndPrint [19:51:32]line [19:51:32]line [19:51:32]line [19:51:32]line [19:51:32]line [19:51:32]written 0, free lines is 3342 [19:51:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 6E D4 47 00 46 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 39 35 39 34 35 36 10 04 04 00 CC 49 00 00 F4 03 04 00 A3 C1 F2 66 B6 04 01 00 00 5C 38 08 3F AF A9 8D 48 [19:51:32]CommunicateWithHost err = 0 [19:51:32]CheckOFDResponse [19:51:32]1017 (14) - 77093643461234 [19:51:32]1041 (16) - 0000000000959456 [19:51:32]1040 (4) - 18892 [19:51:32]1012 (4) - 24.09.2024 13:41 [19:51:32]1206 (1) - 0 [19:51:32]OFD Sender: Remove packet 18892 [19:51:32]ProducePacketName [19:51:32]name=ofd_packets/00018892 [19:51:32]NVStorageDeleteData [19:51:32]MH_Cut [19:51:32]Write to MH i2c: D1 01 00 D3 09 01 AE [19:51:32]Write i2c OK [19:51:32]MH_I2C_Read... [19:51:32]Read from MH i2c: D1 [19:51:32]MH_I2C_Read... [19:51:32]Read from MH i2c: D1 01 00 [19:51:32]MH_I2C_Read... [19:51:32]Read from MH i2c: D1 01 00 D3 09 00 AD [19:51:32]Write to MH i2c: 01 00 00 D4 09 DD [19:51:32]Write i2c OK [19:51:32]MH_I2C_Read... [19:51:32]OFD Sender: No OFD packet to send [19:51:32]*** Cut start [19:51:32]*** Partial cut [19:51:32]*** CUTSNS_PIN = 1 [19:51:32]*** CUTSNS_PIN = 0 [19:51:33]*** Brake cut motor [19:51:33]Read from MH i2c: 01 [19:51:33]MH_I2C_Read... [19:51:33]*** Stop cut motor [19:51:33]*** Cut end [19:51:33]Read from MH i2c: 01 07 00 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: 01 07 00 D4 09 00 00 00 00 00 FF 0F F2 [19:51:33]process_action close_receipt done [19:51:33]requested_data is exist [19:51:33]produce_requested_data [19:51:33]requested_item fm.sn is exist - process it [19:51:33]wFMCommunicate request_size=4 [19:51:33]MH_SAM_APDU [19:51:33]CAPDU: 80 11 00 00 [19:51:33]Write to MH i2c: E2 08 00 D5 09 80 11 00 00 00 00 00 00 58 [19:51:33]Write i2c OK [19:51:33]MH_I2C_Read... [19:51:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:33]Read from MH i2c: E2 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: E2 17 00 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: E2 17 00 D5 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B1 [19:51:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:51:33]wFMCommunicate OK [19:51:33]requested_item fd.num is exist - process it [19:51:33]SAM_PROTO_GetFieldsCounters [19:51:33]wFMCommunicate request_size=4 [19:51:33]MH_SAM_APDU [19:51:33]CAPDU: 80 13 00 00 [19:51:33]Write to MH i2c: E2 08 00 D6 09 80 13 00 00 00 00 00 00 5B [19:51:33]Write i2c OK [19:51:33]MH_I2C_Read... [19:51:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:51:33]Read from MH i2c: E2 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: E2 62 00 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: E2 62 00 D6 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CC 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [19:51:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CC 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:51:33]wFMCommunicate OK [19:51:33]SAM_PROTO_GetFieldsCounters done [19:51:33]requested_item shift.num is exist - process it [19:51:33]requested_item shift.opened is exist - process it [19:51:33]req_shift_opened [19:51:33]FM_GetShiftState [19:51:33]SAM_PROTO_GetShiftState [19:51:33]wFMCommunicate request_size=4 [19:51:33]MH_SAM_APDU [19:51:33]CAPDU: 80 13 01 00 [19:51:33]Write to MH i2c: E2 08 00 D7 09 80 13 01 00 00 00 00 00 5D [19:51:33]Write i2c OK [19:51:33]MH_I2C_Read... [19:51:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:33]Read from MH i2c: E2 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: E2 0E 00 [19:51:33]MH_I2C_Read... [19:51:33]Read from MH i2c: E2 0E 00 D7 09 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 94 [19:51:33]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:51:33]wFMCommunicate OK [19:51:33]SAM_PROTO_GetShiftState done [19:51:33]FM_GetShiftState done [19:51:33]req_shift_opened done [19:51:33]requested_item shift.open_date is exist - process it [19:51:33]req_shift_open_date [19:51:33]req_shift_open_date done [19:51:33]produce_requested_data done [19:51:33]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18892,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:51:33]process_action_free close_receipt [19:51:33]json_value_free [19:51:33]json_value_free done [19:51:33]process_json_proto returns [19:51:33]Send response to host [19:51:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18892,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:51:33]free response buf [19:51:33]execute_script done [19:51:33]execute_script returns [19:51:33]free content buf [19:51:33]Sock 8.Close socket [19:51:33]Sock 8.Thread stoped [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:22]accept exits with 10 [19:56:22]New connection [19:56:22]New thread 3066903908 created [19:56:22]Thread 3067047268 joined [19:56:22]Waiting for new connection... [19:56:22] Sock 10.Parse request [19:56:22]Sock 10.Check first char [19:56:22]Sock 10.First char is OK [19:56:22]request: POST /json_proto HTTP/1.0 [19:56:22]Method: POST [19:56:22]URL: /json_proto [19:56:22]Method is POST - this is cgi request [19:56:22]url: /json_proto [19:56:22]query_string will be loaded in cgi processing [19:56:22]execute_cgi json_proto POST (null) [19:56:22]execute_cgi path=json_proto method=POST [19:56:22]POST find Content-Length [19:56:22]Host: 172.17.62.196:8080 [19:56:22]Content-Length: 677 [19:56:22]Content-Type: application/json [19:56:22] [19:56:22]POST finish read [19:56:22]Found Content-Length = 677 [19:56:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117169", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:56:22]execute_script... [19:56:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117169", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:56:22]POST & json_proto [19:56:22]process_json_proto [19:56:22]json parsed OK: [19:56:22]protocol is kg_v1.0 [19:56:22]action value=close_receipt [19:56:22]process_action close_receipt [19:56:22]cmd_close_receipt [19:56:22]MH_GetDate [19:56:22]Write to MH i2c: F0 00 00 D8 09 D0 [19:56:22]Write i2c OK [19:56:22]MH_I2C_Read... [19:56:22]Read from MH i2c: F0 [19:56:22]MH_I2C_Read... [19:56:22]Read from MH i2c: F0 09 00 [19:56:22]MH_I2C_Read... [19:56:22]Read from MH i2c: F0 09 00 D8 09 00 68 19 F3 66 CE CC 0E 66 C1 [19:56:22]GetLastDocTimeStamp 1727207492 [19:56:22]current date 1727207784 [19:56:22]FM_GetShiftState [19:56:22]SAM_PROTO_GetShiftState [19:56:22]wFMCommunicate request_size=4 [19:56:22]MH_SAM_APDU [19:56:22]CAPDU: 80 13 01 00 [19:56:22]Write to MH i2c: E2 08 00 D9 09 80 13 01 00 00 00 00 00 5F [19:56:22]Write i2c OK [19:56:22]MH_I2C_Read... [19:56:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:56:22]Read from MH i2c: E2 [19:56:22]MH_I2C_Read... [19:56:22]Read from MH i2c: E2 0E 00 [19:56:22]MH_I2C_Read... [19:56:22]Read from MH i2c: E2 0E 00 D9 09 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 96 [19:56:22]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:56:22]wFMCommunicate OK [19:56:22]SAM_PROTO_GetShiftState done [19:56:22]FM_GetShiftState done [19:56:22]opened in 1727136720 [19:56:22]opened+sec_in_day 1727223120 [19:56:22]quantity*price = 40002 [19:56:22]sum+1 = 40003 [19:56:22]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 63 24.09.2024 19:56 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18893 ФПД: 203260274245968 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195624&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18893&fm=203260274245968&tin=02508201610067®Number=0000000000152968&sum=40000 [19:56:23]StoreToDocumentArchive [19:56:23]shift 182 fd 18893 [19:56:23]save to /storage/0182/doc_00018893 [19:56:23]save last doc name /storage/0182/doc_00018893 to /storage/kkm_last_doc_name [19:56:23]save OK [19:56:23]Clear old archive folders... [19:56:23]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:56:23]tlvbuf is 018AEA50 [19:56:23]SAM_PROTO_ClearQueue [19:56:23]wFMCommunicate request_size=4 [19:56:23]MH_SAM_APDU [19:56:23]CAPDU: 80 09 00 00 [19:56:23]Write to MH i2c: E2 08 00 E6 09 80 09 00 00 00 00 00 00 61 [19:56:23]Write i2c OK [19:56:23]MH_I2C_Read... [19:56:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:56:23]Read from MH i2c: E2 [19:56:23]MH_I2C_Read... [19:56:23]Read from MH i2c: E2 03 00 [19:56:23]MH_I2C_Read... [19:56:23]Read from MH i2c: E2 03 00 E6 09 00 90 00 63 [19:56:23]RAPDU: 90 00 [19:56:23]wFMCommunicate OK [19:56:23]SAM_PROTO_ClearQueue done [19:56:23]KKMCreateOFDPacket [19:56:23]OFDProtocolAddRootSTLVToBuf [19:56:23]FM_MakeSignedData [19:56:23]FM_MakeSignedData [19:56:23]SAM_PROTO_SignData [19:56:23]wFMCommunicate request_size=4 [19:56:23]MH_SAM_APDU [19:56:23]CAPDU: 80 0D 01 02 [19:56:23]Write to MH i2c: E2 08 00 E7 09 80 0D 01 02 00 00 00 00 69 [19:56:23]Write i2c OK [19:56:23]MH_I2C_Read... [19:56:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:56:23]Read from MH i2c: E2 [19:56:23]MH_I2C_Read... [19:56:23]Read from MH i2c: E2 03 00 [19:56:23]MH_I2C_Read... [19:56:23]Read from MH i2c: E2 03 00 E7 09 00 90 00 64 [19:56:23]RAPDU: 90 00 [19:56:23]wFMCommunicate OK [19:56:23]wFMCommunicate request_size=255 [19:56:23]MH_SAM_APDU [19:56:23]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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CD 49 00 00 35 04 06 00 B8 [19:56:23]Write to MH i2c: E2 02 01 E8 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CD 49 00 00 35 04 06 00 B8 00 00 76 [19:56:23]Write i2c OK [19:56:23]MH_I2C_Read... [19:56:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:56:24]Read from MH i2c: E2 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 03 00 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 03 00 E8 09 00 90 00 65 [19:56:24]RAPDU: 90 00 [19:56:24]wFMCommunicate OK [19:56:24]wFMCommunicate request_size=10 [19:56:24]MH_SAM_APDU [19:56:24]CAPDU: 80 0D 02 02 05 DD 38 71 81 50 [19:56:24]Write to MH i2c: E2 0D 00 E9 09 80 0D 02 02 05 00 DD 38 71 81 50 00 00 CD [19:56:24]Write i2c OK [19:56:24]MH_I2C_Read... [19:56:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:56:24]Read from MH i2c: E2 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 03 00 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 03 00 E9 09 00 90 00 66 [19:56:24]RAPDU: 90 00 [19:56:24]wFMCommunicate OK [19:56:24]wFMCommunicate request_size=4 [19:56:24]MH_SAM_APDU [19:56:24]CAPDU: 80 0D 03 02 [19:56:24]Write to MH i2c: E2 08 00 EA 09 80 0D 03 02 00 00 00 00 6E [19:56:24]Write i2c OK [19:56:24]MH_I2C_Read... [19:56:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:56:24]Read from MH i2c: E2 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 0B 00 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 0B 00 EA 09 00 D2 C3 68 B6 F1 EA 5B 99 90 00 F1 [19:56:24]RAPDU: D2 C3 68 B6 F1 EA 5B 99 90 00 [19:56:24]wFMCommunicate OK [19:56:24]SAM_PROTO_SignData done [19:56:24]FM_MakeSignedData done [19:56:24]CreateOFDProtocolMessage [19:56:24]wFMCommunicate request_size=4 [19:56:24]MH_SAM_APDU [19:56:24]CAPDU: 80 11 00 00 [19:56:24]Write to MH i2c: E2 08 00 EB 09 80 11 00 00 00 00 00 00 6E [19:56:24]Write i2c OK [19:56:24]MH_I2C_Read... [19:56:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:24]Read from MH i2c: E2 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 17 00 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: E2 17 00 EB 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C7 [19:56:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:56:24]wFMCommunicate OK [19:56:24]CreateOFDProtocolMessage done [19:56:24]OFDSenderStorePacket 18893 [19:56:24]StoreOFDPacket docnum=18893 [19:56:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 2E B9 07 01 81 1C 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CD 49 00 00 35 04 06 00 B8 DD 38 71 81 50 D2 C3 68 B6 F1 EA 5B 99 [19:56:24]CheckFolder [19:56:24]dirname=/storage/ofd_packets [19:56:24]CheckFolder done [19:56:24]ProducePacketName [19:56:24]name=ofd_packets/00018893 [19:56:24]NVStorageSaveData ofd_packets/00018893 [19:56:24]File name is /storage/ofd_packets/00018893 [19:56:24]Write 301 bytes [19:56:24]NVStorageSaveData done [19:56:24]OFDSenderStorePacket done [19:56:24]KKMCreateOFDPacket done [19:56:24]NVStorageSaveData kkm_last_timestamp [19:56:24]File name is /storage/kkm_last_timestamp [19:56:24]Write 4 bytes [19:56:24]NVStorageSaveData done [19:56:24]ExternCall_PrintAddStr [19:56:24]wPrintStart [19:56:24]Write to MH i2c: 01 00 00 EC 09 F5 [19:56:24]Write i2c OK [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: 01 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: 01 07 00 [19:56:24]MH_I2C_Read... [19:56:24]Read from MH i2c: 01 07 00 EC 09 00 00 00 00 00 FF 0F 0A [19:56:24]RasterBufferAndPrint [19:56:24]line Счет N : (1)117169 [19:56:24]line ИНН: 02508201610067 [19:56:24]line Контрольно-Кассовый Чек [19:56:24]line ПРОДАЖА [19:56:24]line ТРК (МРК, ГНК) : 22 [19:56:24]line Товар: 2710124130 [19:56:24]line Аи-92-К-5 [19:56:24]line 5.900 * 67.80 [19:56:24]line = 400.02 [19:56:24]line НДС 12% НСП 1% [19:56:24]line > о реализуемом товаре [19:56:24]line ОКРУГЛЕНИЕ: -0.02 [19:56:24]line ИТОГО: 400.00 [19:56:24]line Внесено: 400.00 [19:56:24]line СДАЧА: 0.00 [19:56:24]line НСП 1% : 3.54 [19:56:24]line НДС 12% : 42.48 [19:56:24]line Наличными: 400.00 [19:56:24]line Безнал.: 0.00 [19:56:24]line Место: АЗС № 176 "Партнер Нефть" [19:56:24]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:56:24]line СНО: Общий режим [19:56:24]line Чек 63 24.09.2024 19:56 [19:56:24]line Смена: 182 ФФД: 1.0 [19:56:24]line ЗНМ: 0300000010 [19:56:24]line РНМ: 0000000000152968 [19:56:24]line Версия ККМ: v1.0 [19:56:24]line ФМ: 0000000000959456 [19:56:24]line ФД: 18893 [19:56:24]line ФПД: 203260274245968 [19:56:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195624&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18893&fm=203260274245968&tin=02508201610067®Number=0000000000152968&sum=40000 [19:56:24]OFD Sender: Processing packet 18893 [packets to send 7, broken 6] [19:56:24]ProducePacketName [19:56:24]name=ofd_packets/00018893 [19:56:24]OFD Sender: To server: pG, [19:56:24]CommunicateWithHost lk.salyk.kg:30040 [19:56:24]ConnectInit lk.salyk.kg [19:56:24]written 0, free lines is 4095 [19:56:24]Connected sock=9 [19:56:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 2E B9 07 01 81 1C 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CD 49 00 00 35 04 06 00 B8 DD 38 71 81 50 D2 C3 68 B6 F1 EA 5B 99 [19:56:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 3C A2 47 00 13 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CD 49 00 00 F4 03 04 00 C8 C2 F2 66 B6 04 01 00 00 35 6B D4 CF 05 FA 29 84 [19:56:25]CommunicateWithHost err = 0 [19:56:25]CheckOFDResponse [19:56:25]1017 (14) - 77093643461234 [19:56:25]1041 (16) - 0000000000959456 [19:56:25]1040 (4) - 18893 [19:56:25]1012 (4) - 24.09.2024 13:46 [19:56:25]1206 (1) - 0 [19:56:25]OFD Sender: Remove packet 18893 [19:56:25]ProducePacketName [19:56:25]name=ofd_packets/00018893 [19:56:25]NVStorageDeleteData [19:56:25]Write to MH i2c: 01 00 00 17 0A 21 [19:56:25]Write i2c OK [19:56:25]MH_I2C_Read... [19:56:25]Read from MH i2c: 01 [19:56:25]MH_I2C_Read... [19:56:25]Read from MH i2c: 01 07 00 [19:56:25]MH_I2C_Read... [19:56:25]Read from MH i2c: 01 07 00 17 0A 00 00 00 00 00 F8 0C 2C [19:56:25]RasterBufferAndPrint [19:56:25]line [19:56:25]line [19:56:25]line [19:56:25]line [19:56:25]line [19:56:25]written 0, free lines is 3327 [19:56:25]MH_Cut [19:56:25]Write to MH i2c: D1 01 00 1E 0A 01 FA [19:56:25]Write i2c OK [19:56:25]MH_I2C_Read... [19:56:25]Read from MH i2c: D1 [19:56:25]MH_I2C_Read... [19:56:25]Read from MH i2c: D1 01 00 [19:56:25]MH_I2C_Read... [19:56:25]Read from MH i2c: D1 01 00 1E 0A 00 F9 [19:56:25]Write to MH i2c: 01 00 00 1F 0A 29 [19:56:25]Write i2c OK [19:56:25]MH_I2C_Read... [19:56:25]OFD Sender: No OFD packet to send [19:56:25]*** Cut start [19:56:25]*** Partial cut [19:56:25]*** CUTSNS_PIN = 1 [19:56:25]*** CUTSNS_PIN = 0 [19:56:25]*** Brake cut motor [19:56:26]Read from MH i2c: 01 [19:56:26]MH_I2C_Read... [19:56:26]*** Stop cut motor [19:56:26]*** Cut end [19:56:26]Read from MH i2c: 01 07 00 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: 01 07 00 1F 0A 00 00 00 00 00 FF 0F 3E [19:56:26]process_action close_receipt done [19:56:26]requested_data is exist [19:56:26]produce_requested_data [19:56:26]requested_item fm.sn is exist - process it [19:56:26]wFMCommunicate request_size=4 [19:56:26]MH_SAM_APDU [19:56:26]CAPDU: 80 11 00 00 [19:56:26]Write to MH i2c: E2 08 00 20 0A 80 11 00 00 00 00 00 00 A4 [19:56:26]Write i2c OK [19:56:26]MH_I2C_Read... [19:56:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:26]Read from MH i2c: E2 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: E2 17 00 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: E2 17 00 20 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FD [19:56:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:56:26]wFMCommunicate OK [19:56:26]requested_item fd.num is exist - process it [19:56:26]SAM_PROTO_GetFieldsCounters [19:56:26]wFMCommunicate request_size=4 [19:56:26]MH_SAM_APDU [19:56:26]CAPDU: 80 13 00 00 [19:56:26]Write to MH i2c: E2 08 00 21 0A 80 13 00 00 00 00 00 00 A7 [19:56:26]Write i2c OK [19:56:26]MH_I2C_Read... [19:56:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:56:26]Read from MH i2c: E2 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: E2 62 00 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: E2 62 00 21 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CD 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [19:56:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CD 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:56:26]wFMCommunicate OK [19:56:26]SAM_PROTO_GetFieldsCounters done [19:56:26]requested_item shift.num is exist - process it [19:56:26]requested_item shift.opened is exist - process it [19:56:26]req_shift_opened [19:56:26]FM_GetShiftState [19:56:26]SAM_PROTO_GetShiftState [19:56:26]wFMCommunicate request_size=4 [19:56:26]MH_SAM_APDU [19:56:26]CAPDU: 80 13 01 00 [19:56:26]Write to MH i2c: E2 08 00 22 0A 80 13 01 00 00 00 00 00 A9 [19:56:26]Write i2c OK [19:56:26]MH_I2C_Read... [19:56:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:56:26]Read from MH i2c: E2 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: E2 0E 00 [19:56:26]MH_I2C_Read... [19:56:26]Read from MH i2c: E2 0E 00 22 0A 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E0 [19:56:26]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:56:26]wFMCommunicate OK [19:56:26]SAM_PROTO_GetShiftState done [19:56:26]FM_GetShiftState done [19:56:26]req_shift_opened done [19:56:26]requested_item shift.open_date is exist - process it [19:56:26]req_shift_open_date [19:56:26]req_shift_open_date done [19:56:26]produce_requested_data done [19:56:26]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18893,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:56:26]process_action_free close_receipt [19:56:26]json_value_free [19:56:26]json_value_free done [19:56:26]process_json_proto returns [19:56:26]Send response to host [19:56:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18893,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:56:26]free response buf [19:56:26]execute_script done [19:56:26]execute_script returns [19:56:26]free content buf [19:56:26]Sock 10.Close socket [19:56:26]Sock 10.Thread stoped [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:42]accept exits with 8 [19:57:42]New connection [19:57:42]New thread 3067047268 created [19:57:42]Thread 3066903908 joined [19:57:42]Waiting for new connection... [19:57:42] Sock 8.Parse request [19:57:42]Sock 8.Check first char [19:57:42]Sock 8.First char is OK [19:57:42]request: POST /json_proto HTTP/1.0 [19:57:42]Method: POST [19:57:42]URL: /json_proto [19:57:42]Method is POST - this is cgi request [19:57:42]url: /json_proto [19:57:42]query_string will be loaded in cgi processing [19:57:42]execute_cgi json_proto POST (null) [19:57:42]execute_cgi path=json_proto method=POST [19:57:42]POST find Content-Length [19:57:42]Host: 172.17.62.196:8080 [19:57:42]Content-Length: 801 [19:57:42]Content-Type: application/json [19:57:42] [19:57:42]POST finish read [19:57:42]Found Content-Length = 801 [19:57:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117171", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.070, "sum" : 969.79, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 969.79 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:57:42]execute_script... [19:57: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 : (1)117171", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.070, "sum" : 969.79, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 969.79 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:57:42]POST & json_proto [19:57:42]process_json_proto [19:57:42]json parsed OK: [19:57:42]protocol is kg_v1.0 [19:57:42]action value=close_receipt [19:57:42]process_action close_receipt [19:57:42]cmd_close_receipt [19:57:42]MH_GetDate [19:57:42]Write to MH i2c: F0 00 00 23 0A 1C [19:57:42]Write i2c OK [19:57:42]MH_I2C_Read... [19:57:42]Read from MH i2c: F0 [19:57:42]MH_I2C_Read... [19:57:42]Read from MH i2c: F0 09 00 [19:57:42]MH_I2C_Read... [19:57:42]Read from MH i2c: F0 09 00 23 0A 00 B9 19 F3 66 CE CC 0E 66 5E [19:57:42]GetLastDocTimeStamp 1727207784 [19:57:42]current date 1727207865 [19:57:42]FM_GetShiftState [19:57:42]SAM_PROTO_GetShiftState [19:57:42]wFMCommunicate request_size=4 [19:57:42]MH_SAM_APDU [19:57:42]CAPDU: 80 13 01 00 [19:57:42]Write to MH i2c: E2 08 00 24 0A 80 13 01 00 00 00 00 00 AB [19:57:42]Write i2c OK [19:57:42]MH_I2C_Read... [19:57:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:57:42]Read from MH i2c: E2 [19:57:42]MH_I2C_Read... [19:57:42]Read from MH i2c: E2 0E 00 [19:57:42]MH_I2C_Read... [19:57:42]Read from MH i2c: E2 0E 00 24 0A 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E2 [19:57:42]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:57:42]wFMCommunicate OK [19:57:42]SAM_PROTO_GetShiftState done [19:57:42]FM_GetShiftState done [19:57:42]opened in 1727136720 [19:57:42]opened+sec_in_day 1727223120 [19:57:42]quantity*price = 96979 [19:57:42]sum+1 = 96980 [19:57:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 969.79 НСП 1% : 8.58 НДС 12% : 102.99 Наличными: 0.00 Безнал.: 969.79 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 64 24.09.2024 19:57 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18894 ФПД: 101832805317063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195745&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18894&fm=101832805317063&tin=02508201610067®Number=0000000000152968&sum=96979 [19:57:43]StoreToDocumentArchive [19:57:43]shift 182 fd 18894 [19:57:43]save to /storage/0182/doc_00018894 [19:57:43]save last doc name /storage/0182/doc_00018894 to /storage/kkm_last_doc_name [19:57:43]save OK [19:57:43]Clear old archive folders... [19:57:43]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:57:43]tlvbuf is 01837480 [19:57:43]SAM_PROTO_ClearQueue [19:57:43]wFMCommunicate request_size=4 [19:57:43]MH_SAM_APDU [19:57:43]CAPDU: 80 09 00 00 [19:57:43]Write to MH i2c: E2 08 00 31 0A 80 09 00 00 00 00 00 00 AD [19:57:43]Write i2c OK [19:57:43]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 31 0A 00 90 00 AF [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]SAM_PROTO_ClearQueue done [19:57:44]KKMCreateOFDPacket [19:57:44]OFDProtocolAddRootSTLVToBuf [19:57:44]FM_MakeSignedData [19:57:44]FM_MakeSignedData [19:57:44]SAM_PROTO_SignData [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 01 02 [19:57:44]Write to MH i2c: E2 08 00 32 0A 80 0D 01 02 00 00 00 00 B5 [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 32 0A 00 90 00 B0 [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]wFMCommunicate request_size=255 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0E 33 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D3 7A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 7A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 28 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 7A 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B9 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CE 49 00 00 35 04 06 00 5C [19:57:44]Write to MH i2c: E2 02 01 33 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0E 33 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D3 7A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 7A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 28 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 7A 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B9 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CE 49 00 00 35 04 06 00 5C 00 00 66 [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 33 0A 00 90 00 B1 [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]wFMCommunicate request_size=10 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 02 02 05 9D CC 2F F9 C7 [19:57:44]Write to MH i2c: E2 0D 00 34 0A 80 0D 02 02 05 00 9D CC 2F F9 C7 00 00 1A [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 34 0A 00 90 00 B2 [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 03 02 [19:57:44]Write to MH i2c: E2 08 00 35 0A 80 0D 03 02 00 00 00 00 BA [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 0B 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 0B 00 35 0A 00 39 46 68 10 A5 FB 55 4D 90 00 F4 [19:57:44]RAPDU: 39 46 68 10 A5 FB 55 4D 90 00 [19:57:44]wFMCommunicate OK [19:57:44]SAM_PROTO_SignData done [19:57:44]FM_MakeSignedData done [19:57:44]CreateOFDProtocolMessage [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 11 00 00 [19:57:44]Write to MH i2c: E2 08 00 36 0A 80 11 00 00 00 00 00 00 BA [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 17 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 17 00 36 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 13 [19:57:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:57:44]wFMCommunicate OK [19:57:44]CreateOFDProtocolMessage done [19:57:44]OFDSenderStorePacket 18894 [19:57:44]StoreOFDPacket docnum=18894 [19:57:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 4C 5C 07 01 D2 3D 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 0E 33 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D3 7A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 7A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 28 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 7A 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B9 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CE 49 00 00 35 04 06 00 5C 9D CC 2F F9 C7 39 46 68 10 A5 FB 55 4D [19:57:44]CheckFolder [19:57:44]dirname=/storage/ofd_packets [19:57:44]CheckFolder done [19:57:44]ProducePacketName [19:57:44]name=ofd_packets/00018894 [19:57:44]NVStorageSaveData ofd_packets/00018894 [19:57:44]File name is /storage/ofd_packets/00018894 [19:57:44]Write 301 bytes [19:57:44]NVStorageSaveData done [19:57:44]OFDSenderStorePacket done [19:57:44]KKMCreateOFDPacket done [19:57:44]NVStorageSaveData kkm_last_timestamp [19:57:44]File name is /storage/kkm_last_timestamp [19:57:44]Write 4 bytes [19:57:44]NVStorageSaveData done [19:57:44]ExternCall_PrintAddStr [19:57:44]wPrintStart [19:57:44]Write to MH i2c: 01 00 00 37 0A 41 [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: 01 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: 01 07 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: 01 07 00 37 0A 00 00 00 00 00 FF 0F 56 [19:57:44]RasterBufferAndPrint [19:57:44]line Счет N : (1)117171 [19:57:44]line ИНН: 02508201610067 [19:57:44]line Контрольно-Кассовый Чек [19:57:44]line ПРОДАЖА [19:57:44]line ТРК (МРК, ГНК) : 13 [19:57:44]line Товар: 2710124500 [19:57:44]line Аи-95-К-5 [19:57:44]line 13.070 * 74.20 [19:57:44]line = 969.79 [19:57:44]line НДС 12% НСП 1% [19:57:44]line > о реализуемом товаре [19:57:44]line ИТОГО: 969.79 [19:57:44]line НСП 1% : 8.58 [19:57:44]line НДС 12% : 102.99 [19:57:44]line Наличными: 0.00 [19:57:44]line Безнал.: 969.79 [19:57:44]line Место: АЗС № 176 "Партнер Нефть" [19:57:44]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:57:44]line СНО: Общий режим [19:57:44]line Чек 64 24.09.2024 19:57 [19:57:44]line Смена: 182 ФФД: 1.0 [19:57:44]line ЗНМ: 0300000010 [19:57:44]line РНМ: 0000000000152968 [19:57:44]line Версия ККМ: v1.0 [19:57:44]line Платежная система: O! деньги [19:57:44]line ФМ: 0000000000959456 [19:57:44]line ФД: 18894 [19:57:44]line ФПД: 101832805317063 [19:57:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195745&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18894&fm=101832805317063&tin=02508201610067®Number=0000000000152968&sum=96979 [19:57:44]OFD Sender: Processing packet 18894 [packets to send 7, broken 6] [19:57:44]ProducePacketName [19:57:44]name=ofd_packets/00018894 [19:57:44]OFD Sender: To server: pG, [19:57:44]CommunicateWithHost lk.salyk.kg:30040 [19:57:44]ConnectInit lk.salyk.kg [19:57:44]written 0, free lines is 4095 [19:57:44]Connected sock=10 [19:57:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 4C 5C 07 01 D2 3D 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 0E 33 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D3 7A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 7A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 28 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 7A 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B9 19 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CE 49 00 00 35 04 06 00 5C 9D CC 2F F9 C7 39 46 68 10 A5 FB 55 4D [19:57:45]Write to MH i2c: 01 00 00 61 0A 6B [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 07 00 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 07 00 61 0A 00 00 00 00 00 09 0D 88 [19:57:45]RasterBufferAndPrint [19:57:45]line [19:57:45]line [19:57:45]line [19:57:45]line [19:57:45]line [19:57:45]written 0, free lines is 3343 [19:57:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A7 0A 47 00 4B 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CE 49 00 00 F4 03 04 00 18 C3 F2 66 B6 04 01 00 00 02 4C AA 1E F0 67 A3 6E [19:57:45]CommunicateWithHost err = 0 [19:57:45]CheckOFDResponse [19:57:45]1017 (14) - 77093643461234 [19:57:45]1041 (16) - 0000000000959456 [19:57:45]1040 (4) - 18894 [19:57:45]1012 (4) - 24.09.2024 13:48 [19:57:45]1206 (1) - 0 [19:57:45]OFD Sender: Remove packet 18894 [19:57:45]ProducePacketName [19:57:45]name=ofd_packets/00018894 [19:57:45]NVStorageDeleteData [19:57:45]MH_Cut [19:57:45]Write to MH i2c: D1 01 00 68 0A 01 44 [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: D1 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: D1 01 00 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: D1 01 00 68 0A 00 43 [19:57:45]Write to MH i2c: 01 00 00 69 0A 73 [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:45]OFD Sender: No OFD packet to send [19:57:45]*** Cut start [19:57:45]*** Partial cut [19:57:45]*** CUTSNS_PIN = 1 [19:57:45]*** CUTSNS_PIN = 0 [19:57:46]*** Brake cut motor [19:57:46]Read from MH i2c: 01 [19:57:46]MH_I2C_Read... [19:57:46]*** Stop cut motor [19:57:46]*** Cut end [19:57:46]Read from MH i2c: 01 07 00 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: 01 07 00 69 0A 00 00 00 00 00 FF 0F 88 [19:57:46]process_action close_receipt done [19:57:46]requested_data is exist [19:57:46]produce_requested_data [19:57:46]requested_item fm.sn is exist - process it [19:57:46]wFMCommunicate request_size=4 [19:57:46]MH_SAM_APDU [19:57:46]CAPDU: 80 11 00 00 [19:57:46]Write to MH i2c: E2 08 00 6A 0A 80 11 00 00 00 00 00 00 EE [19:57:46]Write i2c OK [19:57:46]MH_I2C_Read... [19:57:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:57:46]Read from MH i2c: E2 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: E2 17 00 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: E2 17 00 6A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 47 [19:57:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:57:46]wFMCommunicate OK [19:57:46]requested_item fd.num is exist - process it [19:57:46]SAM_PROTO_GetFieldsCounters [19:57:46]wFMCommunicate request_size=4 [19:57:46]MH_SAM_APDU [19:57:46]CAPDU: 80 13 00 00 [19:57:46]Write to MH i2c: E2 08 00 6B 0A 80 13 00 00 00 00 00 00 F1 [19:57:46]Write i2c OK [19:57:46]MH_I2C_Read... [19:57:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:57:46]Read from MH i2c: E2 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: E2 62 00 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: E2 62 00 6B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CE 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [19:57:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CE 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:57:46]wFMCommunicate OK [19:57:46]SAM_PROTO_GetFieldsCounters done [19:57:46]requested_item shift.num is exist - process it [19:57:46]requested_item shift.opened is exist - process it [19:57:46]req_shift_opened [19:57:46]FM_GetShiftState [19:57:46]SAM_PROTO_GetShiftState [19:57:46]wFMCommunicate request_size=4 [19:57:46]MH_SAM_APDU [19:57:46]CAPDU: 80 13 01 00 [19:57:46]Write to MH i2c: E2 08 00 6C 0A 80 13 01 00 00 00 00 00 F3 [19:57:46]Write i2c OK [19:57:46]MH_I2C_Read... [19:57:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:57:46]Read from MH i2c: E2 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: E2 0E 00 [19:57:46]MH_I2C_Read... [19:57:46]Read from MH i2c: E2 0E 00 6C 0A 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 2A [19:57:46]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:57:46]wFMCommunicate OK [19:57:46]SAM_PROTO_GetShiftState done [19:57:46]FM_GetShiftState done [19:57:46]req_shift_opened done [19:57:46]requested_item shift.open_date is exist - process it [19:57:46]req_shift_open_date [19:57:46]req_shift_open_date done [19:57:46]produce_requested_data done [19:57:46]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18894,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:57:46]process_action_free close_receipt [19:57:46]json_value_free [19:57:46]json_value_free done [19:57:46]process_json_proto returns [19:57:46]Send response to host [19:57:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18894,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:57:46]free response buf [19:57:46]execute_script done [19:57:46]execute_script returns [19:57:46]free content buf [19:57:46]Sock 8.Close socket [19:57:46]Sock 8.Thread stoped [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:43]accept exits with 9 [19:59:43]New connection [19:59:43]New thread 3066903908 created [19:59:43]Thread 3067047268 joined [19:59:43]Waiting for new connection... [19:59:43] Sock 9.Parse request [19:59:43]Sock 9.Check first char [19:59:43]Sock 9.First char is OK [19:59:43]request: POST /json_proto HTTP/1.0 [19:59:43]Method: POST [19:59:43]URL: /json_proto [19:59:43]Method is POST - this is cgi request [19:59:43]url: /json_proto [19:59:43]query_string will be loaded in cgi processing [19:59:43]execute_cgi json_proto POST (null) [19:59:43]execute_cgi path=json_proto method=POST [19:59:43]POST find Content-Length [19:59:43]Host: 172.17.62.196:8080 [19:59:43]Content-Length: 806 [19:59:43]Content-Type: application/json [19:59:43] [19:59:43]POST finish read [19:59:43]Found Content-Length = 806 [19:59:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117170", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 37.20, "quantity" : 32.260, "sum" : 1200.07, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1200.07 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:43]execute_script... [19:59:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117170", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 37.20, "quantity" : 32.260, "sum" : 1200.07, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1200.07 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:43]POST & json_proto [19:59:43]process_json_proto [19:59:43]json parsed OK: [19:59:43]protocol is kg_v1.0 [19:59:43]action value=close_receipt [19:59:43]process_action close_receipt [19:59:43]cmd_close_receipt [19:59:43]MH_GetDate [19:59:43]Write to MH i2c: F0 00 00 6D 0A 66 [19:59:43]Write i2c OK [19:59:43]MH_I2C_Read... [19:59:43]Read from MH i2c: F0 [19:59:43]MH_I2C_Read... [19:59:43]Read from MH i2c: F0 09 00 [19:59:43]MH_I2C_Read... [19:59:43]Read from MH i2c: F0 09 00 6D 0A 00 31 1A F3 66 CE CC 0E 66 21 [19:59:43]GetLastDocTimeStamp 1727207865 [19:59:43]current date 1727207985 [19:59:43]FM_GetShiftState [19:59:43]SAM_PROTO_GetShiftState [19:59:43]wFMCommunicate request_size=4 [19:59:43]MH_SAM_APDU [19:59:43]CAPDU: 80 13 01 00 [19:59:43]Write to MH i2c: E2 08 00 6E 0A 80 13 01 00 00 00 00 00 F5 [19:59:43]Write i2c OK [19:59:43]MH_I2C_Read... [19:59:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:43]Read from MH i2c: E2 [19:59:43]MH_I2C_Read... [19:59:43]Read from MH i2c: E2 0E 00 [19:59:43]MH_I2C_Read... [19:59:43]Read from MH i2c: E2 0E 00 6E 0A 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 2C [19:59:43]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:59:43]wFMCommunicate OK [19:59:43]SAM_PROTO_GetShiftState done [19:59:43]FM_GetShiftState done [19:59:43]opened in 1727136720 [19:59:43]opened+sec_in_day 1727223120 [19:59:43]quantity*price = 120007 [19:59:43]sum+1 = 120008 [19:59:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1200.07 НСП 1% : 10.62 НДС 12% : 127.44 Наличными: 0.00 Безнал.: 1200.07 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 65 24.09.2024 19:59 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18895 ФПД: 280394508915500 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195945&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18895&fm=280394508915500&tin=02508201610067®Number=0000000000152968&sum=120007 [19:59:44]StoreToDocumentArchive [19:59:44]shift 182 fd 18895 [19:59:44]save to /storage/0182/doc_00018895 [19:59:44]save last doc name /storage/0182/doc_00018895 to /storage/kkm_last_doc_name [19:59:44]save OK [19:59:44]Clear old archive folders... [19:59:44]ProcessDocumentItem done err = 0, tmpTLVsize=250 [19:59:44]tlvbuf is 018AC5E0 [19:59:44]SAM_PROTO_ClearQueue [19:59:44]wFMCommunicate request_size=4 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 09 00 00 [19:59:44]Write to MH i2c: E2 08 00 7B 0A 80 09 00 00 00 00 00 00 F7 [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 7B 0A 00 90 00 F9 [19:59:44]RAPDU: 90 00 [19:59:44]wFMCommunicate OK [19:59:44]SAM_PROTO_ClearQueue done [19:59:44]KKMCreateOFDPacket [19:59:44]OFDProtocolAddRootSTLVToBuf [19:59:44]FM_MakeSignedData [19:59:44]FM_MakeSignedData [19:59:44]SAM_PROTO_SignData [19:59:44]wFMCommunicate request_size=4 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 0D 01 02 [19:59:44]Write to MH i2c: E2 08 00 7C 0A 80 0D 01 02 00 00 00 00 FF [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 7C 0A 00 90 00 FA [19:59:44]RAPDU: 90 00 [19:59:44]wFMCommunicate OK [19:59:44]wFMCommunicate request_size=255 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 04 7E 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 C7 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C7 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C7 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 31 1A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CF 49 00 00 35 04 06 00 FF 04 [19:59:44]Write to MH i2c: E2 02 01 7D 0A 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 04 7E 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 C7 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C7 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C7 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 31 1A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CF 49 00 00 35 04 06 00 FF 04 00 00 7F [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:45]Read from MH i2c: E2 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 03 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 03 00 7D 0A 00 90 00 FB [19:59:45]RAPDU: 90 00 [19:59:45]wFMCommunicate OK [19:59:45]wFMCommunicate request_size=9 [19:59:45]MH_SAM_APDU [19:59:45]CAPDU: 80 0D 02 02 04 6F 19 D3 2C [19:59:45]Write to MH i2c: E2 0C 00 7E 0A 80 0D 02 02 04 00 6F 19 D3 2C 00 00 91 [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:45]Read from MH i2c: E2 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 03 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 03 00 7E 0A 00 90 00 FC [19:59:45]RAPDU: 90 00 [19:59:45]wFMCommunicate OK [19:59:45]wFMCommunicate request_size=4 [19:59:45]MH_SAM_APDU [19:59:45]CAPDU: 80 0D 03 02 [19:59:45]Write to MH i2c: E2 08 00 7F 0A 80 0D 03 02 00 00 00 00 04 [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:45]Read from MH i2c: E2 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 0B 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 0B 00 7F 0A 00 4A 8C 38 94 16 A6 12 8E 90 00 03 [19:59:45]RAPDU: 4A 8C 38 94 16 A6 12 8E 90 00 [19:59:45]wFMCommunicate OK [19:59:45]SAM_PROTO_SignData done [19:59:45]FM_MakeSignedData done [19:59:45]CreateOFDProtocolMessage [19:59:45]wFMCommunicate request_size=4 [19:59:45]MH_SAM_APDU [19:59:45]CAPDU: 80 11 00 00 [19:59:45]Write to MH i2c: E2 08 00 80 0A 80 11 00 00 00 00 00 00 04 [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:45]Read from MH i2c: E2 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 17 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: E2 17 00 80 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 5D [19:59:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:59:45]wFMCommunicate OK [19:59:45]CreateOFDProtocolMessage done [19:59:45]OFDSenderStorePacket 18895 [19:59:45]StoreOFDPacket docnum=18895 [19:59:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0E 01 00 00 4A A4 06 01 D2 6C 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 04 7E 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 C7 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C7 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C7 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 31 1A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CF 49 00 00 35 04 06 00 FF 04 6F 19 D3 2C 4A 8C 38 94 16 A6 12 8E [19:59:45]CheckFolder [19:59:45]dirname=/storage/ofd_packets [19:59:45]CheckFolder done [19:59:45]ProducePacketName [19:59:45]name=ofd_packets/00018895 [19:59:45]NVStorageSaveData ofd_packets/00018895 [19:59:45]File name is /storage/ofd_packets/00018895 [19:59:45]Write 300 bytes [19:59:45]NVStorageSaveData done [19:59:45]OFDSenderStorePacket done [19:59:45]KKMCreateOFDPacket done [19:59:45]NVStorageSaveData kkm_last_timestamp [19:59:45]File name is /storage/kkm_last_timestamp [19:59:45]Write 4 bytes [19:59:45]NVStorageSaveData done [19:59:45]ExternCall_PrintAddStr [19:59:45]wPrintStart [19:59:45]Write to MH i2c: 01 00 00 81 0A 8B [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 07 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 07 00 81 0A 00 00 00 00 00 FF 0F A0 [19:59:45]RasterBufferAndPrint [19:59:45]line Счет N : (1)117170 [19:59:45]line ИНН: 02508201610067 [19:59:45]line Контрольно-Кассовый Чек [19:59:45]line ПРОДАЖА [19:59:45]line ТРК (МРК, ГНК) : 71 [19:59:45]line Товар: 2711190000 [19:59:45]line ГАЗ-К-3 [19:59:45]line 32.260 * 37.20 [19:59:45]line = 1200.07 [19:59:45]line НДС 12% НСП 1% [19:59:45]line > о реализуемом товаре [19:59:45]line ИТОГО: 1200.07 [19:59:45]line НСП 1% : 10.62 [19:59:45]line НДС 12% : 127.44 [19:59:45]line Наличными: 0.00 [19:59:45]line Безнал.: 1200.07 [19:59:45]line Место: АЗС № 176 "Партнер Нефть" [19:59:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:59:45]line СНО: Общий режим [19:59:45]line Чек 65 24.09.2024 19:59 [19:59:45]line Смена: 182 ФФД: 1.0 [19:59:45]line ЗНМ: 0300000010 [19:59:45]line РНМ: 0000000000152968 [19:59:45]line Версия ККМ: v1.0 [19:59:45]line Платежная система: O! деньги [19:59:45]line ФМ: 0000000000959456 [19:59:45]line ФД: 18895 [19:59:45]line ФПД: 280394508915500 [19:59:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T195945&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18895&fm=280394508915500&tin=02508201610067®Number=0000000000152968&sum=120007 [19:59:45]OFD Sender: Processing packet 18895 [packets to send 7, broken 6] [19:59:45]ProducePacketName [19:59:45]name=ofd_packets/00018895 [19:59:45]OFD Sender: To server: pG, [19:59:45]CommunicateWithHost lk.salyk.kg:30040 [19:59:45]ConnectInit lk.salyk.kg [19:59:45]written 0, free lines is 4095 [19:59:45]Connected sock=8 [19:59:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0E 01 00 00 4A A4 06 01 D2 6C 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 04 7E 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 C7 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C7 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C7 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 31 1A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CF 49 00 00 35 04 06 00 FF 04 6F 19 D3 2C 4A 8C 38 94 16 A6 12 8E [19:59:45]Write to MH i2c: 01 00 00 AB 0A B5 [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 07 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 07 00 AB 0A 00 00 00 00 00 03 0D CC [19:59:45]RasterBufferAndPrint [19:59:45]line [19:59:45]line [19:59:45]line [19:59:45]line [19:59:45]line [19:59:45]written 0, free lines is 3337 [19:59:45]MH_Cut [19:59:45]Write to MH i2c: D1 01 00 B2 0A 01 8E [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: D1 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: D1 01 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: D1 01 00 B2 0A 00 8D [19:59:45]Write to MH i2c: 01 00 00 B3 0A BD [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E3 81 47 00 73 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 CF 49 00 00 F4 03 04 00 91 C3 F2 66 B6 04 01 00 00 D2 6E AB EA 37 41 0A F8 [19:59:45]CommunicateWithHost err = 0 [19:59:45]CheckOFDResponse [19:59:45]1017 (14) - 77093643461234 [19:59:45]1041 (16) - 0000000000959456 [19:59:45]1040 (4) - 18895 [19:59:45]1012 (4) - 24.09.2024 13:50 [19:59:45]1206 (1) - 0 [19:59:45]OFD Sender: Remove packet 18895 [19:59:45]ProducePacketName [19:59:45]name=ofd_packets/00018895 [19:59:45]NVStorageDeleteData [19:59:46]OFD Sender: No OFD packet to send [19:59:46]*** Cut start [19:59:46]*** Partial cut [19:59:46]*** CUTSNS_PIN = 1 [19:59:46]*** CUTSNS_PIN = 0 [19:59:46]*** Brake cut motor [19:59:47]Read from MH i2c: 01 [19:59:47]MH_I2C_Read... [19:59:47]*** Stop cut motor [19:59:47]*** Cut end [19:59:47]Read from MH i2c: 01 07 00 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: 01 07 00 B3 0A 00 00 00 00 00 FF 0F D2 [19:59:47]process_action close_receipt done [19:59:47]requested_data is exist [19:59:47]produce_requested_data [19:59:47]requested_item fm.sn is exist - process it [19:59:47]wFMCommunicate request_size=4 [19:59:47]MH_SAM_APDU [19:59:47]CAPDU: 80 11 00 00 [19:59:47]Write to MH i2c: E2 08 00 B4 0A 80 11 00 00 00 00 00 00 38 [19:59:47]Write i2c OK [19:59:47]MH_I2C_Read... [19:59:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:47]Read from MH i2c: E2 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 17 00 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 17 00 B4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 91 [19:59:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:59:47]wFMCommunicate OK [19:59:47]requested_item fd.num is exist - process it [19:59:47]SAM_PROTO_GetFieldsCounters [19:59:47]wFMCommunicate request_size=4 [19:59:47]MH_SAM_APDU [19:59:47]CAPDU: 80 13 00 00 [19:59:47]Write to MH i2c: E2 08 00 B5 0A 80 13 00 00 00 00 00 00 3B [19:59:47]Write i2c OK [19:59:47]MH_I2C_Read... [19:59:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:47]Read from MH i2c: E2 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 62 00 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 62 00 B5 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CF 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [19:59:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 CF 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:59:47]wFMCommunicate OK [19:59:47]SAM_PROTO_GetFieldsCounters done [19:59:47]requested_item shift.num is exist - process it [19:59:47]requested_item shift.opened is exist - process it [19:59:47]req_shift_opened [19:59:47]FM_GetShiftState [19:59:47]SAM_PROTO_GetShiftState [19:59:47]wFMCommunicate request_size=4 [19:59:47]MH_SAM_APDU [19:59:47]CAPDU: 80 13 01 00 [19:59:47]Write to MH i2c: E2 08 00 B6 0A 80 13 01 00 00 00 00 00 3D [19:59:47]Write i2c OK [19:59:47]MH_I2C_Read... [19:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:47]Read from MH i2c: E2 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 0E 00 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 0E 00 B6 0A 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 74 [19:59:47]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [19:59:47]wFMCommunicate OK [19:59:47]SAM_PROTO_GetShiftState done [19:59:47]FM_GetShiftState done [19:59:47]req_shift_opened done [19:59:47]requested_item shift.open_date is exist - process it [19:59:47]req_shift_open_date [19:59:47]req_shift_open_date done [19:59:47]produce_requested_data done [19:59:47]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18895,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [19:59:47]process_action_free close_receipt [19:59:47]json_value_free [19:59:47]json_value_free done [19:59:47]process_json_proto returns [19:59:47]Send response to host [19:59:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18895,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [19:59:47]free response buf [19:59:47]execute_script done [19:59:47]execute_script returns [19:59:47]free content buf [19:59:47]Sock 9.Close socket [19:59:47]Sock 9.Thread stoped [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:21]OFD Sender: No OFD packet to send [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:11]OFD Sender: No OFD packet to send [20:10:16]OFD Sender: No OFD packet to send [20:10:21]OFD Sender: No OFD packet to send [20:10:26]OFD Sender: No OFD packet to send [20:10:31]OFD Sender: No OFD packet to send [20:10:36]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:35]accept exits with 10 [20:12:35]New connection [20:12:35]New thread 3067047268 created [20:12:35]Thread 3066903908 joined [20:12:35]Waiting for new connection... [20:12:35] Sock 10.Parse request [20:12:35]Sock 10.Check first char [20:12:35]Sock 10.First char is OK [20:12:35]request: POST /json_proto HTTP/1.0 [20:12:35]Method: POST [20:12:35]URL: /json_proto [20:12:35]Method is POST - this is cgi request [20:12:35]url: /json_proto [20:12:35]query_string will be loaded in cgi processing [20:12:35]execute_cgi json_proto POST (null) [20:12:35]execute_cgi path=json_proto method=POST [20:12:35]POST find Content-Length [20:12:35]Host: 172.17.62.196:8080 [20:12:35]Content-Length: 851 [20:12:35]Content-Type: application/json [20:12:35] [20:12:35]POST finish read [20:12:35]Found Content-Length = 851 [20:12:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16817", "tax_sys" : 0, "items" : [ { "code": "4700041150011", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C \u043A\u0430\u0440\u0431\u044E\u0440\u0430\u0442\u043E\u0440\u0430 VD-40", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:35]execute_script... [20:12: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)16817", "tax_sys" : 0, "items" : [ { "code": "4700041150011", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C \u043A\u0430\u0440\u0431\u044E\u0440\u0430\u0442\u043E\u0440\u0430 VD-40", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:35]POST & json_proto [20:12:35]process_json_proto [20:12:35]json parsed OK: [20:12:35]protocol is kg_v1.0 [20:12:35]action value=close_receipt [20:12:35]process_action close_receipt [20:12:35]cmd_close_receipt [20:12:35]MH_GetDate [20:12:35]Write to MH i2c: F0 00 00 B7 0A B0 [20:12:35]Write i2c OK [20:12:35]MH_I2C_Read... [20:12:35]Read from MH i2c: F0 [20:12:35]MH_I2C_Read... [20:12:35]Read from MH i2c: F0 09 00 [20:12:35]MH_I2C_Read... [20:12:35]Read from MH i2c: F0 09 00 B7 0A 00 36 1D F3 66 CE CC 0E 66 73 [20:12:35]GetLastDocTimeStamp 1727207985 [20:12:35]current date 1727208758 [20:12:35]FM_GetShiftState [20:12:35]SAM_PROTO_GetShiftState [20:12:35]wFMCommunicate request_size=4 [20:12:35]MH_SAM_APDU [20:12:35]CAPDU: 80 13 01 00 [20:12:35]Write to MH i2c: E2 08 00 B8 0A 80 13 01 00 00 00 00 00 3F [20:12:35]Write i2c OK [20:12:35]MH_I2C_Read... [20:12:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:35]Read from MH i2c: E2 [20:12:35]MH_I2C_Read... [20:12:35]Read from MH i2c: E2 0E 00 [20:12:35]MH_I2C_Read... [20:12:35]Read from MH i2c: E2 0E 00 B8 0A 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 76 [20:12:35]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:12:35]wFMCommunicate OK [20:12:35]SAM_PROTO_GetShiftState done [20:12:35]FM_GetShiftState done [20:12:35]opened in 1727136720 [20:12:35]opened+sec_in_day 1727223120 [20:12:35]quantity*price = 18000 [20:12:35]sum+1 = 18001 [20:12:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 0.00 Безнал.: 180.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 66 24.09.2024 20:12 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18896 ФПД: 157463547341746 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T201238&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18896&fm=157463547341746&tin=02508201610067®Number=0000000000152968&sum=18000 0 [20:12:37]StoreToDocumentArchive [20:12:37]shift 182 fd 18896 [20:12:37]save to /storage/0182/doc_00018896 [20:12:37]save last doc name /storage/0182/doc_00018896 to /storage/kkm_last_doc_name [20:12:37]save OK [20:12:37]Clear old archive folders... [20:12:37]OFD Sender: No OFD packet to send [20:12:37]ProcessDocumentItem done err = 0, tmpTLVsize=291 [20:12:37]tlvbuf is 018354C0 [20:12:37]SAM_PROTO_ClearQueue [20:12:37]wFMCommunicate request_size=4 [20:12:37]MH_SAM_APDU [20:12:37]CAPDU: 80 09 00 00 [20:12:37]Write to MH i2c: E2 08 00 C5 0A 80 09 00 00 00 00 00 00 41 [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:12:37]Read from MH i2c: E2 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 C5 0A 00 90 00 43 [20:12:37]RAPDU: 90 00 [20:12:37]wFMCommunicate OK [20:12:37]SAM_PROTO_ClearQueue done [20:12:37]KKMCreateOFDPacket [20:12:37]OFDProtocolAddRootSTLVToBuf [20:12:37]FM_MakeSignedData [20:12:37]FM_MakeSignedData [20:12:37]SAM_PROTO_SignData [20:12:37]wFMCommunicate request_size=4 [20:12:37]MH_SAM_APDU [20:12:37]CAPDU: 80 0D 01 02 [20:12:37]Write to MH i2c: E2 08 00 C6 0A 80 0D 01 02 00 00 00 00 49 [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:12:37]Read from MH i2c: E2 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 C6 0A 00 90 00 44 [20:12:37]RAPDU: 90 00 [20:12:37]wFMCommunicate OK [20:12:37]wFMCommunicate request_size=255 [20:12:37]MH_SAM_APDU [20:12:37]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 37 30 30 30 34 31 31 35 30 30 31 31 06 04 31 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D0 BA D0 B0 D1 80 D0 B1 D1 8E D1 80 D0 B0 D1 82 D0 BE D1 80 D0 B0 20 56 44 2D 34 30 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [20:12:37]Write to MH i2c: E2 02 01 C7 0A 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 37 30 30 30 34 31 31 35 30 30 31 31 06 04 31 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D0 BA D0 B0 D1 80 D0 B1 D1 8E D1 80 D0 B0 D1 82 D0 BE D1 80 D0 B0 20 56 44 2D 34 30 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 49 [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:37]Read from MH i2c: E2 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 C7 0A 00 90 00 45 [20:12:37]RAPDU: 90 00 [20:12:37]wFMCommunicate OK [20:12:37]wFMCommunicate request_size=50 [20:12:37]MH_SAM_APDU [20:12:37]CAPDU: 80 0D 02 02 2D 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D0 49 00 00 35 04 06 00 8F 36 56 CD EB B2 [20:12:37]Write to MH i2c: E2 35 00 C8 0A 80 0D 02 02 2D 00 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D0 49 00 00 35 04 06 00 8F 36 56 CD EB B2 00 00 55 [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:37]Read from MH i2c: E2 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 03 00 C8 0A 00 90 00 46 [20:12:37]RAPDU: 90 00 [20:12:37]wFMCommunicate OK [20:12:37]wFMCommunicate request_size=4 [20:12:37]MH_SAM_APDU [20:12:37]CAPDU: 80 0D 03 02 [20:12:37]Write to MH i2c: E2 08 00 C9 0A 80 0D 03 02 00 00 00 00 4E [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:12:37]Read from MH i2c: E2 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 0B 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 0B 00 C9 0A 00 CC 2F 66 72 E0 C2 A5 3A 90 00 A3 [20:12:37]RAPDU: CC 2F 66 72 E0 C2 A5 3A 90 00 [20:12:37]wFMCommunicate OK [20:12:37]SAM_PROTO_SignData done [20:12:37]FM_MakeSignedData done [20:12:37]CreateOFDProtocolMessage [20:12:37]wFMCommunicate request_size=4 [20:12:37]MH_SAM_APDU [20:12:37]CAPDU: 80 11 00 00 [20:12:37]Write to MH i2c: E2 08 00 CA 0A 80 11 00 00 00 00 00 00 4E [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:37]Read from MH i2c: E2 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 17 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: E2 17 00 CA 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A7 [20:12:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:12:37]wFMCommunicate OK [20:12:37]CreateOFDProtocolMessage done [20:12:37]OFDSenderStorePacket 18896 [20:12:37]StoreOFDPacket docnum=18896 [20:12:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 37 01 00 00 36 D8 2F 01 A0 0B 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 37 30 30 30 34 31 31 35 30 30 31 31 06 04 31 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D0 BA D0 B0 D1 80 D0 B1 D1 8E D1 80 D0 B0 D1 82 D0 BE D1 80 D0 B0 20 56 44 2D 34 30 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D0 49 00 00 35 04 06 00 8F 36 56 CD EB B2 CC 2F 66 72 E0 C2 A5 3A [20:12:37]CheckFolder [20:12:37]dirname=/storage/ofd_packets [20:12:37]CheckFolder done [20:12:37]ProducePacketName [20:12:37]name=ofd_packets/00018896 [20:12:37]NVStorageSaveData ofd_packets/00018896 [20:12:37]File name is /storage/ofd_packets/00018896 [20:12:37]Write 341 bytes [20:12:37]NVStorageSaveData done [20:12:37]OFDSenderStorePacket done [20:12:37]KKMCreateOFDPacket done [20:12:37]NVStorageSaveData kkm_last_timestamp [20:12:37]File name is /storage/kkm_last_timestamp [20:12:37]Write 4 bytes [20:12:37]NVStorageSaveData done [20:12:37]ExternCall_PrintAddStr [20:12:37]wPrintStart [20:12:37]Write to MH i2c: 01 00 00 CB 0A D5 [20:12:37]Write i2c OK [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: 01 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: 01 07 00 [20:12:37]MH_I2C_Read... [20:12:37]Read from MH i2c: 01 07 00 CB 0A 00 00 00 00 00 FF 0F EA [20:12:37]RasterBufferAndPrint [20:12:37]line Счет N : (3)16817 [20:12:37]line ИНН: 02508201610067 [20:12:37]line Контрольно-Кассовый Чек [20:12:37]line ПРОДАЖА [20:12:37]line Товар: 4700041150011 [20:12:37]line Очиститель карбюратора VD-40 [20:12:37]line 1.000 * 180.00 [20:12:37]line = 180.00 [20:12:37]line НДС 12% НСП 1% [20:12:37]line > о реализуемом товаре [20:12:37]line ИТОГО: 180.00 [20:12:37]line НСП 1% : 1.59 [20:12:37]line НДС 12% : 19.11 [20:12:37]line Наличными: 0.00 [20:12:37]line Безнал.: 180.00 [20:12:37]line Место: АЗС № 176 "Партнер Нефть" [20:12:37]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:12:37]line СНО: Общий режим [20:12:37]line Чек 66 24.09.2024 20:12 [20:12:37]line Смена: 182 ФФД: 1.0 [20:12:37]line ЗНМ: 0300000010 [20:12:37]line РНМ: 0000000000152968 [20:12:37]line Версия ККМ: v1.0 [20:12:37]line Платежная система: O! деньги [20:12:37]line ФМ: 0000000000959456 [20:12:37]line ФД: 18896 [20:12:37]line ФПД: 157463547341746 [20:12:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T201238&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18896&fm=157463547341746&tin=02508201610067®Number=0000000000152968&sum=18000 [20:12:38]line 0 [20:12:38]OFD Sender: Processing packet 18896 [packets to send 7, broken 6] [20:12:38]ProducePacketName [20:12:38]name=ofd_packets/00018896 [20:12:38]OFD Sender: To server: pG, [20:12:38]CommunicateWithHost lk.salyk.kg:30040 [20:12:38]ConnectInit lk.salyk.kg [20:12:38]written 0, free lines is 4095 [20:12:38]Connected sock=9 [20:12:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 37 01 00 00 36 D8 2F 01 A0 0B 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 37 30 30 30 34 31 31 35 30 30 31 31 06 04 31 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 D0 BA D0 B0 D1 80 D0 B1 D1 8E D1 80 D0 B0 D1 82 D0 BE D1 80 D0 B0 20 56 44 2D 34 30 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 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D0 49 00 00 35 04 06 00 8F 36 56 CD EB B2 CC 2F 66 72 E0 C2 A5 3A [20:12:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 61 A6 47 00 4D 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D0 49 00 00 F4 03 04 00 96 C6 F2 66 B6 04 01 00 00 17 A0 F5 6E 64 D3 34 6B [20:12:38]CommunicateWithHost err = 0 [20:12:38]CheckOFDResponse [20:12:38]1017 (14) - 77093643461234 [20:12:38]1041 (16) - 0000000000959456 [20:12:38]1040 (4) - 18896 [20:12:38]1012 (4) - 24.09.2024 14:03 [20:12:38]1206 (1) - 0 [20:12:38]OFD Sender: Remove packet 18896 [20:12:38]ProducePacketName [20:12:38]name=ofd_packets/00018896 [20:12:38]NVStorageDeleteData [20:12:38]Write to MH i2c: 01 00 00 F6 0A 00 [20:12:38]Write i2c OK [20:12:38]MH_I2C_Read... [20:12:38]Read from MH i2c: 01 [20:12:38]MH_I2C_Read... [20:12:38]Read from MH i2c: 01 07 00 [20:12:38]MH_I2C_Read... [20:12:38]Read from MH i2c: 01 07 00 F6 0A 00 00 00 00 00 E7 0C FA [20:12:38]RasterBufferAndPrint [20:12:38]line [20:12:38]line [20:12:38]line [20:12:38]line [20:12:38]line [20:12:38]written 0, free lines is 3309 [20:12:38]MH_Cut [20:12:38]Write to MH i2c: D1 01 00 FD 0A 01 D9 [20:12:38]Write i2c OK [20:12:38]MH_I2C_Read... [20:12:38]Read from MH i2c: D1 [20:12:38]MH_I2C_Read... [20:12:38]Read from MH i2c: D1 01 00 [20:12:38]MH_I2C_Read... [20:12:38]Read from MH i2c: D1 01 00 FD 0A 00 D8 [20:12:38]Write to MH i2c: 01 00 00 FE 0A 08 [20:12:38]Write i2c OK [20:12:38]MH_I2C_Read... [20:12:38]OFD Sender: No OFD packet to send [20:12:39]*** Cut start [20:12:39]*** Partial cut [20:12:39]*** CUTSNS_PIN = 1 [20:12:39]*** CUTSNS_PIN = 0 [20:12:39]*** Brake cut motor [20:12:39]Read from MH i2c: 01 [20:12:39]MH_I2C_Read... [20:12:39]*** Stop cut motor [20:12:39]*** Cut end [20:12:39]Read from MH i2c: 01 07 00 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: 01 07 00 FE 0A 00 00 00 00 00 FF 0F 1D [20:12:39]process_action close_receipt done [20:12:39]requested_data is exist [20:12:39]produce_requested_data [20:12:39]requested_item fm.sn is exist - process it [20:12:39]wFMCommunicate request_size=4 [20:12:39]MH_SAM_APDU [20:12:39]CAPDU: 80 11 00 00 [20:12:39]Write to MH i2c: E2 08 00 FF 0A 80 11 00 00 00 00 00 00 83 [20:12:39]Write i2c OK [20:12:39]MH_I2C_Read... [20:12:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:39]Read from MH i2c: E2 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: E2 17 00 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: E2 17 00 FF 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DC [20:12:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:12:39]wFMCommunicate OK [20:12:39]requested_item fd.num is exist - process it [20:12:39]SAM_PROTO_GetFieldsCounters [20:12:39]wFMCommunicate request_size=4 [20:12:39]MH_SAM_APDU [20:12:39]CAPDU: 80 13 00 00 [20:12:39]Write to MH i2c: E2 08 00 00 0B 80 13 00 00 00 00 00 00 87 [20:12:39]Write i2c OK [20:12:39]MH_I2C_Read... [20:12:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:39]Read from MH i2c: E2 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: E2 62 00 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: E2 62 00 00 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D0 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [20:12:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D0 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:39]wFMCommunicate OK [20:12:39]SAM_PROTO_GetFieldsCounters done [20:12:39]requested_item shift.num is exist - process it [20:12:39]requested_item shift.opened is exist - process it [20:12:39]req_shift_opened [20:12:39]FM_GetShiftState [20:12:39]SAM_PROTO_GetShiftState [20:12:39]wFMCommunicate request_size=4 [20:12:39]MH_SAM_APDU [20:12:39]CAPDU: 80 13 01 00 [20:12:39]Write to MH i2c: E2 08 00 01 0B 80 13 01 00 00 00 00 00 89 [20:12:39]Write i2c OK [20:12:39]MH_I2C_Read... [20:12:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:39]Read from MH i2c: E2 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: E2 0E 00 [20:12:39]MH_I2C_Read... [20:12:39]Read from MH i2c: E2 0E 00 01 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 C0 [20:12:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:12:39]wFMCommunicate OK [20:12:39]SAM_PROTO_GetShiftState done [20:12:39]FM_GetShiftState done [20:12:39]req_shift_opened done [20:12:39]requested_item shift.open_date is exist - process it [20:12:39]req_shift_open_date [20:12:39]req_shift_open_date done [20:12:39]produce_requested_data done [20:12:39]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18896,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:12:39]process_action_free close_receipt [20:12:39]json_value_free [20:12:39]json_value_free done [20:12:39]process_json_proto returns [20:12:39]Send response to host [20:12:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18896,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:12:39]free response buf [20:12:39]execute_script done [20:12:39]execute_script returns [20:12:39]free content buf [20:12:39]Sock 10.Close socket [20:12:39]Sock 10.Thread stoped [20:12:43]OFD Sender: No OFD packet to send [20:12:48]OFD Sender: No OFD packet to send [20:12:53]OFD Sender: No OFD packet to send [20:12:58]OFD Sender: No OFD packet to send [20:13:03]OFD Sender: No OFD packet to send [20:13:08]OFD Sender: No OFD packet to send [20:13:13]OFD Sender: No OFD packet to send [20:13:18]OFD Sender: No OFD packet to send [20:13:23]OFD Sender: No OFD packet to send [20:13:28]OFD Sender: No OFD packet to send [20:13:33]OFD Sender: No OFD packet to send [20:13:38]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:05]accept exits with 8 [20:14:05]New connection [20:14:05]New thread 3066903908 created [20:14:05]Thread 3067047268 joined [20:14:05]Waiting for new connection... [20:14:05] Sock 8.Parse request [20:14:05]Sock 8.Check first char [20:14:05]Sock 8.First char is OK [20:14:05]request: POST /json_proto HTTP/1.0 [20:14:05]Method: POST [20:14:05]URL: /json_proto [20:14:05]Method is POST - this is cgi request [20:14:05]url: /json_proto [20:14:05]query_string will be loaded in cgi processing [20:14:05]execute_cgi json_proto POST (null) [20:14:05]execute_cgi path=json_proto method=POST [20:14:05]POST find Content-Length [20:14:05]Host: 172.17.62.196:8080 [20:14:05]Content-Length: 862 [20:14:05]Content-Type: application/json [20:14:05] [20:14:05]POST finish read [20:14:05]Found Content-Length = 862 [20:14:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16818", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 284.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:05]execute_script... [20:14:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16818", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 284.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:05]POST & json_proto [20:14:05]process_json_proto [20:14:05]json parsed OK: [20:14:05]protocol is kg_v1.0 [20:14:05]action value=close_receipt [20:14:05]process_action close_receipt [20:14:05]cmd_close_receipt [20:14:05]MH_GetDate [20:14:05]Write to MH i2c: F0 00 00 02 0B FC [20:14:05]Write i2c OK [20:14:05]MH_I2C_Read... [20:14:05]Read from MH i2c: F0 [20:14:05]MH_I2C_Read... [20:14:05]Read from MH i2c: F0 09 00 [20:14:05]MH_I2C_Read... [20:14:05]Read from MH i2c: F0 09 00 02 0B 00 8F 1D F3 66 CE CC 0E 66 18 [20:14:05]GetLastDocTimeStamp 1727208758 [20:14:05]current date 1727208847 [20:14:05]FM_GetShiftState [20:14:05]SAM_PROTO_GetShiftState [20:14:05]wFMCommunicate request_size=4 [20:14:05]MH_SAM_APDU [20:14:05]CAPDU: 80 13 01 00 [20:14:05]Write to MH i2c: E2 08 00 03 0B 80 13 01 00 00 00 00 00 8B [20:14:05]Write i2c OK [20:14:05]MH_I2C_Read... [20:14:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:05]Read from MH i2c: E2 [20:14:05]MH_I2C_Read... [20:14:05]Read from MH i2c: E2 0E 00 [20:14:05]MH_I2C_Read... [20:14:05]Read from MH i2c: E2 0E 00 03 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 C2 [20:14:05]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:14:05]wFMCommunicate OK [20:14:05]SAM_PROTO_GetShiftState done [20:14:05]FM_GetShiftState done [20:14:05]opened in 1727136720 [20:14:05]opened+sec_in_day 1727223120 [20:14:05]quantity*price = 15400 [20:14:05]sum+1 = 15401 [20:14:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745291 Сигареты Parliament SOHO NYC COMPACT BLU 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 284.00 НСП 1% : 2.51 НДС 12% : 30.15 Наличными: 284.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 67 24.09.2024 20:14 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18897 ФПД: 18138848456492 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T201407&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18897&fm=18138848456492&tin=02508201610067®Number=0000000000152968&sum=28400 0 [20:14:06]StoreToDocumentArchive [20:14:06]shift 182 fd 18897 [20:14:06]save to /storage/0182/doc_00018897 [20:14:06]save last doc name /storage/0182/doc_00018897 to /storage/kkm_last_doc_name [20:14:06]save OK [20:14:06]Clear old archive folders... [20:14:06]ProcessDocumentItem done err = 0, tmpTLVsize=381 [20:14:06]tlvbuf is 018AF190 [20:14:06]SAM_PROTO_ClearQueue [20:14:06]wFMCommunicate request_size=4 [20:14:06]MH_SAM_APDU [20:14:06]CAPDU: 80 09 00 00 [20:14:06]Write to MH i2c: E2 08 00 10 0B 80 09 00 00 00 00 00 00 8D [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:14:06]Read from MH i2c: E2 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 10 0B 00 90 00 8F [20:14:06]RAPDU: 90 00 [20:14:06]wFMCommunicate OK [20:14:06]SAM_PROTO_ClearQueue done [20:14:06]KKMCreateOFDPacket [20:14:06]OFDProtocolAddRootSTLVToBuf [20:14:06]FM_MakeSignedData [20:14:06]FM_MakeSignedData [20:14:06]SAM_PROTO_SignData [20:14:06]wFMCommunicate request_size=4 [20:14:06]MH_SAM_APDU [20:14:06]CAPDU: 80 0D 01 02 [20:14:06]Write to MH i2c: E2 08 00 11 0B 80 0D 01 02 00 00 00 00 95 [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:14:06]Read from MH i2c: E2 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 11 0B 00 90 00 90 [20:14:06]RAPDU: 90 00 [20:14:06]wFMCommunicate OK [20:14:06]wFMCommunicate request_size=255 [20:14:06]MH_SAM_APDU [20:14:06]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 [20:14:06]Write to MH i2c: E2 02 01 12 0B 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 BD [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:06]Read from MH i2c: E2 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 12 0B 00 90 00 91 [20:14:06]RAPDU: 90 00 [20:14:06]wFMCommunicate OK [20:14:06]wFMCommunicate request_size=140 [20:14:06]MH_SAM_APDU [20:14:06]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D1 49 00 00 35 04 06 00 10 7F 47 9E 6F 2C [20:14:06]Write to MH i2c: E2 8F 00 13 0B 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D1 49 00 00 35 04 06 00 10 7F 47 9E 6F 2C 00 00 36 [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:06]Read from MH i2c: E2 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 03 00 13 0B 00 90 00 92 [20:14:06]RAPDU: 90 00 [20:14:06]wFMCommunicate OK [20:14:06]wFMCommunicate request_size=4 [20:14:06]MH_SAM_APDU [20:14:06]CAPDU: 80 0D 03 02 [20:14:06]Write to MH i2c: E2 08 00 14 0B 80 0D 03 02 00 00 00 00 9A [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:14:06]Read from MH i2c: E2 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 0B 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 0B 00 14 0B 00 89 88 36 DC 05 BC 97 39 90 00 4F [20:14:06]RAPDU: 89 88 36 DC 05 BC 97 39 90 00 [20:14:06]wFMCommunicate OK [20:14:06]SAM_PROTO_SignData done [20:14:06]FM_MakeSignedData done [20:14:06]CreateOFDProtocolMessage [20:14:06]wFMCommunicate request_size=4 [20:14:06]MH_SAM_APDU [20:14:06]CAPDU: 80 11 00 00 [20:14:06]Write to MH i2c: E2 08 00 15 0B 80 11 00 00 00 00 00 00 9A [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:06]Read from MH i2c: E2 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 17 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: E2 17 00 15 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F3 [20:14:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:14:06]wFMCommunicate OK [20:14:06]CreateOFDProtocolMessage done [20:14:06]OFDSenderStorePacket 18897 [20:14:06]StoreOFDPacket docnum=18897 [20:14:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 91 01 00 00 E5 20 89 01 B9 9E 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D1 49 00 00 35 04 06 00 10 7F 47 9E 6F 2C 89 88 36 DC 05 BC 97 39 [20:14:06]CheckFolder [20:14:06]dirname=/storage/ofd_packets [20:14:06]CheckFolder done [20:14:06]ProducePacketName [20:14:06]name=ofd_packets/00018897 [20:14:06]NVStorageSaveData ofd_packets/00018897 [20:14:06]File name is /storage/ofd_packets/00018897 [20:14:06]Write 431 bytes [20:14:06]NVStorageSaveData done [20:14:06]OFDSenderStorePacket done [20:14:06]KKMCreateOFDPacket done [20:14:06]NVStorageSaveData kkm_last_timestamp [20:14:06]File name is /storage/kkm_last_timestamp [20:14:06]Write 4 bytes [20:14:06]NVStorageSaveData done [20:14:06]ExternCall_PrintAddStr [20:14:06]wPrintStart [20:14:06]Write to MH i2c: 01 00 00 16 0B 21 [20:14:06]Write i2c OK [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: 01 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: 01 07 00 [20:14:06]MH_I2C_Read... [20:14:06]Read from MH i2c: 01 07 00 16 0B 00 00 00 00 00 FF 0F 36 [20:14:06]RasterBufferAndPrint [20:14:06]line Счет N : (3)16818 [20:14:06]line ИНН: 02508201610067 [20:14:06]line Контрольно-Кассовый Чек [20:14:07]line ПРОДАЖА [20:14:07]line Товар: 48744317 [20:14:07]line Сигареты Camel Yellow [20:14:07]line 1.000 * 154.00 [20:14:07]line = 154.00 [20:14:07]line НДС 12% НСП 1% [20:14:07]line > о реализуемом товаре [20:14:07]line Товар: 48745291 [20:14:07]line Сигареты Parliament SOHO NYC COMPACT BLU [20:14:07]line 1.000 * 130.00 [20:14:07]line = 130.00 [20:14:07]line НДС 12% НСП 1% [20:14:07]line > о реализуемом товаре [20:14:07]line ИТОГО: 284.00 [20:14:07]line НСП 1% : 2.51 [20:14:07]line НДС 12% : 30.15 [20:14:07]line Наличными: 284.00 [20:14:07]line Безнал.: 0.00 [20:14:07]line Место: АЗС № 176 "Партнер Нефть" [20:14:07]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:14:07]line СНО: Общий режим [20:14:07]line Чек 67 24.09.2024 20:14 [20:14:07]line Смена: 182 ФФД: 1.0 [20:14:07]line ЗНМ: 0300000010 [20:14:07]line РНМ: 0000000000152968 [20:14:07]line Версия ККМ: v1.0 [20:14:07]line ФМ: 0000000000959456 [20:14:07]line ФД: 18897 [20:14:07]line ФПД: 18138848456492 [20:14:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T201407&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18897&fm=18138848456492&tin=02508201610067®Number=0000000000152968&sum=28400 [20:14:07]OFD Sender: Processing packet 18897 [packets to send 7, broken 6] [20:14:07]ProducePacketName [20:14:07]name=ofd_packets/00018897 [20:14:07]OFD Sender: To server: pG, [20:14:07]CommunicateWithHost lk.salyk.kg:30040 [20:14:07]ConnectInit lk.salyk.kg [20:14:07]line 0 [20:14:07]written 0, free lines is 4095 [20:14:07]Connected sock=10 [20:14:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 91 01 00 00 E5 20 89 01 B9 9E 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 F0 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0B 00 00 00 00 07 04 06 00 F0 6E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 1D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D1 49 00 00 35 04 06 00 10 7F 47 9E 6F 2C 89 88 36 DC 05 BC 97 39 [20:14:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2E 1F 47 00 42 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D1 49 00 00 F4 03 04 00 EF C6 F2 66 B6 04 01 00 00 C0 64 7C B0 2C E6 EE A9 [20:14:07]CommunicateWithHost err = 0 [20:14:07]CheckOFDResponse [20:14:07]1017 (14) - 77093643461234 [20:14:07]1041 (16) - 0000000000959456 [20:14:07]1040 (4) - 18897 [20:14:07]1012 (4) - 24.09.2024 14:04 [20:14:07]1206 (1) - 0 [20:14:07]OFD Sender: Remove packet 18897 [20:14:07]ProducePacketName [20:14:07]name=ofd_packets/00018897 [20:14:07]NVStorageDeleteData [20:14:07]Write to MH i2c: 01 00 00 45 0B 50 [20:14:07]Write i2c OK [20:14:07]MH_I2C_Read... [20:14:07]Read from MH i2c: 01 [20:14:07]MH_I2C_Read... [20:14:07]Read from MH i2c: 01 07 00 [20:14:07]MH_I2C_Read... [20:14:07]Read from MH i2c: 01 07 00 45 0B 00 00 00 00 00 C4 0C 27 [20:14:07]RasterBufferAndPrint [20:14:07]line [20:14:07]line [20:14:07]line [20:14:07]line [20:14:07]line [20:14:07]written 0, free lines is 3274 [20:14:07]MH_Cut [20:14:07]Write to MH i2c: D1 01 00 4C 0B 01 29 [20:14:07]Write i2c OK [20:14:07]MH_I2C_Read... [20:14:07]Read from MH i2c: D1 [20:14:07]MH_I2C_Read... [20:14:07]Read from MH i2c: D1 01 00 [20:14:07]MH_I2C_Read... [20:14:07]Read from MH i2c: D1 01 00 4C 0B 00 28 [20:14:07]Write to MH i2c: 01 00 00 4D 0B 58 [20:14:07]Write i2c OK [20:14:07]MH_I2C_Read... [20:14:08]OFD Sender: No OFD packet to send [20:14:08]*** Cut start [20:14:08]*** Partial cut [20:14:08]*** CUTSNS_PIN = 1 [20:14:08]*** CUTSNS_PIN = 0 [20:14:08]*** Brake cut motor [20:14:09]Read from MH i2c: 01 [20:14:09]MH_I2C_Read... [20:14:09]*** Stop cut motor [20:14:09]*** Cut end [20:14:09]Read from MH i2c: 01 07 00 [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: 01 07 00 4D 0B 00 00 00 00 00 FF 0F 6D [20:14:09]process_action close_receipt done [20:14:09]requested_data is exist [20:14:09]produce_requested_data [20:14:09]requested_item fm.sn is exist - process it [20:14:09]wFMCommunicate request_size=4 [20:14:09]MH_SAM_APDU [20:14:09]CAPDU: 80 11 00 00 [20:14:09]Write to MH i2c: E2 08 00 4E 0B 80 11 00 00 00 00 00 00 D3 [20:14:09]Write i2c OK [20:14:09]MH_I2C_Read... [20:14:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:09]Read from MH i2c: E2 [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: E2 17 00 [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: E2 17 00 4E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2C [20:14:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:14:09]wFMCommunicate OK [20:14:09]requested_item fd.num is exist - process it [20:14:09]SAM_PROTO_GetFieldsCounters [20:14:09]wFMCommunicate request_size=4 [20:14:09]MH_SAM_APDU [20:14:09]CAPDU: 80 13 00 00 [20:14:09]Write to MH i2c: E2 08 00 4F 0B 80 13 00 00 00 00 00 00 D6 [20:14:09]Write i2c OK [20:14:09]MH_I2C_Read... [20:14:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:14:09]Read from MH i2c: E2 [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: E2 62 00 [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: E2 62 00 4F 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D1 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [20:14:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D1 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:14:09]wFMCommunicate OK [20:14:09]SAM_PROTO_GetFieldsCounters done [20:14:09]requested_item shift.num is exist - process it [20:14:09]requested_item shift.opened is exist - process it [20:14:09]req_shift_opened [20:14:09]FM_GetShiftState [20:14:09]SAM_PROTO_GetShiftState [20:14:09]wFMCommunicate request_size=4 [20:14:09]MH_SAM_APDU [20:14:09]CAPDU: 80 13 01 00 [20:14:09]Write to MH i2c: E2 08 00 50 0B 80 13 01 00 00 00 00 00 D8 [20:14:09]Write i2c OK [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: E2 [20:14:09]MH_I2C_Read... [20:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:09]Read from MH i2c: E2 0E 00 [20:14:09]MH_I2C_Read... [20:14:09]Read from MH i2c: E2 0E 00 50 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 0F [20:14:09]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:14:09]wFMCommunicate OK [20:14:09]SAM_PROTO_GetShiftState done [20:14:09]FM_GetShiftState done [20:14:09]req_shift_opened done [20:14:09]requested_item shift.open_date is exist - process it [20:14:09]req_shift_open_date [20:14:09]req_shift_open_date done [20:14:09]produce_requested_data done [20:14:09]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18897,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:14:09]process_action_free close_receipt [20:14:09]json_value_free [20:14:09]json_value_free done [20:14:09]process_json_proto returns [20:14:09]Send response to host [20:14:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18897,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:14:09]free response buf [20:14:09]execute_script done [20:14:09]execute_script returns [20:14:09]free content buf [20:14:09]Sock 8.Close socket [20:14:09]Sock 8.Thread stoped [20:14:13]OFD Sender: No OFD packet to send [20:14:18]OFD Sender: No OFD packet to send [20:14:23]OFD Sender: No OFD packet to send [20:14:28]OFD Sender: No OFD packet to send [20:14:33]OFD Sender: No OFD packet to send [20:14:38]OFD Sender: No OFD packet to send [20:14:43]OFD Sender: No OFD packet to send [20:14:48]OFD Sender: No OFD packet to send [20:14:53]OFD Sender: No OFD packet to send [20:14:58]OFD Sender: No OFD packet to send [20:15:03]OFD Sender: No OFD packet to send [20:15:08]OFD Sender: No OFD packet to send [20:15:13]OFD Sender: No OFD packet to send [20:15:18]OFD Sender: No OFD packet to send [20:15:23]OFD Sender: No OFD packet to send [20:15:28]OFD Sender: No OFD packet to send [20:15:33]OFD Sender: No OFD packet to send [20:15:38]OFD Sender: No OFD packet to send [20:15:43]OFD Sender: No OFD packet to send [20:15:48]OFD Sender: No OFD packet to send [20:15:53]OFD Sender: No OFD packet to send [20:15:58]OFD Sender: No OFD packet to send [20:16:03]OFD Sender: No OFD packet to send [20:16:08]OFD Sender: No OFD packet to send [20:16:13]OFD Sender: No OFD packet to send [20:16:18]OFD Sender: No OFD packet to send [20:16:23]OFD Sender: No OFD packet to send [20:16:28]OFD Sender: No OFD packet to send [20:16:33]OFD Sender: No OFD packet to send [20:16:38]OFD Sender: No OFD packet to send [20:16:43]OFD Sender: No OFD packet to send [20:16:48]OFD Sender: No OFD packet to send [20:16:53]OFD Sender: No OFD packet to send [20:16:58]OFD Sender: No OFD packet to send [20:17:03]OFD Sender: No OFD packet to send [20:17:08]OFD Sender: No OFD packet to send [20:17:13]OFD Sender: No OFD packet to send [20:17:18]OFD Sender: No OFD packet to send [20:17:23]OFD Sender: No OFD packet to send [20:17:28]OFD Sender: No OFD packet to send [20:17:33]OFD Sender: No OFD packet to send [20:17:38]OFD Sender: No OFD packet to send [20:17:43]OFD Sender: No OFD packet to send [20:17:48]OFD Sender: No OFD packet to send [20:17:53]OFD Sender: No OFD packet to send [20:17:58]OFD Sender: No OFD packet to send [20:18:03]OFD Sender: No OFD packet to send [20:18:08]OFD Sender: No OFD packet to send [20:18:13]OFD Sender: No OFD packet to send [20:18:18]OFD Sender: No OFD packet to send [20:18:23]OFD Sender: No OFD packet to send [20:18:28]OFD Sender: No OFD packet to send [20:18:33]OFD Sender: No OFD packet to send [20:18:38]OFD Sender: No OFD packet to send [20:18:43]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:00]accept exits with 9 [20:21:00]New connection [20:21:00]New thread 3067047268 created [20:21:00]Thread 3066903908 joined [20:21:00]Waiting for new connection... [20:21:00] Sock 9.Parse request [20:21:00]Sock 9.Check first char [20:21:00]Sock 9.First char is OK [20:21:00]request: POST /json_proto HTTP/1.0 [20:21:00]Method: POST [20:21:00]URL: /json_proto [20:21:00]Method is POST - this is cgi request [20:21:00]url: /json_proto [20:21:00]query_string will be loaded in cgi processing [20:21:00]execute_cgi json_proto POST (null) [20:21:00]execute_cgi path=json_proto method=POST [20:21:00]POST find Content-Length [20:21:00]Host: 172.17.62.196:8080 [20:21:00]Content-Length: 804 [20:21:00]Content-Type: application/json [20:21:00] [20:21:00]POST finish read [20:21:00]Found Content-Length = 804 [20:21:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16819", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:00]execute_script... [20:21: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)16819", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:00]POST & json_proto [20:21:00]process_json_proto [20:21:00]json parsed OK: [20:21:00]protocol is kg_v1.0 [20:21:00]action value=close_receipt [20:21:00]process_action close_receipt [20:21:00]cmd_close_receipt [20:21:00]MH_GetDate [20:21:00]Write to MH i2c: F0 00 00 51 0B 4B [20:21:00]Write i2c OK [20:21:00]MH_I2C_Read... [20:21:00]Read from MH i2c: F0 [20:21:00]MH_I2C_Read... [20:21:00]Read from MH i2c: F0 09 00 [20:21:00]MH_I2C_Read... [20:21:00]Read from MH i2c: F0 09 00 51 0B 00 2F 1F F3 66 CE CC 0E 66 09 [20:21:00]GetLastDocTimeStamp 1727208847 [20:21:00]current date 1727209263 [20:21:00]FM_GetShiftState [20:21:00]SAM_PROTO_GetShiftState [20:21:00]wFMCommunicate request_size=4 [20:21:00]MH_SAM_APDU [20:21:00]CAPDU: 80 13 01 00 [20:21:00]Write to MH i2c: E2 08 00 52 0B 80 13 01 00 00 00 00 00 DA [20:21:00]Write i2c OK [20:21:00]MH_I2C_Read... [20:21:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:00]Read from MH i2c: E2 [20:21:00]MH_I2C_Read... [20:21:00]Read from MH i2c: E2 0E 00 [20:21:00]MH_I2C_Read... [20:21:00]Read from MH i2c: E2 0E 00 52 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 11 [20:21:00]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:21:00]wFMCommunicate OK [20:21:00]SAM_PROTO_GetShiftState done [20:21:00]FM_GetShiftState done [20:21:00]opened in 1727136720 [20:21:00]opened+sec_in_day 1727223120 [20:21:00]quantity*price = 3500 [20:21:00]sum+1 = 3501 [20:21:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 0.00 Безнал.: 35.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 68 24.09.2024 20:21 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18898 ФПД: 15341938627143 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T202103&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18898&fm=15341938627143&tin=02508201610067®Number=0000000000152968&sum=3500 0 [20:21:02]StoreToDocumentArchive [20:21:02]shift 182 fd 18898 [20:21:02]save to /storage/0182/doc_00018898 [20:21:02]save last doc name /storage/0182/doc_00018898 to /storage/kkm_last_doc_name [20:21:02]save OK [20:21:02]Clear old archive folders... [20:21:02]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:21:02]tlvbuf is 01831950 [20:21:02]SAM_PROTO_ClearQueue [20:21:02]wFMCommunicate request_size=4 [20:21:02]MH_SAM_APDU [20:21:02]CAPDU: 80 09 00 00 [20:21:02]Write to MH i2c: E2 08 00 5F 0B 80 09 00 00 00 00 00 00 DC [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:21:02]Read from MH i2c: E2 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 5F 0B 00 90 00 DE [20:21:02]RAPDU: 90 00 [20:21:02]wFMCommunicate OK [20:21:02]SAM_PROTO_ClearQueue done [20:21:02]KKMCreateOFDPacket [20:21:02]OFDProtocolAddRootSTLVToBuf [20:21:02]FM_MakeSignedData [20:21:02]FM_MakeSignedData [20:21:02]SAM_PROTO_SignData [20:21:02]wFMCommunicate request_size=4 [20:21:02]MH_SAM_APDU [20:21:02]CAPDU: 80 0D 01 02 [20:21:02]Write to MH i2c: E2 08 00 60 0B 80 0D 01 02 00 00 00 00 E4 [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:21:02]Read from MH i2c: E2 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 60 0B 00 90 00 DF [20:21:02]RAPDU: 90 00 [20:21:02]wFMCommunicate OK [20:21:02]wFMCommunicate request_size=255 [20:21:02]MH_SAM_APDU [20:21:02]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2F 1F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [20:21:02]Write to MH i2c: E2 02 01 61 0B 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2F 1F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 73 [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:21:02]Read from MH i2c: E2 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 61 0B 00 90 00 E0 [20:21:02]RAPDU: 90 00 [20:21:02]wFMCommunicate OK [20:21:02]wFMCommunicate request_size=34 [20:21:02]MH_SAM_APDU [20:21:02]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D2 49 00 00 35 04 06 00 0D F4 12 CD 52 47 [20:21:02]Write to MH i2c: E2 25 00 62 0B 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D2 49 00 00 35 04 06 00 0D F4 12 CD 52 47 00 00 42 [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:21:02]Read from MH i2c: E2 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 03 00 62 0B 00 90 00 E1 [20:21:02]RAPDU: 90 00 [20:21:02]wFMCommunicate OK [20:21:02]wFMCommunicate request_size=4 [20:21:02]MH_SAM_APDU [20:21:02]CAPDU: 80 0D 03 02 [20:21:02]Write to MH i2c: E2 08 00 63 0B 80 0D 03 02 00 00 00 00 E9 [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:21:02]Read from MH i2c: E2 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 0B 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 0B 00 63 0B 00 A2 E4 8A 56 74 18 5B 99 90 00 D0 [20:21:02]RAPDU: A2 E4 8A 56 74 18 5B 99 90 00 [20:21:02]wFMCommunicate OK [20:21:02]SAM_PROTO_SignData done [20:21:02]FM_MakeSignedData done [20:21:02]CreateOFDProtocolMessage [20:21:02]wFMCommunicate request_size=4 [20:21:02]MH_SAM_APDU [20:21:02]CAPDU: 80 11 00 00 [20:21:02]Write to MH i2c: E2 08 00 64 0B 80 11 00 00 00 00 00 00 E9 [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:02]Read from MH i2c: E2 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 17 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: E2 17 00 64 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 42 [20:21:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:21:02]wFMCommunicate OK [20:21:02]CreateOFDProtocolMessage done [20:21:02]OFDSenderStorePacket 18898 [20:21:02]StoreOFDPacket docnum=18898 [20:21:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 B8 9B 1F 01 D7 E4 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2F 1F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D2 49 00 00 35 04 06 00 0D F4 12 CD 52 47 A2 E4 8A 56 74 18 5B 99 [20:21:02]CheckFolder [20:21:02]dirname=/storage/ofd_packets [20:21:02]CheckFolder done [20:21:02]ProducePacketName [20:21:02]name=ofd_packets/00018898 [20:21:02]NVStorageSaveData ofd_packets/00018898 [20:21:02]File name is /storage/ofd_packets/00018898 [20:21:02]Write 325 bytes [20:21:02]NVStorageSaveData done [20:21:02]OFDSenderStorePacket done [20:21:02]KKMCreateOFDPacket done [20:21:02]NVStorageSaveData kkm_last_timestamp [20:21:02]File name is /storage/kkm_last_timestamp [20:21:02]Write 4 bytes [20:21:02]NVStorageSaveData done [20:21:02]ExternCall_PrintAddStr [20:21:02]wPrintStart [20:21:02]Write to MH i2c: 01 00 00 65 0B 70 [20:21:02]Write i2c OK [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: 01 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: 01 07 00 [20:21:02]MH_I2C_Read... [20:21:02]Read from MH i2c: 01 07 00 65 0B 00 00 00 00 00 FF 0F 85 [20:21:02]RasterBufferAndPrint [20:21:02]line Счет N : (3)16819 [20:21:02]line ИНН: 02508201610067 [20:21:02]line Контрольно-Кассовый Чек [20:21:02]line ПРОДАЖА [20:21:02]line Товар: 4700000310326 [20:21:02]line Вода Адыгене 1л б/г [20:21:02]line 1.000 * 35.00 [20:21:02]line = 35.00 [20:21:02]line НДС 12% НСП 1% [20:21:02]line > о реализуемом товаре [20:21:02]line ИТОГО: 35.00 [20:21:02]line НСП 1% : 0.31 [20:21:02]line НДС 12% : 3.72 [20:21:02]line Наличными: 0.00 [20:21:02]line Безнал.: 35.00 [20:21:02]line Место: АЗС № 176 "Партнер Нефть" [20:21:02]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:21:02]line СНО: Общий режим [20:21:02]line Чек 68 24.09.2024 20:21 [20:21:02]line Смена: 182 ФФД: 1.0 [20:21:02]line ЗНМ: 0300000010 [20:21:02]line РНМ: 0000000000152968 [20:21:02]line Версия ККМ: v1.0 [20:21:02]line Платежная система: O! деньги [20:21:02]line ФМ: 0000000000959456 [20:21:02]line ФД: 18898 [20:21:02]line ФПД: 15341938627143 [20:21:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T202103&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18898&fm=15341938627143&tin=02508201610067®Number=0000000000152968&sum=3500 [20:21:02]line 0 [20:21:02]OFD Sender: Processing packet 18898 [packets to send 7, broken 6] [20:21:02]ProducePacketName [20:21:02]name=ofd_packets/00018898 [20:21:02]OFD Sender: To server: pG, [20:21:02]CommunicateWithHost lk.salyk.kg:30040 [20:21:02]ConnectInit lk.salyk.kg [20:21:02]written 0, free lines is 4095 [20:21:03]Connected sock=10 [20:21:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 B8 9B 1F 01 D7 E4 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2F 1F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D2 49 00 00 35 04 06 00 0D F4 12 CD 52 47 A2 E4 8A 56 74 18 5B 99 [20:21:03]Write to MH i2c: 01 00 00 8F 0B 9A [20:21:03]Write i2c OK [20:21:03]MH_I2C_Read... [20:21:03]Read from MH i2c: 01 [20:21:03]MH_I2C_Read... [20:21:03]Read from MH i2c: 01 07 00 [20:21:03]MH_I2C_Read... [20:21:03]Read from MH i2c: 01 07 00 8F 0B 00 00 00 00 00 FF 0C AC [20:21:03]RasterBufferAndPrint [20:21:03]line [20:21:03]line [20:21:03]line [20:21:03]line [20:21:03]line [20:21:03]written 0, free lines is 3333 [20:21:03]MH_Cut [20:21:03]Write to MH i2c: D1 01 00 96 0B 01 73 [20:21:03]Write i2c OK [20:21:03]MH_I2C_Read... [20:21:03]Read from MH i2c: D1 [20:21:03]MH_I2C_Read... [20:21:03]Read from MH i2c: D1 01 00 [20:21:03]MH_I2C_Read... [20:21:03]Read from MH i2c: D1 01 00 96 0B 00 72 [20:21:03]Write to MH i2c: 01 00 00 97 0B A2 [20:21:03]Write i2c OK [20:21:03]MH_I2C_Read... [20:21:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8F EE 47 00 0D 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D2 49 00 00 F4 03 04 00 8F C8 F2 66 B6 04 01 00 00 42 2F B7 77 A8 8C 14 7C [20:21:03]CommunicateWithHost err = 0 [20:21:03]CheckOFDResponse [20:21:03]1017 (14) - 77093643461234 [20:21:03]1041 (16) - 0000000000959456 [20:21:03]1040 (4) - 18898 [20:21:03]1012 (4) - 24.09.2024 14:11 [20:21:03]1206 (1) - 0 [20:21:03]OFD Sender: Remove packet 18898 [20:21:03]ProducePacketName [20:21:03]name=ofd_packets/00018898 [20:21:03]NVStorageDeleteData [20:21:04]OFD Sender: No OFD packet to send [20:21:04]*** Cut start [20:21:04]*** Partial cut [20:21:04]*** CUTSNS_PIN = 1 [20:21:04]*** CUTSNS_PIN = 0 [20:21:04]*** Brake cut motor [20:21:04]Read from MH i2c: 01 [20:21:04]MH_I2C_Read... [20:21:04]*** Stop cut motor [20:21:04]*** Cut end [20:21:04]Read from MH i2c: 01 07 00 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: 01 07 00 97 0B 00 00 00 00 00 FF 0F B7 [20:21:04]process_action close_receipt done [20:21:04]requested_data is exist [20:21:04]produce_requested_data [20:21:04]requested_item fm.sn is exist - process it [20:21:04]wFMCommunicate request_size=4 [20:21:04]MH_SAM_APDU [20:21:04]CAPDU: 80 11 00 00 [20:21:04]Write to MH i2c: E2 08 00 98 0B 80 11 00 00 00 00 00 00 1D [20:21:04]Write i2c OK [20:21:04]MH_I2C_Read... [20:21:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:04]Read from MH i2c: E2 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: E2 17 00 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: E2 17 00 98 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 76 [20:21:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:21:04]wFMCommunicate OK [20:21:04]requested_item fd.num is exist - process it [20:21:04]SAM_PROTO_GetFieldsCounters [20:21:04]wFMCommunicate request_size=4 [20:21:04]MH_SAM_APDU [20:21:04]CAPDU: 80 13 00 00 [20:21:04]Write to MH i2c: E2 08 00 99 0B 80 13 00 00 00 00 00 00 20 [20:21:04]Write i2c OK [20:21:04]MH_I2C_Read... [20:21:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:21:04]Read from MH i2c: E2 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: E2 62 00 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: E2 62 00 99 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D2 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [20:21:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D2 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:21:04]wFMCommunicate OK [20:21:04]SAM_PROTO_GetFieldsCounters done [20:21:04]requested_item shift.num is exist - process it [20:21:04]requested_item shift.opened is exist - process it [20:21:04]req_shift_opened [20:21:04]FM_GetShiftState [20:21:04]SAM_PROTO_GetShiftState [20:21:04]wFMCommunicate request_size=4 [20:21:04]MH_SAM_APDU [20:21:04]CAPDU: 80 13 01 00 [20:21:04]Write to MH i2c: E2 08 00 9A 0B 80 13 01 00 00 00 00 00 22 [20:21:04]Write i2c OK [20:21:04]MH_I2C_Read... [20:21:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:04]Read from MH i2c: E2 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: E2 0E 00 [20:21:04]MH_I2C_Read... [20:21:04]Read from MH i2c: E2 0E 00 9A 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 59 [20:21:04]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:21:04]wFMCommunicate OK [20:21:04]SAM_PROTO_GetShiftState done [20:21:04]FM_GetShiftState done [20:21:04]req_shift_opened done [20:21:04]requested_item shift.open_date is exist - process it [20:21:04]req_shift_open_date [20:21:04]req_shift_open_date done [20:21:04]produce_requested_data done [20:21:04]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18898,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:21:04]process_action_free close_receipt [20:21:04]json_value_free [20:21:04]json_value_free done [20:21:04]process_json_proto returns [20:21:04]Send response to host [20:21:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18898,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:21:04]free response buf [20:21:04]execute_script done [20:21:04]execute_script returns [20:21:04]free content buf [20:21:04]Sock 9.Close socket [20:21:04]Sock 9.Thread stoped [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:54]OFD Sender: No OFD packet to send [20:24:59]OFD Sender: No OFD packet to send [20:25:04]OFD Sender: No OFD packet to send [20:25:09]OFD Sender: No OFD packet to send [20:25:14]OFD Sender: No OFD packet to send [20:25:19]OFD Sender: No OFD packet to send [20:25:24]OFD Sender: No OFD packet to send [20:25:29]OFD Sender: No OFD packet to send [20:25:34]OFD Sender: No OFD packet to send [20:25:39]OFD Sender: No OFD packet to send [20:25:44]accept exits with 8 [20:25:44]New connection [20:25:44]New thread 3066903908 created [20:25:44]Thread 3067047268 joined [20:25:44]Waiting for new connection... [20:25:44] Sock 8.Parse request [20:25:44]Sock 8.Check first char [20:25:44]Sock 8.First char is OK [20:25:44]request: POST /json_proto HTTP/1.0 [20:25:44]Method: POST [20:25:44]URL: /json_proto [20:25:44]Method is POST - this is cgi request [20:25:44]url: /json_proto [20:25:44]query_string will be loaded in cgi processing [20:25:44]execute_cgi json_proto POST (null) [20:25:44]execute_cgi path=json_proto method=POST [20:25:44]POST find Content-Length [20:25:44]Host: 172.17.62.196:8080 [20:25:44]Content-Length: 815 [20:25:44]Content-Type: application/json [20:25:44] [20:25:44]POST finish read [20:25:44]Found Content-Length = 815 [20:25:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16820", "tax_sys" : 0, "items" : [ { "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:25:44]execute_script... [20:25:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16820", "tax_sys" : 0, "items" : [ { "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:25:44]POST & json_proto [20:25:44]process_json_proto [20:25:44]json parsed OK: [20:25:44]protocol is kg_v1.0 [20:25:44]action value=close_receipt [20:25:44]process_action close_receipt [20:25:44]cmd_close_receipt [20:25:44]MH_GetDate [20:25:44]Write to MH i2c: F0 00 00 9B 0B 95 [20:25:44]Write i2c OK [20:25:44]MH_I2C_Read... [20:25:44]Read from MH i2c: F0 [20:25:44]MH_I2C_Read... [20:25:44]Read from MH i2c: F0 09 00 [20:25:44]MH_I2C_Read... [20:25:44]Read from MH i2c: F0 09 00 9B 0B 00 4A 20 F3 66 CE CC 0E 66 6F [20:25:44]GetLastDocTimeStamp 1727209263 [20:25:44]current date 1727209546 [20:25:44]FM_GetShiftState [20:25:44]SAM_PROTO_GetShiftState [20:25:44]wFMCommunicate request_size=4 [20:25:44]MH_SAM_APDU [20:25:44]CAPDU: 80 13 01 00 [20:25:44]Write to MH i2c: E2 08 00 9C 0B 80 13 01 00 00 00 00 00 24 [20:25:44]Write i2c OK [20:25:44]MH_I2C_Read... [20:25:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:25:44]Read from MH i2c: E2 [20:25:44]MH_I2C_Read... [20:25:44]Read from MH i2c: E2 0E 00 [20:25:44]MH_I2C_Read... [20:25:44]Read from MH i2c: E2 0E 00 9C 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5B [20:25:44]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:25:44]wFMCommunicate OK [20:25:44]SAM_PROTO_GetShiftState done [20:25:44]FM_GetShiftState done [20:25:44]opened in 1727136720 [20:25:44]opened+sec_in_day 1727223120 [20:25:44]quantity*price = 16500 [20:25:44]sum+1 = 16501 [20:25:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 0.00 Безнал.: 165.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 69 24.09.2024 20:25 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18899 ФПД: 75737081022948 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T202546&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18899&fm=75737081022948&tin=02508201610067®Number=0000000000152968&sum=16500 0 [20:25:45]StoreToDocumentArchive [20:25:45]shift 182 fd 18899 [20:25:45]save to /storage/0182/doc_00018899 [20:25:45]save last doc name /storage/0182/doc_00018899 to /storage/kkm_last_doc_name [20:25:45]save OK [20:25:45]Clear old archive folders... [20:25:45]ProcessDocumentItem done err = 0, tmpTLVsize=279 [20:25:45]tlvbuf is 0185A7B0 [20:25:45]SAM_PROTO_ClearQueue [20:25:45]wFMCommunicate request_size=4 [20:25:45]MH_SAM_APDU [20:25:45]CAPDU: 80 09 00 00 [20:25:45]Write to MH i2c: E2 08 00 A9 0B 80 09 00 00 00 00 00 00 26 [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:25:45]Read from MH i2c: E2 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 A9 0B 00 90 00 28 [20:25:45]RAPDU: 90 00 [20:25:45]wFMCommunicate OK [20:25:45]SAM_PROTO_ClearQueue done [20:25:45]KKMCreateOFDPacket [20:25:45]OFDProtocolAddRootSTLVToBuf [20:25:45]FM_MakeSignedData [20:25:45]FM_MakeSignedData [20:25:45]SAM_PROTO_SignData [20:25:45]wFMCommunicate request_size=4 [20:25:45]MH_SAM_APDU [20:25:45]CAPDU: 80 0D 01 02 [20:25:45]Write to MH i2c: E2 08 00 AA 0B 80 0D 01 02 00 00 00 00 2E [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:25:45]Read from MH i2c: E2 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 AA 0B 00 90 00 29 [20:25:45]RAPDU: 90 00 [20:25:45]wFMCommunicate OK [20:25:45]wFMCommunicate request_size=255 [20:25:45]MH_SAM_APDU [20:25:45]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 4A 20 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 [20:25:45]Write to MH i2c: E2 02 01 AB 0B 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 4A 20 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 00 00 CA [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:25:45]Read from MH i2c: E2 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 AB 0B 00 90 00 2A [20:25:45]RAPDU: 90 00 [20:25:45]wFMCommunicate OK [20:25:45]wFMCommunicate request_size=38 [20:25:45]MH_SAM_APDU [20:25:45]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D3 49 00 00 35 04 06 00 44 E1 E9 CF 89 E4 [20:25:45]Write to MH i2c: E2 29 00 AC 0B 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D3 49 00 00 35 04 06 00 44 E1 E9 CF 89 E4 00 00 26 [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:25:45]Read from MH i2c: E2 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 03 00 AC 0B 00 90 00 2B [20:25:45]RAPDU: 90 00 [20:25:45]wFMCommunicate OK [20:25:45]wFMCommunicate request_size=4 [20:25:45]MH_SAM_APDU [20:25:45]CAPDU: 80 0D 03 02 [20:25:45]Write to MH i2c: E2 08 00 AD 0B 80 0D 03 02 00 00 00 00 33 [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:25:45]Read from MH i2c: E2 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 0B 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 0B 00 AD 0B 00 33 DC DB EF 25 BE F8 5A 90 00 42 [20:25:45]RAPDU: 33 DC DB EF 25 BE F8 5A 90 00 [20:25:45]wFMCommunicate OK [20:25:45]SAM_PROTO_SignData done [20:25:45]FM_MakeSignedData done [20:25:45]CreateOFDProtocolMessage [20:25:45]wFMCommunicate request_size=4 [20:25:45]MH_SAM_APDU [20:25:45]CAPDU: 80 11 00 00 [20:25:45]Write to MH i2c: E2 08 00 AE 0B 80 11 00 00 00 00 00 00 33 [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:25:45]Read from MH i2c: E2 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 17 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: E2 17 00 AE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8C [20:25:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:25:45]wFMCommunicate OK [20:25:45]CreateOFDProtocolMessage done [20:25:45]OFDSenderStorePacket 18899 [20:25:45]StoreOFDPacket docnum=18899 [20:25:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2B 01 00 00 65 C2 23 01 66 88 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 4A 20 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D3 49 00 00 35 04 06 00 44 E1 E9 CF 89 E4 33 DC DB EF 25 BE F8 5A [20:25:45]CheckFolder [20:25:45]dirname=/storage/ofd_packets [20:25:45]CheckFolder done [20:25:45]ProducePacketName [20:25:45]name=ofd_packets/00018899 [20:25:45]NVStorageSaveData ofd_packets/00018899 [20:25:45]File name is /storage/ofd_packets/00018899 [20:25:45]Write 329 bytes [20:25:45]NVStorageSaveData done [20:25:45]OFDSenderStorePacket done [20:25:45]KKMCreateOFDPacket done [20:25:45]NVStorageSaveData kkm_last_timestamp [20:25:45]File name is /storage/kkm_last_timestamp [20:25:45]Write 4 bytes [20:25:45]NVStorageSaveData done [20:25:45]ExternCall_PrintAddStr [20:25:45]wPrintStart [20:25:45]Write to MH i2c: 01 00 00 AF 0B BA [20:25:45]Write i2c OK [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: 01 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: 01 07 00 [20:25:45]MH_I2C_Read... [20:25:45]Read from MH i2c: 01 07 00 AF 0B 00 00 00 00 00 FF 0F CF [20:25:45]RasterBufferAndPrint [20:25:45]line Счет N : (3)16820 [20:25:45]line ИНН: 02508201610067 [20:25:45]line Контрольно-Кассовый Чек [20:25:45]line ПРОДАЖА [20:25:45]line Товар: 4860019001414 [20:25:45]line Вода Боржоми 0,75л ПЭТ [20:25:45]line 1.000 * 165.00 [20:25:45]line = 165.00 [20:25:45]line НДС 12% НСП 1% [20:25:45]line > о реализуемом товаре [20:25:45]line ИТОГО: 165.00 [20:25:45]line НСП 1% : 1.46 [20:25:45]line НДС 12% : 17.52 [20:25:45]line Наличными: 0.00 [20:25:45]line Безнал.: 165.00 [20:25:45]line Место: АЗС № 176 "Партнер Нефть" [20:25:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:25:45]line СНО: Общий режим [20:25:45]line Чек 69 24.09.2024 20:25 [20:25:45]line Смена: 182 ФФД: 1.0 [20:25:45]line ЗНМ: 0300000010 [20:25:45]line РНМ: 0000000000152968 [20:25:45]line Версия ККМ: v1.0 [20:25:45]line Платежная система: O! деньги [20:25:45]line ФМ: 0000000000959456 [20:25:45]line ФД: 18899 [20:25:45]line ФПД: 75737081022948 [20:25:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T202546&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18899&fm=75737081022948&tin=02508201610067®Number=0000000000152968&sum=16500 [20:25:46]line 0 [20:25:46]OFD Sender: Processing packet 18899 [packets to send 7, broken 6] [20:25:46]ProducePacketName [20:25:46]name=ofd_packets/00018899 [20:25:46]OFD Sender: To server: pG, [20:25:46]CommunicateWithHost lk.salyk.kg:30040 [20:25:46]ConnectInit lk.salyk.kg [20:25:46]written 0, free lines is 4095 [20:25:46]Connected sock=10 [20:25:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2B 01 00 00 65 C2 23 01 66 88 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 4A 20 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D3 49 00 00 35 04 06 00 44 E1 E9 CF 89 E4 33 DC DB EF 25 BE F8 5A [20:25:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 75 2E 47 00 41 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 39 35 39 34 35 36 10 04 04 00 D3 49 00 00 F4 03 04 00 AA C9 F2 66 B6 04 01 00 00 80 2A DC FD E3 30 CC A2 [20:25:46]CommunicateWithHost err = 0 [20:25:46]CheckOFDResponse [20:25:46]1017 (14) - 77093643461234 [20:25:46]1041 (16) - 0000000000959456 [20:25:46]1040 (4) - 18899 [20:25:46]1012 (4) - 24.09.2024 14:16 [20:25:46]1206 (1) - 0 [20:25:46]OFD Sender: Remove packet 18899 [20:25:46]ProducePacketName [20:25:46]name=ofd_packets/00018899 [20:25:46]NVStorageDeleteData [20:25:46]Write to MH i2c: 01 00 00 D9 0B E4 [20:25:46]Write i2c OK [20:25:46]MH_I2C_Read... [20:25:46]Read from MH i2c: 01 [20:25:46]MH_I2C_Read... [20:25:46]Read from MH i2c: 01 07 00 [20:25:46]MH_I2C_Read... [20:25:46]Read from MH i2c: 01 07 00 D9 0B 00 00 00 00 00 05 0D FD [20:25:46]RasterBufferAndPrint [20:25:46]line [20:25:46]line [20:25:46]line [20:25:46]line [20:25:46]line [20:25:46]written 0, free lines is 3340 [20:25:46]MH_Cut [20:25:46]Write to MH i2c: D1 01 00 E0 0B 01 BD [20:25:46]Write i2c OK [20:25:46]MH_I2C_Read... [20:25:46]Read from MH i2c: D1 [20:25:46]MH_I2C_Read... [20:25:46]Read from MH i2c: D1 01 00 [20:25:46]MH_I2C_Read... [20:25:46]Read from MH i2c: D1 01 00 E0 0B 00 BC [20:25:46]Write to MH i2c: 01 00 00 E1 0B EC [20:25:46]Write i2c OK [20:25:46]MH_I2C_Read... [20:25:47]OFD Sender: No OFD packet to send [20:25:47]*** Cut start [20:25:47]*** Partial cut [20:25:47]*** CUTSNS_PIN = 1 [20:25:47]*** CUTSNS_PIN = 0 [20:25:47]*** Brake cut motor [20:25:47]Read from MH i2c: 01 [20:25:47]MH_I2C_Read... [20:25:47]*** Stop cut motor [20:25:47]*** Cut end [20:25:47]Read from MH i2c: 01 07 00 [20:25:47]MH_I2C_Read... [20:25:47]Read from MH i2c: 01 07 00 E1 0B 00 00 00 00 00 FF 0F 01 [20:25:47]process_action close_receipt done [20:25:47]requested_data is exist [20:25:47]produce_requested_data [20:25:47]requested_item fm.sn is exist - process it [20:25:47]wFMCommunicate request_size=4 [20:25:47]MH_SAM_APDU [20:25:47]CAPDU: 80 11 00 00 [20:25:47]Write to MH i2c: E2 08 00 E2 0B 80 11 00 00 00 00 00 00 67 [20:25:47]Write i2c OK [20:25:47]MH_I2C_Read... [20:25:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:25:47]Read from MH i2c: E2 [20:25:47]MH_I2C_Read... [20:25:47]Read from MH i2c: E2 17 00 [20:25:47]MH_I2C_Read... [20:25:47]Read from MH i2c: E2 17 00 E2 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C0 [20:25:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:25:47]wFMCommunicate OK [20:25:47]requested_item fd.num is exist - process it [20:25:47]SAM_PROTO_GetFieldsCounters [20:25:47]wFMCommunicate request_size=4 [20:25:47]MH_SAM_APDU [20:25:47]CAPDU: 80 13 00 00 [20:25:47]Write to MH i2c: E2 08 00 E3 0B 80 13 00 00 00 00 00 00 6A [20:25:47]Write i2c OK [20:25:47]MH_I2C_Read... [20:25:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:25:47]Read from MH i2c: E2 [20:25:47]MH_I2C_Read... [20:25:47]Read from MH i2c: E2 62 00 [20:25:47]MH_I2C_Read... [20:25:47]Read from MH i2c: E2 62 00 E3 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D3 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [20:25:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D3 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:25:47]wFMCommunicate OK [20:25:47]SAM_PROTO_GetFieldsCounters done [20:25:47]requested_item shift.num is exist - process it [20:25:47]requested_item shift.opened is exist - process it [20:25:47]req_shift_opened [20:25:47]FM_GetShiftState [20:25:47]SAM_PROTO_GetShiftState [20:25:47]wFMCommunicate request_size=4 [20:25:47]MH_SAM_APDU [20:25:47]CAPDU: 80 13 01 00 [20:25:47]Write to MH i2c: E2 08 00 E4 0B 80 13 01 00 00 00 00 00 6C [20:25:47]Write i2c OK [20:25:47]MH_I2C_Read... [20:25:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:25:48]Read from MH i2c: E2 [20:25:48]MH_I2C_Read... [20:25:48]Read from MH i2c: E2 0E 00 [20:25:48]MH_I2C_Read... [20:25:48]Read from MH i2c: E2 0E 00 E4 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A3 [20:25:48]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:25:48]wFMCommunicate OK [20:25:48]SAM_PROTO_GetShiftState done [20:25:48]FM_GetShiftState done [20:25:48]req_shift_opened done [20:25:48]requested_item shift.open_date is exist - process it [20:25:48]req_shift_open_date [20:25:48]req_shift_open_date done [20:25:48]produce_requested_data done [20:25:48]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18899,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:25:48]process_action_free close_receipt [20:25:48]json_value_free [20:25:48]json_value_free done [20:25:48]process_json_proto returns [20:25:48]Send response to host [20:25:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18899,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:25:48]free response buf [20:25:48]execute_script done [20:25:48]execute_script returns [20:25:48]free content buf [20:25:48]Sock 8.Close socket [20:25:48]Sock 8.Thread stoped [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:17]OFD Sender: No OFD packet to send [20:37:22]OFD Sender: No OFD packet to send [20:37:27]OFD Sender: No OFD packet to send [20:37:32]OFD Sender: No OFD packet to send [20:37:37]OFD Sender: No OFD packet to send [20:37:42]OFD Sender: No OFD packet to send [20:37:47]OFD Sender: No OFD packet to send [20:37:52]OFD Sender: No OFD packet to send [20:37:57]OFD Sender: No OFD packet to send [20:38:02]OFD Sender: No OFD packet to send [20:38:07]OFD Sender: No OFD packet to send [20:38:12]OFD Sender: No OFD packet to send [20:38:17]OFD Sender: No OFD packet to send [20:38:22]OFD Sender: No OFD packet to send [20:38:27]OFD Sender: No OFD packet to send [20:38:32]OFD Sender: No OFD packet to send [20:38:37]OFD Sender: No OFD packet to send [20:38:42]OFD Sender: No OFD packet to send [20:38:47]OFD Sender: No OFD packet to send [20:38:52]OFD Sender: No OFD packet to send [20:38:57]OFD Sender: No OFD packet to send [20:39:02]OFD Sender: No OFD packet to send [20:39:07]OFD Sender: No OFD packet to send [20:39:12]OFD Sender: No OFD packet to send [20:39:17]OFD Sender: No OFD packet to send [20:39:22]OFD Sender: No OFD packet to send [20:39:27]OFD Sender: No OFD packet to send [20:39:32]OFD Sender: No OFD packet to send [20:39:37]OFD Sender: No OFD packet to send [20:39:42]OFD Sender: No OFD packet to send [20:39:47]OFD Sender: No OFD packet to send [20:39:52]OFD Sender: No OFD packet to send [20:39:57]OFD Sender: No OFD packet to send [20:40:02]OFD Sender: No OFD packet to send [20:40:07]OFD Sender: No OFD packet to send [20:40:12]OFD Sender: No OFD packet to send [20:40:17]OFD Sender: No OFD packet to send [20:40:22]OFD Sender: No OFD packet to send [20:40:27]OFD Sender: No OFD packet to send [20:40:32]OFD Sender: No OFD packet to send [20:40:37]OFD Sender: No OFD packet to send [20:40:42]OFD Sender: No OFD packet to send [20:40:47]OFD Sender: No OFD packet to send [20:40:52]OFD Sender: No OFD packet to send [20:40:57]OFD Sender: No OFD packet to send [20:41:02]OFD Sender: No OFD packet to send [20:41:07]OFD Sender: No OFD packet to send [20:41:12]OFD Sender: No OFD packet to send [20:41:17]OFD Sender: No OFD packet to send [20:41:22]OFD Sender: No OFD packet to send [20:41:27]OFD Sender: No OFD packet to send [20:41:32]OFD Sender: No OFD packet to send [20:41:37]OFD Sender: No OFD packet to send [20:41:42]OFD Sender: No OFD packet to send [20:41:47]OFD Sender: No OFD packet to send [20:41:52]OFD Sender: No OFD packet to send [20:41:57]OFD Sender: No OFD packet to send [20:42:02]OFD Sender: No OFD packet to send [20:42:07]OFD Sender: No OFD packet to send [20:42:12]OFD Sender: No OFD packet to send [20:42:17]OFD Sender: No OFD packet to send [20:42:22]OFD Sender: No OFD packet to send [20:42:23]accept exits with 9 [20:42:23]New connection [20:42:23]New thread 3067047268 created [20:42:23]Thread 3066903908 joined [20:42:23]Waiting for new connection... [20:42:23] Sock 9.Parse request [20:42:23]Sock 9.Check first char [20:42:23]Sock 9.First char is OK [20:42:23]request: POST /json_proto HTTP/1.0 [20:42:23]Method: POST [20:42:23]URL: /json_proto [20:42:23]Method is POST - this is cgi request [20:42:23]url: /json_proto [20:42:23]query_string will be loaded in cgi processing [20:42:23]execute_cgi json_proto POST (null) [20:42:23]execute_cgi path=json_proto method=POST [20:42:23]POST find Content-Length [20:42:23]Host: 172.17.62.196:8080 [20:42:23]Content-Length: 678 [20:42:23]Content-Type: application/json [20:42:23] [20:42:23]POST finish read [20:42:23]Found Content-Length = 678 [20:42:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117202", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.920, "sum" : 740.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 740.00, "total" : 740.00, "payments": [ { "type": 0, "sum" : 740.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:42:23]execute_script... [20:42:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117202", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.920, "sum" : 740.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 740.00, "total" : 740.00, "payments": [ { "type": 0, "sum" : 740.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:42:23]POST & json_proto [20:42:23]process_json_proto [20:42:23]json parsed OK: [20:42:23]protocol is kg_v1.0 [20:42:23]action value=close_receipt [20:42:23]process_action close_receipt [20:42:23]cmd_close_receipt [20:42:23]MH_GetDate [20:42:23]Write to MH i2c: F0 00 00 E5 0B DF [20:42:23]Write i2c OK [20:42:23]MH_I2C_Read... [20:42:23]Read from MH i2c: F0 [20:42:23]MH_I2C_Read... [20:42:23]Read from MH i2c: F0 09 00 [20:42:23]MH_I2C_Read... [20:42:23]Read from MH i2c: F0 09 00 E5 0B 00 32 24 F3 66 CE CC 0E 66 A5 [20:42:23]GetLastDocTimeStamp 1727209546 [20:42:23]current date 1727210546 [20:42:23]FM_GetShiftState [20:42:23]SAM_PROTO_GetShiftState [20:42:23]wFMCommunicate request_size=4 [20:42:23]MH_SAM_APDU [20:42:23]CAPDU: 80 13 01 00 [20:42:23]Write to MH i2c: E2 08 00 E6 0B 80 13 01 00 00 00 00 00 6E [20:42:23]Write i2c OK [20:42:23]MH_I2C_Read... [20:42:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:23]Read from MH i2c: E2 [20:42:23]MH_I2C_Read... [20:42:23]Read from MH i2c: E2 0E 00 [20:42:23]MH_I2C_Read... [20:42:23]Read from MH i2c: E2 0E 00 E6 0B 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A5 [20:42:23]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:42:23]wFMCommunicate OK [20:42:23]SAM_PROTO_GetShiftState done [20:42:23]FM_GetShiftState done [20:42:23]opened in 1727136720 [20:42:23]opened+sec_in_day 1727223120 [20:42:23]quantity*price = 74037 [20:42:23]sum+1 = 74039 [20:42:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 740.00 Внесено: 740.00 СДАЧА: 0.00 НСП 1% : 6.55 НДС 12% : 78.62 Наличными: 740.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 70 24.09.2024 20:42 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18900 ФПД: 144760439853466 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T204226&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18900&fm=144760439853466&tin=02508201610067®Number=0000000000152968&sum=74000 [20:42:24]StoreToDocumentArchive [20:42:24]shift 182 fd 18900 [20:42:24]save to /storage/0182/doc_00018900 [20:42:24]save last doc name /storage/0182/doc_00018900 to /storage/kkm_last_doc_name [20:42:24]save OK [20:42:24]Clear old archive folders... [20:42:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:42:24]tlvbuf is 018351C0 [20:42:24]SAM_PROTO_ClearQueue [20:42:24]wFMCommunicate request_size=4 [20:42:24]MH_SAM_APDU [20:42:24]CAPDU: 80 09 00 00 [20:42:24]Write to MH i2c: E2 08 00 F3 0B 80 09 00 00 00 00 00 00 70 [20:42:24]Write i2c OK [20:42:24]MH_I2C_Read... [20:42:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:42:24]Read from MH i2c: E2 [20:42:24]MH_I2C_Read... [20:42:24]Read from MH i2c: E2 03 00 [20:42:24]MH_I2C_Read... [20:42:24]Read from MH i2c: E2 03 00 F3 0B 00 90 00 72 [20:42:24]RAPDU: 90 00 [20:42:24]wFMCommunicate OK [20:42:24]SAM_PROTO_ClearQueue done [20:42:24]KKMCreateOFDPacket [20:42:24]OFDProtocolAddRootSTLVToBuf [20:42:24]FM_MakeSignedData [20:42:24]FM_MakeSignedData [20:42:24]SAM_PROTO_SignData [20:42:24]wFMCommunicate request_size=4 [20:42:24]MH_SAM_APDU [20:42:24]CAPDU: 80 0D 01 02 [20:42:24]Write to MH i2c: E2 08 00 F4 0B 80 0D 01 02 00 00 00 00 78 [20:42:24]Write i2c OK [20:42:24]MH_I2C_Read... [20:42:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:42:24]Read from MH i2c: E2 [20:42:24]MH_I2C_Read... [20:42:24]Read from MH i2c: E2 03 00 [20:42:24]MH_I2C_Read... [20:42:24]Read from MH i2c: E2 03 00 F4 0B 00 90 00 73 [20:42:24]RAPDU: 90 00 [20:42:24]wFMCommunicate OK [20:42:24]wFMCommunicate request_size=255 [20:42:24]MH_SAM_APDU [20:42:24]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 A8 2A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 36 21 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 1E 00 00 00 00 07 04 06 00 10 21 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 32 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D4 49 00 00 35 04 06 00 83 [20:42:24]Write to MH i2c: E2 02 01 F5 0B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A8 2A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 36 21 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 1E 00 00 00 00 07 04 06 00 10 21 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 32 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D4 49 00 00 35 04 06 00 83 00 00 62 [20:42:25]Write i2c OK [20:42:25]MH_I2C_Read... [20:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:25]Read from MH i2c: E2 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 03 00 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 03 00 F5 0B 00 90 00 74 [20:42:25]RAPDU: 90 00 [20:42:25]wFMCommunicate OK [20:42:25]wFMCommunicate request_size=10 [20:42:25]MH_SAM_APDU [20:42:25]CAPDU: 80 0D 02 02 05 A8 AA 98 51 9A [20:42:25]Write to MH i2c: E2 0D 00 F6 0B 80 0D 02 02 05 00 A8 AA 98 51 9A 00 00 5A [20:42:25]Write i2c OK [20:42:25]MH_I2C_Read... [20:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:25]Read from MH i2c: E2 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 03 00 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 03 00 F6 0B 00 90 00 75 [20:42:25]RAPDU: 90 00 [20:42:25]wFMCommunicate OK [20:42:25]wFMCommunicate request_size=4 [20:42:25]MH_SAM_APDU [20:42:25]CAPDU: 80 0D 03 02 [20:42:25]Write to MH i2c: E2 08 00 F7 0B 80 0D 03 02 00 00 00 00 7D [20:42:25]Write i2c OK [20:42:25]MH_I2C_Read... [20:42:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:42:25]Read from MH i2c: E2 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 0B 00 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 0B 00 F7 0B 00 14 89 7F 21 E5 FF D4 03 90 00 76 [20:42:25]RAPDU: 14 89 7F 21 E5 FF D4 03 90 00 [20:42:25]wFMCommunicate OK [20:42:25]SAM_PROTO_SignData done [20:42:25]FM_MakeSignedData done [20:42:25]CreateOFDProtocolMessage [20:42:25]wFMCommunicate request_size=4 [20:42:25]MH_SAM_APDU [20:42:25]CAPDU: 80 11 00 00 [20:42:25]Write to MH i2c: E2 08 00 F8 0B 80 11 00 00 00 00 00 00 7D [20:42:25]Write i2c OK [20:42:25]MH_I2C_Read... [20:42:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:25]Read from MH i2c: E2 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 17 00 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: E2 17 00 F8 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D6 [20:42:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:42:25]wFMCommunicate OK [20:42:25]CreateOFDProtocolMessage done [20:42:25]OFDSenderStorePacket 18900 [20:42:25]StoreOFDPacket docnum=18900 [20:42:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 1D AD 07 01 40 4B 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 A8 2A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 36 21 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 1E 00 00 00 00 07 04 06 00 10 21 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 32 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D4 49 00 00 35 04 06 00 83 A8 AA 98 51 9A 14 89 7F 21 E5 FF D4 03 [20:42:25]CheckFolder [20:42:25]dirname=/storage/ofd_packets [20:42:25]CheckFolder done [20:42:25]ProducePacketName [20:42:25]name=ofd_packets/00018900 [20:42:25]NVStorageSaveData ofd_packets/00018900 [20:42:25]File name is /storage/ofd_packets/00018900 [20:42:25]Write 301 bytes [20:42:25]NVStorageSaveData done [20:42:25]OFDSenderStorePacket done [20:42:25]KKMCreateOFDPacket done [20:42:25]NVStorageSaveData kkm_last_timestamp [20:42:25]File name is /storage/kkm_last_timestamp [20:42:25]Write 4 bytes [20:42:25]NVStorageSaveData done [20:42:25]ExternCall_PrintAddStr [20:42:25]wPrintStart [20:42:25]Write to MH i2c: 01 00 00 F9 0B 04 [20:42:25]Write i2c OK [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: 01 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: 01 07 00 [20:42:25]MH_I2C_Read... [20:42:25]Read from MH i2c: 01 07 00 F9 0B 00 00 00 00 00 FF 0F 19 [20:42:25]RasterBufferAndPrint [20:42:25]line Счет N : (1)117202 [20:42:25]line ИНН: 02508201610067 [20:42:25]line Контрольно-Кассовый Чек [20:42:25]line ПРОДАЖА [20:42:25]line ТРК (МРК, ГНК) : 22 [20:42:25]line Товар: 2710124130 [20:42:25]line Аи-92-К-5 [20:42:25]line 10.920 * 67.80 [20:42:25]line = 740.38 [20:42:25]line НДС 12% НСП 1% [20:42:25]line > о реализуемом товаре [20:42:25]line ОКРУГЛЕНИЕ: -0.38 [20:42:25]line ИТОГО: 740.00 [20:42:25]line Внесено: 740.00 [20:42:25]line СДАЧА: 0.00 [20:42:25]line НСП 1% : 6.55 [20:42:25]line НДС 12% : 78.62 [20:42:25]line Наличными: 740.00 [20:42:25]line Безнал.: 0.00 [20:42:25]line Место: АЗС № 176 "Партнер Нефть" [20:42:25]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:42:25]line СНО: Общий режим [20:42:25]line Чек 70 24.09.2024 20:42 [20:42:25]line Смена: 182 ФФД: 1.0 [20:42:25]line ЗНМ: 0300000010 [20:42:25]line РНМ: 0000000000152968 [20:42:25]line Версия ККМ: v1.0 [20:42:25]line ФМ: 0000000000959456 [20:42:25]line ФД: 18900 [20:42:25]line ФПД: 144760439853466 [20:42:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T204226&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18900&fm=144760439853466&tin=02508201610067®Number=0000000000152968&sum=74000 [20:42:25]OFD Sender: Processing packet 18900 [packets to send 7, broken 6] [20:42:25]ProducePacketName [20:42:25]name=ofd_packets/00018900 [20:42:25]OFD Sender: To server: pG, [20:42:25]CommunicateWithHost lk.salyk.kg:30040 [20:42:25]ConnectInit lk.salyk.kg [20:42:25]written 0, free lines is 4095 [20:42:25]Connected sock=10 [20:42:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 1D AD 07 01 40 4B 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 A8 2A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 36 21 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 1E 00 00 00 00 07 04 06 00 10 21 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 32 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D4 49 00 00 35 04 06 00 83 A8 AA 98 51 9A 14 89 7F 21 E5 FF D4 03 [20:42:26]Write to MH i2c: 01 00 00 24 0C 30 [20:42:26]Write i2c OK [20:42:26]MH_I2C_Read... [20:42:26]Read from MH i2c: 01 [20:42:26]MH_I2C_Read... [20:42:26]Read from MH i2c: 01 07 00 [20:42:26]MH_I2C_Read... [20:42:26]Read from MH i2c: 01 07 00 24 0C 00 00 00 00 00 ED 0C 30 [20:42:26]RasterBufferAndPrint [20:42:26]line [20:42:26]line [20:42:26]line [20:42:26]line [20:42:26]line [20:42:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 13 55 47 00 8D 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D4 49 00 00 F4 03 04 00 91 CD F2 66 B6 04 01 00 00 1F D4 EA DF 91 4B 5E B5 [20:42:26]CommunicateWithHost err = 0 [20:42:26]CheckOFDResponse [20:42:26]1017 (14) - 77093643461234 [20:42:26]1041 (16) - 0000000000959456 [20:42:26]1040 (4) - 18900 [20:42:26]1012 (4) - 24.09.2024 14:32 [20:42:26]1206 (1) - 0 [20:42:26]OFD Sender: Remove packet 18900 [20:42:26]ProducePacketName [20:42:26]name=ofd_packets/00018900 [20:42:26]NVStorageDeleteData [20:42:26]written 0, free lines is 3333 [20:42:26]MH_Cut [20:42:26]Write to MH i2c: D1 01 00 2B 0C 01 09 [20:42:26]Write i2c OK [20:42:26]MH_I2C_Read... [20:42:26]Read from MH i2c: D1 [20:42:26]MH_I2C_Read... [20:42:26]Read from MH i2c: D1 01 00 [20:42:26]MH_I2C_Read... [20:42:26]Read from MH i2c: D1 01 00 2B 0C 00 08 [20:42:26]Write to MH i2c: 01 00 00 2C 0C 38 [20:42:26]Write i2c OK [20:42:26]MH_I2C_Read... [20:42:26]OFD Sender: No OFD packet to send [20:42:26]*** Cut start [20:42:26]*** Partial cut [20:42:26]*** CUTSNS_PIN = 1 [20:42:26]*** CUTSNS_PIN = 0 [20:42:27]*** Brake cut motor [20:42:27]Read from MH i2c: 01 [20:42:27]MH_I2C_Read... [20:42:27]*** Stop cut motor [20:42:27]*** Cut end [20:42:27]Read from MH i2c: 01 07 00 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: 01 07 00 2C 0C 00 00 00 00 00 FF 0F 4D [20:42:27]process_action close_receipt done [20:42:27]requested_data is exist [20:42:27]produce_requested_data [20:42:27]requested_item fm.sn is exist - process it [20:42:27]wFMCommunicate request_size=4 [20:42:27]MH_SAM_APDU [20:42:27]CAPDU: 80 11 00 00 [20:42:27]Write to MH i2c: E2 08 00 2D 0C 80 11 00 00 00 00 00 00 B3 [20:42:27]Write i2c OK [20:42:27]MH_I2C_Read... [20:42:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:27]Read from MH i2c: E2 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: E2 17 00 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: E2 17 00 2D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0C [20:42:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:42:27]wFMCommunicate OK [20:42:27]requested_item fd.num is exist - process it [20:42:27]SAM_PROTO_GetFieldsCounters [20:42:27]wFMCommunicate request_size=4 [20:42:27]MH_SAM_APDU [20:42:27]CAPDU: 80 13 00 00 [20:42:27]Write to MH i2c: E2 08 00 2E 0C 80 13 00 00 00 00 00 00 B6 [20:42:27]Write i2c OK [20:42:27]MH_I2C_Read... [20:42:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:42:27]Read from MH i2c: E2 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: E2 62 00 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: E2 62 00 2E 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D4 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [20:42:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D4 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:42:27]wFMCommunicate OK [20:42:27]SAM_PROTO_GetFieldsCounters done [20:42:27]requested_item shift.num is exist - process it [20:42:27]requested_item shift.opened is exist - process it [20:42:27]req_shift_opened [20:42:27]FM_GetShiftState [20:42:27]SAM_PROTO_GetShiftState [20:42:27]wFMCommunicate request_size=4 [20:42:27]MH_SAM_APDU [20:42:27]CAPDU: 80 13 01 00 [20:42:27]Write to MH i2c: E2 08 00 2F 0C 80 13 01 00 00 00 00 00 B8 [20:42:27]Write i2c OK [20:42:27]MH_I2C_Read... [20:42:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:27]Read from MH i2c: E2 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: E2 0E 00 [20:42:27]MH_I2C_Read... [20:42:27]Read from MH i2c: E2 0E 00 2F 0C 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 EF [20:42:27]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:42:27]wFMCommunicate OK [20:42:27]SAM_PROTO_GetShiftState done [20:42:27]FM_GetShiftState done [20:42:27]req_shift_opened done [20:42:27]requested_item shift.open_date is exist - process it [20:42:27]req_shift_open_date [20:42:27]req_shift_open_date done [20:42:27]produce_requested_data done [20:42:27]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18900,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:42:27]process_action_free close_receipt [20:42:27]json_value_free [20:42:27]json_value_free done [20:42:27]process_json_proto returns [20:42:27]Send response to host [20:42:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18900,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:42:27]free response buf [20:42:27]execute_script done [20:42:27]execute_script returns [20:42:27]free content buf [20:42:27]Sock 9.Close socket [20:42:27]Sock 9.Thread stoped [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:45]accept exits with 8 [20:42:45]New connection [20:42:45]New thread 3066903908 created [20:42:45]Thread 3067047268 joined [20:42:45]Waiting for new connection... [20:42:45] Sock 8.Parse request [20:42:45]Sock 8.Check first char [20:42:45]Sock 8.First char is OK [20:42:45]request: POST /json_proto HTTP/1.0 [20:42:45]Method: POST [20:42:45]URL: /json_proto [20:42:45]Method is POST - this is cgi request [20:42:45]url: /json_proto [20:42:45]query_string will be loaded in cgi processing [20:42:45]execute_cgi json_proto POST (null) [20:42:45]execute_cgi path=json_proto method=POST [20:42:45]POST find Content-Length [20:42:45]Host: 172.17.62.196:8080 [20:42:45]Content-Length: 800 [20:42:45]Content-Type: application/json [20:42:45] [20:42:45]POST finish read [20:42:45]Found Content-Length = 800 [20:42:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117203", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 400.02 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:42:45]execute_script... [20:42:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117203", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 400.02 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:42:45]POST & json_proto [20:42:45]process_json_proto [20:42:45]json parsed OK: [20:42:45]protocol is kg_v1.0 [20:42:45]action value=close_receipt [20:42:45]process_action close_receipt [20:42:45]cmd_close_receipt [20:42:45]MH_GetDate [20:42:45]Write to MH i2c: F0 00 00 30 0C 2B [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: F0 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: F0 09 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: F0 09 00 30 0C 00 48 24 F3 66 CE CC 0E 66 07 [20:42:45]GetLastDocTimeStamp 1727210546 [20:42:45]current date 1727210568 [20:42:45]FM_GetShiftState [20:42:45]SAM_PROTO_GetShiftState [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 13 01 00 [20:42:45]Write to MH i2c: E2 08 00 31 0C 80 13 01 00 00 00 00 00 BA [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 0E 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 0E 00 31 0C 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 F1 [20:42:45]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:42:45]wFMCommunicate OK [20:42:45]SAM_PROTO_GetShiftState done [20:42:45]FM_GetShiftState done [20:42:45]opened in 1727136720 [20:42:45]opened+sec_in_day 1727223120 [20:42:45]quantity*price = 40002 [20:42:45]sum+1 = 40003 [20:42:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.02 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 0.00 Безнал.: 400.02 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 71 24.09.2024 20:42 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18901 ФПД: 648724423861 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T204248&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18901&fm=648724423861&tin=02508201610067®Number=0000000000152968&sum=40002 [20:42:47]StoreToDocumentArchive [20:42:47]shift 182 fd 18901 [20:42:47]save to /storage/0182/doc_00018901 [20:42:47]save last doc name /storage/0182/doc_00018901 to /storage/kkm_last_doc_name [20:42:47]save OK [20:42:47]Clear old archive folders... [20:42:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:42:47]tlvbuf is 018A0600 [20:42:47]SAM_PROTO_ClearQueue [20:42:47]wFMCommunicate request_size=4 [20:42:47]MH_SAM_APDU [20:42:47]CAPDU: 80 09 00 00 [20:42:47]Write to MH i2c: E2 08 00 3E 0C 80 09 00 00 00 00 00 00 BC [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 3E 0C 00 90 00 BE [20:42:47]RAPDU: 90 00 [20:42:47]wFMCommunicate OK [20:42:47]SAM_PROTO_ClearQueue done [20:42:47]KKMCreateOFDPacket [20:42:47]OFDProtocolAddRootSTLVToBuf [20:42:47]FM_MakeSignedData [20:42:47]FM_MakeSignedData [20:42:47]SAM_PROTO_SignData [20:42:47]wFMCommunicate request_size=4 [20:42:47]MH_SAM_APDU [20:42:47]CAPDU: 80 0D 01 02 [20:42:47]Write to MH i2c: E2 08 00 3F 0C 80 0D 01 02 00 00 00 00 C4 [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 3F 0C 00 90 00 BF [20:42:47]RAPDU: 90 00 [20:42:47]wFMCommunicate OK [20:42:47]wFMCommunicate request_size=255 [20:42:47]MH_SAM_APDU [20:42:47]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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 48 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D5 49 00 00 35 04 06 00 00 [20:42:47]Write to MH i2c: E2 02 01 40 0C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 48 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D5 49 00 00 35 04 06 00 00 00 00 18 [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 40 0C 00 90 00 C0 [20:42:47]RAPDU: 90 00 [20:42:47]wFMCommunicate OK [20:42:47]wFMCommunicate request_size=10 [20:42:47]MH_SAM_APDU [20:42:47]CAPDU: 80 0D 02 02 05 97 0A FD 24 B5 [20:42:47]Write to MH i2c: E2 0D 00 41 0C 80 0D 02 02 05 00 97 0A FD 24 B5 00 00 48 [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 03 00 41 0C 00 90 00 C1 [20:42:47]RAPDU: 90 00 [20:42:47]wFMCommunicate OK [20:42:47]wFMCommunicate request_size=4 [20:42:47]MH_SAM_APDU [20:42:47]CAPDU: 80 0D 03 02 [20:42:47]Write to MH i2c: E2 08 00 42 0C 80 0D 03 02 00 00 00 00 C9 [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 0B 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 0B 00 42 0C 00 AE 9C 11 96 95 80 94 07 90 00 6B [20:42:47]RAPDU: AE 9C 11 96 95 80 94 07 90 00 [20:42:47]wFMCommunicate OK [20:42:47]SAM_PROTO_SignData done [20:42:47]FM_MakeSignedData done [20:42:47]CreateOFDProtocolMessage [20:42:47]wFMCommunicate request_size=4 [20:42:47]MH_SAM_APDU [20:42:47]CAPDU: 80 11 00 00 [20:42:47]Write to MH i2c: E2 08 00 43 0C 80 11 00 00 00 00 00 00 C9 [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 17 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 17 00 43 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 22 [20:42:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:42:47]wFMCommunicate OK [20:42:47]CreateOFDProtocolMessage done [20:42:47]OFDSenderStorePacket 18901 [20:42:47]StoreOFDPacket docnum=18901 [20:42:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 B7 07 07 01 A8 49 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 48 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D5 49 00 00 35 04 06 00 00 97 0A FD 24 B5 AE 9C 11 96 95 80 94 07 [20:42:47]CheckFolder [20:42:47]dirname=/storage/ofd_packets [20:42:47]CheckFolder done [20:42:47]ProducePacketName [20:42:47]name=ofd_packets/00018901 [20:42:47]NVStorageSaveData ofd_packets/00018901 [20:42:47]File name is /storage/ofd_packets/00018901 [20:42:47]Write 301 bytes [20:42:47]NVStorageSaveData done [20:42:47]OFDSenderStorePacket done [20:42:47]KKMCreateOFDPacket done [20:42:47]NVStorageSaveData kkm_last_timestamp [20:42:47]File name is /storage/kkm_last_timestamp [20:42:47]Write 4 bytes [20:42:47]NVStorageSaveData done [20:42:47]ExternCall_PrintAddStr [20:42:47]wPrintStart [20:42:47]Write to MH i2c: 01 00 00 44 0C 50 [20:42:47]Write i2c OK [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: 01 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: 01 07 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: 01 07 00 44 0C 00 00 00 00 00 FF 0F 65 [20:42:47]RasterBufferAndPrint [20:42:47]line Счет N : (1)117203 [20:42:47]line ИНН: 02508201610067 [20:42:47]line Контрольно-Кассовый Чек [20:42:47]line ПРОДАЖА [20:42:47]line ТРК (МРК, ГНК) : 42 [20:42:47]line Товар: 2710124130 [20:42:47]line Аи-92-К-5 [20:42:47]line 5.900 * 67.80 [20:42:47]line = 400.02 [20:42:47]line НДС 12% НСП 1% [20:42:47]line > о реализуемом товаре [20:42:47]line ИТОГО: 400.02 [20:42:47]line НСП 1% : 3.54 [20:42:47]line НДС 12% : 42.48 [20:42:47]line Наличными: 0.00 [20:42:47]line Безнал.: 400.02 [20:42:47]line Место: АЗС № 176 "Партнер Нефть" [20:42:47]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:42:47]line СНО: Общий режим [20:42:47]line Чек 71 24.09.2024 20:42 [20:42:47]line Смена: 182 ФФД: 1.0 [20:42:47]line ЗНМ: 0300000010 [20:42:47]line РНМ: 0000000000152968 [20:42:47]line Версия ККМ: v1.0 [20:42:47]line Платежная система: O! деньги [20:42:47]line ФМ: 0000000000959456 [20:42:47]line ФД: 18901 [20:42:47]line ФПД: 648724423861 [20:42:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T204248&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18901&fm=648724423861&tin=02508201610067®Number=0000000000152968&sum=40002 [20:42:47]OFD Sender: Processing packet 18901 [packets to send 7, broken 6] [20:42:47]ProducePacketName [20:42:47]name=ofd_packets/00018901 [20:42:47]OFD Sender: To server: pG, [20:42:47]CommunicateWithHost lk.salyk.kg:30040 [20:42:47]ConnectInit lk.salyk.kg [20:42:47]written 0, free lines is 4095 [20:42:48]Connected sock=10 [20:42:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 B7 07 07 01 A8 49 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 48 24 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D5 49 00 00 35 04 06 00 00 97 0A FD 24 B5 AE 9C 11 96 95 80 94 07 [20:42:48]Write to MH i2c: 01 00 00 6E 0C 7A [20:42:48]Write i2c OK [20:42:48]MH_I2C_Read... [20:42:48]Read from MH i2c: 01 [20:42:48]MH_I2C_Read... [20:42:48]Read from MH i2c: 01 07 00 [20:42:48]MH_I2C_Read... [20:42:48]Read from MH i2c: 01 07 00 6E 0C 00 00 00 00 00 FE 0C 8B [20:42:48]RasterBufferAndPrint [20:42:48]line [20:42:48]line [20:42:48]line [20:42:48]line [20:42:48]line [20:42:48]written 0, free lines is 3332 [20:42:48]MH_Cut [20:42:48]Write to MH i2c: D1 01 00 75 0C 01 53 [20:42:48]Write i2c OK [20:42:48]MH_I2C_Read... [20:42:48]Read from MH i2c: D1 [20:42:48]MH_I2C_Read... [20:42:48]Read from MH i2c: D1 01 00 [20:42:48]MH_I2C_Read... [20:42:48]Read from MH i2c: D1 01 00 75 0C 00 52 [20:42:48]Write to MH i2c: 01 00 00 76 0C 82 [20:42:48]Write i2c OK [20:42:48]MH_I2C_Read... [20:42:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 7C 90 47 00 8A C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D5 49 00 00 F4 03 04 00 A7 CD F2 66 B6 04 01 00 00 E3 07 60 22 1A 25 78 BC [20:42:48]CommunicateWithHost err = 0 [20:42:48]CheckOFDResponse [20:42:48]1017 (14) - 77093643461234 [20:42:48]1041 (16) - 0000000000959456 [20:42:48]1040 (4) - 18901 [20:42:48]1012 (4) - 24.09.2024 14:33 [20:42:48]1206 (1) - 0 [20:42:48]OFD Sender: Remove packet 18901 [20:42:48]ProducePacketName [20:42:48]name=ofd_packets/00018901 [20:42:48]NVStorageDeleteData [20:42:48]OFD Sender: No OFD packet to send [20:42:48]*** Cut start [20:42:48]*** Partial cut [20:42:48]*** CUTSNS_PIN = 1 [20:42:49]*** CUTSNS_PIN = 0 [20:42:49]*** Brake cut motor [20:42:49]Read from MH i2c: 01 [20:42:49]MH_I2C_Read... [20:42:49]*** Stop cut motor [20:42:49]*** Cut end [20:42:49]Read from MH i2c: 01 07 00 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: 01 07 00 76 0C 00 00 00 00 00 FF 0F 97 [20:42:49]process_action close_receipt done [20:42:49]requested_data is exist [20:42:49]produce_requested_data [20:42:49]requested_item fm.sn is exist - process it [20:42:49]wFMCommunicate request_size=4 [20:42:49]MH_SAM_APDU [20:42:49]CAPDU: 80 11 00 00 [20:42:49]Write to MH i2c: E2 08 00 77 0C 80 11 00 00 00 00 00 00 FD [20:42:49]Write i2c OK [20:42:49]MH_I2C_Read... [20:42:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:49]Read from MH i2c: E2 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: E2 17 00 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: E2 17 00 77 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 56 [20:42:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:42:49]wFMCommunicate OK [20:42:49]requested_item fd.num is exist - process it [20:42:49]SAM_PROTO_GetFieldsCounters [20:42:49]wFMCommunicate request_size=4 [20:42:49]MH_SAM_APDU [20:42:49]CAPDU: 80 13 00 00 [20:42:49]Write to MH i2c: E2 08 00 78 0C 80 13 00 00 00 00 00 00 00 [20:42:49]Write i2c OK [20:42:49]MH_I2C_Read... [20:42:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:42:49]Read from MH i2c: E2 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: E2 62 00 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: E2 62 00 78 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D5 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [20:42:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D5 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:42:49]wFMCommunicate OK [20:42:49]SAM_PROTO_GetFieldsCounters done [20:42:49]requested_item shift.num is exist - process it [20:42:49]requested_item shift.opened is exist - process it [20:42:49]req_shift_opened [20:42:49]FM_GetShiftState [20:42:49]SAM_PROTO_GetShiftState [20:42:49]wFMCommunicate request_size=4 [20:42:49]MH_SAM_APDU [20:42:49]CAPDU: 80 13 01 00 [20:42:49]Write to MH i2c: E2 08 00 79 0C 80 13 01 00 00 00 00 00 02 [20:42:49]Write i2c OK [20:42:49]MH_I2C_Read... [20:42:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:49]Read from MH i2c: E2 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: E2 0E 00 [20:42:49]MH_I2C_Read... [20:42:49]Read from MH i2c: E2 0E 00 79 0C 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 39 [20:42:49]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:42:49]wFMCommunicate OK [20:42:49]SAM_PROTO_GetShiftState done [20:42:49]FM_GetShiftState done [20:42:49]req_shift_opened done [20:42:49]requested_item shift.open_date is exist - process it [20:42:49]req_shift_open_date [20:42:49]req_shift_open_date done [20:42:49]produce_requested_data done [20:42:49]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18901,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:42:49]process_action_free close_receipt [20:42:49]json_value_free [20:42:49]json_value_free done [20:42:49]process_json_proto returns [20:42:49]Send response to host [20:42:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18901,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:42:49]free response buf [20:42:49]execute_script done [20:42:49]execute_script returns [20:42:49]free content buf [20:42:49]Sock 8.Close socket [20:42:49]Sock 8.Thread stoped [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:18]OFD Sender: No OFD packet to send [20:43:23]OFD Sender: No OFD packet to send [20:43:28]OFD Sender: No OFD packet to send [20:43:33]OFD Sender: No OFD packet to send [20:43:38]OFD Sender: No OFD packet to send [20:43:43]OFD Sender: No OFD packet to send [20:43:48]OFD Sender: No OFD packet to send [20:43:53]OFD Sender: No OFD packet to send [20:43:58]OFD Sender: No OFD packet to send [20:44:03]OFD Sender: No OFD packet to send [20:44:08]OFD Sender: No OFD packet to send [20:44:13]OFD Sender: No OFD packet to send [20:44:18]OFD Sender: No OFD packet to send [20:44:23]OFD Sender: No OFD packet to send [20:44:28]OFD Sender: No OFD packet to send [20:44:33]OFD Sender: No OFD packet to send [20:44:38]OFD Sender: No OFD packet to send [20:44:43]OFD Sender: No OFD packet to send [20:44:48]OFD Sender: No OFD packet to send [20:44:53]OFD Sender: No OFD packet to send [20:44:58]OFD Sender: No OFD packet to send [20:45:03]OFD Sender: No OFD packet to send [20:45:08]OFD Sender: No OFD packet to send [20:45:13]OFD Sender: No OFD packet to send [20:45:18]OFD Sender: No OFD packet to send [20:45:23]OFD Sender: No OFD packet to send [20:45:28]OFD Sender: No OFD packet to send [20:45:33]OFD Sender: No OFD packet to send [20:45:38]OFD Sender: No OFD packet to send [20:45:43]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:25]accept exits with 9 [20:50:25]New connection [20:50:25]New thread 3067047268 created [20:50:25]Thread 3066903908 joined [20:50:25]Waiting for new connection... [20:50:25] Sock 9.Parse request [20:50:25]Sock 9.Check first char [20:50:25]Sock 9.First char is OK [20:50:25]request: POST /json_proto HTTP/1.0 [20:50:25]Method: POST [20:50:25]URL: /json_proto [20:50:25]Method is POST - this is cgi request [20:50:25]url: /json_proto [20:50:25]query_string will be loaded in cgi processing [20:50:25]execute_cgi json_proto POST (null) [20:50:25]execute_cgi path=json_proto method=POST [20:50:25]POST find Content-Length [20:50:25]Host: 172.17.62.196:8080 [20:50:25]Content-Length: 603 [20:50:25]Content-Type: application/json [20:50:25] [20:50:25]POST finish read [20:50:25]Found Content-Length = 603 [20:50:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16821", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:25]execute_script... [20:50: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)16821", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:25]POST & json_proto [20:50:25]process_json_proto [20:50:25]json parsed OK: [20:50:25]protocol is kg_v1.0 [20:50:25]action value=close_receipt [20:50:25]process_action close_receipt [20:50:25]cmd_close_receipt [20:50:25]MH_GetDate [20:50:25]Write to MH i2c: F0 00 00 7A 0C 75 [20:50:25]Write i2c OK [20:50:25]MH_I2C_Read... [20:50:25]Read from MH i2c: F0 [20:50:25]MH_I2C_Read... [20:50:25]Read from MH i2c: F0 09 00 [20:50:25]MH_I2C_Read... [20:50:25]Read from MH i2c: F0 09 00 7A 0C 00 14 26 F3 66 CE CC 0E 66 1F [20:50:25]GetLastDocTimeStamp 1727210568 [20:50:25]current date 1727211028 [20:50:25]FM_GetShiftState [20:50:25]SAM_PROTO_GetShiftState [20:50:25]wFMCommunicate request_size=4 [20:50:25]MH_SAM_APDU [20:50:25]CAPDU: 80 13 01 00 [20:50:25]Write to MH i2c: E2 08 00 7B 0C 80 13 01 00 00 00 00 00 04 [20:50:25]Write i2c OK [20:50:25]MH_I2C_Read... [20:50:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:25]Read from MH i2c: E2 [20:50:25]MH_I2C_Read... [20:50:25]Read from MH i2c: E2 0E 00 [20:50:25]MH_I2C_Read... [20:50:25]Read from MH i2c: E2 0E 00 7B 0C 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 3B [20:50:25]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:50:25]wFMCommunicate OK [20:50:25]SAM_PROTO_GetShiftState done [20:50:25]FM_GetShiftState done [20:50:25]opened in 1727136720 [20:50:25]opened+sec_in_day 1727223120 [20:50:25]quantity*price = 5500 [20:50:25]sum+1 = 5501 [20:50:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 72 24.09.2024 20:50 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18902 ФПД: 73439374393224 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T205028&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18902&fm=73439374393224&tin=02508201610067®Number=0000000000152968&sum=5500 0 [20:50:26]StoreToDocumentArchive [20:50:26]shift 182 fd 18902 [20:50:26]save to /storage/0182/doc_00018902 [20:50:26]save last doc name /storage/0182/doc_00018902 to /storage/kkm_last_doc_name [20:50:26]save OK [20:50:26]Clear old archive folders... [20:50:27]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:50:27]tlvbuf is 01834F80 [20:50:27]SAM_PROTO_ClearQueue [20:50:27]wFMCommunicate request_size=4 [20:50:27]MH_SAM_APDU [20:50:27]CAPDU: 80 09 00 00 [20:50:27]Write to MH i2c: E2 08 00 88 0C 80 09 00 00 00 00 00 00 06 [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:50:27]Read from MH i2c: E2 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 88 0C 00 90 00 08 [20:50:27]RAPDU: 90 00 [20:50:27]wFMCommunicate OK [20:50:27]SAM_PROTO_ClearQueue done [20:50:27]KKMCreateOFDPacket [20:50:27]OFDProtocolAddRootSTLVToBuf [20:50:27]FM_MakeSignedData [20:50:27]FM_MakeSignedData [20:50:27]SAM_PROTO_SignData [20:50:27]wFMCommunicate request_size=4 [20:50:27]MH_SAM_APDU [20:50:27]CAPDU: 80 0D 01 02 [20:50:27]Write to MH i2c: E2 08 00 89 0C 80 0D 01 02 00 00 00 00 0E [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:50:27]Read from MH i2c: E2 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 89 0C 00 90 00 09 [20:50:27]RAPDU: 90 00 [20:50:27]wFMCommunicate OK [20:50:27]wFMCommunicate request_size=255 [20:50:27]MH_SAM_APDU [20:50:27]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 14 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [20:50:27]Write to MH i2c: E2 02 01 8A 0C 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 14 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 FF [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:27]Read from MH i2c: E2 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 8A 0C 00 90 00 0A [20:50:27]RAPDU: 90 00 [20:50:27]wFMCommunicate OK [20:50:27]wFMCommunicate request_size=34 [20:50:27]MH_SAM_APDU [20:50:27]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D6 49 00 00 35 04 06 00 42 CA EF D2 BF 88 [20:50:27]Write to MH i2c: E2 25 00 8B 0C 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D6 49 00 00 35 04 06 00 42 CA EF D2 BF 88 00 00 0B [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:27]Read from MH i2c: E2 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 03 00 8B 0C 00 90 00 0B [20:50:27]RAPDU: 90 00 [20:50:27]wFMCommunicate OK [20:50:27]wFMCommunicate request_size=4 [20:50:27]MH_SAM_APDU [20:50:27]CAPDU: 80 0D 03 02 [20:50:27]Write to MH i2c: E2 08 00 8C 0C 80 0D 03 02 00 00 00 00 13 [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:50:27]Read from MH i2c: E2 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 0B 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 0B 00 8C 0C 00 AB 07 6C B8 18 67 09 F3 90 00 65 [20:50:27]RAPDU: AB 07 6C B8 18 67 09 F3 90 00 [20:50:27]wFMCommunicate OK [20:50:27]SAM_PROTO_SignData done [20:50:27]FM_MakeSignedData done [20:50:27]CreateOFDProtocolMessage [20:50:27]wFMCommunicate request_size=4 [20:50:27]MH_SAM_APDU [20:50:27]CAPDU: 80 11 00 00 [20:50:27]Write to MH i2c: E2 08 00 8D 0C 80 11 00 00 00 00 00 00 13 [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:27]Read from MH i2c: E2 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 17 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: E2 17 00 8D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6C [20:50:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:50:27]wFMCommunicate OK [20:50:27]CreateOFDProtocolMessage done [20:50:27]OFDSenderStorePacket 18902 [20:50:27]StoreOFDPacket docnum=18902 [20:50:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 C0 73 1F 01 EF BB 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 14 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D6 49 00 00 35 04 06 00 42 CA EF D2 BF 88 AB 07 6C B8 18 67 09 F3 [20:50:27]CheckFolder [20:50:27]dirname=/storage/ofd_packets [20:50:27]CheckFolder done [20:50:27]ProducePacketName [20:50:27]name=ofd_packets/00018902 [20:50:27]NVStorageSaveData ofd_packets/00018902 [20:50:27]File name is /storage/ofd_packets/00018902 [20:50:27]Write 325 bytes [20:50:27]NVStorageSaveData done [20:50:27]OFDSenderStorePacket done [20:50:27]KKMCreateOFDPacket done [20:50:27]NVStorageSaveData kkm_last_timestamp [20:50:27]File name is /storage/kkm_last_timestamp [20:50:27]Write 4 bytes [20:50:27]NVStorageSaveData done [20:50:27]ExternCall_PrintAddStr [20:50:27]wPrintStart [20:50:27]Write to MH i2c: 01 00 00 8E 0C 9A [20:50:27]Write i2c OK [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: 01 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: 01 07 00 [20:50:27]MH_I2C_Read... [20:50:27]Read from MH i2c: 01 07 00 8E 0C 00 00 00 00 00 FF 0F AF [20:50:27]RasterBufferAndPrint [20:50:27]line Счет N : (3)16821 [20:50:27]line ИНН: 02508201610067 [20:50:27]line Контрольно-Кассовый Чек [20:50:27]line ПРОДАЖА [20:50:27]line Товар: 4870112003925 [20:50:27]line Конд ULKER-Albeni 40gr (6*24) [20:50:27]line 1.000 * 55.00 [20:50:27]line = 55.00 [20:50:27]line НДС 12% НСП 1% [20:50:27]line > о реализуемом товаре [20:50:27]line ИТОГО: 55.00 [20:50:27]line НСП 1% : 0.49 [20:50:27]line НДС 12% : 5.84 [20:50:27]line Наличными: 55.00 [20:50:27]line Безнал.: 0.00 [20:50:27]line Место: АЗС № 176 "Партнер Нефть" [20:50:27]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:50:27]line СНО: Общий режим [20:50:27]line Чек 72 24.09.2024 20:50 [20:50:27]line Смена: 182 ФФД: 1.0 [20:50:27]line ЗНМ: 0300000010 [20:50:27]line РНМ: 0000000000152968 [20:50:27]line Версия ККМ: v1.0 [20:50:27]line ФМ: 0000000000959456 [20:50:27]line ФД: 18902 [20:50:27]line ФПД: 73439374393224 [20:50:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T205028&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18902&fm=73439374393224&tin=02508201610067®Number=0000000000152968&sum=5500 [20:50:27]line 0 [20:50:27]OFD Sender: Processing packet 18902 [packets to send 7, broken 6] [20:50:27]ProducePacketName [20:50:27]name=ofd_packets/00018902 [20:50:27]OFD Sender: To server: pG, [20:50:27]CommunicateWithHost lk.salyk.kg:30040 [20:50:27]ConnectInit lk.salyk.kg [20:50:27]written 0, free lines is 4095 [20:50:28]Connected sock=10 [20:50:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 C0 73 1F 01 EF BB 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 14 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D6 49 00 00 35 04 06 00 42 CA EF D2 BF 88 AB 07 6C B8 18 67 09 F3 [20:50:28]Write to MH i2c: 01 00 00 B6 0C C2 [20:50:28]Write i2c OK [20:50:28]MH_I2C_Read... [20:50:28]Read from MH i2c: 01 [20:50:28]MH_I2C_Read... [20:50:28]Read from MH i2c: 01 07 00 [20:50:28]MH_I2C_Read... [20:50:28]Read from MH i2c: 01 07 00 B6 0C 00 00 00 00 00 1F 0D F5 [20:50:28]RasterBufferAndPrint [20:50:28]line [20:50:28]line [20:50:28]line [20:50:28]line [20:50:28]line [20:50:28]written 0, free lines is 3365 [20:50:28]MH_Cut [20:50:28]Write to MH i2c: D1 01 00 BD 0C 01 9B [20:50:28]Write i2c OK [20:50:28]MH_I2C_Read... [20:50:28]Read from MH i2c: D1 [20:50:28]MH_I2C_Read... [20:50:28]Read from MH i2c: D1 01 00 [20:50:28]MH_I2C_Read... [20:50:28]Read from MH i2c: D1 01 00 BD 0C 00 9A [20:50:28]Write to MH i2c: 01 00 00 BE 0C CA [20:50:28]Write i2c OK [20:50:28]MH_I2C_Read... [20:50:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 58 93 47 00 3D F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D6 49 00 00 F4 03 04 00 74 CF F2 66 B6 04 01 00 00 4E 1F 7E 6D 0A 7E 96 71 [20:50:28]CommunicateWithHost err = 0 [20:50:28]CheckOFDResponse [20:50:28]1017 (14) - 77093643461234 [20:50:28]1041 (16) - 0000000000959456 [20:50:28]1040 (4) - 18902 [20:50:28]1012 (4) - 24.09.2024 14:40 [20:50:28]1206 (1) - 0 [20:50:28]OFD Sender: Remove packet 18902 [20:50:28]ProducePacketName [20:50:28]name=ofd_packets/00018902 [20:50:28]NVStorageDeleteData [20:50:28]OFD Sender: No OFD packet to send [20:50:28]*** Cut start [20:50:28]*** Partial cut [20:50:28]*** CUTSNS_PIN = 1 [20:50:28]*** CUTSNS_PIN = 0 [20:50:29]*** Brake cut motor [20:50:29]Read from MH i2c: 01 [20:50:29]MH_I2C_Read... [20:50:29]*** Stop cut motor [20:50:29]*** Cut end [20:50:29]Read from MH i2c: 01 07 00 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: 01 07 00 BE 0C 00 00 00 00 00 FF 0F DF [20:50:29]process_action close_receipt done [20:50:29]requested_data is exist [20:50:29]produce_requested_data [20:50:29]requested_item fm.sn is exist - process it [20:50:29]wFMCommunicate request_size=4 [20:50:29]MH_SAM_APDU [20:50:29]CAPDU: 80 11 00 00 [20:50:29]Write to MH i2c: E2 08 00 BF 0C 80 11 00 00 00 00 00 00 45 [20:50:29]Write i2c OK [20:50:29]MH_I2C_Read... [20:50:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:29]Read from MH i2c: E2 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: E2 17 00 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: E2 17 00 BF 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9E [20:50:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:50:29]wFMCommunicate OK [20:50:29]requested_item fd.num is exist - process it [20:50:29]SAM_PROTO_GetFieldsCounters [20:50:29]wFMCommunicate request_size=4 [20:50:29]MH_SAM_APDU [20:50:29]CAPDU: 80 13 00 00 [20:50:29]Write to MH i2c: E2 08 00 C0 0C 80 13 00 00 00 00 00 00 48 [20:50:29]Write i2c OK [20:50:29]MH_I2C_Read... [20:50:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:50:29]Read from MH i2c: E2 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: E2 62 00 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: E2 62 00 C0 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D6 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [20:50:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D6 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:50:29]wFMCommunicate OK [20:50:29]SAM_PROTO_GetFieldsCounters done [20:50:29]requested_item shift.num is exist - process it [20:50:29]requested_item shift.opened is exist - process it [20:50:29]req_shift_opened [20:50:29]FM_GetShiftState [20:50:29]SAM_PROTO_GetShiftState [20:50:29]wFMCommunicate request_size=4 [20:50:29]MH_SAM_APDU [20:50:29]CAPDU: 80 13 01 00 [20:50:29]Write to MH i2c: E2 08 00 C1 0C 80 13 01 00 00 00 00 00 4A [20:50:29]Write i2c OK [20:50:29]MH_I2C_Read... [20:50:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:29]Read from MH i2c: E2 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: E2 0E 00 [20:50:29]MH_I2C_Read... [20:50:29]Read from MH i2c: E2 0E 00 C1 0C 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 81 [20:50:29]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:50:29]wFMCommunicate OK [20:50:29]SAM_PROTO_GetShiftState done [20:50:29]FM_GetShiftState done [20:50:29]req_shift_opened done [20:50:29]requested_item shift.open_date is exist - process it [20:50:29]req_shift_open_date [20:50:29]req_shift_open_date done [20:50:29]produce_requested_data done [20:50:29]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18902,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:50:29]process_action_free close_receipt [20:50:29]json_value_free [20:50:29]json_value_free done [20:50:29]process_json_proto returns [20:50:29]Send response to host [20:50:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18902,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:50:29]free response buf [20:50:29]execute_script done [20:50:29]execute_script returns [20:50:29]free content buf [20:50:29]Sock 9.Close socket [20:50:29]Sock 9.Thread stoped [20:50:33]OFD Sender: No OFD packet to send [20:50:38]OFD Sender: No OFD packet to send [20:50:43]OFD Sender: No OFD packet to send [20:50:48]OFD Sender: No OFD packet to send [20:50:53]OFD Sender: No OFD packet to send [20:50:58]OFD Sender: No OFD packet to send [20:51:03]OFD Sender: No OFD packet to send [20:51:08]OFD Sender: No OFD packet to send [20:51:13]OFD Sender: No OFD packet to send [20:51:18]OFD Sender: No OFD packet to send [20:51:23]OFD Sender: No OFD packet to send [20:51:28]OFD Sender: No OFD packet to send [20:51:33]OFD Sender: No OFD packet to send [20:51:38]OFD Sender: No OFD packet to send [20:51:43]OFD Sender: No OFD packet to send [20:51:48]OFD Sender: No OFD packet to send [20:51:53]OFD Sender: No OFD packet to send [20:51:58]OFD Sender: No OFD packet to send [20:52:03]OFD Sender: No OFD packet to send [20:52:08]OFD Sender: No OFD packet to send [20:52:13]OFD Sender: No OFD packet to send [20:52:18]OFD Sender: No OFD packet to send [20:52:23]OFD Sender: No OFD packet to send [20:52:28]OFD Sender: No OFD packet to send [20:52:33]OFD Sender: No OFD packet to send [20:52:38]OFD Sender: No OFD packet to send [20:52:43]OFD Sender: No OFD packet to send [20:52:48]OFD Sender: No OFD packet to send [20:52:53]OFD Sender: No OFD packet to send [20:52:58]OFD Sender: No OFD packet to send [20:53:03]OFD Sender: No OFD packet to send [20:53:08]OFD Sender: No OFD packet to send [20:53:13]OFD Sender: No OFD packet to send [20:53:18]OFD Sender: No OFD packet to send [20:53:20]accept exits with 8 [20:53:20]New connection [20:53:20]New thread 3066903908 created [20:53:20]Thread 3067047268 joined [20:53:20]Waiting for new connection... [20:53:20] Sock 8.Parse request [20:53:20]Sock 8.Check first char [20:53:20]Sock 8.First char is OK [20:53:20]request: POST /json_proto HTTP/1.0 [20:53:20]Method: POST [20:53:20]URL: /json_proto [20:53:20]Method is POST - this is cgi request [20:53:20]url: /json_proto [20:53:20]query_string will be loaded in cgi processing [20:53:20]execute_cgi json_proto POST (null) [20:53:20]execute_cgi path=json_proto method=POST [20:53:20]POST find Content-Length [20:53:20]Host: 172.17.62.196:8080 [20:53:20]Content-Length: 612 [20:53:20]Content-Type: application/json [20:53:20] [20:53:20]POST finish read [20:53:20]Found Content-Length = 612 [20:53:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16822", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:20]execute_script... [20:53: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)16822", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:20]POST & json_proto [20:53:20]process_json_proto [20:53:20]json parsed OK: [20:53:20]protocol is kg_v1.0 [20:53:20]action value=close_receipt [20:53:20]process_action close_receipt [20:53:20]cmd_close_receipt [20:53:20]MH_GetDate [20:53:20]Write to MH i2c: F0 00 00 C2 0C BD [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: F0 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: F0 09 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: F0 09 00 C2 0C 00 C3 26 F3 66 CE CC 0E 66 16 [20:53:20]GetLastDocTimeStamp 1727211028 [20:53:20]current date 1727211203 [20:53:20]FM_GetShiftState [20:53:20]SAM_PROTO_GetShiftState [20:53:20]wFMCommunicate request_size=4 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 13 01 00 [20:53:20]Write to MH i2c: E2 08 00 C3 0C 80 13 01 00 00 00 00 00 4C [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:20]Read from MH i2c: E2 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 0E 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 0E 00 C3 0C 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 83 [20:53:20]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:53:20]wFMCommunicate OK [20:53:20]SAM_PROTO_GetShiftState done [20:53:20]FM_GetShiftState done [20:53:20]opened in 1727136720 [20:53:20]opened+sec_in_day 1727223120 [20:53:20]quantity*price = 15900 [20:53:20]sum+1 = 15901 [20:53:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 73 24.09.2024 20:53 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18903 ФПД: 275136510746107 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T205323&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18903&fm=275136510746107&tin=02508201610067®Number=0000000000152968&sum=15900 0 [20:53:21]StoreToDocumentArchive [20:53:21]shift 182 fd 18903 [20:53:21]save to /storage/0182/doc_00018903 [20:53:21]save last doc name /storage/0182/doc_00018903 to /storage/kkm_last_doc_name [20:53:21]save OK [20:53:21]Clear old archive folders... [20:53:21]ProcessDocumentItem done err = 0, tmpTLVsize=265 [20:53:21]tlvbuf is 018A7D20 [20:53:21]SAM_PROTO_ClearQueue [20:53:21]wFMCommunicate request_size=4 [20:53:21]MH_SAM_APDU [20:53:21]CAPDU: 80 09 00 00 [20:53:21]Write to MH i2c: E2 08 00 D0 0C 80 09 00 00 00 00 00 00 4E [20:53:21]Write i2c OK [20:53:21]MH_I2C_Read... [20:53:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:53:21]Read from MH i2c: E2 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: E2 03 00 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: E2 03 00 D0 0C 00 90 00 50 [20:53:21]RAPDU: 90 00 [20:53:21]wFMCommunicate OK [20:53:21]SAM_PROTO_ClearQueue done [20:53:21]KKMCreateOFDPacket [20:53:21]OFDProtocolAddRootSTLVToBuf [20:53:21]FM_MakeSignedData [20:53:21]FM_MakeSignedData [20:53:21]SAM_PROTO_SignData [20:53:21]wFMCommunicate request_size=4 [20:53:21]MH_SAM_APDU [20:53:21]CAPDU: 80 0D 01 02 [20:53:21]Write to MH i2c: E2 08 00 D1 0C 80 0D 01 02 00 00 00 00 56 [20:53:21]Write i2c OK [20:53:21]MH_I2C_Read... [20:53:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:53:22]Read from MH i2c: E2 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 03 00 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 03 00 D1 0C 00 90 00 51 [20:53:22]RAPDU: 90 00 [20:53:22]wFMCommunicate OK [20:53:22]wFMCommunicate request_size=255 [20:53:22]MH_SAM_APDU [20:53:22]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C3 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 [20:53:22]Write to MH i2c: E2 02 01 D2 0C 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C3 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 00 00 CF [20:53:22]Write i2c OK [20:53:22]MH_I2C_Read... [20:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:22]Read from MH i2c: E2 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 03 00 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 03 00 D2 0C 00 90 00 52 [20:53:22]RAPDU: 90 00 [20:53:22]wFMCommunicate OK [20:53:22]wFMCommunicate request_size=24 [20:53:22]MH_SAM_APDU [20:53:22]CAPDU: 80 0D 02 02 13 36 10 04 04 00 D7 49 00 00 35 04 06 00 FA 3C 35 FC DD FB [20:53:22]Write to MH i2c: E2 1B 00 D3 0C 80 0D 02 02 13 00 36 10 04 04 00 D7 49 00 00 35 04 06 00 FA 3C 35 FC DD FB 00 00 6B [20:53:22]Write i2c OK [20:53:22]MH_I2C_Read... [20:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:22]Read from MH i2c: E2 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 03 00 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 03 00 D3 0C 00 90 00 53 [20:53:22]RAPDU: 90 00 [20:53:22]wFMCommunicate OK [20:53:22]wFMCommunicate request_size=4 [20:53:22]MH_SAM_APDU [20:53:22]CAPDU: 80 0D 03 02 [20:53:22]Write to MH i2c: E2 08 00 D4 0C 80 0D 03 02 00 00 00 00 5B [20:53:22]Write i2c OK [20:53:22]MH_I2C_Read... [20:53:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:53:22]Read from MH i2c: E2 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 0B 00 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 0B 00 D4 0C 00 82 42 9F F6 AB F5 66 B4 90 00 6F [20:53:22]RAPDU: 82 42 9F F6 AB F5 66 B4 90 00 [20:53:22]wFMCommunicate OK [20:53:22]SAM_PROTO_SignData done [20:53:22]FM_MakeSignedData done [20:53:22]CreateOFDProtocolMessage [20:53:22]wFMCommunicate request_size=4 [20:53:22]MH_SAM_APDU [20:53:22]CAPDU: 80 11 00 00 [20:53:22]Write to MH i2c: E2 08 00 D5 0C 80 11 00 00 00 00 00 00 5B [20:53:22]Write i2c OK [20:53:22]MH_I2C_Read... [20:53:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:22]Read from MH i2c: E2 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 17 00 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: E2 17 00 D5 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B4 [20:53:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:53:22]wFMCommunicate OK [20:53:22]CreateOFDProtocolMessage done [20:53:22]OFDSenderStorePacket 18903 [20:53:22]StoreOFDPacket docnum=18903 [20:53:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1D 01 00 00 FF A8 15 01 9F 61 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C3 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D7 49 00 00 35 04 06 00 FA 3C 35 FC DD FB 82 42 9F F6 AB F5 66 B4 [20:53:22]CheckFolder [20:53:22]dirname=/storage/ofd_packets [20:53:22]CheckFolder done [20:53:22]ProducePacketName [20:53:22]name=ofd_packets/00018903 [20:53:22]NVStorageSaveData ofd_packets/00018903 [20:53:22]File name is /storage/ofd_packets/00018903 [20:53:22]Write 315 bytes [20:53:22]NVStorageSaveData done [20:53:22]OFDSenderStorePacket done [20:53:22]KKMCreateOFDPacket done [20:53:22]NVStorageSaveData kkm_last_timestamp [20:53:22]File name is /storage/kkm_last_timestamp [20:53:22]Write 4 bytes [20:53:22]NVStorageSaveData done [20:53:22]ExternCall_PrintAddStr [20:53:22]wPrintStart [20:53:22]Write to MH i2c: 01 00 00 D6 0C E2 [20:53:22]Write i2c OK [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: 01 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: 01 07 00 [20:53:22]MH_I2C_Read... [20:53:22]Read from MH i2c: 01 07 00 D6 0C 00 00 00 00 00 FF 0F F7 [20:53:22]RasterBufferAndPrint [20:53:22]line Счет N : (3)16822 [20:53:22]line ИНН: 02508201610067 [20:53:22]line Контрольно-Кассовый Чек [20:53:22]line ПРОДАЖА [20:53:22]line Товар: 47803152 [20:53:22]line Сигареты Mevius Revo [20:53:22]line 1.000 * 159.00 [20:53:22]line = 159.00 [20:53:22]line НДС 12% НСП 1% [20:53:22]line > о реализуемом товаре [20:53:22]line ИТОГО: 159.00 [20:53:22]line НСП 1% : 1.41 [20:53:22]line НДС 12% : 16.88 [20:53:22]line Наличными: 159.00 [20:53:22]line Безнал.: 0.00 [20:53:22]line Место: АЗС № 176 "Партнер Нефть" [20:53:22]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:53:22]line СНО: Общий режим [20:53:22]line Чек 73 24.09.2024 20:53 [20:53:22]line Смена: 182 ФФД: 1.0 [20:53:22]line ЗНМ: 0300000010 [20:53:22]line РНМ: 0000000000152968 [20:53:22]line Версия ККМ: v1.0 [20:53:22]line ФМ: 0000000000959456 [20:53:22]line ФД: 18903 [20:53:22]line ФПД: 275136510746107 [20:53:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T205323&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18903&fm=275136510746107&tin=02508201610067®Number=0000000000152968&sum=15900 [20:53:22]line 0 [20:53:22]OFD Sender: Processing packet 18903 [packets to send 7, broken 6] [20:53:22]ProducePacketName [20:53:22]name=ofd_packets/00018903 [20:53:22]OFD Sender: To server: pG, [20:53:22]CommunicateWithHost lk.salyk.kg:30040 [20:53:22]ConnectInit lk.salyk.kg [20:53:22]written 0, free lines is 4095 [20:53:23]Connected sock=10 [20:53:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1D 01 00 00 FF A8 15 01 9F 61 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C3 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D7 49 00 00 35 04 06 00 FA 3C 35 FC DD FB 82 42 9F F6 AB F5 66 B4 [20:53:23]Write to MH i2c: 01 00 00 FE 0C 0A [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: 01 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: 01 07 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: 01 07 00 FE 0C 00 00 00 00 00 1A 0D 38 [20:53:23]RasterBufferAndPrint [20:53:23]line [20:53:23]line [20:53:23]line [20:53:23]line [20:53:23]line [20:53:23]written 0, free lines is 3361 [20:53:23]MH_Cut [20:53:23]Write to MH i2c: D1 01 00 05 0D 01 E4 [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: D1 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: D1 01 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: D1 01 00 05 0D 00 E3 [20:53:23]Write to MH i2c: 01 00 00 06 0D 13 [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 AF 73 47 00 AE A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D7 49 00 00 F4 03 04 00 23 D0 F2 66 B6 04 01 00 00 77 30 B7 C3 59 00 AB F6 [20:53:23]CommunicateWithHost err = 0 [20:53:23]CheckOFDResponse [20:53:23]1017 (14) - 77093643461234 [20:53:23]1041 (16) - 0000000000959456 [20:53:23]1040 (4) - 18903 [20:53:23]1012 (4) - 24.09.2024 14:43 [20:53:23]1206 (1) - 0 [20:53:23]OFD Sender: Remove packet 18903 [20:53:23]ProducePacketName [20:53:23]name=ofd_packets/00018903 [20:53:23]NVStorageDeleteData [20:53:23]*** Cut start [20:53:23]*** Partial cut [20:53:23]*** CUTSNS_PIN = 1 [20:53:23]OFD Sender: No OFD packet to send [20:53:23]*** CUTSNS_PIN = 0 [20:53:24]*** Brake cut motor [20:53:24]Read from MH i2c: 01 [20:53:24]MH_I2C_Read... [20:53:24]*** Stop cut motor [20:53:24]*** Cut end [20:53:24]Read from MH i2c: 01 07 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: 01 07 00 06 0D 00 00 00 00 00 FF 0F 28 [20:53:24]process_action close_receipt done [20:53:24]requested_data is exist [20:53:24]produce_requested_data [20:53:24]requested_item fm.sn is exist - process it [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 11 00 00 [20:53:24]Write to MH i2c: E2 08 00 07 0D 80 11 00 00 00 00 00 00 8E [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 17 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 17 00 07 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E7 [20:53:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:53:24]wFMCommunicate OK [20:53:24]requested_item fd.num is exist - process it [20:53:24]SAM_PROTO_GetFieldsCounters [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 13 00 00 [20:53:24]Write to MH i2c: E2 08 00 08 0D 80 13 00 00 00 00 00 00 91 [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 62 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 62 00 08 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 6F [20:53:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:53:24]wFMCommunicate OK [20:53:24]SAM_PROTO_GetFieldsCounters done [20:53:24]requested_item shift.num is exist - process it [20:53:24]requested_item shift.opened is exist - process it [20:53:24]req_shift_opened [20:53:24]FM_GetShiftState [20:53:24]SAM_PROTO_GetShiftState [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 13 01 00 [20:53:24]Write to MH i2c: E2 08 00 09 0D 80 13 01 00 00 00 00 00 93 [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 0E 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 0E 00 09 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 CA [20:53:24]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:53:24]wFMCommunicate OK [20:53:24]SAM_PROTO_GetShiftState done [20:53:24]FM_GetShiftState done [20:53:24]req_shift_opened done [20:53:24]requested_item shift.open_date is exist - process it [20:53:24]req_shift_open_date [20:53:24]req_shift_open_date done [20:53:24]produce_requested_data done [20:53:24]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18903,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:53:24]process_action_free close_receipt [20:53:24]json_value_free [20:53:24]json_value_free done [20:53:24]process_json_proto returns [20:53:24]Send response to host [20:53:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18903,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:53:24]free response buf [20:53:24]execute_script done [20:53:24]execute_script returns [20:53:24]free content buf [20:53:24]Sock 8.Close socket [20:53:24]Sock 8.Thread stoped [20:53:28]OFD Sender: No OFD packet to send [20:53:33]OFD Sender: No OFD packet to send [20:53:38]OFD Sender: No OFD packet to send [20:53:43]OFD Sender: No OFD packet to send [20:53:48]OFD Sender: No OFD packet to send [20:53:49]accept exits with 9 [20:53:49]New connection [20:53:49]New thread 3067047268 created [20:53:49]Thread 3066903908 joined [20:53:49]Waiting for new connection... [20:53:49] Sock 9.Parse request [20:53:49]Sock 9.Check first char [20:53:49]Sock 9.First char is OK [20:53:49]request: POST /json_proto HTTP/1.0 [20:53:49]Method: POST [20:53:49]URL: /json_proto [20:53:49]Method is POST - this is cgi request [20:53:49]url: /json_proto [20:53:49]query_string will be loaded in cgi processing [20:53:49]execute_cgi json_proto POST (null) [20:53:49]execute_cgi path=json_proto method=POST [20:53:49]POST find Content-Length [20:53:49]Host: 172.17.62.196:8080 [20:53:49]Content-Length: 667 [20:53:49]Content-Type: application/json [20:53:49] [20:53:49]POST finish read [20:53:49]Found Content-Length = 667 [20:53:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16823", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:49]execute_script... [20:53:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16823", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:49]POST & json_proto [20:53:49]process_json_proto [20:53:49]json parsed OK: [20:53:49]protocol is kg_v1.0 [20:53:49]action value=close_receipt [20:53:49]process_action close_receipt [20:53:49]cmd_close_receipt [20:53:49]MH_GetDate [20:53:49]Write to MH i2c: F0 00 00 0A 0D 06 [20:53:49]Write i2c OK [20:53:49]MH_I2C_Read... [20:53:49]Read from MH i2c: F0 [20:53:49]MH_I2C_Read... [20:53:49]Read from MH i2c: F0 09 00 [20:53:49]MH_I2C_Read... [20:53:49]Read from MH i2c: F0 09 00 0A 0D 00 DF 26 F3 66 CE CC 0E 66 7B [20:53:49]GetLastDocTimeStamp 1727211203 [20:53:49]current date 1727211231 [20:53:49]FM_GetShiftState [20:53:49]SAM_PROTO_GetShiftState [20:53:49]wFMCommunicate request_size=4 [20:53:49]MH_SAM_APDU [20:53:49]CAPDU: 80 13 01 00 [20:53:49]Write to MH i2c: E2 08 00 0B 0D 80 13 01 00 00 00 00 00 95 [20:53:49]Write i2c OK [20:53:49]MH_I2C_Read... [20:53:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:49]Read from MH i2c: E2 [20:53:49]MH_I2C_Read... [20:53:49]Read from MH i2c: E2 0E 00 [20:53:49]MH_I2C_Read... [20:53:49]Read from MH i2c: E2 0E 00 0B 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 CC [20:53:49]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:53:49]wFMCommunicate OK [20:53:49]SAM_PROTO_GetShiftState done [20:53:49]FM_GetShiftState done [20:53:49]opened in 1727136720 [20:53:49]opened+sec_in_day 1727223120 [20:53:49]quantity*price = 22500 [20:53:49]sum+1 = 22501 [20:53:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 74 24.09.2024 20:53 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18904 ФПД: 149418575498445 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T205351&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18904&fm=149418575498445&tin=02508201610067®Number=0000000000152968&sum=22500 0 [20:53:50]StoreToDocumentArchive [20:53:50]shift 182 fd 18904 [20:53:50]save to /storage/0182/doc_00018904 [20:53:50]save last doc name /storage/0182/doc_00018904 to /storage/kkm_last_doc_name [20:53:50]save OK [20:53:50]Clear old archive folders... [20:53:50]ProcessDocumentItem done err = 0, tmpTLVsize=296 [20:53:50]tlvbuf is 01853D20 [20:53:50]SAM_PROTO_ClearQueue [20:53:50]wFMCommunicate request_size=4 [20:53:50]MH_SAM_APDU [20:53:50]CAPDU: 80 09 00 00 [20:53:50]Write to MH i2c: E2 08 00 18 0D 80 09 00 00 00 00 00 00 97 [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:53:50]Read from MH i2c: E2 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 18 0D 00 90 00 99 [20:53:50]RAPDU: 90 00 [20:53:50]wFMCommunicate OK [20:53:50]SAM_PROTO_ClearQueue done [20:53:50]KKMCreateOFDPacket [20:53:50]OFDProtocolAddRootSTLVToBuf [20:53:50]FM_MakeSignedData [20:53:50]FM_MakeSignedData [20:53:50]SAM_PROTO_SignData [20:53:50]wFMCommunicate request_size=4 [20:53:50]MH_SAM_APDU [20:53:50]CAPDU: 80 0D 01 02 [20:53:50]Write to MH i2c: E2 08 00 19 0D 80 0D 01 02 00 00 00 00 9F [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:53:50]Read from MH i2c: E2 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 19 0D 00 90 00 9A [20:53:50]RAPDU: 90 00 [20:53:50]wFMCommunicate OK [20:53:50]wFMCommunicate request_size=255 [20:53:50]MH_SAM_APDU [20:53:50]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 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DF 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [20:53:50]Write to MH i2c: E2 02 01 1A 0D 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 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DF 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 85 [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:50]Read from MH i2c: E2 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 1A 0D 00 90 00 9B [20:53:50]RAPDU: 90 00 [20:53:50]wFMCommunicate OK [20:53:50]wFMCommunicate request_size=55 [20:53:50]MH_SAM_APDU [20:53:50]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D8 49 00 00 35 04 06 00 87 E5 39 1D 8C CD [20:53:50]Write to MH i2c: E2 3A 00 1B 0D 80 0D 02 02 32 00 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D8 49 00 00 35 04 06 00 87 E5 39 1D 8C CD 00 00 43 [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:50]Read from MH i2c: E2 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 03 00 1B 0D 00 90 00 9C [20:53:50]RAPDU: 90 00 [20:53:50]wFMCommunicate OK [20:53:50]wFMCommunicate request_size=4 [20:53:50]MH_SAM_APDU [20:53:50]CAPDU: 80 0D 03 02 [20:53:50]Write to MH i2c: E2 08 00 1C 0D 80 0D 03 02 00 00 00 00 A4 [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:53:50]Read from MH i2c: E2 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 0B 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 0B 00 1C 0D 00 76 11 2B 7F 57 92 4E AE 90 00 BB [20:53:50]RAPDU: 76 11 2B 7F 57 92 4E AE 90 00 [20:53:50]wFMCommunicate OK [20:53:50]SAM_PROTO_SignData done [20:53:50]FM_MakeSignedData done [20:53:50]CreateOFDProtocolMessage [20:53:50]wFMCommunicate request_size=4 [20:53:50]MH_SAM_APDU [20:53:50]CAPDU: 80 11 00 00 [20:53:50]Write to MH i2c: E2 08 00 1D 0D 80 11 00 00 00 00 00 00 A4 [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:50]Read from MH i2c: E2 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 17 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: E2 17 00 1D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FD [20:53:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:53:50]wFMCommunicate OK [20:53:50]CreateOFDProtocolMessage done [20:53:50]OFDSenderStorePacket 18904 [20:53:50]StoreOFDPacket docnum=18904 [20:53:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3C 01 00 00 75 A5 34 01 75 FC 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DF 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D8 49 00 00 35 04 06 00 87 E5 39 1D 8C CD 76 11 2B 7F 57 92 4E AE [20:53:50]CheckFolder [20:53:50]dirname=/storage/ofd_packets [20:53:50]CheckFolder done [20:53:50]ProducePacketName [20:53:50]name=ofd_packets/00018904 [20:53:50]NVStorageSaveData ofd_packets/00018904 [20:53:50]File name is /storage/ofd_packets/00018904 [20:53:50]Write 346 bytes [20:53:50]NVStorageSaveData done [20:53:50]OFDSenderStorePacket done [20:53:50]KKMCreateOFDPacket done [20:53:50]NVStorageSaveData kkm_last_timestamp [20:53:50]File name is /storage/kkm_last_timestamp [20:53:50]Write 4 bytes [20:53:50]NVStorageSaveData done [20:53:50]ExternCall_PrintAddStr [20:53:50]wPrintStart [20:53:50]Write to MH i2c: 01 00 00 1E 0D 2B [20:53:50]Write i2c OK [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: 01 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: 01 07 00 [20:53:50]MH_I2C_Read... [20:53:50]Read from MH i2c: 01 07 00 1E 0D 00 00 00 00 00 FF 0F 40 [20:53:50]RasterBufferAndPrint [20:53:50]line Счет N : (3)16823 [20:53:50]line ИНН: 02508201610067 [20:53:50]line Контрольно-Кассовый Чек [20:53:50]line ПРОДАЖА [20:53:50]line Товар: 4670003190037 [20:53:50]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л [20:53:50]line 1.000 * 225.00 [20:53:50]line = 225.00 [20:53:50]line НДС 12% НСП 1% [20:53:50]line > о реализуемом товаре [20:53:50]line ИТОГО: 225.00 [20:53:50]line НСП 1% : 1.99 [20:53:50]line НДС 12% : 23.89 [20:53:50]line Наличными: 225.00 [20:53:50]line Безнал.: 0.00 [20:53:50]line Место: АЗС № 176 "Партнер Нефть" [20:53:50]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:53:51]line СНО: Общий режим [20:53:51]line Чек 74 24.09.2024 20:53 [20:53:51]line Смена: 182 ФФД: 1.0 [20:53:51]line ЗНМ: 0300000010 [20:53:51]line РНМ: 0000000000152968 [20:53:51]line Версия ККМ: v1.0 [20:53:51]line ФМ: 0000000000959456 [20:53:51]line ФД: 18904 [20:53:51]line ФПД: 149418575498445 [20:53:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T205351&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18904&fm=149418575498445&tin=02508201610067®Number=0000000000152968&sum=22500 [20:53:51]line 0 [20:53:51]OFD Sender: Processing packet 18904 [packets to send 7, broken 6] [20:53:51]ProducePacketName [20:53:51]name=ofd_packets/00018904 [20:53:51]OFD Sender: To server: pG, [20:53:51]CommunicateWithHost lk.salyk.kg:30040 [20:53:51]ConnectInit lk.salyk.kg [20:53:51]written 0, free lines is 4095 [20:53:51]Connected sock=10 [20:53:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3C 01 00 00 75 A5 34 01 75 FC 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DF 26 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D8 49 00 00 35 04 06 00 87 E5 39 1D 8C CD 76 11 2B 7F 57 92 4E AE [20:53:51]Write to MH i2c: 01 00 00 47 0D 54 [20:53:51]Write i2c OK [20:53:51]MH_I2C_Read... [20:53:51]Read from MH i2c: 01 [20:53:51]MH_I2C_Read... [20:53:51]Read from MH i2c: 01 07 00 [20:53:51]MH_I2C_Read... [20:53:51]Read from MH i2c: 01 07 00 47 0D 00 00 00 00 00 0F 0D 77 [20:53:51]RasterBufferAndPrint [20:53:51]line [20:53:51]line [20:53:51]line [20:53:51]line [20:53:51]line [20:53:51]written 0, free lines is 3349 [20:53:51]MH_Cut [20:53:51]Write to MH i2c: D1 01 00 4E 0D 01 2D [20:53:51]Write i2c OK [20:53:51]MH_I2C_Read... [20:53:51]Read from MH i2c: D1 [20:53:51]MH_I2C_Read... [20:53:51]Read from MH i2c: D1 01 00 [20:53:51]MH_I2C_Read... [20:53:51]Read from MH i2c: D1 01 00 4E 0D 00 2C [20:53:51]Write to MH i2c: 01 00 00 4F 0D 5C [20:53:51]Write i2c OK [20:53:51]MH_I2C_Read... [20:53:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 4E A7 47 00 A1 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D8 49 00 00 F4 03 04 00 3F D0 F2 66 B6 04 01 00 00 9B D9 FC 18 BC A1 D3 D0 [20:53:51]CommunicateWithHost err = 0 [20:53:51]CheckOFDResponse [20:53:51]1017 (14) - 77093643461234 [20:53:51]1041 (16) - 0000000000959456 [20:53:51]1040 (4) - 18904 [20:53:51]1012 (4) - 24.09.2024 14:44 [20:53:51]1206 (1) - 0 [20:53:51]OFD Sender: Remove packet 18904 [20:53:51]ProducePacketName [20:53:51]name=ofd_packets/00018904 [20:53:51]NVStorageDeleteData [20:53:52]OFD Sender: No OFD packet to send [20:53:52]*** Cut start [20:53:52]*** Partial cut [20:53:52]*** CUTSNS_PIN = 1 [20:53:52]*** CUTSNS_PIN = 0 [20:53:52]*** Brake cut motor [20:53:52]Read from MH i2c: 01 [20:53:52]MH_I2C_Read... [20:53:52]*** Stop cut motor [20:53:52]*** Cut end [20:53:52]Read from MH i2c: 01 07 00 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: 01 07 00 4F 0D 00 00 00 00 00 FF 0F 71 [20:53:52]process_action close_receipt done [20:53:52]requested_data is exist [20:53:52]produce_requested_data [20:53:52]requested_item fm.sn is exist - process it [20:53:52]wFMCommunicate request_size=4 [20:53:52]MH_SAM_APDU [20:53:52]CAPDU: 80 11 00 00 [20:53:52]Write to MH i2c: E2 08 00 50 0D 80 11 00 00 00 00 00 00 D7 [20:53:52]Write i2c OK [20:53:52]MH_I2C_Read... [20:53:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:52]Read from MH i2c: E2 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: E2 17 00 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: E2 17 00 50 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 30 [20:53:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:53:52]wFMCommunicate OK [20:53:52]requested_item fd.num is exist - process it [20:53:52]SAM_PROTO_GetFieldsCounters [20:53:52]wFMCommunicate request_size=4 [20:53:52]MH_SAM_APDU [20:53:52]CAPDU: 80 13 00 00 [20:53:52]Write to MH i2c: E2 08 00 51 0D 80 13 00 00 00 00 00 00 DA [20:53:52]Write i2c OK [20:53:52]MH_I2C_Read... [20:53:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:52]Read from MH i2c: E2 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: E2 62 00 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: E2 62 00 51 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 BC [20:53:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:53:52]wFMCommunicate OK [20:53:52]SAM_PROTO_GetFieldsCounters done [20:53:52]requested_item shift.num is exist - process it [20:53:52]requested_item shift.opened is exist - process it [20:53:52]req_shift_opened [20:53:52]FM_GetShiftState [20:53:52]SAM_PROTO_GetShiftState [20:53:52]wFMCommunicate request_size=4 [20:53:52]MH_SAM_APDU [20:53:52]CAPDU: 80 13 01 00 [20:53:52]Write to MH i2c: E2 08 00 52 0D 80 13 01 00 00 00 00 00 DC [20:53:52]Write i2c OK [20:53:52]MH_I2C_Read... [20:53:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:52]Read from MH i2c: E2 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: E2 0E 00 [20:53:52]MH_I2C_Read... [20:53:52]Read from MH i2c: E2 0E 00 52 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 13 [20:53:52]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [20:53:52]wFMCommunicate OK [20:53:52]SAM_PROTO_GetShiftState done [20:53:52]FM_GetShiftState done [20:53:52]req_shift_opened done [20:53:52]requested_item shift.open_date is exist - process it [20:53:52]req_shift_open_date [20:53:52]req_shift_open_date done [20:53:52]produce_requested_data done [20:53:52]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18904,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [20:53:52]process_action_free close_receipt [20:53:52]json_value_free [20:53:52]json_value_free done [20:53:52]process_json_proto returns [20:53:52]Send response to host [20:53:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18904,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [20:53:52]free response buf [20:53:52]execute_script done [20:53:52]execute_script returns [20:53:52]free content buf [20:53:52]Sock 9.Close socket [20:53:52]Sock 9.Thread stoped [20:53:57]OFD Sender: No OFD packet to send [20:54:02]OFD Sender: No OFD packet to send [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:52]OFD Sender: No OFD packet to send [20:56:57]OFD Sender: No OFD packet to send [20:57:02]OFD Sender: No OFD packet to send [20:57:07]OFD Sender: No OFD packet to send [20:57:12]OFD Sender: No OFD packet to send [20:57:17]OFD Sender: No OFD packet to send [20:57:22]OFD Sender: No OFD packet to send [20:57:27]OFD Sender: No OFD packet to send [20:57:32]OFD Sender: No OFD packet to send [20:57:37]OFD Sender: No OFD packet to send [20:57:42]OFD Sender: No OFD packet to send [20:57:47]OFD Sender: No OFD packet to send [20:57:52]OFD Sender: No OFD packet to send [20:57:57]OFD Sender: No OFD packet to send [20:58:02]OFD Sender: No OFD packet to send [20:58:07]OFD Sender: No OFD packet to send [20:58:12]OFD Sender: No OFD packet to send [20:58:17]OFD Sender: No OFD packet to send [20:58:22]OFD Sender: No OFD packet to send [20:58:27]OFD Sender: No OFD packet to send [20:58:32]OFD Sender: No OFD packet to send [20:58:37]OFD Sender: No OFD packet to send [20:58:42]OFD Sender: No OFD packet to send [20:58:47]OFD Sender: No OFD packet to send [20:58:52]OFD Sender: No OFD packet to send [20:58:57]OFD Sender: No OFD packet to send [20:59:02]OFD Sender: No OFD packet to send [20:59:07]OFD Sender: No OFD packet to send [20:59:12]OFD Sender: No OFD packet to send [20:59:17]OFD Sender: No OFD packet to send [20:59:22]OFD Sender: No OFD packet to send [20:59:27]OFD Sender: No OFD packet to send [20:59:32]OFD Sender: No OFD packet to send [20:59:37]OFD Sender: No OFD packet to send [20:59:42]OFD Sender: No OFD packet to send [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:36]accept exits with 8 [21:10:36]New connection [21:10:36]New thread 3066903908 created [21:10:36]Thread 3067047268 joined [21:10:36]Waiting for new connection... [21:10:36] Sock 8.Parse request [21:10:36]Sock 8.Check first char [21:10:36]Sock 8.First char is OK [21:10:36]request: POST /json_proto HTTP/1.0 [21:10:36]Method: POST [21:10:36]URL: /json_proto [21:10:36]Method is POST - this is cgi request [21:10:36]url: /json_proto [21:10:36]query_string will be loaded in cgi processing [21:10:36]execute_cgi json_proto POST (null) [21:10:36]execute_cgi path=json_proto method=POST [21:10:36]POST find Content-Length [21:10:36]Host: 172.17.62.196:8080 [21:10:36]Content-Length: 621 [21:10:36]Content-Type: application/json [21:10:36] [21:10:36]POST finish read [21:10:36]Found Content-Length = 621 [21:10:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16824", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:36]execute_script... [21:10:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16824", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:36]POST & json_proto [21:10:36]process_json_proto [21:10:36]json parsed OK: [21:10:36]protocol is kg_v1.0 [21:10:36]action value=close_receipt [21:10:36]process_action close_receipt [21:10:36]cmd_close_receipt [21:10:36]MH_GetDate [21:10:36]Write to MH i2c: F0 00 00 53 0D 4F [21:10:36]Write i2c OK [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: F0 [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: F0 09 00 [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: F0 09 00 53 0D 00 CE 2A F3 66 CE CC 0E 66 B7 [21:10:36]GetLastDocTimeStamp 1727211231 [21:10:36]current date 1727212238 [21:10:36]FM_GetShiftState [21:10:36]SAM_PROTO_GetShiftState [21:10:36]wFMCommunicate request_size=4 [21:10:36]MH_SAM_APDU [21:10:36]CAPDU: 80 13 01 00 [21:10:36]Write to MH i2c: E2 08 00 54 0D 80 13 01 00 00 00 00 00 DE [21:10:36]Write i2c OK [21:10:36]MH_I2C_Read... [21:10:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:36]Read from MH i2c: E2 [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: E2 0E 00 [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: E2 0E 00 54 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 15 [21:10:36]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:10:36]wFMCommunicate OK [21:10:36]SAM_PROTO_GetShiftState done [21:10:36]FM_GetShiftState done [21:10:36]opened in 1727136720 [21:10:36]opened+sec_in_day 1727223120 [21:10:36]quantity*price = 15400 [21:10:36]sum+1 = 15401 [21:10:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 75 24.09.2024 21:10 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18905 ФПД: 195850432276617 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T211038&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18905&fm=195850432276617&tin=02508201610067®Number=0000000000152968&sum=15400 0 [21:10:37]StoreToDocumentArchive [21:10:37]shift 182 fd 18905 [21:10:37]save to /storage/0182/doc_00018905 [21:10:37]save last doc name /storage/0182/doc_00018905 to /storage/kkm_last_doc_name [21:10:37]save OK [21:10:37]Clear old archive folders... [21:10:37]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:10:37]tlvbuf is 018A04E0 [21:10:37]SAM_PROTO_ClearQueue [21:10:37]wFMCommunicate request_size=4 [21:10:37]MH_SAM_APDU [21:10:37]CAPDU: 80 09 00 00 [21:10:37]Write to MH i2c: E2 08 00 61 0D 80 09 00 00 00 00 00 00 E0 [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:10:37]Read from MH i2c: E2 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 61 0D 00 90 00 E2 [21:10:37]RAPDU: 90 00 [21:10:37]wFMCommunicate OK [21:10:37]SAM_PROTO_ClearQueue done [21:10:37]KKMCreateOFDPacket [21:10:37]OFDProtocolAddRootSTLVToBuf [21:10:37]FM_MakeSignedData [21:10:37]FM_MakeSignedData [21:10:37]SAM_PROTO_SignData [21:10:37]wFMCommunicate request_size=4 [21:10:37]MH_SAM_APDU [21:10:37]CAPDU: 80 0D 01 02 [21:10:37]Write to MH i2c: E2 08 00 62 0D 80 0D 01 02 00 00 00 00 E8 [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:10:37]Read from MH i2c: E2 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 62 0D 00 90 00 E3 [21:10:37]RAPDU: 90 00 [21:10:37]wFMCommunicate OK [21:10:37]wFMCommunicate request_size=255 [21:10:37]MH_SAM_APDU [21:10:37]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 4B 00 00 00 F4 03 04 00 CE 2A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [21:10:37]Write to MH i2c: E2 02 01 63 0D 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 4B 00 00 00 F4 03 04 00 CE 2A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 CD [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:37]Read from MH i2c: E2 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 63 0D 00 90 00 E4 [21:10:37]RAPDU: 90 00 [21:10:37]wFMCommunicate OK [21:10:37]wFMCommunicate request_size=33 [21:10:37]MH_SAM_APDU [21:10:37]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D9 49 00 00 35 04 06 00 B2 1F FB 71 E8 89 [21:10:37]Write to MH i2c: E2 24 00 64 0D 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D9 49 00 00 35 04 06 00 B2 1F FB 71 E8 89 00 00 50 [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:37]Read from MH i2c: E2 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 03 00 64 0D 00 90 00 E5 [21:10:37]RAPDU: 90 00 [21:10:37]wFMCommunicate OK [21:10:37]wFMCommunicate request_size=4 [21:10:37]MH_SAM_APDU [21:10:37]CAPDU: 80 0D 03 02 [21:10:37]Write to MH i2c: E2 08 00 65 0D 80 0D 03 02 00 00 00 00 ED [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:10:37]Read from MH i2c: E2 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 0B 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 0B 00 65 0D 00 A0 51 1D 60 F9 25 11 84 90 00 0F [21:10:37]RAPDU: A0 51 1D 60 F9 25 11 84 90 00 [21:10:37]wFMCommunicate OK [21:10:37]SAM_PROTO_SignData done [21:10:37]FM_MakeSignedData done [21:10:37]CreateOFDProtocolMessage [21:10:37]wFMCommunicate request_size=4 [21:10:37]MH_SAM_APDU [21:10:37]CAPDU: 80 11 00 00 [21:10:37]Write to MH i2c: E2 08 00 66 0D 80 11 00 00 00 00 00 00 ED [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:37]Read from MH i2c: E2 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 17 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: E2 17 00 66 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 46 [21:10:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:10:37]wFMCommunicate OK [21:10:37]CreateOFDProtocolMessage done [21:10:37]OFDSenderStorePacket 18905 [21:10:37]StoreOFDPacket docnum=18905 [21:10:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 E4 AC 1E 01 3B 37 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 4B 00 00 00 F4 03 04 00 CE 2A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D9 49 00 00 35 04 06 00 B2 1F FB 71 E8 89 A0 51 1D 60 F9 25 11 84 [21:10:37]CheckFolder [21:10:37]dirname=/storage/ofd_packets [21:10:37]CheckFolder done [21:10:37]ProducePacketName [21:10:37]name=ofd_packets/00018905 [21:10:37]NVStorageSaveData ofd_packets/00018905 [21:10:37]File name is /storage/ofd_packets/00018905 [21:10:37]Write 324 bytes [21:10:37]NVStorageSaveData done [21:10:37]OFDSenderStorePacket done [21:10:37]KKMCreateOFDPacket done [21:10:37]NVStorageSaveData kkm_last_timestamp [21:10:37]File name is /storage/kkm_last_timestamp [21:10:37]Write 4 bytes [21:10:37]NVStorageSaveData done [21:10:37]ExternCall_PrintAddStr [21:10:37]wPrintStart [21:10:37]Write to MH i2c: 01 00 00 67 0D 74 [21:10:37]Write i2c OK [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: 01 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: 01 07 00 [21:10:37]MH_I2C_Read... [21:10:37]Read from MH i2c: 01 07 00 67 0D 00 00 00 00 00 FF 0F 89 [21:10:37]RasterBufferAndPrint [21:10:37]line Счет N : (3)16824 [21:10:37]line ИНН: 02508201610067 [21:10:37]line Контрольно-Кассовый Чек [21:10:37]line ПРОДАЖА [21:10:37]line Товар: 46230614 [21:10:37]line Сигареты Richmond Red Edition [21:10:37]line 1.000 * 154.00 [21:10:37]line = 154.00 [21:10:37]line НДС 12% НСП 1% [21:10:37]line > о реализуемом товаре [21:10:37]line ИТОГО: 154.00 [21:10:37]line НСП 1% : 1.36 [21:10:37]line НДС 12% : 16.35 [21:10:37]line Наличными: 154.00 [21:10:37]line Безнал.: 0.00 [21:10:37]line Место: АЗС № 176 "Партнер Нефть" [21:10:37]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:10:37]line СНО: Общий режим [21:10:37]line Чек 75 24.09.2024 21:10 [21:10:37]line Смена: 182 ФФД: 1.0 [21:10:37]line ЗНМ: 0300000010 [21:10:37]line РНМ: 0000000000152968 [21:10:37]line Версия ККМ: v1.0 [21:10:37]line ФМ: 0000000000959456 [21:10:37]line ФД: 18905 [21:10:37]line ФПД: 195850432276617 [21:10:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T211038&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18905&fm=195850432276617&tin=02508201610067®Number=0000000000152968&sum=15400 [21:10:38]line 0 [21:10:38]OFD Sender: Processing packet 18905 [packets to send 7, broken 6] [21:10:38]ProducePacketName [21:10:38]name=ofd_packets/00018905 [21:10:38]OFD Sender: To server: pG, [21:10:38]CommunicateWithHost lk.salyk.kg:30040 [21:10:38]ConnectInit lk.salyk.kg [21:10:38]written 0, free lines is 4095 [21:10:38]Connected sock=10 [21:10:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 E4 AC 1E 01 3B 37 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 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 4B 00 00 00 F4 03 04 00 CE 2A F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D9 49 00 00 35 04 06 00 B2 1F FB 71 E8 89 A0 51 1D 60 F9 25 11 84 [21:10:38]Write to MH i2c: 01 00 00 90 0D 9D [21:10:38]Write i2c OK [21:10:38]MH_I2C_Read... [21:10:38]Read from MH i2c: 01 [21:10:38]MH_I2C_Read... [21:10:38]Read from MH i2c: 01 07 00 [21:10:38]MH_I2C_Read... [21:10:38]Read from MH i2c: 01 07 00 90 0D 00 00 00 00 00 FA 0C AA [21:10:38]RasterBufferAndPrint [21:10:38]line [21:10:38]line [21:10:38]line [21:10:38]line [21:10:38]line [21:10:38]written 0, free lines is 3328 [21:10:38]MH_Cut [21:10:38]Write to MH i2c: D1 01 00 97 0D 01 76 [21:10:38]Write i2c OK [21:10:38]MH_I2C_Read... [21:10:38]Read from MH i2c: D1 [21:10:38]MH_I2C_Read... [21:10:38]Read from MH i2c: D1 01 00 [21:10:38]MH_I2C_Read... [21:10:38]Read from MH i2c: D1 01 00 97 0D 00 75 [21:10:38]Write to MH i2c: 01 00 00 98 0D A5 [21:10:38]Write i2c OK [21:10:38]MH_I2C_Read... [21:10:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 00 4C 47 00 FD 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 D9 49 00 00 F4 03 04 00 2E D4 F2 66 B6 04 01 00 00 B7 7D 1D A4 D8 9D B0 89 [21:10:38]CommunicateWithHost err = 0 [21:10:38]CheckOFDResponse [21:10:38]1017 (14) - 77093643461234 [21:10:38]1041 (16) - 0000000000959456 [21:10:38]1040 (4) - 18905 [21:10:38]1012 (4) - 24.09.2024 15:01 [21:10:38]1206 (1) - 0 [21:10:38]OFD Sender: Remove packet 18905 [21:10:38]ProducePacketName [21:10:38]name=ofd_packets/00018905 [21:10:38]NVStorageDeleteData [21:10:39]OFD Sender: No OFD packet to send [21:10:39]*** Cut start [21:10:39]*** Partial cut [21:10:39]*** CUTSNS_PIN = 1 [21:10:39]*** CUTSNS_PIN = 0 [21:10:39]*** Brake cut motor [21:10:39]Read from MH i2c: 01 [21:10:39]MH_I2C_Read... [21:10:39]*** Stop cut motor [21:10:39]*** Cut end [21:10:39]Read from MH i2c: 01 07 00 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: 01 07 00 98 0D 00 00 00 00 00 FF 0F BA [21:10:39]process_action close_receipt done [21:10:39]requested_data is exist [21:10:39]produce_requested_data [21:10:39]requested_item fm.sn is exist - process it [21:10:39]wFMCommunicate request_size=4 [21:10:39]MH_SAM_APDU [21:10:39]CAPDU: 80 11 00 00 [21:10:39]Write to MH i2c: E2 08 00 99 0D 80 11 00 00 00 00 00 00 20 [21:10:39]Write i2c OK [21:10:39]MH_I2C_Read... [21:10:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:39]Read from MH i2c: E2 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: E2 17 00 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: E2 17 00 99 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 79 [21:10:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:10:39]wFMCommunicate OK [21:10:39]requested_item fd.num is exist - process it [21:10:39]SAM_PROTO_GetFieldsCounters [21:10:39]wFMCommunicate request_size=4 [21:10:39]MH_SAM_APDU [21:10:39]CAPDU: 80 13 00 00 [21:10:39]Write to MH i2c: E2 08 00 9A 0D 80 13 00 00 00 00 00 00 23 [21:10:39]Write i2c OK [21:10:39]MH_I2C_Read... [21:10:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:10:39]Read from MH i2c: E2 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: E2 62 00 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: E2 62 00 9A 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [21:10:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 D9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:10:39]wFMCommunicate OK [21:10:39]SAM_PROTO_GetFieldsCounters done [21:10:39]requested_item shift.num is exist - process it [21:10:39]requested_item shift.opened is exist - process it [21:10:39]req_shift_opened [21:10:39]FM_GetShiftState [21:10:39]SAM_PROTO_GetShiftState [21:10:39]wFMCommunicate request_size=4 [21:10:39]MH_SAM_APDU [21:10:39]CAPDU: 80 13 01 00 [21:10:39]Write to MH i2c: E2 08 00 9B 0D 80 13 01 00 00 00 00 00 25 [21:10:39]Write i2c OK [21:10:39]MH_I2C_Read... [21:10:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:39]Read from MH i2c: E2 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: E2 0E 00 [21:10:39]MH_I2C_Read... [21:10:39]Read from MH i2c: E2 0E 00 9B 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5C [21:10:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:10:39]wFMCommunicate OK [21:10:39]SAM_PROTO_GetShiftState done [21:10:39]FM_GetShiftState done [21:10:39]req_shift_opened done [21:10:39]requested_item shift.open_date is exist - process it [21:10:39]req_shift_open_date [21:10:39]req_shift_open_date done [21:10:39]produce_requested_data done [21:10:39]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18905,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [21:10:39]process_action_free close_receipt [21:10:39]json_value_free [21:10:39]json_value_free done [21:10:39]process_json_proto returns [21:10:39]Send response to host [21:10:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18905,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [21:10:39]free response buf [21:10:39]execute_script done [21:10:39]execute_script returns [21:10:39]free content buf [21:10:39]Sock 8.Close socket [21:10:39]Sock 8.Thread stoped [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]accept exits with 9 [21:11:54]New connection [21:11:54]New thread 3067047268 created [21:11:54]Thread 3066903908 joined [21:11:54]Waiting for new connection... [21:11:54] Sock 9.Parse request [21:11:54]Sock 9.Check first char [21:11:54]Sock 9.First char is OK [21:11:54]request: POST /json_proto HTTP/1.0 [21:11:54]Method: POST [21:11:54]URL: /json_proto [21:11:54]Method is POST - this is cgi request [21:11:54]url: /json_proto [21:11:54]query_string will be loaded in cgi processing [21:11:54]execute_cgi json_proto POST (null) [21:11:54]execute_cgi path=json_proto method=POST [21:11:54]POST find Content-Length [21:11:54]Host: 172.17.62.196:8080 [21:11:54]Content-Length: 826 [21:11:54]Content-Type: application/json [21:11:54] [21:11:54]POST finish read [21:11:54]Found Content-Length = 826 [21:11:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16825", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:11:54]execute_script... [21:11:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16825", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:11:54]POST & json_proto [21:11:54]process_json_proto [21:11:54]json parsed OK: [21:11:54]protocol is kg_v1.0 [21:11:54]action value=close_receipt [21:11:54]process_action close_receipt [21:11:54]cmd_close_receipt [21:11:54]MH_GetDate [21:11:54]Write to MH i2c: F0 00 00 9C 0D 98 [21:11:54]Write i2c OK [21:11:54]MH_I2C_Read... [21:11:54]Read from MH i2c: F0 [21:11:54]MH_I2C_Read... [21:11:54]Read from MH i2c: F0 09 00 [21:11:54]MH_I2C_Read... [21:11:54]Read from MH i2c: F0 09 00 9C 0D 00 1C 2B F3 66 CE CC 0E 66 4F [21:11:54]GetLastDocTimeStamp 1727212238 [21:11:54]current date 1727212316 [21:11:54]FM_GetShiftState [21:11:54]SAM_PROTO_GetShiftState [21:11:54]wFMCommunicate request_size=4 [21:11:54]MH_SAM_APDU [21:11:54]CAPDU: 80 13 01 00 [21:11:54]Write to MH i2c: E2 08 00 9D 0D 80 13 01 00 00 00 00 00 27 [21:11:54]Write i2c OK [21:11:54]MH_I2C_Read... [21:11:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:11:54]Read from MH i2c: E2 [21:11:54]MH_I2C_Read... [21:11:54]Read from MH i2c: E2 0E 00 [21:11:54]MH_I2C_Read... [21:11:54]Read from MH i2c: E2 0E 00 9D 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 5E [21:11:54]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:11:54]wFMCommunicate OK [21:11:54]SAM_PROTO_GetShiftState done [21:11:54]FM_GetShiftState done [21:11:54]opened in 1727136720 [21:11:54]opened+sec_in_day 1727223120 [21:11:54]quantity*price = 9000 [21:11:54]sum+1 = 9001 [21:11:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 76 24.09.2024 21:11 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18906 ФПД: 205751590868442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T211156&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18906&fm=205751590868442&tin=02508201610067®Number=0000000000152968&sum=9000 0 [21:11:55]StoreToDocumentArchive [21:11:55]shift 182 fd 18906 [21:11:55]save to /storage/0182/doc_00018906 [21:11:55]save last doc name /storage/0182/doc_00018906 to /storage/kkm_last_doc_name [21:11:55]save OK [21:11:55]Clear old archive folders... [21:11:55]ProcessDocumentItem done err = 0, tmpTLVsize=293 [21:11:55]tlvbuf is 01899770 [21:11:55]SAM_PROTO_ClearQueue [21:11:55]wFMCommunicate request_size=4 [21:11:55]MH_SAM_APDU [21:11:55]CAPDU: 80 09 00 00 [21:11:55]Write to MH i2c: E2 08 00 AA 0D 80 09 00 00 00 00 00 00 29 [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:11:55]Read from MH i2c: E2 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 AA 0D 00 90 00 2B [21:11:55]RAPDU: 90 00 [21:11:55]wFMCommunicate OK [21:11:55]SAM_PROTO_ClearQueue done [21:11:55]KKMCreateOFDPacket [21:11:55]OFDProtocolAddRootSTLVToBuf [21:11:55]FM_MakeSignedData [21:11:55]FM_MakeSignedData [21:11:55]SAM_PROTO_SignData [21:11:55]wFMCommunicate request_size=4 [21:11:55]MH_SAM_APDU [21:11:55]CAPDU: 80 0D 01 02 [21:11:55]Write to MH i2c: E2 08 00 AB 0D 80 0D 01 02 00 00 00 00 31 [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:11:55]Read from MH i2c: E2 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 AB 0D 00 90 00 2C [21:11:55]RAPDU: 90 00 [21:11:55]wFMCommunicate OK [21:11:55]wFMCommunicate request_size=255 [21:11:55]MH_SAM_APDU [21:11:55]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4C 00 00 00 F4 03 04 00 1C 2B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [21:11:55]Write to MH i2c: E2 02 01 AC 0D 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4C 00 00 00 F4 03 04 00 1C 2B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 AB [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:11:55]Read from MH i2c: E2 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 AC 0D 00 90 00 2D [21:11:55]RAPDU: 90 00 [21:11:55]wFMCommunicate OK [21:11:55]wFMCommunicate request_size=52 [21:11:55]MH_SAM_APDU [21:11:55]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DA 49 00 00 35 04 06 00 BB 21 46 7C 55 DA [21:11:55]Write to MH i2c: E2 37 00 AD 0D 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DA 49 00 00 35 04 06 00 BB 21 46 7C 55 DA 00 00 F3 [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:11:55]Read from MH i2c: E2 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 03 00 AD 0D 00 90 00 2E [21:11:55]RAPDU: 90 00 [21:11:55]wFMCommunicate OK [21:11:55]wFMCommunicate request_size=4 [21:11:55]MH_SAM_APDU [21:11:55]CAPDU: 80 0D 03 02 [21:11:55]Write to MH i2c: E2 08 00 AE 0D 80 0D 03 02 00 00 00 00 36 [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:11:55]Read from MH i2c: E2 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 0B 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 0B 00 AE 0D 00 D5 6C B7 02 45 81 16 D2 90 00 DF [21:11:55]RAPDU: D5 6C B7 02 45 81 16 D2 90 00 [21:11:55]wFMCommunicate OK [21:11:55]SAM_PROTO_SignData done [21:11:55]FM_MakeSignedData done [21:11:55]CreateOFDProtocolMessage [21:11:55]wFMCommunicate request_size=4 [21:11:55]MH_SAM_APDU [21:11:55]CAPDU: 80 11 00 00 [21:11:55]Write to MH i2c: E2 08 00 AF 0D 80 11 00 00 00 00 00 00 36 [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:11:55]Read from MH i2c: E2 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 17 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: E2 17 00 AF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8F [21:11:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:11:55]wFMCommunicate OK [21:11:55]CreateOFDProtocolMessage done [21:11:55]OFDSenderStorePacket 18906 [21:11:55]StoreOFDPacket docnum=18906 [21:11:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 29 7D 31 01 4A 29 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4C 00 00 00 F4 03 04 00 1C 2B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DA 49 00 00 35 04 06 00 BB 21 46 7C 55 DA D5 6C B7 02 45 81 16 D2 [21:11:55]CheckFolder [21:11:55]dirname=/storage/ofd_packets [21:11:55]CheckFolder done [21:11:55]ProducePacketName [21:11:55]name=ofd_packets/00018906 [21:11:55]NVStorageSaveData ofd_packets/00018906 [21:11:55]File name is /storage/ofd_packets/00018906 [21:11:55]Write 343 bytes [21:11:55]NVStorageSaveData done [21:11:55]OFDSenderStorePacket done [21:11:55]KKMCreateOFDPacket done [21:11:55]NVStorageSaveData kkm_last_timestamp [21:11:55]File name is /storage/kkm_last_timestamp [21:11:55]Write 4 bytes [21:11:55]NVStorageSaveData done [21:11:55]ExternCall_PrintAddStr [21:11:55]wPrintStart [21:11:55]Write to MH i2c: 01 00 00 B0 0D BD [21:11:55]Write i2c OK [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: 01 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: 01 07 00 [21:11:55]MH_I2C_Read... [21:11:55]Read from MH i2c: 01 07 00 B0 0D 00 00 00 00 00 FF 0F D2 [21:11:55]RasterBufferAndPrint [21:11:55]line Счет N : (3)16825 [21:11:55]line ИНН: 02508201610067 [21:11:55]line Контрольно-Кассовый Чек [21:11:55]line ПРОДАЖА [21:11:55]line Товар: 4870022003305 [21:11:55]line Напиток Gorilla эн нат ж/б 0,5/0,45л [21:11:55]line 1.000 * 90.00 [21:11:55]line = 90.00 [21:11:55]line НДС 12% НСП 1% [21:11:55]line > о реализуемом товаре [21:11:55]line ИТОГО: 90.00 [21:11:55]line НСП 1% : 0.80 [21:11:55]line НДС 12% : 9.56 [21:11:55]line Наличными: 0.00 [21:11:55]line Безнал.: 90.00 [21:11:55]line Место: АЗС № 176 "Партнер Нефть" [21:11:55]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:11:55]line СНО: Общий режим [21:11:55]line Чек 76 24.09.2024 21:11 [21:11:55]line Смена: 182 ФФД: 1.0 [21:11:55]line ЗНМ: 0300000010 [21:11:55]line РНМ: 0000000000152968 [21:11:55]line Версия ККМ: v1.0 [21:11:55]line Платежная система: O! деньги [21:11:55]line ФМ: 0000000000959456 [21:11:55]line ФД: 18906 [21:11:55]line ФПД: 205751590868442 [21:11:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T211156&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18906&fm=205751590868442&tin=02508201610067®Number=0000000000152968&sum=9000 [21:11:56]line 0 [21:11:56]OFD Sender: Processing packet 18906 [packets to send 7, broken 6] [21:11:56]ProducePacketName [21:11:56]name=ofd_packets/00018906 [21:11:56]OFD Sender: To server: pG, [21:11:56]CommunicateWithHost lk.salyk.kg:30040 [21:11:56]ConnectInit lk.salyk.kg [21:11:56]written 0, free lines is 4095 [21:11:56]Connected sock=10 [21:11:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 29 7D 31 01 4A 29 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4C 00 00 00 F4 03 04 00 1C 2B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DA 49 00 00 35 04 06 00 BB 21 46 7C 55 DA D5 6C B7 02 45 81 16 D2 [21:11:56]Write to MH i2c: 01 00 00 DB 0D E8 [21:11:56]Write i2c OK [21:11:56]MH_I2C_Read... [21:11:56]Read from MH i2c: 01 [21:11:56]MH_I2C_Read... [21:11:56]Read from MH i2c: 01 07 00 [21:11:56]MH_I2C_Read... [21:11:56]Read from MH i2c: 01 07 00 DB 0D 00 00 00 00 00 F8 0C F3 [21:11:56]RasterBufferAndPrint [21:11:56]line [21:11:56]line [21:11:56]line [21:11:56]line [21:11:56]line [21:11:56]written 0, free lines is 3326 [21:11:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E8 4A 47 00 9F 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DA 49 00 00 F4 03 04 00 7C D4 F2 66 B6 04 01 00 00 FA 5E 7C 2C 2C 23 7E 02 [21:11:56]CommunicateWithHost err = 0 [21:11:56]CheckOFDResponse [21:11:56]1017 (14) - 77093643461234 [21:11:56]1041 (16) - 0000000000959456 [21:11:56]1040 (4) - 18906 [21:11:56]1012 (4) - 24.09.2024 15:02 [21:11:56]1206 (1) - 0 [21:11:56]OFD Sender: Remove packet 18906 [21:11:56]ProducePacketName [21:11:56]name=ofd_packets/00018906 [21:11:56]NVStorageDeleteData [21:11:56]MH_Cut [21:11:56]Write to MH i2c: D1 01 00 E2 0D 01 C1 [21:11:56]Write i2c OK [21:11:56]MH_I2C_Read... [21:11:56]Read from MH i2c: D1 [21:11:56]MH_I2C_Read... [21:11:56]Read from MH i2c: D1 01 00 [21:11:56]MH_I2C_Read... [21:11:56]Read from MH i2c: D1 01 00 E2 0D 00 C0 [21:11:56]Write to MH i2c: 01 00 00 E3 0D F0 [21:11:56]Write i2c OK [21:11:56]MH_I2C_Read... [21:11:57]OFD Sender: No OFD packet to send [21:11:57]*** Cut start [21:11:57]*** Partial cut [21:11:57]*** CUTSNS_PIN = 1 [21:11:57]*** CUTSNS_PIN = 0 [21:11:57]*** Brake cut motor [21:11:57]Read from MH i2c: 01 [21:11:57]MH_I2C_Read... [21:11:57]*** Stop cut motor [21:11:57]*** Cut end [21:11:57]Read from MH i2c: 01 07 00 [21:11:57]MH_I2C_Read... [21:11:57]Read from MH i2c: 01 07 00 E3 0D 00 00 00 00 00 FF 0F 05 [21:11:57]process_action close_receipt done [21:11:57]requested_data is exist [21:11:57]produce_requested_data [21:11:57]requested_item fm.sn is exist - process it [21:11:57]wFMCommunicate request_size=4 [21:11:57]MH_SAM_APDU [21:11:57]CAPDU: 80 11 00 00 [21:11:57]Write to MH i2c: E2 08 00 E4 0D 80 11 00 00 00 00 00 00 6B [21:11:57]Write i2c OK [21:11:57]MH_I2C_Read... [21:11:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:11:57]Read from MH i2c: E2 [21:11:57]MH_I2C_Read... [21:11:57]Read from MH i2c: E2 17 00 [21:11:57]MH_I2C_Read... [21:11:57]Read from MH i2c: E2 17 00 E4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C4 [21:11:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:11:57]wFMCommunicate OK [21:11:57]requested_item fd.num is exist - process it [21:11:57]SAM_PROTO_GetFieldsCounters [21:11:57]wFMCommunicate request_size=4 [21:11:57]MH_SAM_APDU [21:11:57]CAPDU: 80 13 00 00 [21:11:57]Write to MH i2c: E2 08 00 E5 0D 80 13 00 00 00 00 00 00 6E [21:11:57]Write i2c OK [21:11:57]MH_I2C_Read... [21:11:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:11:57]Read from MH i2c: E2 [21:11:57]MH_I2C_Read... [21:11:57]Read from MH i2c: E2 62 00 [21:11:57]MH_I2C_Read... [21:11:57]Read from MH i2c: E2 62 00 E5 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DA 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [21:11:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DA 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:11:57]wFMCommunicate OK [21:11:57]SAM_PROTO_GetFieldsCounters done [21:11:57]requested_item shift.num is exist - process it [21:11:57]requested_item shift.opened is exist - process it [21:11:57]req_shift_opened [21:11:57]FM_GetShiftState [21:11:57]SAM_PROTO_GetShiftState [21:11:57]wFMCommunicate request_size=4 [21:11:57]MH_SAM_APDU [21:11:57]CAPDU: 80 13 01 00 [21:11:57]Write to MH i2c: E2 08 00 E6 0D 80 13 01 00 00 00 00 00 70 [21:11:57]Write i2c OK [21:11:57]MH_I2C_Read... [21:11:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:11:58]Read from MH i2c: E2 [21:11:58]MH_I2C_Read... [21:11:58]Read from MH i2c: E2 0E 00 [21:11:58]MH_I2C_Read... [21:11:58]Read from MH i2c: E2 0E 00 E6 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A7 [21:11:58]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:11:58]wFMCommunicate OK [21:11:58]SAM_PROTO_GetShiftState done [21:11:58]FM_GetShiftState done [21:11:58]req_shift_opened done [21:11:58]requested_item shift.open_date is exist - process it [21:11:58]req_shift_open_date [21:11:58]req_shift_open_date done [21:11:58]produce_requested_data done [21:11:58]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18906,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [21:11:58]process_action_free close_receipt [21:11:58]json_value_free [21:11:58]json_value_free done [21:11:58]process_json_proto returns [21:11:58]Send response to host [21:11:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18906,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [21:11:58]free response buf [21:11:58]execute_script done [21:11:58]execute_script returns [21:11:58]free content buf [21:11:58]Sock 9.Close socket [21:11:58]Sock 9.Thread stoped [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:39]accept exits with 8 [21:16:39]New connection [21:16:39]New thread 3066903908 created [21:16:39]Thread 3067047268 joined [21:16:39]Waiting for new connection... [21:16:39] Sock 8.Parse request [21:16:39]Sock 8.Check first char [21:16:39]Sock 8.First char is OK [21:16:39]request: POST /json_proto HTTP/1.0 [21:16:39]Method: POST [21:16:39]URL: /json_proto [21:16:39]Method is POST - this is cgi request [21:16:39]url: /json_proto [21:16:39]query_string will be loaded in cgi processing [21:16:39]execute_cgi json_proto POST (null) [21:16:39]execute_cgi path=json_proto method=POST [21:16:39]POST find Content-Length [21:16:39]Host: 172.17.62.196:8080 [21:16:39]Content-Length: 1380 [21:16:39]Content-Type: application/json [21:16:39] [21:16:39]POST finish read [21:16:39]Found Content-Length = 1380 [21:16:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16826", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571023", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 2.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 355.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:16:39]execute_script... [21:16:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16826", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571023", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 2.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 355.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:16:39]POST & json_proto [21:16:39]process_json_proto [21:16:39]json parsed OK: [21:16:39]protocol is kg_v1.0 [21:16:39]action value=close_receipt [21:16:39]process_action close_receipt [21:16:39]cmd_close_receipt [21:16:39]MH_GetDate [21:16:39]Write to MH i2c: F0 00 00 E7 0D E3 [21:16:39]Write i2c OK [21:16:39]MH_I2C_Read... [21:16:39]Read from MH i2c: F0 [21:16:39]MH_I2C_Read... [21:16:39]Read from MH i2c: F0 09 00 [21:16:39]MH_I2C_Read... [21:16:39]Read from MH i2c: F0 09 00 E7 0D 00 3A 2C F3 66 CE CC 0E 66 B9 [21:16:39]GetLastDocTimeStamp 1727212316 [21:16:39]current date 1727212602 [21:16:39]FM_GetShiftState [21:16:39]SAM_PROTO_GetShiftState [21:16:39]wFMCommunicate request_size=4 [21:16:39]MH_SAM_APDU [21:16:39]CAPDU: 80 13 01 00 [21:16:39]Write to MH i2c: E2 08 00 E8 0D 80 13 01 00 00 00 00 00 72 [21:16:39]Write i2c OK [21:16:39]MH_I2C_Read... [21:16:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:16:39]Read from MH i2c: E2 [21:16:39]MH_I2C_Read... [21:16:39]Read from MH i2c: E2 0E 00 [21:16:39]MH_I2C_Read... [21:16:39]Read from MH i2c: E2 0E 00 E8 0D 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 A9 [21:16:39]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:16:39]wFMCommunicate OK [21:16:39]SAM_PROTO_GetShiftState done [21:16:39]FM_GetShiftState done [21:16:39]opened in 1727136720 [21:16:39]opened+sec_in_day 1727223120 [21:16:39]quantity*price = 15000 [21:16:39]sum+1 = 15001 [21:16:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001571023 Вода ASU пит н.газ клубн,киви ПЭТ 0,5л 2.000 * 65.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 355.00 НСП 1% : 3.14 НДС 12% : 37.69 Наличными: 0.00 Безнал.: 355.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 77 24.09.2024 21:16 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18907 ФПД: 121276014026691 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T211642&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18907&fm=121276014026691&tin=02508201610067®Number=0000000000152968&sum=35500 0 [21:16:40]StoreToDocumentArchive [21:16:40]shift 182 fd 18907 [21:16:40]save to /storage/0182/doc_00018907 [21:16:40]save last doc name /storage/0182/doc_00018907 to /storage/kkm_last_doc_name [21:16:40]save OK [21:16:40]Clear old archive folders... [21:16:40]ProcessDocumentItem done err = 0, tmpTLVsize=523 [21:16:40]tlvbuf is 0185B950 [21:16:40]SAM_PROTO_ClearQueue [21:16:40]wFMCommunicate request_size=4 [21:16:40]MH_SAM_APDU [21:16:40]CAPDU: 80 09 00 00 [21:16:40]Write to MH i2c: E2 08 00 F5 0D 80 09 00 00 00 00 00 00 74 [21:16:40]Write i2c OK [21:16:40]MH_I2C_Read... [21:16:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:16:40]Read from MH i2c: E2 [21:16:40]MH_I2C_Read... [21:16:40]Read from MH i2c: E2 03 00 [21:16:40]MH_I2C_Read... [21:16:40]Read from MH i2c: E2 03 00 F5 0D 00 90 00 76 [21:16:40]RAPDU: 90 00 [21:16:40]wFMCommunicate OK [21:16:40]SAM_PROTO_ClearQueue done [21:16:40]KKMCreateOFDPacket [21:16:40]OFDProtocolAddRootSTLVToBuf [21:16:40]FM_MakeSignedData [21:16:40]FM_MakeSignedData [21:16:40]SAM_PROTO_SignData [21:16:40]wFMCommunicate request_size=4 [21:16:40]MH_SAM_APDU [21:16:40]CAPDU: 80 0D 01 02 [21:16:40]Write to MH i2c: E2 08 00 F6 0D 80 0D 01 02 00 00 00 00 7C [21:16:40]Write i2c OK [21:16:40]MH_I2C_Read... [21:16:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:16:40]Read from MH i2c: E2 [21:16:40]MH_I2C_Read... [21:16:40]Read from MH i2c: E2 03 00 [21:16:40]MH_I2C_Read... [21:16:40]Read from MH i2c: E2 03 00 F6 0D 00 90 00 77 [21:16:40]RAPDU: 90 00 [21:16:40]wFMCommunicate OK [21:16:40]wFMCommunicate request_size=255 [21:16:40]MH_SAM_APDU [21:16:40]CAPDU: 80 0D 02 02 FA 03 00 0B 02 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 [21:16:41]Write to MH i2c: E2 02 01 F7 0D 80 0D 02 02 FA 00 03 00 0B 02 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 00 00 C5 [21:16:41]Write i2c OK [21:16:41]MH_I2C_Read... [21:16:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:16:41]Read from MH i2c: E2 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 03 00 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 03 00 F7 0D 00 90 00 78 [21:16:41]RAPDU: 90 00 [21:16:41]wFMCommunicate OK [21:16:41]wFMCommunicate request_size=255 [21:16:41]MH_SAM_APDU [21:16:41]CAPDU: 80 0D 02 02 FA 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A 2C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 [21:16:41]Write to MH i2c: E2 02 01 F8 0D 80 0D 02 02 FA 00 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A 2C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 00 00 F9 [21:16:41]Write i2c OK [21:16:41]MH_I2C_Read... [21:16:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:16:41]Read from MH i2c: E2 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 03 00 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 03 00 F8 0D 00 90 00 79 [21:16:41]RAPDU: 90 00 [21:16:41]wFMCommunicate OK [21:16:41]wFMCommunicate request_size=32 [21:16:41]MH_SAM_APDU [21:16:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 34 35 36 10 04 04 00 DB 49 00 00 35 04 06 00 6E 4C C5 BC 5F C3 [21:16:41]Write to MH i2c: E2 23 00 F9 0D 80 0D 02 02 1B 00 30 30 30 39 35 39 34 35 36 10 04 04 00 DB 49 00 00 35 04 06 00 6E 4C C5 BC 5F C3 00 00 64 [21:16:41]Write i2c OK [21:16:41]MH_I2C_Read... [21:16:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:16:41]Read from MH i2c: E2 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 03 00 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 03 00 F9 0D 00 90 00 7A [21:16:41]RAPDU: 90 00 [21:16:41]wFMCommunicate OK [21:16:41]wFMCommunicate request_size=4 [21:16:41]MH_SAM_APDU [21:16:41]CAPDU: 80 0D 03 02 [21:16:41]Write to MH i2c: E2 08 00 FA 0D 80 0D 03 02 00 00 00 00 82 [21:16:41]Write i2c OK [21:16:41]MH_I2C_Read... [21:16:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:16:41]Read from MH i2c: E2 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 0B 00 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 0B 00 FA 0D 00 9C CB B7 DC D9 B3 61 63 90 00 CD [21:16:41]RAPDU: 9C CB B7 DC D9 B3 61 63 90 00 [21:16:41]wFMCommunicate OK [21:16:41]SAM_PROTO_SignData done [21:16:41]FM_MakeSignedData done [21:16:41]CreateOFDProtocolMessage [21:16:41]wFMCommunicate request_size=4 [21:16:41]MH_SAM_APDU [21:16:41]CAPDU: 80 11 00 00 [21:16:41]Write to MH i2c: E2 08 00 FB 0D 80 11 00 00 00 00 00 00 82 [21:16:41]Write i2c OK [21:16:41]MH_I2C_Read... [21:16:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:16:41]Read from MH i2c: E2 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 17 00 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: E2 17 00 FB 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DB [21:16:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:16:41]wFMCommunicate OK [21:16:41]CreateOFDProtocolMessage done [21:16:41]OFDSenderStorePacket 18907 [21:16:41]StoreOFDPacket docnum=18907 [21:16:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1F 02 00 00 3C 66 17 02 8B DB 5A 03 01 00 03 00 0B 02 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A 2C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DB 49 00 00 35 04 06 00 6E 4C C5 BC 5F C3 9C CB B7 DC D9 B3 61 63 [21:16:41]CheckFolder [21:16:41]dirname=/storage/ofd_packets [21:16:41]CheckFolder done [21:16:41]ProducePacketName [21:16:41]name=ofd_packets/00018907 [21:16:41]NVStorageSaveData ofd_packets/00018907 [21:16:41]File name is /storage/ofd_packets/00018907 [21:16:41]Write 573 bytes [21:16:41]NVStorageSaveData done [21:16:41]OFDSenderStorePacket done [21:16:41]KKMCreateOFDPacket done [21:16:41]NVStorageSaveData kkm_last_timestamp [21:16:41]File name is /storage/kkm_last_timestamp [21:16:41]Write 4 bytes [21:16:41]NVStorageSaveData done [21:16:41]ExternCall_PrintAddStr [21:16:41]wPrintStart [21:16:41]Write to MH i2c: 01 00 00 FC 0D 09 [21:16:41]Write i2c OK [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: 01 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: 01 07 00 [21:16:41]MH_I2C_Read... [21:16:41]Read from MH i2c: 01 07 00 FC 0D 00 00 00 00 00 FF 0F 1E [21:16:41]RasterBufferAndPrint [21:16:41]line Счет N : (3)16826 [21:16:41]line ИНН: 02508201610067 [21:16:41]line Контрольно-Кассовый Чек [21:16:41]line ПРОДАЖА [21:16:41]line Товар: 4640030091645 [21:16:41]line Сигареты ESSE Exchange M [21:16:41]line 1.000 * 150.00 [21:16:41]line = 150.00 [21:16:41]line НДС 12% НСП 1% [21:16:41]line > о реализуемом товаре [21:16:41]line Товар: 4870112002775 [21:16:41]line Шок батончик ALBENI BITES 80гр [21:16:41]line 1.000 * 75.00 [21:16:41]line = 75.00 [21:16:41]line НДС 12% НСП 1% [21:16:41]line > о реализуемом товаре [21:16:41]line Товар: 4870001571023 [21:16:41]line Вода ASU пит н.газ клубн,киви ПЭТ 0,5л [21:16:41]line 2.000 * 65.00 [21:16:41]line = 130.00 [21:16:41]line НДС 12% НСП 1% [21:16:41]line > о реализуемом товаре [21:16:41]line ИТОГО: 355.00 [21:16:41]line НСП 1% : 3.14 [21:16:41]line НДС 12% : 37.69 [21:16:41]line Наличными: 0.00 [21:16:41]line Безнал.: 355.00 [21:16:41]line Место: АЗС № 176 "Партнер Нефть" [21:16:41]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:16:41]line СНО: Общий режим [21:16:41]line Чек 77 24.09.2024 21:16 [21:16:41]line Смена: 182 ФФД: 1.0 [21:16:41]line ЗНМ: 0300000010 [21:16:41]line РНМ: 0000000000152968 [21:16:41]line Версия ККМ: v1.0 [21:16:41]line Платежная система: O! деньги [21:16:41]line ФМ: 0000000000959456 [21:16:41]line ФД: 18907 [21:16:41]line ФПД: 121276014026691 [21:16:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T211642&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18907&fm=121276014026691&tin=02508201610067®Number=0000000000152968&sum=35500 [21:16:42]line 0 [21:16:42]OFD Sender: Processing packet 18907 [packets to send 7, broken 6] [21:16:42]ProducePacketName [21:16:42]name=ofd_packets/00018907 [21:16:42]OFD Sender: To server: pG, [21:16:42]CommunicateWithHost lk.salyk.kg:30040 [21:16:42]ConnectInit lk.salyk.kg [21:16:42]written 0, free lines is 4095 [21:16:42]Connected sock=10 [21:16:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1F 02 00 00 3C 66 17 02 8B DB 5A 03 01 00 03 00 0B 02 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 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A 2C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DB 49 00 00 35 04 06 00 6E 4C C5 BC 5F C3 9C CB B7 DC D9 B3 61 63 [21:16:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A1 30 47 00 BF 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 39 35 39 34 35 36 10 04 04 00 DB 49 00 00 F4 03 04 00 9A D5 F2 66 B6 04 01 00 00 BC E8 D5 24 42 6D C9 CF [21:16:42]CommunicateWithHost err = 0 [21:16:42]CheckOFDResponse [21:16:42]1017 (14) - 77093643461234 [21:16:42]1041 (16) - 0000000000959456 [21:16:42]1040 (4) - 18907 [21:16:42]1012 (4) - 24.09.2024 15:07 [21:16:42]1206 (1) - 0 [21:16:42]OFD Sender: Remove packet 18907 [21:16:42]ProducePacketName [21:16:42]name=ofd_packets/00018907 [21:16:42]NVStorageDeleteData [21:16:42]Write to MH i2c: 01 00 00 34 0E 42 [21:16:42]Write i2c OK [21:16:42]MH_I2C_Read... [21:16:42]Read from MH i2c: 01 [21:16:42]MH_I2C_Read... [21:16:42]Read from MH i2c: 01 07 00 [21:16:42]MH_I2C_Read... [21:16:42]Read from MH i2c: 01 07 00 34 0E 00 00 00 00 00 39 0C 8E [21:16:42]RasterBufferAndPrint [21:16:42]line [21:16:42]line [21:16:42]line [21:16:42]line [21:16:42]line [21:16:42]written 0, free lines is 3139 [21:16:42]MH_Cut [21:16:42]Write to MH i2c: D1 01 00 3B 0E 01 1B [21:16:42]Write i2c OK [21:16:42]MH_I2C_Read... [21:16:42]Read from MH i2c: D1 [21:16:42]MH_I2C_Read... [21:16:42]Read from MH i2c: D1 01 00 [21:16:42]MH_I2C_Read... [21:16:42]Read from MH i2c: D1 01 00 3B 0E 00 1A [21:16:42]Write to MH i2c: 01 00 00 3C 0E 4A [21:16:42]Write i2c OK [21:16:42]MH_I2C_Read... [21:16:43]OFD Sender: No OFD packet to send [21:16:43]*** Cut start [21:16:43]*** Partial cut [21:16:43]*** CUTSNS_PIN = 1 [21:16:43]*** CUTSNS_PIN = 0 [21:16:43]*** Brake cut motor [21:16:44]Read from MH i2c: 01 [21:16:44]MH_I2C_Read... [21:16:44]*** Stop cut motor [21:16:44]*** Cut end [21:16:44]Read from MH i2c: 01 07 00 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: 01 07 00 3C 0E 00 00 00 00 00 FF 0F 5F [21:16:44]process_action close_receipt done [21:16:44]requested_data is exist [21:16:44]produce_requested_data [21:16:44]requested_item fm.sn is exist - process it [21:16:44]wFMCommunicate request_size=4 [21:16:44]MH_SAM_APDU [21:16:44]CAPDU: 80 11 00 00 [21:16:44]Write to MH i2c: E2 08 00 3D 0E 80 11 00 00 00 00 00 00 C5 [21:16:44]Write i2c OK [21:16:44]MH_I2C_Read... [21:16:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:16:44]Read from MH i2c: E2 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: E2 17 00 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: E2 17 00 3D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1E [21:16:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:16:44]wFMCommunicate OK [21:16:44]requested_item fd.num is exist - process it [21:16:44]SAM_PROTO_GetFieldsCounters [21:16:44]wFMCommunicate request_size=4 [21:16:44]MH_SAM_APDU [21:16:44]CAPDU: 80 13 00 00 [21:16:44]Write to MH i2c: E2 08 00 3E 0E 80 13 00 00 00 00 00 00 C8 [21:16:44]Write i2c OK [21:16:44]MH_I2C_Read... [21:16:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:16:44]Read from MH i2c: E2 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: E2 62 00 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: E2 62 00 3E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DB 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 B6 [21:16:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DB 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:16:44]wFMCommunicate OK [21:16:44]SAM_PROTO_GetFieldsCounters done [21:16:44]requested_item shift.num is exist - process it [21:16:44]requested_item shift.opened is exist - process it [21:16:44]req_shift_opened [21:16:44]FM_GetShiftState [21:16:44]SAM_PROTO_GetShiftState [21:16:44]wFMCommunicate request_size=4 [21:16:44]MH_SAM_APDU [21:16:44]CAPDU: 80 13 01 00 [21:16:44]Write to MH i2c: E2 08 00 3F 0E 80 13 01 00 00 00 00 00 CA [21:16:44]Write i2c OK [21:16:44]MH_I2C_Read... [21:16:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:16:44]Read from MH i2c: E2 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: E2 0E 00 [21:16:44]MH_I2C_Read... [21:16:44]Read from MH i2c: E2 0E 00 3F 0E 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 01 [21:16:44]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:16:44]wFMCommunicate OK [21:16:44]SAM_PROTO_GetShiftState done [21:16:44]FM_GetShiftState done [21:16:44]req_shift_opened done [21:16:44]requested_item shift.open_date is exist - process it [21:16:44]req_shift_open_date [21:16:44]req_shift_open_date done [21:16:44]produce_requested_data done [21:16:44]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18907,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [21:16:44]process_action_free close_receipt [21:16:44]json_value_free [21:16:44]json_value_free done [21:16:44]process_json_proto returns [21:16:44]Send response to host [21:16:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18907,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [21:16:44]free response buf [21:16:44]execute_script done [21:16:44]execute_script returns [21:16:44]free content buf [21:16:44]Sock 8.Close socket [21:16:44]Sock 8.Thread stoped [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]accept exits with 9 [21:21:58]New connection [21:21:58]New thread 3067047268 created [21:21:58]Thread 3066903908 joined [21:21:58]Waiting for new connection... [21:21:58] Sock 9.Parse request [21:21:58]Sock 9.Check first char [21:21:58]Sock 9.First char is OK [21:21:58]request: POST /json_proto HTTP/1.0 [21:21:58]Method: POST [21:21:58]URL: /json_proto [21:21:58]Method is POST - this is cgi request [21:21:58]url: /json_proto [21:21:58]query_string will be loaded in cgi processing [21:21:58]execute_cgi json_proto POST (null) [21:21:58]execute_cgi path=json_proto method=POST [21:21:58]POST find Content-Length [21:21:58]Host: 172.17.62.196:8080 [21:21:58]Content-Length: 1032 [21:21:58]Content-Type: application/json [21:21:58] [21:21:58]POST finish read [21:21:58]Found Content-Length = 1032 [21:21:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16827", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 204.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:21:58]execute_script... [21:21:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16827", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 204.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:21:58]POST & json_proto [21:21:58]process_json_proto [21:21:58]json parsed OK: [21:21:58]protocol is kg_v1.0 [21:21:58]action value=close_receipt [21:21:58]process_action close_receipt [21:21:58]cmd_close_receipt [21:21:58]MH_GetDate [21:21:58]Write to MH i2c: F0 00 00 40 0E 3D [21:21:58]Write i2c OK [21:21:58]MH_I2C_Read... [21:21:58]Read from MH i2c: F0 [21:21:58]MH_I2C_Read... [21:21:58]Read from MH i2c: F0 09 00 [21:21:58]MH_I2C_Read... [21:21:58]Read from MH i2c: F0 09 00 40 0E 00 78 2D F3 66 CE CC 0E 66 52 [21:21:58]GetLastDocTimeStamp 1727212602 [21:21:58]current date 1727212920 [21:21:58]FM_GetShiftState [21:21:58]SAM_PROTO_GetShiftState [21:21:58]wFMCommunicate request_size=4 [21:21:58]MH_SAM_APDU [21:21:58]CAPDU: 80 13 01 00 [21:21:58]Write to MH i2c: E2 08 00 41 0E 80 13 01 00 00 00 00 00 CC [21:21:58]Write i2c OK [21:21:58]MH_I2C_Read... [21:21:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:21:58]Read from MH i2c: E2 [21:21:58]MH_I2C_Read... [21:21:58]Read from MH i2c: E2 0E 00 [21:21:58]MH_I2C_Read... [21:21:58]Read from MH i2c: E2 0E 00 41 0E 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 03 [21:21:58]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:21:58]wFMCommunicate OK [21:21:58]SAM_PROTO_GetShiftState done [21:21:58]FM_GetShiftState done [21:21:58]opened in 1727136720 [21:21:58]opened+sec_in_day 1727223120 [21:21:58]quantity*price = 6000 [21:21:58]sum+1 = 6001 [21:21:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 204.00 НСП 1% : 1.80 НДС 12% : 21.66 Наличными: 0.00 Безнал.: 204.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 78 24.09.2024 21:22 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18908 ФПД: 172451440496137 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T212200&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18908&fm=172451440496137&tin=02508201610067®Number=0000000000152968&sum=20400 0 [21:21:59]StoreToDocumentArchive [21:21:59]shift 182 fd 18908 [21:21:59]save to /storage/0182/doc_00018908 [21:21:59]save last doc name /storage/0182/doc_00018908 to /storage/kkm_last_doc_name [21:21:59]save OK [21:21:59]Clear old archive folders... [21:21:59]ProcessDocumentItem done err = 0, tmpTLVsize=376 [21:21:59]tlvbuf is 01831520 [21:21:59]SAM_PROTO_ClearQueue [21:21:59]wFMCommunicate request_size=4 [21:21:59]MH_SAM_APDU [21:21:59]CAPDU: 80 09 00 00 [21:21:59]Write to MH i2c: E2 08 00 4E 0E 80 09 00 00 00 00 00 00 CE [21:21:59]Write i2c OK [21:21:59]MH_I2C_Read... [21:21:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:21:59]Read from MH i2c: E2 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 4E 0E 00 90 00 D0 [21:21:59]RAPDU: 90 00 [21:21:59]wFMCommunicate OK [21:21:59]SAM_PROTO_ClearQueue done [21:21:59]KKMCreateOFDPacket [21:21:59]OFDProtocolAddRootSTLVToBuf [21:21:59]FM_MakeSignedData [21:21:59]FM_MakeSignedData [21:21:59]SAM_PROTO_SignData [21:21:59]wFMCommunicate request_size=4 [21:21:59]MH_SAM_APDU [21:21:59]CAPDU: 80 0D 01 02 [21:21:59]Write to MH i2c: E2 08 00 4F 0E 80 0D 01 02 00 00 00 00 D6 [21:21:59]Write i2c OK [21:21:59]MH_I2C_Read... [21:21:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:21:59]Read from MH i2c: E2 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 4F 0E 00 90 00 D1 [21:21:59]RAPDU: 90 00 [21:21:59]wFMCommunicate OK [21:21:59]wFMCommunicate request_size=255 [21:21:59]MH_SAM_APDU [21:21:59]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 [21:21:59]Write to MH i2c: E2 02 01 50 0E 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 00 00 95 [21:21:59]Write i2c OK [21:21:59]MH_I2C_Read... [21:21:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:21:59]Read from MH i2c: E2 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 50 0E 00 90 00 D2 [21:21:59]RAPDU: 90 00 [21:21:59]wFMCommunicate OK [21:21:59]wFMCommunicate request_size=135 [21:21:59]MH_SAM_APDU [21:21:59]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 78 2D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DC 49 00 00 35 04 06 00 9C D7 FA DA 0E 09 [21:21:59]Write to MH i2c: E2 8A 00 51 0E 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 78 2D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DC 49 00 00 35 04 06 00 9C D7 FA DA 0E 09 00 00 27 [21:21:59]Write i2c OK [21:21:59]MH_I2C_Read... [21:21:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:21:59]Read from MH i2c: E2 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 03 00 51 0E 00 90 00 D3 [21:21:59]RAPDU: 90 00 [21:21:59]wFMCommunicate OK [21:21:59]wFMCommunicate request_size=4 [21:21:59]MH_SAM_APDU [21:21:59]CAPDU: 80 0D 03 02 [21:21:59]Write to MH i2c: E2 08 00 52 0E 80 0D 03 02 00 00 00 00 DB [21:21:59]Write i2c OK [21:21:59]MH_I2C_Read... [21:21:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:21:59]Read from MH i2c: E2 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 0B 00 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 0B 00 52 0E 00 49 EA F6 C8 39 C9 9D C1 90 00 2D [21:21:59]RAPDU: 49 EA F6 C8 39 C9 9D C1 90 00 [21:21:59]wFMCommunicate OK [21:21:59]SAM_PROTO_SignData done [21:21:59]FM_MakeSignedData done [21:21:59]CreateOFDProtocolMessage [21:21:59]wFMCommunicate request_size=4 [21:21:59]MH_SAM_APDU [21:21:59]CAPDU: 80 11 00 00 [21:21:59]Write to MH i2c: E2 08 00 53 0E 80 11 00 00 00 00 00 00 DB [21:21:59]Write i2c OK [21:21:59]MH_I2C_Read... [21:21:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:21:59]Read from MH i2c: E2 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 17 00 [21:21:59]MH_I2C_Read... [21:21:59]Read from MH i2c: E2 17 00 53 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [21:21:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:21:59]wFMCommunicate OK [21:21:59]CreateOFDProtocolMessage done [21:21:59]OFDSenderStorePacket 18908 [21:21:59]StoreOFDPacket docnum=18908 [21:21:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8C 01 00 00 A0 9C 84 01 CE 65 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 78 2D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DC 49 00 00 35 04 06 00 9C D7 FA DA 0E 09 49 EA F6 C8 39 C9 9D C1 [21:21:59]CheckFolder [21:21:59]dirname=/storage/ofd_packets [21:21:59]CheckFolder done [21:21:59]ProducePacketName [21:21:59]name=ofd_packets/00018908 [21:21:59]NVStorageSaveData ofd_packets/00018908 [21:21:59]File name is /storage/ofd_packets/00018908 [21:21:59]Write 426 bytes [21:21:59]NVStorageSaveData done [21:21:59]OFDSenderStorePacket done [21:21:59]KKMCreateOFDPacket done [21:21:59]NVStorageSaveData kkm_last_timestamp [21:22:00]File name is /storage/kkm_last_timestamp [21:22:00]Write 4 bytes [21:22:00]NVStorageSaveData done [21:22:00]ExternCall_PrintAddStr [21:22:00]wPrintStart [21:22:00]Write to MH i2c: 01 00 00 54 0E 62 [21:22:00]OFD Sender: Processing packet 18908 [packets to send 7, broken 6] [21:22:00]ProducePacketName [21:22:00]name=ofd_packets/00018908 [21:22:00]OFD Sender: To server: pG, [21:22:00]Write i2c OK [21:22:00]CommunicateWithHost lk.salyk.kg:30040 [21:22:00]MH_I2C_Read... [21:22:00]ConnectInit lk.salyk.kg [21:22:00]Read from MH i2c: 01 [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: 01 07 00 [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: 01 07 00 54 0E 00 00 00 00 00 FF 0F 77 [21:22:00]RasterBufferAndPrint [21:22:00]line Счет N : (3)16827 [21:22:00]line ИНН: 02508201610067 [21:22:00]line Контрольно-Кассовый Чек [21:22:00]line ПРОДАЖА [21:22:00]line Товар: 4700000160204 [21:22:00]line Вода Легенда 1,5л [21:22:00]line 1.000 * 60.00 [21:22:00]line = 60.00 [21:22:00]line НДС 12% НСП 1% [21:22:00]line > о реализуемом товаре [21:22:00]line Товар: 48743587 [21:22:00]line Сигареты Winston XStyle Silver [21:22:00]line 1.000 * 144.00 [21:22:00]line = 144.00 [21:22:00]line НДС 12% НСП 1% [21:22:00]line > о реализуемом товаре [21:22:00]line ИТОГО: 204.00 [21:22:00]line НСП 1% : 1.80 [21:22:00]line НДС 12% : 21.66 [21:22:00]line Наличными: 0.00 [21:22:00]line Безнал.: 204.00 [21:22:00]line Место: АЗС № 176 "Партнер Нефть" [21:22:00]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:22:00]line СНО: Общий режим [21:22:00]line Чек 78 24.09.2024 21:22 [21:22:00]line Смена: 182 ФФД: 1.0 [21:22:00]line ЗНМ: 0300000010 [21:22:00]line РНМ: 0000000000152968 [21:22:00]line Версия ККМ: v1.0 [21:22:00]line Платежная система: O! деньги [21:22:00]line ФМ: 0000000000959456 [21:22:00]line ФД: 18908 [21:22:00]line ФПД: 172451440496137 [21:22:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T212200&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18908&fm=172451440496137&tin=02508201610067®Number=0000000000152968&sum=20400 [21:22:00]line 0 [21:22:00]written 0, free lines is 4095 [21:22:00]Connected sock=10 [21:22:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8C 01 00 00 A0 9C 84 01 CE 65 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 78 2D F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DC 49 00 00 35 04 06 00 9C D7 FA DA 0E 09 49 EA F6 C8 39 C9 9D C1 [21:22:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 29 77 47 00 80 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DC 49 00 00 F4 03 04 00 D8 D6 F2 66 B6 04 01 00 00 D6 3D FD 41 E5 FC 83 05 [21:22:00]CommunicateWithHost err = 0 [21:22:00]CheckOFDResponse [21:22:00]1017 (14) - 77093643461234 [21:22:00]1041 (16) - 0000000000959456 [21:22:00]1040 (4) - 18908 [21:22:00]1012 (4) - 24.09.2024 15:12 [21:22:00]1206 (1) - 0 [21:22:00]OFD Sender: Remove packet 18908 [21:22:00]ProducePacketName [21:22:00]name=ofd_packets/00018908 [21:22:00]NVStorageDeleteData [21:22:00]Write to MH i2c: 01 00 00 85 0E 93 [21:22:00]Write i2c OK [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: 01 [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: 01 07 00 [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: 01 07 00 85 0E 00 00 00 00 00 99 0C 3F [21:22:00]RasterBufferAndPrint [21:22:00]line [21:22:00]line [21:22:00]line [21:22:00]line [21:22:00]line [21:22:00]written 0, free lines is 3231 [21:22:00]MH_Cut [21:22:00]Write to MH i2c: D1 01 00 8C 0E 01 6C [21:22:00]Write i2c OK [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: D1 [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: D1 01 00 [21:22:00]MH_I2C_Read... [21:22:00]Read from MH i2c: D1 01 00 8C 0E 00 6B [21:22:00]Write to MH i2c: 01 00 00 8D 0E 9B [21:22:00]Write i2c OK [21:22:00]MH_I2C_Read... [21:22:01]OFD Sender: No OFD packet to send [21:22:01]*** Cut start [21:22:01]*** Partial cut [21:22:01]*** CUTSNS_PIN = 1 [21:22:01]*** CUTSNS_PIN = 0 [21:22:01]*** Brake cut motor [21:22:02]Read from MH i2c: 01 [21:22:02]MH_I2C_Read... [21:22:02]*** Stop cut motor [21:22:02]*** Cut end [21:22:02]Read from MH i2c: 01 07 00 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: 01 07 00 8D 0E 00 00 00 00 00 FF 0F B0 [21:22:02]process_action close_receipt done [21:22:02]requested_data is exist [21:22:02]produce_requested_data [21:22:02]requested_item fm.sn is exist - process it [21:22:02]wFMCommunicate request_size=4 [21:22:02]MH_SAM_APDU [21:22:02]CAPDU: 80 11 00 00 [21:22:02]Write to MH i2c: E2 08 00 8E 0E 80 11 00 00 00 00 00 00 16 [21:22:02]Write i2c OK [21:22:02]MH_I2C_Read... [21:22:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:22:02]Read from MH i2c: E2 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: E2 17 00 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: E2 17 00 8E 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6F [21:22:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:22:02]wFMCommunicate OK [21:22:02]requested_item fd.num is exist - process it [21:22:02]SAM_PROTO_GetFieldsCounters [21:22:02]wFMCommunicate request_size=4 [21:22:02]MH_SAM_APDU [21:22:02]CAPDU: 80 13 00 00 [21:22:02]Write to MH i2c: E2 08 00 8F 0E 80 13 00 00 00 00 00 00 19 [21:22:02]Write i2c OK [21:22:02]MH_I2C_Read... [21:22:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:22:02]Read from MH i2c: E2 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: E2 62 00 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: E2 62 00 8F 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DC 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 0B [21:22:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DC 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:22:02]wFMCommunicate OK [21:22:02]SAM_PROTO_GetFieldsCounters done [21:22:02]requested_item shift.num is exist - process it [21:22:02]requested_item shift.opened is exist - process it [21:22:02]req_shift_opened [21:22:02]FM_GetShiftState [21:22:02]SAM_PROTO_GetShiftState [21:22:02]wFMCommunicate request_size=4 [21:22:02]MH_SAM_APDU [21:22:02]CAPDU: 80 13 01 00 [21:22:02]Write to MH i2c: E2 08 00 90 0E 80 13 01 00 00 00 00 00 1B [21:22:02]Write i2c OK [21:22:02]MH_I2C_Read... [21:22:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:22:02]Read from MH i2c: E2 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: E2 0E 00 [21:22:02]MH_I2C_Read... [21:22:02]Read from MH i2c: E2 0E 00 90 0E 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 52 [21:22:02]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:22:02]wFMCommunicate OK [21:22:02]SAM_PROTO_GetShiftState done [21:22:02]FM_GetShiftState done [21:22:02]req_shift_opened done [21:22:02]requested_item shift.open_date is exist - process it [21:22:02]req_shift_open_date [21:22:02]req_shift_open_date done [21:22:02]produce_requested_data done [21:22:02]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18908,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [21:22:02]process_action_free close_receipt [21:22:02]json_value_free [21:22:02]json_value_free done [21:22:02]process_json_proto returns [21:22:02]Send response to host [21:22:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18908,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [21:22:02]free response buf [21:22:02]execute_script done [21:22:02]execute_script returns [21:22:02]free content buf [21:22:02]Sock 9.Close socket [21:22:02]Sock 9.Thread stoped [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:24]accept exits with 8 [21:35:24]New connection [21:35:24]New thread 3066903908 created [21:35:24]Thread 3067047268 joined [21:35:24]Waiting for new connection... [21:35:24] Sock 8.Parse request [21:35:24]Sock 8.Check first char [21:35:24]Sock 8.First char is OK [21:35:24]request: POST /json_proto HTTP/1.0 [21:35:24]Method: POST [21:35:24]URL: /json_proto [21:35:24]Method is POST - this is cgi request [21:35:24]url: /json_proto [21:35:24]query_string will be loaded in cgi processing [21:35:24]execute_cgi json_proto POST (null) [21:35:24]execute_cgi path=json_proto method=POST [21:35:24]POST find Content-Length [21:35:24]Host: 172.17.62.196:8080 [21:35:24]Content-Length: 727 [21:35:24]Content-Type: application/json [21:35:24] [21:35:24]POST finish read [21:35:24]Found Content-Length = 727 [21:35:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16828", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:35:24]execute_script... [21:35:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16828", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:35:24]POST & json_proto [21:35:24]process_json_proto [21:35:24]json parsed OK: [21:35:24]protocol is kg_v1.0 [21:35:24]action value=close_receipt [21:35:24]process_action close_receipt [21:35:24]cmd_close_receipt [21:35:24]MH_GetDate [21:35:24]Write to MH i2c: F0 00 00 91 0E 8E [21:35:24]Write i2c OK [21:35:24]MH_I2C_Read... [21:35:24]Read from MH i2c: F0 [21:35:24]MH_I2C_Read... [21:35:24]Read from MH i2c: F0 09 00 [21:35:24]MH_I2C_Read... [21:35:24]Read from MH i2c: F0 09 00 91 0E 00 9E 30 F3 66 CE CC 0E 66 CC [21:35:24]GetLastDocTimeStamp 1727212920 [21:35:24]current date 1727213726 [21:35:24]FM_GetShiftState [21:35:24]SAM_PROTO_GetShiftState [21:35:24]wFMCommunicate request_size=4 [21:35:24]MH_SAM_APDU [21:35:24]CAPDU: 80 13 01 00 [21:35:24]Write to MH i2c: E2 08 00 92 0E 80 13 01 00 00 00 00 00 1D [21:35:24]Write i2c OK [21:35:24]MH_I2C_Read... [21:35:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:35:24]Read from MH i2c: E2 [21:35:24]MH_I2C_Read... [21:35:24]Read from MH i2c: E2 0E 00 [21:35:24]MH_I2C_Read... [21:35:24]Read from MH i2c: E2 0E 00 92 0E 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 54 [21:35:24]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:35:24]wFMCommunicate OK [21:35:24]SAM_PROTO_GetShiftState done [21:35:24]FM_GetShiftState done [21:35:24]opened in 1727136720 [21:35:24]opened+sec_in_day 1727223120 [21:35:24]quantity*price = 6000 [21:35:24]sum+1 = 6001 [21:35:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 79 24.09.2024 21:35 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18909 ФПД: 45241589194457 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T213526&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18909&fm=45241589194457&tin=02508201610067®Number=0000000000152968&sum=6000 0 [21:35:25]StoreToDocumentArchive [21:35:25]shift 182 fd 18909 [21:35:25]save to /storage/0182/doc_00018909 [21:35:25]save last doc name /storage/0182/doc_00018909 to /storage/kkm_last_doc_name [21:35:25]save OK [21:35:25]Clear old archive folders... [21:35:25]ProcessDocumentItem done err = 0, tmpTLVsize=303 [21:35:25]tlvbuf is 018322E0 [21:35:25]SAM_PROTO_ClearQueue [21:35:25]wFMCommunicate request_size=4 [21:35:25]MH_SAM_APDU [21:35:25]CAPDU: 80 09 00 00 [21:35:25]Write to MH i2c: E2 08 00 9F 0E 80 09 00 00 00 00 00 00 1F [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 [21:35:25]MH_I2C_Read... [21:35:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:35:25]Read from MH i2c: E2 03 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 9F 0E 00 90 00 21 [21:35:25]RAPDU: 90 00 [21:35:25]wFMCommunicate OK [21:35:25]SAM_PROTO_ClearQueue done [21:35:25]KKMCreateOFDPacket [21:35:25]OFDProtocolAddRootSTLVToBuf [21:35:25]FM_MakeSignedData [21:35:25]FM_MakeSignedData [21:35:25]SAM_PROTO_SignData [21:35:25]wFMCommunicate request_size=4 [21:35:25]MH_SAM_APDU [21:35:25]CAPDU: 80 0D 01 02 [21:35:25]Write to MH i2c: E2 08 00 A0 0E 80 0D 01 02 00 00 00 00 27 [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:35:25]Read from MH i2c: E2 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 A0 0E 00 90 00 22 [21:35:25]RAPDU: 90 00 [21:35:25]wFMCommunicate OK [21:35:25]wFMCommunicate request_size=255 [21:35:25]MH_SAM_APDU [21:35:25]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 9E 30 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D [21:35:25]Write to MH i2c: E2 02 01 A1 0E 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 9E 30 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 00 00 33 [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:35:25]Read from MH i2c: E2 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 A1 0E 00 90 00 23 [21:35:25]RAPDU: 90 00 [21:35:25]wFMCommunicate OK [21:35:25]wFMCommunicate request_size=62 [21:35:25]MH_SAM_APDU [21:35:25]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DD 49 00 00 35 04 06 00 29 25 A0 DA 5E D9 [21:35:25]Write to MH i2c: E2 41 00 A2 0E 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DD 49 00 00 35 04 06 00 29 25 A0 DA 5E D9 00 00 96 [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:35:25]Read from MH i2c: E2 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 03 00 A2 0E 00 90 00 24 [21:35:25]RAPDU: 90 00 [21:35:25]wFMCommunicate OK [21:35:25]wFMCommunicate request_size=4 [21:35:25]MH_SAM_APDU [21:35:25]CAPDU: 80 0D 03 02 [21:35:25]Write to MH i2c: E2 08 00 A3 0E 80 0D 03 02 00 00 00 00 2C [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:35:25]Read from MH i2c: E2 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 0B 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 0B 00 A3 0E 00 FD D6 6C B1 37 38 2D 1A 90 00 D3 [21:35:25]RAPDU: FD D6 6C B1 37 38 2D 1A 90 00 [21:35:25]wFMCommunicate OK [21:35:25]SAM_PROTO_SignData done [21:35:25]FM_MakeSignedData done [21:35:25]CreateOFDProtocolMessage [21:35:25]wFMCommunicate request_size=4 [21:35:25]MH_SAM_APDU [21:35:25]CAPDU: 80 11 00 00 [21:35:25]Write to MH i2c: E2 08 00 A4 0E 80 11 00 00 00 00 00 00 2C [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:35:25]Read from MH i2c: E2 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 17 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: E2 17 00 A4 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 85 [21:35:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:35:25]wFMCommunicate OK [21:35:25]CreateOFDProtocolMessage done [21:35:25]OFDSenderStorePacket 18909 [21:35:25]StoreOFDPacket docnum=18909 [21:35:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 43 01 00 00 89 2C 3B 01 D6 5A 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 9E 30 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DD 49 00 00 35 04 06 00 29 25 A0 DA 5E D9 FD D6 6C B1 37 38 2D 1A [21:35:25]CheckFolder [21:35:25]dirname=/storage/ofd_packets [21:35:25]CheckFolder done [21:35:25]ProducePacketName [21:35:25]name=ofd_packets/00018909 [21:35:25]NVStorageSaveData ofd_packets/00018909 [21:35:25]File name is /storage/ofd_packets/00018909 [21:35:25]Write 353 bytes [21:35:25]NVStorageSaveData done [21:35:25]OFDSenderStorePacket done [21:35:25]KKMCreateOFDPacket done [21:35:25]NVStorageSaveData kkm_last_timestamp [21:35:25]File name is /storage/kkm_last_timestamp [21:35:25]Write 4 bytes [21:35:25]NVStorageSaveData done [21:35:25]ExternCall_PrintAddStr [21:35:25]wPrintStart [21:35:25]Write to MH i2c: 01 00 00 A5 0E B3 [21:35:25]Write i2c OK [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: 01 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: 01 07 00 [21:35:25]MH_I2C_Read... [21:35:25]Read from MH i2c: 01 07 00 A5 0E 00 00 00 00 00 FF 0F C8 [21:35:25]RasterBufferAndPrint [21:35:25]line Счет N : (3)16828 [21:35:25]line ИНН: 02508201610067 [21:35:25]line Контрольно-Кассовый Чек [21:35:25]line ПРОДАЖА [21:35:25]line Товар: 4700000160792 [21:35:25]line Снек Курут классический (круглый) [21:35:25]line 1.000 * 60.00 [21:35:25]line = 60.00 [21:35:25]line НДС 12% НСП 1% [21:35:25]line > о реализуемом товаре [21:35:25]line ИТОГО: 60.00 [21:35:25]line НСП 1% : 0.53 [21:35:25]line НДС 12% : 6.37 [21:35:25]line Наличными: 60.00 [21:35:25]line Безнал.: 0.00 [21:35:25]line Место: АЗС № 176 "Партнер Нефть" [21:35:25]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:35:25]line СНО: Общий режим [21:35:25]line Чек 79 24.09.2024 21:35 [21:35:25]line Смена: 182 ФФД: 1.0 [21:35:25]line ЗНМ: 0300000010 [21:35:25]line РНМ: 0000000000152968 [21:35:25]line Версия ККМ: v1.0 [21:35:25]line ФМ: 0000000000959456 [21:35:25]line ФД: 18909 [21:35:25]line ФПД: 45241589194457 [21:35:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T213526&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18909&fm=45241589194457&tin=02508201610067®Number=0000000000152968&sum=6000 [21:35:26]line 0 [21:35:26]OFD Sender: Processing packet 18909 [packets to send 7, broken 6] [21:35:26]ProducePacketName [21:35:26]name=ofd_packets/00018909 [21:35:26]OFD Sender: To server: pG, [21:35:26]CommunicateWithHost lk.salyk.kg:30040 [21:35:26]ConnectInit lk.salyk.kg [21:35:26]written 0, free lines is 4095 [21:35:26]Connected sock=10 [21:35:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 43 01 00 00 89 2C 3B 01 D6 5A 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 9E 30 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DD 49 00 00 35 04 06 00 29 25 A0 DA 5E D9 FD D6 6C B1 37 38 2D 1A [21:35:26]Write to MH i2c: 01 00 00 CE 0E DC [21:35:26]Write i2c OK [21:35:26]MH_I2C_Read... [21:35:26]Read from MH i2c: 01 [21:35:26]MH_I2C_Read... [21:35:26]Read from MH i2c: 01 07 00 [21:35:26]MH_I2C_Read... [21:35:26]Read from MH i2c: 01 07 00 CE 0E 00 00 00 00 00 11 0D 01 [21:35:26]RasterBufferAndPrint [21:35:26]line [21:35:26]line [21:35:26]line [21:35:26]line [21:35:26]line [21:35:26]written 0, free lines is 3352 [21:35:26]MH_Cut [21:35:26]Write to MH i2c: D1 01 00 D5 0E 01 B5 [21:35:26]Write i2c OK [21:35:26]MH_I2C_Read... [21:35:26]Read from MH i2c: D1 [21:35:26]MH_I2C_Read... [21:35:26]Read from MH i2c: D1 01 00 [21:35:26]MH_I2C_Read... [21:35:26]Read from MH i2c: D1 01 00 D5 0E 00 B4 [21:35:26]Write to MH i2c: 01 00 00 D6 0E E4 [21:35:26]Write i2c OK [21:35:26]MH_I2C_Read... [21:35:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 16 FA 47 00 A0 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DD 49 00 00 F4 03 04 00 FE D9 F2 66 B6 04 01 00 00 56 0E 1E 07 DD 14 DF 71 [21:35:26]CommunicateWithHost err = 0 [21:35:26]CheckOFDResponse [21:35:26]1017 (14) - 77093643461234 [21:35:26]1041 (16) - 0000000000959456 [21:35:26]1040 (4) - 18909 [21:35:26]1012 (4) - 24.09.2024 15:25 [21:35:26]1206 (1) - 0 [21:35:26]OFD Sender: Remove packet 18909 [21:35:26]ProducePacketName [21:35:26]name=ofd_packets/00018909 [21:35:26]NVStorageDeleteData [21:35:27]OFD Sender: No OFD packet to send [21:35:27]*** Cut start [21:35:27]*** Partial cut [21:35:27]*** CUTSNS_PIN = 1 [21:35:27]*** CUTSNS_PIN = 0 [21:35:27]*** Brake cut motor [21:35:27]Read from MH i2c: 01 [21:35:27]MH_I2C_Read... [21:35:27]*** Stop cut motor [21:35:27]*** Cut end [21:35:27]Read from MH i2c: 01 07 00 [21:35:27]MH_I2C_Read... [21:35:27]Read from MH i2c: 01 07 00 D6 0E 00 00 00 00 00 FF 0F F9 [21:35:27]process_action close_receipt done [21:35:27]requested_data is exist [21:35:27]produce_requested_data [21:35:27]requested_item fm.sn is exist - process it [21:35:27]wFMCommunicate request_size=4 [21:35:27]MH_SAM_APDU [21:35:27]CAPDU: 80 11 00 00 [21:35:27]Write to MH i2c: E2 08 00 D7 0E 80 11 00 00 00 00 00 00 5F [21:35:27]Write i2c OK [21:35:27]MH_I2C_Read... [21:35:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:35:27]Read from MH i2c: E2 [21:35:27]MH_I2C_Read... [21:35:27]Read from MH i2c: E2 17 00 [21:35:27]MH_I2C_Read... [21:35:27]Read from MH i2c: E2 17 00 D7 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B8 [21:35:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:35:27]wFMCommunicate OK [21:35:27]requested_item fd.num is exist - process it [21:35:27]SAM_PROTO_GetFieldsCounters [21:35:27]wFMCommunicate request_size=4 [21:35:27]MH_SAM_APDU [21:35:27]CAPDU: 80 13 00 00 [21:35:27]Write to MH i2c: E2 08 00 D8 0E 80 13 00 00 00 00 00 00 62 [21:35:27]Write i2c OK [21:35:27]MH_I2C_Read... [21:35:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:35:27]Read from MH i2c: E2 [21:35:27]MH_I2C_Read... [21:35:27]Read from MH i2c: E2 62 00 [21:35:27]MH_I2C_Read... [21:35:27]Read from MH i2c: E2 62 00 D8 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DD 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [21:35:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DD 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:35:27]wFMCommunicate OK [21:35:27]SAM_PROTO_GetFieldsCounters done [21:35:27]requested_item shift.num is exist - process it [21:35:27]requested_item shift.opened is exist - process it [21:35:27]req_shift_opened [21:35:27]FM_GetShiftState [21:35:27]SAM_PROTO_GetShiftState [21:35:27]wFMCommunicate request_size=4 [21:35:27]MH_SAM_APDU [21:35:27]CAPDU: 80 13 01 00 [21:35:27]Write to MH i2c: E2 08 00 D9 0E 80 13 01 00 00 00 00 00 64 [21:35:27]Write i2c OK [21:35:27]MH_I2C_Read... [21:35:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:35:28]Read from MH i2c: E2 [21:35:28]MH_I2C_Read... [21:35:28]Read from MH i2c: E2 0E 00 [21:35:28]MH_I2C_Read... [21:35:28]Read from MH i2c: E2 0E 00 D9 0E 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 9B [21:35:28]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:35:28]wFMCommunicate OK [21:35:28]SAM_PROTO_GetShiftState done [21:35:28]FM_GetShiftState done [21:35:28]req_shift_opened done [21:35:28]requested_item shift.open_date is exist - process it [21:35:28]req_shift_open_date [21:35:28]req_shift_open_date done [21:35:28]produce_requested_data done [21:35:28]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18909,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [21:35:28]process_action_free close_receipt [21:35:28]json_value_free [21:35:28]json_value_free done [21:35:28]process_json_proto returns [21:35:28]Send response to host [21:35:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18909,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [21:35:28]free response buf [21:35:28]execute_script done [21:35:28]execute_script returns [21:35:28]free content buf [21:35:28]Sock 8.Close socket [21:35:28]Sock 8.Thread stoped [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:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:12]OFD Sender: No OFD packet to send [21:43:17]OFD Sender: No OFD packet to send [21:43:22]OFD Sender: No OFD packet to send [21:43:27]OFD Sender: No OFD packet to send [21:43:32]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:50]accept exits with 9 [21:51:50]New connection [21:51:50]New thread 3067047268 created [21:51:50]Thread 3066903908 joined [21:51:50]Waiting for new connection... [21:51:50] Sock 9.Parse request [21:51:50]Sock 9.Check first char [21:51:50]Sock 9.First char is OK [21:51:50]request: POST /json_proto HTTP/1.0 [21:51:50]Method: POST [21:51:50]URL: /json_proto [21:51:50]Method is POST - this is cgi request [21:51:50]url: /json_proto [21:51:50]query_string will be loaded in cgi processing [21:51:50]execute_cgi json_proto POST (null) [21:51:50]execute_cgi path=json_proto method=POST [21:51:50]POST find Content-Length [21:51:50]Host: 172.17.62.196:8080 [21:51:50]Content-Length: 925 [21:51:50]Content-Type: application/json [21:51:50] [21:51:50]POST finish read [21:51:50]Found Content-Length = 925 [21:51:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16829", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:51:50]execute_script... [21:51: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)16829", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:51:50]POST & json_proto [21:51:50]process_json_proto [21:51:50]json parsed OK: [21:51:50]protocol is kg_v1.0 [21:51:50]action value=close_receipt [21:51:50]process_action close_receipt [21:51:50]cmd_close_receipt [21:51:50]MH_GetDate [21:51:50]Write to MH i2c: F0 00 00 DA 0E D7 [21:51:50]Write i2c OK [21:51:50]MH_I2C_Read... [21:51:50]Read from MH i2c: F0 [21:51:50]MH_I2C_Read... [21:51:50]Read from MH i2c: F0 09 00 [21:51:50]MH_I2C_Read... [21:51:50]Read from MH i2c: F0 09 00 DA 0E 00 78 34 F3 66 CE CC 0E 66 F3 [21:51:50]GetLastDocTimeStamp 1727213726 [21:51:50]current date 1727214712 [21:51:50]FM_GetShiftState [21:51:50]SAM_PROTO_GetShiftState [21:51:50]wFMCommunicate request_size=4 [21:51:50]MH_SAM_APDU [21:51:50]CAPDU: 80 13 01 00 [21:51:50]Write to MH i2c: E2 08 00 DB 0E 80 13 01 00 00 00 00 00 66 [21:51:50]Write i2c OK [21:51:50]MH_I2C_Read... [21:51:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:51:50]Read from MH i2c: E2 [21:51:50]MH_I2C_Read... [21:51:50]Read from MH i2c: E2 0E 00 [21:51:50]MH_I2C_Read... [21:51:50]Read from MH i2c: E2 0E 00 DB 0E 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 9D [21:51:50]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:51:50]wFMCommunicate OK [21:51:50]SAM_PROTO_GetShiftState done [21:51:50]FM_GetShiftState done [21:51:50]opened in 1727136720 [21:51:50]opened+sec_in_day 1727223120 [21:51:50]quantity*price = 26500 [21:51:50]sum+1 = 26501 [21:51:50]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 170.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 435.00 НСП 1% : 3.84 НДС 12% : 46.19 Наличными: 435.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 80 24.09.2024 21:51 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18910 ФПД: 82640771167367 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T215152&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18910&fm=82640771167367&tin=02508201610067®Number=0000000000152968&sum=43500 0 [21:51:51]StoreToDocumentArchive [21:51:51]shift 182 fd 18910 [21:51:51]save to /storage/0182/doc_00018910 [21:51:51]save last doc name /storage/0182/doc_00018910 to /storage/kkm_last_doc_name [21:51:51]save OK [21:51:51]Clear old archive folders... [21:51:51]ProcessDocumentItem done err = 0, tmpTLVsize=396 [21:51:51]tlvbuf is 018374C0 [21:51:51]SAM_PROTO_ClearQueue [21:51:51]wFMCommunicate request_size=4 [21:51:51]MH_SAM_APDU [21:51:51]CAPDU: 80 09 00 00 [21:51:51]Write to MH i2c: E2 08 00 E8 0E 80 09 00 00 00 00 00 00 68 [21:51:51]Write i2c OK [21:51:51]MH_I2C_Read... [21:51:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:51:51]Read from MH i2c: E2 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 E8 0E 00 90 00 6A [21:51:51]RAPDU: 90 00 [21:51:51]wFMCommunicate OK [21:51:51]SAM_PROTO_ClearQueue done [21:51:51]KKMCreateOFDPacket [21:51:51]OFDProtocolAddRootSTLVToBuf [21:51:51]FM_MakeSignedData [21:51:51]FM_MakeSignedData [21:51:51]SAM_PROTO_SignData [21:51:51]wFMCommunicate request_size=4 [21:51:51]MH_SAM_APDU [21:51:51]CAPDU: 80 0D 01 02 [21:51:51]Write to MH i2c: E2 08 00 E9 0E 80 0D 01 02 00 00 00 00 70 [21:51:51]Write i2c OK [21:51:51]MH_I2C_Read... [21:51:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:51:51]Read from MH i2c: E2 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 E9 0E 00 90 00 6B [21:51:51]RAPDU: 90 00 [21:51:51]wFMCommunicate OK [21:51:51]wFMCommunicate request_size=255 [21:51:51]MH_SAM_APDU [21:51:51]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 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 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF [21:51:51]Write to MH i2c: E2 02 01 EA 0E 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 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 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 00 00 6D [21:51:51]Write i2c OK [21:51:51]MH_I2C_Read... [21:51:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:51:51]Read from MH i2c: E2 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 EA 0E 00 90 00 6C [21:51:51]RAPDU: 90 00 [21:51:51]wFMCommunicate OK [21:51:51]wFMCommunicate request_size=155 [21:51:51]MH_SAM_APDU [21:51:51]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 78 34 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DE 49 00 00 35 04 06 00 4B 29 4D CF 34 87 [21:51:51]Write to MH i2c: E2 9E 00 EB 0E 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 78 34 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DE 49 00 00 35 04 06 00 4B 29 4D CF 34 87 00 00 95 [21:51:51]Write i2c OK [21:51:51]MH_I2C_Read... [21:51:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:51:51]Read from MH i2c: E2 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 03 00 EB 0E 00 90 00 6D [21:51:51]RAPDU: 90 00 [21:51:51]wFMCommunicate OK [21:51:51]wFMCommunicate request_size=4 [21:51:51]MH_SAM_APDU [21:51:51]CAPDU: 80 0D 03 02 [21:51:51]Write to MH i2c: E2 08 00 EC 0E 80 0D 03 02 00 00 00 00 75 [21:51:51]Write i2c OK [21:51:51]MH_I2C_Read... [21:51:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:51:51]Read from MH i2c: E2 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 0B 00 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 0B 00 EC 0E 00 3A AC C8 70 5B 45 D9 9F 90 00 AC [21:51:51]RAPDU: 3A AC C8 70 5B 45 D9 9F 90 00 [21:51:51]wFMCommunicate OK [21:51:51]SAM_PROTO_SignData done [21:51:51]FM_MakeSignedData done [21:51:51]CreateOFDProtocolMessage [21:51:51]wFMCommunicate request_size=4 [21:51:51]MH_SAM_APDU [21:51:51]CAPDU: 80 11 00 00 [21:51:51]Write to MH i2c: E2 08 00 ED 0E 80 11 00 00 00 00 00 00 75 [21:51:51]Write i2c OK [21:51:51]MH_I2C_Read... [21:51:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:51:51]Read from MH i2c: E2 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 17 00 [21:51:51]MH_I2C_Read... [21:51:51]Read from MH i2c: E2 17 00 ED 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CE [21:51:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:51:51]wFMCommunicate OK [21:51:51]CreateOFDProtocolMessage done [21:51:51]OFDSenderStorePacket 18910 [21:51:51]StoreOFDPacket docnum=18910 [21:51:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A0 01 00 00 F0 32 98 01 37 B9 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 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 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 78 34 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DE 49 00 00 35 04 06 00 4B 29 4D CF 34 87 3A AC C8 70 5B 45 D9 9F [21:51:51]CheckFolder [21:51:51]dirname=/storage/ofd_packets [21:51:51]CheckFolder done [21:51:51]ProducePacketName [21:51:51]name=ofd_packets/00018910 [21:51:51]NVStorageSaveData ofd_packets/00018910 [21:51:51]File name is /storage/ofd_packets/00018910 [21:51:51]Write 446 bytes [21:51:51]NVStorageSaveData done [21:51:51]OFDSenderStorePacket done [21:51:51]KKMCreateOFDPacket done [21:51:51]NVStorageSaveData kkm_last_timestamp [21:51:51]File name is /storage/kkm_last_timestamp [21:51:51]Write 4 bytes [21:51:51]NVStorageSaveData done [21:51:52]ExternCall_PrintAddStr [21:51:52]wPrintStart [21:51:52]Write to MH i2c: 01 00 00 EE 0E FC [21:51:52]OFD Sender: Processing packet 18910 [packets to send 7, broken 6] [21:51:52]ProducePacketName [21:51:52]name=ofd_packets/00018910 [21:51:52]OFD Sender: To server: pG, [21:51:52]CommunicateWithHost lk.salyk.kg:30040 [21:51:52]Write i2c OK [21:51:52]ConnectInit lk.salyk.kg [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: 01 [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: 01 07 00 [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: 01 07 00 EE 0E 00 00 00 00 00 FF 0F 11 [21:51:52]RasterBufferAndPrint [21:51:52]line Счет N : (3)16829 [21:51:52]line ИНН: 02508201610067 [21:51:52]line Контрольно-Кассовый Чек [21:51:52]line ПРОДАЖА [21:51:52]line Товар: 90448300 [21:51:52]line Энерг напиток Red Bull 0,355л [21:51:52]line 1.000 * 265.00 [21:51:52]line = 265.00 [21:51:52]line НДС 12% НСП 1% [21:51:52]line > о реализуемом товаре [21:51:52]line Товар: 5449000176448 [21:51:52]line Сок Piko Pulpy апельсин ПЭТ 1л [21:51:52]line 1.000 * 170.00 [21:51:52]line = 170.00 [21:51:52]line НДС 12% НСП 1% [21:51:52]line > о реализуемом товаре [21:51:52]line ИТОГО: 435.00 [21:51:52]line НСП 1% : 3.84 [21:51:52]line НДС 12% : 46.19 [21:51:52]line Наличными: 435.00 [21:51:52]line Безнал.: 0.00 [21:51:52]line Место: АЗС № 176 "Партнер Нефть" [21:51:52]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:51:52]line СНО: Общий режим [21:51:52]line Чек 80 24.09.2024 21:51 [21:51:52]line Смена: 182 ФФД: 1.0 [21:51:52]line ЗНМ: 0300000010 [21:51:52]line РНМ: 0000000000152968 [21:51:52]line Версия ККМ: v1.0 [21:51:52]line ФМ: 0000000000959456 [21:51:52]line ФД: 18910 [21:51:52]line ФПД: 82640771167367 [21:51:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T215152&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18910&fm=82640771167367&tin=02508201610067®Number=0000000000152968&sum=43500 [21:51:52]line 0 [21:51:52]written 0, free lines is 4095 [21:51:52]Connected sock=10 [21:51:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A0 01 00 00 F0 32 98 01 37 B9 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 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 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 78 34 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DE 49 00 00 35 04 06 00 4B 29 4D CF 34 87 3A AC C8 70 5B 45 D9 9F [21:51:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 86 17 47 00 ED A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DE 49 00 00 F4 03 04 00 D8 DD F2 66 B6 04 01 00 00 45 29 F2 C3 BE 01 0D D8 [21:51:52]CommunicateWithHost err = 0 [21:51:52]CheckOFDResponse [21:51:52]1017 (14) - 77093643461234 [21:51:52]1041 (16) - 0000000000959456 [21:51:52]1040 (4) - 18910 [21:51:52]1012 (4) - 24.09.2024 15:42 [21:51:52]1206 (1) - 0 [21:51:52]OFD Sender: Remove packet 18910 [21:51:52]ProducePacketName [21:51:52]name=ofd_packets/00018910 [21:51:52]NVStorageDeleteData [21:51:52]Write to MH i2c: 01 00 00 1D 0F 2C [21:51:52]Write i2c OK [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: 01 [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: 01 07 00 [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: 01 07 00 1D 0F 00 00 00 00 00 BB 0C FA [21:51:52]RasterBufferAndPrint [21:51:52]line [21:51:52]line [21:51:52]line [21:51:52]line [21:51:52]line [21:51:52]written 0, free lines is 3267 [21:51:52]MH_Cut [21:51:52]Write to MH i2c: D1 01 00 24 0F 01 05 [21:51:52]Write i2c OK [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: D1 [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: D1 01 00 [21:51:52]MH_I2C_Read... [21:51:52]Read from MH i2c: D1 01 00 24 0F 00 04 [21:51:52]Write to MH i2c: 01 00 00 25 0F 34 [21:51:52]Write i2c OK [21:51:52]MH_I2C_Read... [21:51:53]OFD Sender: No OFD packet to send [21:51:53]*** Cut start [21:51:53]*** Partial cut [21:51:53]*** CUTSNS_PIN = 1 [21:51:53]*** CUTSNS_PIN = 0 [21:51:53]*** Brake cut motor [21:51:54]Read from MH i2c: 01 [21:51:54]MH_I2C_Read... [21:51:54]*** Stop cut motor [21:51:54]*** Cut end [21:51:54]Read from MH i2c: 01 07 00 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: 01 07 00 25 0F 00 00 00 00 00 FF 0F 49 [21:51:54]process_action close_receipt done [21:51:54]requested_data is exist [21:51:54]produce_requested_data [21:51:54]requested_item fm.sn is exist - process it [21:51:54]wFMCommunicate request_size=4 [21:51:54]MH_SAM_APDU [21:51:54]CAPDU: 80 11 00 00 [21:51:54]Write to MH i2c: E2 08 00 26 0F 80 11 00 00 00 00 00 00 AF [21:51:54]Write i2c OK [21:51:54]MH_I2C_Read... [21:51:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:51:54]Read from MH i2c: E2 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: E2 17 00 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: E2 17 00 26 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 08 [21:51:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:51:54]wFMCommunicate OK [21:51:54]requested_item fd.num is exist - process it [21:51:54]SAM_PROTO_GetFieldsCounters [21:51:54]wFMCommunicate request_size=4 [21:51:54]MH_SAM_APDU [21:51:54]CAPDU: 80 13 00 00 [21:51:54]Write to MH i2c: E2 08 00 27 0F 80 13 00 00 00 00 00 00 B2 [21:51:54]Write i2c OK [21:51:54]MH_I2C_Read... [21:51:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:51:54]Read from MH i2c: E2 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: E2 62 00 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: E2 62 00 27 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DE 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [21:51:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DE 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:51:54]wFMCommunicate OK [21:51:54]SAM_PROTO_GetFieldsCounters done [21:51:54]requested_item shift.num is exist - process it [21:51:54]requested_item shift.opened is exist - process it [21:51:54]req_shift_opened [21:51:54]FM_GetShiftState [21:51:54]SAM_PROTO_GetShiftState [21:51:54]wFMCommunicate request_size=4 [21:51:54]MH_SAM_APDU [21:51:54]CAPDU: 80 13 01 00 [21:51:54]Write to MH i2c: E2 08 00 28 0F 80 13 01 00 00 00 00 00 B4 [21:51:54]Write i2c OK [21:51:54]MH_I2C_Read... [21:51:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:51:54]Read from MH i2c: E2 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: E2 0E 00 [21:51:54]MH_I2C_Read... [21:51:54]Read from MH i2c: E2 0E 00 28 0F 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 EB [21:51:54]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [21:51:54]wFMCommunicate OK [21:51:54]SAM_PROTO_GetShiftState done [21:51:54]FM_GetShiftState done [21:51:54]req_shift_opened done [21:51:54]requested_item shift.open_date is exist - process it [21:51:54]req_shift_open_date [21:51:54]req_shift_open_date done [21:51:54]produce_requested_data done [21:51:54]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18910,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [21:51:54]process_action_free close_receipt [21:51:54]json_value_free [21:51:54]json_value_free done [21:51:54]process_json_proto returns [21:51:54]Send response to host [21:51:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18910,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [21:51:54]free response buf [21:51:54]execute_script done [21:51:54]execute_script returns [21:51:54]free content buf [21:51:54]Sock 9.Close socket [21:51:54]Sock 9.Thread stoped [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:56:03]OFD Sender: No OFD packet to send [21:56:08]OFD Sender: No OFD packet to send [21:56:13]OFD Sender: No OFD packet to send [21:56:18]OFD Sender: No OFD packet to send [21:56:23]OFD Sender: No OFD packet to send [21:56:28]OFD Sender: No OFD packet to send [21:56:33]OFD Sender: No OFD packet to send [21:56:38]OFD Sender: No OFD packet to send [21:56:43]OFD Sender: No OFD packet to send [21:56:48]OFD Sender: No OFD packet to send [21:56:53]OFD Sender: No OFD packet to send [21:56:58]OFD Sender: No OFD packet to send [21:57:03]OFD Sender: No OFD packet to send [21:57:08]OFD Sender: No OFD packet to send [21:57:13]OFD Sender: No OFD packet to send [21:57:18]OFD Sender: No OFD packet to send [21:57:23]OFD Sender: No OFD packet to send [21:57:28]OFD Sender: No OFD packet to send [21:57:33]OFD Sender: No OFD packet to send [21:57:38]OFD Sender: No OFD packet to send [21:57:43]OFD Sender: No OFD packet to send [21:57:48]OFD Sender: No OFD packet to send [21:57:53]OFD Sender: No OFD packet to send [21:57:58]OFD Sender: No OFD packet to send [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:03]OFD Sender: No OFD packet to send [21:59:08]OFD Sender: No OFD packet to send [21:59:13]OFD Sender: No OFD packet to send [21:59:18]OFD Sender: No OFD packet to send [21:59:23]OFD Sender: No OFD packet to send [21:59:28]OFD Sender: No OFD packet to send [21:59:33]OFD Sender: No OFD packet to send [21:59:38]OFD Sender: No OFD packet to send [21:59:43]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:23]OFD Sender: No OFD packet to send [22:00:28]OFD Sender: No OFD packet to send [22:00:33]OFD Sender: No OFD packet to send [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:38]OFD Sender: No OFD packet to send [22:01:43]OFD Sender: No OFD packet to send [22:01:48]OFD Sender: No OFD packet to send [22:01:53]OFD Sender: No OFD packet to send [22:01:58]OFD Sender: No OFD packet to send [22:02:03]OFD Sender: No OFD packet to send [22:02:08]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:48]OFD Sender: No OFD packet to send [22:02:53]OFD Sender: No OFD packet to send [22:02:58]OFD Sender: No OFD packet to send [22:03:03]OFD Sender: No OFD packet to send [22:03:08]OFD Sender: No OFD packet to send [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:40]accept exits with 8 [22:03:40]New connection [22:03:40]New thread 3066903908 created [22:03:40]Thread 3067047268 joined [22:03:40]Waiting for new connection... [22:03:40] Sock 8.Parse request [22:03:40]Sock 8.Check first char [22:03:40]Sock 8.First char is OK [22:03:40]request: POST /json_proto HTTP/1.0 [22:03:40]Method: POST [22:03:40]URL: /json_proto [22:03:40]Method is POST - this is cgi request [22:03:40]url: /json_proto [22:03:40]query_string will be loaded in cgi processing [22:03:40]execute_cgi json_proto POST (null) [22:03:40]execute_cgi path=json_proto method=POST [22:03:40]POST find Content-Length [22:03:40]Host: 172.17.62.196:8080 [22:03:40]Content-Length: 786 [22:03:40]Content-Type: application/json [22:03:40] [22:03:40]POST finish read [22:03:40]Found Content-Length = 786 [22:03:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16830", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:40]execute_script... [22:03: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)16830", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:40]POST & json_proto [22:03:40]process_json_proto [22:03:40]json parsed OK: [22:03:40]protocol is kg_v1.0 [22:03:40]action value=close_receipt [22:03:40]process_action close_receipt [22:03:40]cmd_close_receipt [22:03:40]MH_GetDate [22:03:40]Write to MH i2c: F0 00 00 29 0F 27 [22:03:40]Write i2c OK [22:03:40]MH_I2C_Read... [22:03:40]Read from MH i2c: F0 [22:03:40]MH_I2C_Read... [22:03:40]Read from MH i2c: F0 09 00 [22:03:40]MH_I2C_Read... [22:03:40]Read from MH i2c: F0 09 00 29 0F 00 3F 37 F3 66 CE CC 0E 66 0D [22:03:40]GetLastDocTimeStamp 1727214712 [22:03:40]current date 1727215423 [22:03:40]FM_GetShiftState [22:03:40]SAM_PROTO_GetShiftState [22:03:40]wFMCommunicate request_size=4 [22:03:40]MH_SAM_APDU [22:03:40]CAPDU: 80 13 01 00 [22:03:40]Write to MH i2c: E2 08 00 2A 0F 80 13 01 00 00 00 00 00 B6 [22:03:40]Write i2c OK [22:03:40]MH_I2C_Read... [22:03:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:40]Read from MH i2c: E2 [22:03:40]MH_I2C_Read... [22:03:40]Read from MH i2c: E2 0E 00 [22:03:40]MH_I2C_Read... [22:03:40]Read from MH i2c: E2 0E 00 2A 0F 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 ED [22:03:40]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [22:03:40]wFMCommunicate OK [22:03:40]SAM_PROTO_GetShiftState done [22:03:40]FM_GetShiftState done [22:03:40]opened in 1727136720 [22:03:40]opened+sec_in_day 1727223120 [22:03:40]quantity*price = 11500 [22:03:40]sum+1 = 11501 [22:03:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 81 24.09.2024 22:03 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18911 ФПД: 193505037023550 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T220343&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18911&fm=193505037023550&tin=02508201610067®Number=0000000000152968&sum=11500 0 [22:03:42]StoreToDocumentArchive [22:03:42]shift 182 fd 18911 [22:03:42]save to /storage/0182/doc_00018911 [22:03:42]save last doc name /storage/0182/doc_00018911 to /storage/kkm_last_doc_name [22:03:42]save OK [22:03:42]Clear old archive folders... [22:03:42]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:03:42]tlvbuf is B6F6C4B0 [22:03:42]SAM_PROTO_ClearQueue [22:03:42]wFMCommunicate request_size=4 [22:03:42]MH_SAM_APDU [22:03:42]CAPDU: 80 09 00 00 [22:03:42]Write to MH i2c: E2 08 00 37 0F 80 09 00 00 00 00 00 00 B8 [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:42]Read from MH i2c: E2 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 37 0F 00 90 00 BA [22:03:42]RAPDU: 90 00 [22:03:42]wFMCommunicate OK [22:03:42]SAM_PROTO_ClearQueue done [22:03:42]KKMCreateOFDPacket [22:03:42]OFDProtocolAddRootSTLVToBuf [22:03:42]FM_MakeSignedData [22:03:42]FM_MakeSignedData [22:03:42]SAM_PROTO_SignData [22:03:42]wFMCommunicate request_size=4 [22:03:42]MH_SAM_APDU [22:03:42]CAPDU: 80 0D 01 02 [22:03:42]Write to MH i2c: E2 08 00 38 0F 80 0D 01 02 00 00 00 00 C0 [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:42]Read from MH i2c: E2 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 38 0F 00 90 00 BB [22:03:42]RAPDU: 90 00 [22:03:42]wFMCommunicate OK [22:03:42]wFMCommunicate request_size=255 [22:03:42]MH_SAM_APDU [22:03:42]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 51 00 00 00 F4 03 04 00 3F 37 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [22:03:42]Write to MH i2c: E2 02 01 39 0F 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 51 00 00 00 F4 03 04 00 3F 37 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 38 [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:42]Read from MH i2c: E2 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 39 0F 00 90 00 BC [22:03:42]RAPDU: 90 00 [22:03:42]wFMCommunicate OK [22:03:42]wFMCommunicate request_size=33 [22:03:42]MH_SAM_APDU [22:03:42]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DF 49 00 00 35 04 06 00 AF FD E6 FE 79 3E [22:03:42]Write to MH i2c: E2 24 00 3A 0F 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DF 49 00 00 35 04 06 00 AF FD E6 FE 79 3E 00 00 C7 [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:42]Read from MH i2c: E2 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 03 00 3A 0F 00 90 00 BD [22:03:42]RAPDU: 90 00 [22:03:42]wFMCommunicate OK [22:03:42]wFMCommunicate request_size=4 [22:03:42]MH_SAM_APDU [22:03:42]CAPDU: 80 0D 03 02 [22:03:42]Write to MH i2c: E2 08 00 3B 0F 80 0D 03 02 00 00 00 00 C5 [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:42]Read from MH i2c: E2 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 0B 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 0B 00 3B 0F 00 CE 78 DB 4C 52 62 A5 A1 90 00 2D [22:03:42]RAPDU: CE 78 DB 4C 52 62 A5 A1 90 00 [22:03:42]wFMCommunicate OK [22:03:42]SAM_PROTO_SignData done [22:03:42]FM_MakeSignedData done [22:03:42]CreateOFDProtocolMessage [22:03:42]wFMCommunicate request_size=4 [22:03:42]MH_SAM_APDU [22:03:42]CAPDU: 80 11 00 00 [22:03:42]Write to MH i2c: E2 08 00 3C 0F 80 11 00 00 00 00 00 00 C5 [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:42]Read from MH i2c: E2 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 17 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: E2 17 00 3C 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1E [22:03:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:03:42]wFMCommunicate OK [22:03:42]CreateOFDProtocolMessage done [22:03:42]OFDSenderStorePacket 18911 [22:03:42]StoreOFDPacket docnum=18911 [22:03:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 C8 F2 1E 01 C1 DF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 51 00 00 00 F4 03 04 00 3F 37 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DF 49 00 00 35 04 06 00 AF FD E6 FE 79 3E CE 78 DB 4C 52 62 A5 A1 [22:03:42]CheckFolder [22:03:42]dirname=/storage/ofd_packets [22:03:42]CheckFolder done [22:03:42]ProducePacketName [22:03:42]name=ofd_packets/00018911 [22:03:42]NVStorageSaveData ofd_packets/00018911 [22:03:42]File name is /storage/ofd_packets/00018911 [22:03:42]Write 324 bytes [22:03:42]NVStorageSaveData done [22:03:42]OFDSenderStorePacket done [22:03:42]KKMCreateOFDPacket done [22:03:42]NVStorageSaveData kkm_last_timestamp [22:03:42]File name is /storage/kkm_last_timestamp [22:03:42]Write 4 bytes [22:03:42]NVStorageSaveData done [22:03:42]ExternCall_PrintAddStr [22:03:42]wPrintStart [22:03:42]Write to MH i2c: 01 00 00 3D 0F 4C [22:03:42]Write i2c OK [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: 01 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: 01 07 00 [22:03:42]MH_I2C_Read... [22:03:42]Read from MH i2c: 01 07 00 3D 0F 00 00 00 00 00 FF 0F 61 [22:03:42]RasterBufferAndPrint [22:03:42]line Счет N : (3)16830 [22:03:42]line ИНН: 02508201610067 [22:03:42]line Контрольно-Кассовый Чек [22:03:42]line ПРОДАЖА [22:03:42]line Товар: 2000036240010 [22:03:42]line Кофе Латте (GABB TRADE) [22:03:42]line 1.000 * 115.00 [22:03:42]line = 115.00 [22:03:42]line НДС 12% НСП 1% [22:03:42]line > о реализуемом товаре [22:03:42]line ИТОГО: 115.00 [22:03:42]line НСП 1% : 1.02 [22:03:42]line НДС 12% : 12.21 [22:03:42]line Наличными: 0.00 [22:03:42]line Безнал.: 115.00 [22:03:42]line Место: АЗС № 176 "Партнер Нефть" [22:03:42]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:03:42]line СНО: Общий режим [22:03:42]line Чек 81 24.09.2024 22:03 [22:03:42]line Смена: 182 ФФД: 1.0 [22:03:42]line ЗНМ: 0300000010 [22:03:42]line РНМ: 0000000000152968 [22:03:42]line Версия ККМ: v1.0 [22:03:42]line Платежная система: O! деньги [22:03:42]line ФМ: 0000000000959456 [22:03:42]line ФД: 18911 [22:03:42]line ФПД: 193505037023550 [22:03:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T220343&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18911&fm=193505037023550&tin=02508201610067®Number=0000000000152968&sum=11500 [22:03:42]line 0 [22:03:42]OFD Sender: Processing packet 18911 [packets to send 7, broken 6] [22:03:42]ProducePacketName [22:03:42]name=ofd_packets/00018911 [22:03:42]OFD Sender: To server: pG, [22:03:42]CommunicateWithHost lk.salyk.kg:30040 [22:03:42]ConnectInit lk.salyk.kg [22:03:42]written 0, free lines is 4095 [22:03:43]Connected sock=10 [22:03:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 C8 F2 1E 01 C1 DF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 51 00 00 00 F4 03 04 00 3F 37 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DF 49 00 00 35 04 06 00 AF FD E6 FE 79 3E CE 78 DB 4C 52 62 A5 A1 [22:03:43]Write to MH i2c: 01 00 00 67 0F 76 [22:03:43]Write i2c OK [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: 01 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: 01 07 00 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: 01 07 00 67 0F 00 00 00 00 00 00 0D 8A [22:03:43]RasterBufferAndPrint [22:03:43]line [22:03:43]line [22:03:43]line [22:03:43]line [22:03:43]line [22:03:43]written 0, free lines is 3334 [22:03:43]MH_Cut [22:03:43]Write to MH i2c: D1 01 00 6E 0F 01 4F [22:03:43]Write i2c OK [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: D1 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: D1 01 00 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: D1 01 00 6E 0F 00 4E [22:03:43]Write to MH i2c: 01 00 00 6F 0F 7E [22:03:43]Write i2c OK [22:03:43]MH_I2C_Read... [22:03:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 40 D8 47 00 E4 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 DF 49 00 00 F4 03 04 00 9F E0 F2 66 B6 04 01 00 00 8A CF 5A A2 BB 16 15 FE [22:03:43]CommunicateWithHost err = 0 [22:03:43]CheckOFDResponse [22:03:43]1017 (14) - 77093643461234 [22:03:43]1041 (16) - 0000000000959456 [22:03:43]1040 (4) - 18911 [22:03:43]1012 (4) - 24.09.2024 15:54 [22:03:43]1206 (1) - 0 [22:03:43]OFD Sender: Remove packet 18911 [22:03:43]ProducePacketName [22:03:43]name=ofd_packets/00018911 [22:03:43]NVStorageDeleteData [22:03:43]OFD Sender: No OFD packet to send [22:03:44]*** Cut start [22:03:44]*** Partial cut [22:03:44]*** CUTSNS_PIN = 1 [22:03:44]*** CUTSNS_PIN = 0 [22:03:44]*** Brake cut motor [22:03:44]Read from MH i2c: 01 [22:03:44]MH_I2C_Read... [22:03:44]*** Stop cut motor [22:03:44]*** Cut end [22:03:44]Read from MH i2c: 01 07 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: 01 07 00 6F 0F 00 00 00 00 00 FF 0F 93 [22:03:44]process_action close_receipt done [22:03:44]requested_data is exist [22:03:44]produce_requested_data [22:03:44]requested_item fm.sn is exist - process it [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 11 00 00 [22:03:44]Write to MH i2c: E2 08 00 70 0F 80 11 00 00 00 00 00 00 F9 [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:44]Read from MH i2c: E2 17 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 17 00 70 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 52 [22:03:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:03:44]wFMCommunicate OK [22:03:44]requested_item fd.num is exist - process it [22:03:44]SAM_PROTO_GetFieldsCounters [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 13 00 00 [22:03:44]Write to MH i2c: E2 08 00 71 0F 80 13 00 00 00 00 00 00 FC [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 62 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 62 00 71 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DF 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [22:03:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 DF 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:44]wFMCommunicate OK [22:03:44]SAM_PROTO_GetFieldsCounters done [22:03:44]requested_item shift.num is exist - process it [22:03:44]requested_item shift.opened is exist - process it [22:03:44]req_shift_opened [22:03:44]FM_GetShiftState [22:03:44]SAM_PROTO_GetShiftState [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 13 01 00 [22:03:44]Write to MH i2c: E2 08 00 72 0F 80 13 01 00 00 00 00 00 FE [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 0E 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 0E 00 72 0F 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 35 [22:03:44]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [22:03:44]wFMCommunicate OK [22:03:44]SAM_PROTO_GetShiftState done [22:03:44]FM_GetShiftState done [22:03:44]req_shift_opened done [22:03:44]requested_item shift.open_date is exist - process it [22:03:44]req_shift_open_date [22:03:44]req_shift_open_date done [22:03:44]produce_requested_data done [22:03:44]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18911,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [22:03:44]process_action_free close_receipt [22:03:44]json_value_free [22:03:44]json_value_free done [22:03:44]process_json_proto returns [22:03:44]Send response to host [22:03:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18911,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [22:03:44]free response buf [22:03:44]execute_script done [22:03:44]execute_script returns [22:03:44]free content buf [22:03:44]Sock 8.Close socket [22:03:44]Sock 8.Thread stoped [22:03:48]OFD Sender: No OFD packet to send [22:03:53]OFD Sender: No OFD packet to send [22:03:58]OFD Sender: No OFD packet to send [22:04:03]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:33]OFD Sender: No OFD packet to send [22:04:38]OFD Sender: No OFD packet to send [22:04:43]OFD Sender: No OFD packet to send [22:04:48]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]OFD Sender: No OFD packet to send [22:09:54]OFD Sender: No OFD packet to send [22:09:59]OFD Sender: No OFD packet to send [22:10:04]OFD Sender: No OFD packet to send [22:10:09]OFD Sender: No OFD packet to send [22:10:14]OFD Sender: No OFD packet to send [22:10:19]OFD Sender: No OFD packet to send [22:10:24]OFD Sender: No OFD packet to send [22:10:29]OFD Sender: No OFD packet to send [22:10:34]OFD Sender: No OFD packet to send [22:10:39]OFD Sender: No OFD packet to send [22:10:44]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12: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:20]ConnectInit Can't connect to host [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:08]recv_with_timeout no data received [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:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]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:00]accept exits with 9 [22:41:00]New connection [22:41:00]New thread 3067047268 created [22:41:00]Thread 3066903908 joined [22:41:00]Waiting for new connection... [22:41:00] Sock 9.Parse request [22:41:00]Sock 9.Check first char [22:41:00]Sock 9.First char is OK [22:41:00]request: POST /json_proto HTTP/1.0 [22:41:00]Method: POST [22:41:00]URL: /json_proto [22:41:00]Method is POST - this is cgi request [22:41:00]url: /json_proto [22:41:00]query_string will be loaded in cgi processing [22:41:00]execute_cgi json_proto POST (null) [22:41:00]execute_cgi path=json_proto method=POST [22:41:00]POST find Content-Length [22:41:00]Host: 172.17.62.196:8080 [22:41:00]Content-Length: 627 [22:41:00]Content-Type: application/json [22:41:00] [22:41:00]POST finish read [22:41:00]Found Content-Length = 627 [22:41:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16831", "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" ] } } [22:41:00]execute_script... [22:41: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)16831", "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" ] } } [22:41:00]POST & json_proto [22:41:00]process_json_proto [22:41:00]json parsed OK: [22:41:00]protocol is kg_v1.0 [22:41:00]action value=close_receipt [22:41:00]process_action close_receipt [22:41:00]cmd_close_receipt [22:41:00]MH_GetDate [22:41:00]Write to MH i2c: F0 00 00 73 0F 71 [22:41:00]Write i2c OK [22:41:00]MH_I2C_Read... [22:41:00]Read from MH i2c: F0 [22:41:00]MH_I2C_Read... [22:41:00]Read from MH i2c: F0 09 00 [22:41:00]MH_I2C_Read... [22:41:00]Read from MH i2c: F0 09 00 73 0F 00 FF 3F F3 66 CE CC 0E 66 1F [22:41:00]GetLastDocTimeStamp 1727215423 [22:41:00]current date 1727217663 [22:41:00]FM_GetShiftState [22:41:00]SAM_PROTO_GetShiftState [22:41:00]wFMCommunicate request_size=4 [22:41:00]MH_SAM_APDU [22:41:00]CAPDU: 80 13 01 00 [22:41:00]Write to MH i2c: E2 08 00 74 0F 80 13 01 00 00 00 00 00 00 [22:41:00]Write i2c OK [22:41:00]MH_I2C_Read... [22:41:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:41:00]Read from MH i2c: E2 [22:41:00]MH_I2C_Read... [22:41:00]Read from MH i2c: E2 0E 00 [22:41:00]MH_I2C_Read... [22:41:00]Read from MH i2c: E2 0E 00 74 0F 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 37 [22:41:00]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [22:41:00]wFMCommunicate OK [22:41:00]SAM_PROTO_GetShiftState done [22:41:00]FM_GetShiftState done [22:41:00]opened in 1727136720 [22:41:00]opened+sec_in_day 1727223120 [22:41:00]quantity*price = 13000 [22:41:00]sum+1 = 13001 [22:41:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 82 24.09.2024 22:41 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18912 ФПД: 253659666106466 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T224103&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18912&fm=253659666106466&tin=02508201610067®Number=0000000000152968&sum=13000 0 [22:41:02]StoreToDocumentArchive [22:41:02]shift 182 fd 18912 [22:41:02]save to /storage/0182/doc_00018912 [22:41:02]save last doc name /storage/0182/doc_00018912 to /storage/kkm_last_doc_name [22:41:02]save OK [22:41:02]Clear old archive folders... [22:41:02]ProcessDocumentItem done err = 0, tmpTLVsize=276 [22:41:02]tlvbuf is 01830DC0 [22:41:02]SAM_PROTO_ClearQueue [22:41:02]wFMCommunicate request_size=4 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 09 00 00 [22:41:02]Write to MH i2c: E2 08 00 81 0F 80 09 00 00 00 00 00 00 02 [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 81 0F 00 90 00 04 [22:41:02]RAPDU: 90 00 [22:41:02]wFMCommunicate OK [22:41:02]SAM_PROTO_ClearQueue done [22:41:02]KKMCreateOFDPacket [22:41:02]OFDProtocolAddRootSTLVToBuf [22:41:02]FM_MakeSignedData [22:41:02]FM_MakeSignedData [22:41:02]SAM_PROTO_SignData [22:41:02]wFMCommunicate request_size=4 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 0D 01 02 [22:41:02]Write to MH i2c: E2 08 00 82 0F 80 0D 01 02 00 00 00 00 0A [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 82 0F 00 90 00 05 [22:41:02]RAPDU: 90 00 [22:41:02]wFMCommunicate OK [22:41:02]wFMCommunicate request_size=255 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 0D 02 02 FA 03 00 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 52 00 00 00 F4 03 04 00 FF 3F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 [22:41:02]Write to MH i2c: E2 02 01 83 0F 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 52 00 00 00 F4 03 04 00 FF 3F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 00 00 CA [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 83 0F 00 90 00 06 [22:41:02]RAPDU: 90 00 [22:41:02]wFMCommunicate OK [22:41:02]wFMCommunicate request_size=35 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E0 49 00 00 35 04 06 00 E6 B3 BE 4A C8 62 [22:41:02]Write to MH i2c: E2 26 00 84 0F 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E0 49 00 00 35 04 06 00 E6 B3 BE 4A C8 62 00 00 FA [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 03 00 84 0F 00 90 00 07 [22:41:02]RAPDU: 90 00 [22:41:02]wFMCommunicate OK [22:41:02]wFMCommunicate request_size=4 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 0D 03 02 [22:41:02]Write to MH i2c: E2 08 00 85 0F 80 0D 03 02 00 00 00 00 0F [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 0B 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 0B 00 85 0F 00 DF A6 C5 59 0C FC BF 60 90 00 DA [22:41:02]RAPDU: DF A6 C5 59 0C FC BF 60 90 00 [22:41:02]wFMCommunicate OK [22:41:02]SAM_PROTO_SignData done [22:41:02]FM_MakeSignedData done [22:41:02]CreateOFDProtocolMessage [22:41:02]wFMCommunicate request_size=4 [22:41:02]MH_SAM_APDU [22:41:02]CAPDU: 80 11 00 00 [22:41:02]Write to MH i2c: E2 08 00 86 0F 80 11 00 00 00 00 00 00 0F [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:41:02]Read from MH i2c: E2 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 17 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: E2 17 00 86 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 68 [22:41:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:41:02]wFMCommunicate OK [22:41:02]CreateOFDProtocolMessage done [22:41:02]OFDSenderStorePacket 18912 [22:41:02]StoreOFDPacket docnum=18912 [22:41:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 5E B4 20 01 4A 37 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 52 00 00 00 F4 03 04 00 FF 3F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E0 49 00 00 35 04 06 00 E6 B3 BE 4A C8 62 DF A6 C5 59 0C FC BF 60 [22:41:02]CheckFolder [22:41:02]dirname=/storage/ofd_packets [22:41:02]CheckFolder done [22:41:02]ProducePacketName [22:41:02]name=ofd_packets/00018912 [22:41:02]NVStorageSaveData ofd_packets/00018912 [22:41:02]File name is /storage/ofd_packets/00018912 [22:41:02]Write 326 bytes [22:41:02]NVStorageSaveData done [22:41:02]OFDSenderStorePacket done [22:41:02]KKMCreateOFDPacket done [22:41:02]NVStorageSaveData kkm_last_timestamp [22:41:02]File name is /storage/kkm_last_timestamp [22:41:02]Write 4 bytes [22:41:02]NVStorageSaveData done [22:41:02]ExternCall_PrintAddStr [22:41:02]wPrintStart [22:41:02]Write to MH i2c: 01 00 00 87 0F 96 [22:41:02]Write i2c OK [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: 01 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: 01 07 00 [22:41:02]MH_I2C_Read... [22:41:02]Read from MH i2c: 01 07 00 87 0F 00 00 00 00 00 FF 0F AB [22:41:02]RasterBufferAndPrint [22:41:02]line Счет N : (3)16831 [22:41:02]line ИНН: 02508201610067 [22:41:02]line Контрольно-Кассовый Чек [22:41:02]line ПРОДАЖА [22:41:02]line Товар: 2000036230011 [22:41:02]line Кофе Латте XL(GABB TRADE) [22:41:02]line 1.000 * 130.00 [22:41:02]line = 130.00 [22:41:02]line НДС 12% НСП 1% [22:41:02]line > о реализуемом товаре [22:41:02]line ИТОГО: 130.00 [22:41:02]line НСП 1% : 1.15 [22:41:02]line НДС 12% : 13.80 [22:41:02]line Наличными: 130.00 [22:41:02]line Безнал.: 0.00 [22:41:02]line Место: АЗС № 176 "Партнер Нефть" [22:41:02]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:41:02]line СНО: Общий режим [22:41:02]line Чек 82 24.09.2024 22:41 [22:41:02]line Смена: 182 ФФД: 1.0 [22:41:02]line ЗНМ: 0300000010 [22:41:02]line РНМ: 0000000000152968 [22:41:02]line Версия ККМ: v1.0 [22:41:02]line ФМ: 0000000000959456 [22:41:02]line ФД: 18912 [22:41:02]line ФПД: 253659666106466 [22:41:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T224103&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18912&fm=253659666106466&tin=02508201610067®Number=0000000000152968&sum=13000 [22:41:02]line 0 [22:41:02]OFD Sender: Processing packet 18912 [packets to send 7, broken 6] [22:41:02]ProducePacketName [22:41:02]name=ofd_packets/00018912 [22:41:02]OFD Sender: To server: pG, [22:41:02]CommunicateWithHost lk.salyk.kg:30040 [22:41:02]ConnectInit lk.salyk.kg [22:41:02]written 0, free lines is 4095 [22:41:03]Connected sock=10 [22:41:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 5E B4 20 01 4A 37 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 52 00 00 00 F4 03 04 00 FF 3F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E0 49 00 00 35 04 06 00 E6 B3 BE 4A C8 62 DF A6 C5 59 0C FC BF 60 [22:41:03]Write to MH i2c: 01 00 00 AF 0F BE [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 07 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: 01 07 00 AF 0F 00 00 00 00 00 2D 0D FF [22:41:03]RasterBufferAndPrint [22:41:03]line [22:41:03]line [22:41:03]line [22:41:03]line [22:41:03]line [22:41:03]written 0, free lines is 3380 [22:41:03]MH_Cut [22:41:03]Write to MH i2c: D1 01 00 B6 0F 01 97 [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: D1 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: D1 01 00 [22:41:03]MH_I2C_Read... [22:41:03]Read from MH i2c: D1 01 00 B6 0F 00 96 [22:41:03]Write to MH i2c: 01 00 00 B7 0F C6 [22:41:03]Write i2c OK [22:41:03]MH_I2C_Read... [22:41:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 C1 B8 47 00 76 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E0 49 00 00 F4 03 04 00 5F E9 F2 66 B6 04 01 00 00 2F 85 0F B0 74 8F 16 C9 [22:41:03]CommunicateWithHost err = 0 [22:41:03]CheckOFDResponse [22:41:03]1017 (14) - 77093643461234 [22:41:03]1041 (16) - 0000000000959456 [22:41:03]1040 (4) - 18912 [22:41:03]1012 (4) - 24.09.2024 16:31 [22:41:03]1206 (1) - 0 [22:41:03]OFD Sender: Remove packet 18912 [22:41:03]ProducePacketName [22:41:03]name=ofd_packets/00018912 [22:41:03]NVStorageDeleteData [22:41:03]OFD Sender: No OFD packet to send [22:41:04]*** Cut start [22:41:04]*** Partial cut [22:41:04]*** CUTSNS_PIN = 1 [22:41:04]*** CUTSNS_PIN = 0 [22:41:04]*** Brake cut motor [22:41:04]Read from MH i2c: 01 [22:41:04]MH_I2C_Read... [22:41:04]*** Stop cut motor [22:41:04]*** Cut end [22:41:04]Read from MH i2c: 01 07 00 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: 01 07 00 B7 0F 00 00 00 00 00 FF 0F DB [22:41:04]process_action close_receipt done [22:41:04]requested_data is exist [22:41:04]produce_requested_data [22:41:04]requested_item fm.sn is exist - process it [22:41:04]wFMCommunicate request_size=4 [22:41:04]MH_SAM_APDU [22:41:04]CAPDU: 80 11 00 00 [22:41:04]Write to MH i2c: E2 08 00 B8 0F 80 11 00 00 00 00 00 00 41 [22:41:04]Write i2c OK [22:41:04]MH_I2C_Read... [22:41:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:41:04]Read from MH i2c: E2 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 17 00 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 17 00 B8 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9A [22:41:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:41:04]wFMCommunicate OK [22:41:04]requested_item fd.num is exist - process it [22:41:04]SAM_PROTO_GetFieldsCounters [22:41:04]wFMCommunicate request_size=4 [22:41:04]MH_SAM_APDU [22:41:04]CAPDU: 80 13 00 00 [22:41:04]Write to MH i2c: E2 08 00 B9 0F 80 13 00 00 00 00 00 00 44 [22:41:04]Write i2c OK [22:41:04]MH_I2C_Read... [22:41:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:41:04]Read from MH i2c: E2 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 62 00 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 62 00 B9 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E0 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [22:41:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E0 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:41:04]wFMCommunicate OK [22:41:04]SAM_PROTO_GetFieldsCounters done [22:41:04]requested_item shift.num is exist - process it [22:41:04]requested_item shift.opened is exist - process it [22:41:04]req_shift_opened [22:41:04]FM_GetShiftState [22:41:04]SAM_PROTO_GetShiftState [22:41:04]wFMCommunicate request_size=4 [22:41:04]MH_SAM_APDU [22:41:04]CAPDU: 80 13 01 00 [22:41:04]Write to MH i2c: E2 08 00 BA 0F 80 13 01 00 00 00 00 00 46 [22:41:04]Write i2c OK [22:41:04]MH_I2C_Read... [22:41:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:41:04]Read from MH i2c: E2 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 0E 00 [22:41:04]MH_I2C_Read... [22:41:04]Read from MH i2c: E2 0E 00 BA 0F 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7D [22:41:04]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [22:41:04]wFMCommunicate OK [22:41:04]SAM_PROTO_GetShiftState done [22:41:04]FM_GetShiftState done [22:41:04]req_shift_opened done [22:41:04]requested_item shift.open_date is exist - process it [22:41:04]req_shift_open_date [22:41:04]req_shift_open_date done [22:41:04]produce_requested_data done [22:41:04]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18912,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [22:41:04]process_action_free close_receipt [22:41:04]json_value_free [22:41:04]json_value_free done [22:41:04]process_json_proto returns [22:41:04]Send response to host [22:41:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18912,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [22:41:04]free response buf [22:41:04]execute_script done [22:41:04]execute_script returns [22:41:04]free content buf [22:41:04]Sock 9.Close socket [22:41:04]Sock 9.Thread stoped [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:04]OFD Sender: No OFD packet to send [22:54:09]OFD Sender: No OFD packet to send [22:54:14]OFD Sender: No OFD packet to send [22:54:19]OFD Sender: No OFD packet to send [22:54:24]OFD Sender: No OFD packet to send [22:54:29]OFD Sender: No OFD packet to send [22:54:34]OFD Sender: No OFD packet to send [22:54:39]OFD Sender: No OFD packet to send [22:54:44]OFD Sender: No OFD packet to send [22:54:49]OFD Sender: No OFD packet to send [22:54:54]OFD Sender: No OFD packet to send [22:54:59]OFD Sender: No OFD packet to send [22:55:04]OFD Sender: No OFD packet to send [22:55:09]OFD Sender: No OFD packet to send [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02: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:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:01]accept exits with 8 [23:11:01]New connection [23:11:01]New thread 3066903908 created [23:11:01]Thread 3067047268 joined [23:11:01]Waiting for new connection... [23:11:01] Sock 8.Parse request [23:11:01]Sock 8.Check first char [23:11:01]Sock 8.First char is OK [23:11:01]request: POST /json_proto HTTP/1.0 [23:11:01]Method: POST [23:11:01]URL: /json_proto [23:11:01]Method is POST - this is cgi request [23:11:01]url: /json_proto [23:11:01]query_string will be loaded in cgi processing [23:11:01]execute_cgi json_proto POST (null) [23:11:01]execute_cgi path=json_proto method=POST [23:11:01]POST find Content-Length [23:11:01]Host: 172.17.62.196:8080 [23:11:01]Content-Length: 1343 [23:11:01]Content-Type: application/json [23:11:01] [23:11:01]POST finish read [23:11:01]Found Content-Length = 1343 [23:11:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16832", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521285", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u043E\u0432\u044B\u0439 \u043D\u0435\u0433\u0430\u0437 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:01]execute_script... [23:11:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16832", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521285", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u043E\u0432\u044B\u0439 \u043D\u0435\u0433\u0430\u0437 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:01]POST & json_proto [23:11:01]process_json_proto [23:11:01]json parsed OK: [23:11:01]protocol is kg_v1.0 [23:11:01]action value=close_receipt [23:11:01]process_action close_receipt [23:11:01]cmd_close_receipt [23:11:01]MH_GetDate [23:11:01]Write to MH i2c: F0 00 00 BB 0F B9 [23:11:01]Write i2c OK [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: F0 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: F0 09 00 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: F0 09 00 BB 0F 00 08 47 F3 66 CE CC 0E 66 78 [23:11:01]GetLastDocTimeStamp 1727217663 [23:11:01]current date 1727219464 [23:11:01]FM_GetShiftState [23:11:01]SAM_PROTO_GetShiftState [23:11:01]wFMCommunicate request_size=4 [23:11:01]MH_SAM_APDU [23:11:01]CAPDU: 80 13 01 00 [23:11:01]Write to MH i2c: E2 08 00 BC 0F 80 13 01 00 00 00 00 00 48 [23:11:01]Write i2c OK [23:11:01]MH_I2C_Read... [23:11:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:01]Read from MH i2c: E2 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 0E 00 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 0E 00 BC 0F 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7F [23:11:01]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:11:01]wFMCommunicate OK [23:11:01]SAM_PROTO_GetShiftState done [23:11:01]FM_GetShiftState done [23:11:01]opened in 1727136720 [23:11:01]opened+sec_in_day 1727223120 [23:11:01]quantity*price = 7000 [23:11:01]sum+1 = 7001 [23:11:01]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521285 Напиток Сок березовый негаз 0,45л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010346 Напиток Let`s Go! с/с груша ПЭТ 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 83 24.09.2024 23:11 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18913 ФПД: 242589416780391 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T231104&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18913&fm=242589416780391&tin=02508201610067®Number=0000000000152968&sum=18000 0 [23:11:02]StoreToDocumentArchive [23:11:02]shift 182 fd 18913 [23:11:02]save to /storage/0182/doc_00018913 [23:11:02]save last doc name /storage/0182/doc_00018913 to /storage/kkm_last_doc_name [23:11:02]save OK [23:11:02]Clear old archive folders... [23:11:02]ProcessDocumentItem done err = 0, tmpTLVsize=562 [23:11:02]tlvbuf is 01853910 [23:11:02]SAM_PROTO_ClearQueue [23:11:02]wFMCommunicate request_size=4 [23:11:02]MH_SAM_APDU [23:11:02]CAPDU: 80 09 00 00 [23:11:02]Write to MH i2c: E2 08 00 C9 0F 80 09 00 00 00 00 00 00 4A [23:11:02]Write i2c OK [23:11:02]MH_I2C_Read... [23:11:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:11:02]Read from MH i2c: E2 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 03 00 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 03 00 C9 0F 00 90 00 4C [23:11:02]RAPDU: 90 00 [23:11:02]wFMCommunicate OK [23:11:02]SAM_PROTO_ClearQueue done [23:11:02]KKMCreateOFDPacket [23:11:02]OFDProtocolAddRootSTLVToBuf [23:11:02]FM_MakeSignedData [23:11:02]FM_MakeSignedData [23:11:02]SAM_PROTO_SignData [23:11:02]wFMCommunicate request_size=4 [23:11:02]MH_SAM_APDU [23:11:02]CAPDU: 80 0D 01 02 [23:11:02]Write to MH i2c: E2 08 00 CA 0F 80 0D 01 02 00 00 00 00 52 [23:11:02]Write i2c OK [23:11:02]MH_I2C_Read... [23:11:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:11:02]Read from MH i2c: E2 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 03 00 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 03 00 CA 0F 00 90 00 4D [23:11:02]RAPDU: 90 00 [23:11:02]wFMCommunicate OK [23:11:02]wFMCommunicate request_size=255 [23:11:02]MH_SAM_APDU [23:11:02]CAPDU: 80 0D 02 02 FA 03 00 32 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 [23:11:03]Write to MH i2c: E2 02 01 CB 0F 80 0D 02 02 FA 00 03 00 32 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 00 00 85 [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 03 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 03 00 CB 0F 00 90 00 4E [23:11:03]RAPDU: 90 00 [23:11:03]wFMCommunicate OK [23:11:03]wFMCommunicate request_size=255 [23:11:03]MH_SAM_APDU [23:11:03]CAPDU: 80 0D 02 02 FA 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 08 47 F3 66 0E 04 04 00 B6 [23:11:03]Write to MH i2c: E2 02 01 CC 0F 80 0D 02 02 FA 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 08 47 F3 66 0E 04 04 00 B6 00 00 F1 [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 03 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 03 00 CC 0F 00 90 00 4F [23:11:03]RAPDU: 90 00 [23:11:03]wFMCommunicate OK [23:11:03]wFMCommunicate request_size=71 [23:11:03]MH_SAM_APDU [23:11:03]CAPDU: 80 0D 02 02 42 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E1 49 00 00 35 04 06 00 DC A2 40 03 72 67 [23:11:03]Write to MH i2c: E2 4A 00 CD 0F 80 0D 02 02 42 00 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E1 49 00 00 35 04 06 00 DC A2 40 03 72 67 00 00 3F [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 03 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 03 00 CD 0F 00 90 00 50 [23:11:03]RAPDU: 90 00 [23:11:03]wFMCommunicate OK [23:11:03]wFMCommunicate request_size=4 [23:11:03]MH_SAM_APDU [23:11:03]CAPDU: 80 0D 03 02 [23:11:03]Write to MH i2c: E2 08 00 CE 0F 80 0D 03 02 00 00 00 00 58 [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 0B 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 0B 00 CE 0F 00 B6 DE 12 28 44 DE 80 26 90 00 EF [23:11:03]RAPDU: B6 DE 12 28 44 DE 80 26 90 00 [23:11:03]wFMCommunicate OK [23:11:03]SAM_PROTO_SignData done [23:11:03]FM_MakeSignedData done [23:11:03]CreateOFDProtocolMessage [23:11:03]wFMCommunicate request_size=4 [23:11:03]MH_SAM_APDU [23:11:03]CAPDU: 80 11 00 00 [23:11:03]Write to MH i2c: E2 08 00 CF 0F 80 11 00 00 00 00 00 00 58 [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 17 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 17 00 CF 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B1 [23:11:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:11:03]wFMCommunicate OK [23:11:03]CreateOFDProtocolMessage done [23:11:03]OFDSenderStorePacket 18913 [23:11:03]StoreOFDPacket docnum=18913 [23:11:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 46 02 00 00 14 0A 3E 02 5A 5C 5A 03 01 00 03 00 32 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 08 47 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E1 49 00 00 35 04 06 00 DC A2 40 03 72 67 B6 DE 12 28 44 DE 80 26 [23:11:03]CheckFolder [23:11:03]dirname=/storage/ofd_packets [23:11:03]CheckFolder done [23:11:03]ProducePacketName [23:11:03]name=ofd_packets/00018913 [23:11:03]NVStorageSaveData ofd_packets/00018913 [23:11:03]File name is /storage/ofd_packets/00018913 [23:11:03]Write 612 bytes [23:11:03]NVStorageSaveData done [23:11:03]OFDSenderStorePacket done [23:11:03]KKMCreateOFDPacket done [23:11:03]NVStorageSaveData kkm_last_timestamp [23:11:03]File name is /storage/kkm_last_timestamp [23:11:03]Write 4 bytes [23:11:03]NVStorageSaveData done [23:11:03]ExternCall_PrintAddStr [23:11:03]wPrintStart [23:11:03]Write to MH i2c: 01 00 00 D0 0F DF [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: 01 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: 01 07 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: 01 07 00 D0 0F 00 00 00 00 00 FF 0F F4 [23:11:03]RasterBufferAndPrint [23:11:03]line Счет N : (3)16832 [23:11:03]line ИНН: 02508201610067 [23:11:03]line Контрольно-Кассовый Чек [23:11:03]line ПРОДАЖА [23:11:03]line Товар: 4870202522688 [23:11:03]line Garden напиток со вкусом граната 0,45 ПЭ [23:11:03]line 1.000 * 70.00 [23:11:03]line = 70.00 [23:11:03]line НДС 12% НСП 1% [23:11:03]line > о реализуемом товаре [23:11:03]line Товар: 4870202521285 [23:11:03]line Напиток Сок березовый негаз 0,45л [23:11:03]line 1.000 * 70.00 [23:11:03]line = 70.00 [23:11:03]line НДС 12% НСП 1% [23:11:03]line > о реализуемом товаре [23:11:03]line Товар: 4700003010346 [23:11:03]line Напиток Let`s Go! с/с груша ПЭТ 0,5л [23:11:03]line 1.000 * 40.00 [23:11:03]line = 40.00 [23:11:03]line НДС 12% НСП 1% [23:11:03]line > о реализуемом товаре [23:11:03]line ИТОГО: 180.00 [23:11:03]line НСП 1% : 1.59 [23:11:03]line НДС 12% : 19.11 [23:11:03]line Наличными: 180.00 [23:11:03]line Безнал.: 0.00 [23:11:03]line Место: АЗС № 176 "Партнер Нефть" [23:11:03]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:11:03]line СНО: Общий режим [23:11:03]line Чек 83 24.09.2024 23:11 [23:11:03]line Смена: 182 ФФД: 1.0 [23:11:03]line ЗНМ: 0300000010 [23:11:03]line РНМ: 0000000000152968 [23:11:03]line Версия ККМ: v1.0 [23:11:03]line ФМ: 0000000000959456 [23:11:03]line ФД: 18913 [23:11:03]line ФПД: 242589416780391 [23:11:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T231104&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18913&fm=242589416780391&tin=02508201610067®Number=0000000000152968&sum=18000 [23:11:04]OFD Sender: Processing packet 18913 [packets to send 7, broken 6] [23:11:04]ProducePacketName [23:11:04]name=ofd_packets/00018913 [23:11:04]OFD Sender: To server: pG, [23:11:04]CommunicateWithHost lk.salyk.kg:30040 [23:11:04]ConnectInit lk.salyk.kg [23:11:04]line 0 [23:11:04]written 0, free lines is 4095 [23:11:04]Connected sock=10 [23:11:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 46 02 00 00 14 0A 3E 02 5A 5C 5A 03 01 00 03 00 32 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 08 47 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E1 49 00 00 35 04 06 00 DC A2 40 03 72 67 B6 DE 12 28 44 DE 80 26 [23:11:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 5C 9B 47 00 C5 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E1 49 00 00 F4 03 04 00 68 F0 F2 66 B6 04 01 00 00 8B FB 10 BD 6B 3D 59 DD [23:11:04]CommunicateWithHost err = 0 [23:11:04]CheckOFDResponse [23:11:04]1017 (14) - 77093643461234 [23:11:04]1041 (16) - 0000000000959456 [23:11:04]1040 (4) - 18913 [23:11:04]1012 (4) - 24.09.2024 17:01 [23:11:04]1206 (1) - 0 [23:11:04]OFD Sender: Remove packet 18913 [23:11:04]ProducePacketName [23:11:04]name=ofd_packets/00018913 [23:11:04]NVStorageDeleteData [23:11:04]Write to MH i2c: 01 00 00 07 10 17 [23:11:04]Write i2c OK [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: 01 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: 01 07 00 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: 01 07 00 07 10 00 00 00 00 00 62 0C 8C [23:11:04]RasterBufferAndPrint [23:11:04]line [23:11:04]line [23:11:04]line [23:11:04]line [23:11:04]line [23:11:04]written 0, free lines is 3179 [23:11:04]MH_Cut [23:11:04]Write to MH i2c: D1 01 00 0E 10 01 F0 [23:11:04]Write i2c OK [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: D1 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: D1 01 00 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: D1 01 00 0E 10 00 EF [23:11:04]Write to MH i2c: 01 00 00 0F 10 1F [23:11:04]Write i2c OK [23:11:04]MH_I2C_Read... [23:11:05]OFD Sender: No OFD packet to send [23:11:05]*** Cut start [23:11:05]*** Partial cut [23:11:05]*** CUTSNS_PIN = 1 [23:11:05]*** CUTSNS_PIN = 0 [23:11:05]*** Brake cut motor [23:11:06]Read from MH i2c: 01 [23:11:06]MH_I2C_Read... [23:11:06]*** Stop cut motor [23:11:06]*** Cut end [23:11:06]Read from MH i2c: 01 07 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 07 00 0F 10 00 00 00 00 00 FF 0F 34 [23:11:06]process_action close_receipt done [23:11:06]requested_data is exist [23:11:06]produce_requested_data [23:11:06]requested_item fm.sn is exist - process it [23:11:06]wFMCommunicate request_size=4 [23:11:06]MH_SAM_APDU [23:11:06]CAPDU: 80 11 00 00 [23:11:06]Write to MH i2c: E2 08 00 10 10 80 11 00 00 00 00 00 00 9A [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:06]Read from MH i2c: E2 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 17 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 17 00 10 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F3 [23:11:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:11:06]wFMCommunicate OK [23:11:06]requested_item fd.num is exist - process it [23:11:06]SAM_PROTO_GetFieldsCounters [23:11:06]wFMCommunicate request_size=4 [23:11:06]MH_SAM_APDU [23:11:06]CAPDU: 80 13 00 00 [23:11:06]Write to MH i2c: E2 08 00 11 10 80 13 00 00 00 00 00 00 9D [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:06]Read from MH i2c: E2 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 62 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 62 00 11 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E1 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [23:11:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E1 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:06]wFMCommunicate OK [23:11:06]SAM_PROTO_GetFieldsCounters done [23:11:06]requested_item shift.num is exist - process it [23:11:06]requested_item shift.opened is exist - process it [23:11:06]req_shift_opened [23:11:06]FM_GetShiftState [23:11:06]SAM_PROTO_GetShiftState [23:11:06]wFMCommunicate request_size=4 [23:11:06]MH_SAM_APDU [23:11:06]CAPDU: 80 13 01 00 [23:11:06]Write to MH i2c: E2 08 00 12 10 80 13 01 00 00 00 00 00 9F [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:06]Read from MH i2c: E2 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 0E 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 0E 00 12 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 D6 [23:11:06]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:11:06]wFMCommunicate OK [23:11:06]SAM_PROTO_GetShiftState done [23:11:06]FM_GetShiftState done [23:11:06]req_shift_opened done [23:11:06]requested_item shift.open_date is exist - process it [23:11:06]req_shift_open_date [23:11:06]req_shift_open_date done [23:11:06]produce_requested_data done [23:11:06]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18913,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:11:06]process_action_free close_receipt [23:11:06]json_value_free [23:11:06]json_value_free done [23:11:06]process_json_proto returns [23:11:06]Send response to host [23:11:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18913,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:11:06]free response buf [23:11:06]execute_script done [23:11:06]execute_script returns [23:11:06]free content buf [23:11:06]Sock 8.Close socket [23:11:06]Sock 8.Thread stoped [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:02]accept exits with 9 [23:18:02]New connection [23:18:02]New thread 3067047268 created [23:18:02]Thread 3066903908 joined [23:18:02]Waiting for new connection... [23:18:02] Sock 9.Parse request [23:18:02]Sock 9.Check first char [23:18:02]Sock 9.First char is OK [23:18:02]request: POST /json_proto HTTP/1.0 [23:18:02]Method: POST [23:18:02]URL: /json_proto [23:18:02]Method is POST - this is cgi request [23:18:02]url: /json_proto [23:18:02]query_string will be loaded in cgi processing [23:18:02]execute_cgi json_proto POST (null) [23:18:02]execute_cgi path=json_proto method=POST [23:18:02]POST find Content-Length [23:18:02]Host: 172.17.62.196:8080 [23:18:02]Content-Length: 677 [23:18:02]Content-Type: application/json [23:18:02] [23:18:02]POST finish read [23:18:02]Found Content-Length = 677 [23:18:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117292", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.970, "sum" : 540.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 540.00, "total" : 540.00, "payments": [ { "type": 0, "sum" : 540.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:18:02]execute_script... [23:18:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117292", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.970, "sum" : 540.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 540.00, "total" : 540.00, "payments": [ { "type": 0, "sum" : 540.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:18:02]POST & json_proto [23:18:02]process_json_proto [23:18:02]json parsed OK: [23:18:02]protocol is kg_v1.0 [23:18:02]action value=close_receipt [23:18:02]process_action close_receipt [23:18:02]cmd_close_receipt [23:18:02]MH_GetDate [23:18:02]Write to MH i2c: F0 00 00 13 10 12 [23:18:02]Write i2c OK [23:18:02]MH_I2C_Read... [23:18:02]Read from MH i2c: F0 [23:18:02]MH_I2C_Read... [23:18:02]Read from MH i2c: F0 09 00 [23:18:02]MH_I2C_Read... [23:18:02]Read from MH i2c: F0 09 00 13 10 00 AD 48 F3 66 CE CC 0E 66 77 [23:18:02]GetLastDocTimeStamp 1727219464 [23:18:02]current date 1727219885 [23:18:02]FM_GetShiftState [23:18:02]SAM_PROTO_GetShiftState [23:18:02]wFMCommunicate request_size=4 [23:18:02]MH_SAM_APDU [23:18:02]CAPDU: 80 13 01 00 [23:18:02]Write to MH i2c: E2 08 00 14 10 80 13 01 00 00 00 00 00 A1 [23:18:02]Write i2c OK [23:18:02]MH_I2C_Read... [23:18:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:18:02]Read from MH i2c: E2 [23:18:02]MH_I2C_Read... [23:18:02]Read from MH i2c: E2 0E 00 [23:18:02]MH_I2C_Read... [23:18:02]Read from MH i2c: E2 0E 00 14 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 D8 [23:18:02]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:18:02]wFMCommunicate OK [23:18:02]SAM_PROTO_GetShiftState done [23:18:02]FM_GetShiftState done [23:18:02]opened in 1727136720 [23:18:02]opened+sec_in_day 1727223120 [23:18:02]quantity*price = 54036 [23:18:02]sum+1 = 54038 [23:18:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 540.00 Внесено: 540.00 СДАЧА: 0.00 НСП 1% : 4.78 НДС 12% : 57.38 Наличными: 540.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 84 24.09.2024 23:18 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18914 ФПД: 169871564339429 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T231805&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18914&fm=169871564339429&tin=02508201610067®Number=0000000000152968&sum=54000 [23:18:03]StoreToDocumentArchive [23:18:03]shift 182 fd 18914 [23:18:03]save to /storage/0182/doc_00018914 [23:18:03]save last doc name /storage/0182/doc_00018914 to /storage/kkm_last_doc_name [23:18:03]save OK [23:18:03]Clear old archive folders... [23:18:03]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:18:03]tlvbuf is 018A7F50 [23:18:03]SAM_PROTO_ClearQueue [23:18:03]wFMCommunicate request_size=4 [23:18:03]MH_SAM_APDU [23:18:03]CAPDU: 80 09 00 00 [23:18:03]Write to MH i2c: E2 08 00 21 10 80 09 00 00 00 00 00 00 A3 [23:18:03]Write i2c OK [23:18:03]MH_I2C_Read... [23:18:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:18:03]Read from MH i2c: E2 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 21 10 00 90 00 A5 [23:18:03]RAPDU: 90 00 [23:18:03]wFMCommunicate OK [23:18:03]SAM_PROTO_ClearQueue done [23:18:03]KKMCreateOFDPacket [23:18:03]OFDProtocolAddRootSTLVToBuf [23:18:03]FM_MakeSignedData [23:18:03]FM_MakeSignedData [23:18:03]SAM_PROTO_SignData [23:18:03]wFMCommunicate request_size=4 [23:18:03]MH_SAM_APDU [23:18:03]CAPDU: 80 0D 01 02 [23:18:03]Write to MH i2c: E2 08 00 22 10 80 0D 01 02 00 00 00 00 AB [23:18:03]Write i2c OK [23:18:03]MH_I2C_Read... [23:18:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:18:03]Read from MH i2c: E2 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 22 10 00 90 00 A6 [23:18:03]RAPDU: 90 00 [23:18:03]wFMCommunicate OK [23:18:03]wFMCommunicate request_size=255 [23:18:03]MH_SAM_APDU [23:18:03]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 22 1F 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 15 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 AD 48 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E2 49 00 00 35 04 06 00 9A [23:18:03]Write to MH i2c: E2 02 01 23 10 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 22 1F 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 15 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 AD 48 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E2 49 00 00 35 04 06 00 9A 00 00 80 [23:18:03]Write i2c OK [23:18:03]MH_I2C_Read... [23:18:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:03]Read from MH i2c: E2 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 23 10 00 90 00 A7 [23:18:03]RAPDU: 90 00 [23:18:03]wFMCommunicate OK [23:18:03]wFMCommunicate request_size=10 [23:18:03]MH_SAM_APDU [23:18:03]CAPDU: 80 0D 02 02 05 7F 4E 3F F8 E5 [23:18:03]Write to MH i2c: E2 0D 00 24 10 80 0D 02 02 05 00 7F 4E 3F F8 E5 00 00 A1 [23:18:03]Write i2c OK [23:18:03]MH_I2C_Read... [23:18:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:03]Read from MH i2c: E2 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 [23:18:03]MH_I2C_Read... [23:18:03]Read from MH i2c: E2 03 00 24 10 00 90 00 A8 [23:18:03]RAPDU: 90 00 [23:18:03]wFMCommunicate OK [23:18:03]wFMCommunicate request_size=4 [23:18:03]MH_SAM_APDU [23:18:03]CAPDU: 80 0D 03 02 [23:18:03]Write to MH i2c: E2 08 00 25 10 80 0D 03 02 00 00 00 00 B0 [23:18:03]Write i2c OK [23:18:03]MH_I2C_Read... [23:18:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:18:04]Read from MH i2c: E2 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: E2 0B 00 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: E2 0B 00 25 10 00 7B 77 76 BE 60 BC 18 CA 90 00 D5 [23:18:04]RAPDU: 7B 77 76 BE 60 BC 18 CA 90 00 [23:18:04]wFMCommunicate OK [23:18:04]SAM_PROTO_SignData done [23:18:04]FM_MakeSignedData done [23:18:04]CreateOFDProtocolMessage [23:18:04]wFMCommunicate request_size=4 [23:18:04]MH_SAM_APDU [23:18:04]CAPDU: 80 11 00 00 [23:18:04]Write to MH i2c: E2 08 00 26 10 80 11 00 00 00 00 00 00 B0 [23:18:04]Write i2c OK [23:18:04]MH_I2C_Read... [23:18:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:18:04]Read from MH i2c: E2 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: E2 17 00 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: E2 17 00 26 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 09 [23:18:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:18:04]wFMCommunicate OK [23:18:04]CreateOFDProtocolMessage done [23:18:04]OFDSenderStorePacket 18914 [23:18:04]StoreOFDPacket docnum=18914 [23:18:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 EF 2D 07 01 C3 53 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 22 1F 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 15 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 AD 48 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E2 49 00 00 35 04 06 00 9A 7F 4E 3F F8 E5 7B 77 76 BE 60 BC 18 CA [23:18:04]CheckFolder [23:18:04]dirname=/storage/ofd_packets [23:18:04]CheckFolder done [23:18:04]ProducePacketName [23:18:04]name=ofd_packets/00018914 [23:18:04]NVStorageSaveData ofd_packets/00018914 [23:18:04]File name is /storage/ofd_packets/00018914 [23:18:04]Write 301 bytes [23:18:04]NVStorageSaveData done [23:18:04]OFDSenderStorePacket done [23:18:04]KKMCreateOFDPacket done [23:18:04]NVStorageSaveData kkm_last_timestamp [23:18:04]File name is /storage/kkm_last_timestamp [23:18:04]Write 4 bytes [23:18:04]NVStorageSaveData done [23:18:04]ExternCall_PrintAddStr [23:18:04]wPrintStart [23:18:04]Write to MH i2c: 01 00 00 27 10 37 [23:18:04]Write i2c OK [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: 01 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: 01 07 00 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: 01 07 00 27 10 00 00 00 00 00 FF 0F 4C [23:18:04]RasterBufferAndPrint [23:18:04]line Счет N : (1)117292 [23:18:04]line ИНН: 02508201610067 [23:18:04]line Контрольно-Кассовый Чек [23:18:04]line ПРОДАЖА [23:18:04]line ТРК (МРК, ГНК) : 12 [23:18:04]line Товар: 2710124130 [23:18:04]line Аи-92-К-5 [23:18:04]line 7.970 * 67.80 [23:18:04]line = 540.37 [23:18:04]line НДС 12% НСП 1% [23:18:04]line > о реализуемом товаре [23:18:04]line ОКРУГЛЕНИЕ: -0.37 [23:18:04]line ИТОГО: 540.00 [23:18:04]line Внесено: 540.00 [23:18:04]line СДАЧА: 0.00 [23:18:04]line НСП 1% : 4.78 [23:18:04]line НДС 12% : 57.38 [23:18:04]line Наличными: 540.00 [23:18:04]line Безнал.: 0.00 [23:18:04]line Место: АЗС № 176 "Партнер Нефть" [23:18:04]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:18:04]line СНО: Общий режим [23:18:04]line Чек 84 24.09.2024 23:18 [23:18:04]line Смена: 182 ФФД: 1.0 [23:18:04]line ЗНМ: 0300000010 [23:18:04]line РНМ: 0000000000152968 [23:18:04]line Версия ККМ: v1.0 [23:18:04]line ФМ: 0000000000959456 [23:18:04]line ФД: 18914 [23:18:04]line ФПД: 169871564339429 [23:18:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T231805&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18914&fm=169871564339429&tin=02508201610067®Number=0000000000152968&sum=54000 [23:18:04]OFD Sender: Processing packet 18914 [packets to send 7, broken 6] [23:18:04]ProducePacketName [23:18:04]name=ofd_packets/00018914 [23:18:04]OFD Sender: To server: pG, [23:18:04]CommunicateWithHost lk.salyk.kg:30040 [23:18:04]ConnectInit lk.salyk.kg [23:18:04]written 0, free lines is 4095 [23:18:04]Connected sock=8 [23:18:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 EF 2D 07 01 C3 53 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 22 1F 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 15 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 AD 48 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E2 49 00 00 35 04 06 00 9A 7F 4E 3F F8 E5 7B 77 76 BE 60 BC 18 CA [23:18:04]Write to MH i2c: 01 00 00 52 10 62 [23:18:04]Write i2c OK [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: 01 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: 01 07 00 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: 01 07 00 52 10 00 00 00 00 00 EF 0C 64 [23:18:04]RasterBufferAndPrint [23:18:04]line [23:18:04]line [23:18:04]line [23:18:04]line [23:18:04]line [23:18:04]written 0, free lines is 3317 [23:18:04]MH_Cut [23:18:04]Write to MH i2c: D1 01 00 59 10 01 3B [23:18:04]Write i2c OK [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: D1 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: D1 01 00 [23:18:04]MH_I2C_Read... [23:18:04]Read from MH i2c: D1 01 00 59 10 00 3A [23:18:04]Write to MH i2c: 01 00 00 5A 10 6A [23:18:04]Write i2c OK [23:18:04]MH_I2C_Read... [23:18:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 09 C1 47 00 8D 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E2 49 00 00 F4 03 04 00 0C F2 F2 66 B6 04 01 00 00 F9 30 D4 47 33 8B 84 42 [23:18:04]CommunicateWithHost err = 0 [23:18:04]CheckOFDResponse [23:18:04]1017 (14) - 77093643461234 [23:18:04]1041 (16) - 0000000000959456 [23:18:04]1040 (4) - 18914 [23:18:04]1012 (4) - 24.09.2024 17:08 [23:18:04]1206 (1) - 0 [23:18:04]OFD Sender: Remove packet 18914 [23:18:04]ProducePacketName [23:18:04]name=ofd_packets/00018914 [23:18:04]NVStorageDeleteData [23:18:05]OFD Sender: No OFD packet to send [23:18:05]*** Cut start [23:18:05]*** Partial cut [23:18:05]*** CUTSNS_PIN = 1 [23:18:05]*** CUTSNS_PIN = 0 [23:18:05]*** Brake cut motor [23:18:06]Read from MH i2c: 01 [23:18:06]MH_I2C_Read... [23:18:06]*** Stop cut motor [23:18:06]*** Cut end [23:18:06]Read from MH i2c: 01 07 00 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: 01 07 00 5A 10 00 00 00 00 00 FF 0F 7F [23:18:06]process_action close_receipt done [23:18:06]requested_data is exist [23:18:06]produce_requested_data [23:18:06]requested_item fm.sn is exist - process it [23:18:06]wFMCommunicate request_size=4 [23:18:06]MH_SAM_APDU [23:18:06]CAPDU: 80 11 00 00 [23:18:06]Write to MH i2c: E2 08 00 5B 10 80 11 00 00 00 00 00 00 E5 [23:18:06]Write i2c OK [23:18:06]MH_I2C_Read... [23:18:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:18:06]Read from MH i2c: E2 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: E2 17 00 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: E2 17 00 5B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3E [23:18:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:18:06]wFMCommunicate OK [23:18:06]requested_item fd.num is exist - process it [23:18:06]SAM_PROTO_GetFieldsCounters [23:18:06]wFMCommunicate request_size=4 [23:18:06]MH_SAM_APDU [23:18:06]CAPDU: 80 13 00 00 [23:18:06]Write to MH i2c: E2 08 00 5C 10 80 13 00 00 00 00 00 00 E8 [23:18:06]Write i2c OK [23:18:06]MH_I2C_Read... [23:18:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:18:06]Read from MH i2c: E2 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: E2 62 00 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: E2 62 00 5C 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E2 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [23:18:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E2 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:18:06]wFMCommunicate OK [23:18:06]SAM_PROTO_GetFieldsCounters done [23:18:06]requested_item shift.num is exist - process it [23:18:06]requested_item shift.opened is exist - process it [23:18:06]req_shift_opened [23:18:06]FM_GetShiftState [23:18:06]SAM_PROTO_GetShiftState [23:18:06]wFMCommunicate request_size=4 [23:18:06]MH_SAM_APDU [23:18:06]CAPDU: 80 13 01 00 [23:18:06]Write to MH i2c: E2 08 00 5D 10 80 13 01 00 00 00 00 00 EA [23:18:06]Write i2c OK [23:18:06]MH_I2C_Read... [23:18:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:18:06]Read from MH i2c: E2 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: E2 0E 00 [23:18:06]MH_I2C_Read... [23:18:06]Read from MH i2c: E2 0E 00 5D 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 21 [23:18:06]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:18:06]wFMCommunicate OK [23:18:06]SAM_PROTO_GetShiftState done [23:18:06]FM_GetShiftState done [23:18:06]req_shift_opened done [23:18:06]requested_item shift.open_date is exist - process it [23:18:06]req_shift_open_date [23:18:06]req_shift_open_date done [23:18:06]produce_requested_data done [23:18:06]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18914,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:18:06]process_action_free close_receipt [23:18:06]json_value_free [23:18:06]json_value_free done [23:18:06]process_json_proto returns [23:18:06]Send response to host [23:18:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18914,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:18:06]free response buf [23:18:06]execute_script done [23:18:06]execute_script returns [23:18:06]free content buf [23:18:06]Sock 9.Close socket [23:18:06]Sock 9.Thread stoped [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]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:53]accept exits with 10 [23:29:53]New connection [23:29:53]New thread 3066903908 created [23:29:53]Thread 3067047268 joined [23:29:53]Waiting for new connection... [23:29:53] Sock 10.Parse request [23:29:53]Sock 10.Check first char [23:29:53]Sock 10.First char is OK [23:29:53]request: POST /json_proto HTTP/1.0 [23:29:53]Method: POST [23:29:53]URL: /json_proto [23:29:53]Method is POST - this is cgi request [23:29:53]url: /json_proto [23:29:53]query_string will be loaded in cgi processing [23:29:53]execute_cgi json_proto POST (null) [23:29:53]execute_cgi path=json_proto method=POST [23:29:53]POST find Content-Length [23:29:53]Host: 172.17.62.196:8080 [23:29:53]Content-Length: 664 [23:29:53]Content-Type: application/json [23:29:53] [23:29:53]POST finish read [23:29:53]Found Content-Length = 664 [23:29:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16833", "tax_sys" : 0, "items" : [ { "code": "4700000481514", "name": "\u041F\u0418\u0412\u041E \u0421\u0412\u0415\u0422\u041B\u041E\u0415 URBAN 312 1,0 \u043B \u041F\u042D\u0422", "price" : 176.00, "quantity" : 1.000, "sum" : 176.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 176.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:29:53]execute_script... [23:29: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)16833", "tax_sys" : 0, "items" : [ { "code": "4700000481514", "name": "\u041F\u0418\u0412\u041E \u0421\u0412\u0415\u0422\u041B\u041E\u0415 URBAN 312 1,0 \u043B \u041F\u042D\u0422", "price" : 176.00, "quantity" : 1.000, "sum" : 176.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 176.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:29:53]POST & json_proto [23:29:53]process_json_proto [23:29:53]json parsed OK: [23:29:53]protocol is kg_v1.0 [23:29:53]action value=close_receipt [23:29:53]process_action close_receipt [23:29:53]cmd_close_receipt [23:29:53]MH_GetDate [23:29:53]Write to MH i2c: F0 00 00 5E 10 5D [23:29:53]Write i2c OK [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: F0 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: F0 09 00 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: F0 09 00 5E 10 00 74 4B F3 66 CE CC 0E 66 8C [23:29:53]GetLastDocTimeStamp 1727219885 [23:29:53]current date 1727220596 [23:29:53]FM_GetShiftState [23:29:53]SAM_PROTO_GetShiftState [23:29:53]wFMCommunicate request_size=4 [23:29:53]MH_SAM_APDU [23:29:53]CAPDU: 80 13 01 00 [23:29:53]Write to MH i2c: E2 08 00 5F 10 80 13 01 00 00 00 00 00 EC [23:29:53]Write i2c OK [23:29:53]MH_I2C_Read... [23:29:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:53]Read from MH i2c: E2 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 0E 00 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 0E 00 5F 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 23 [23:29:53]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:29:53]wFMCommunicate OK [23:29:53]SAM_PROTO_GetShiftState done [23:29:53]FM_GetShiftState done [23:29:53]opened in 1727136720 [23:29:53]opened+sec_in_day 1727223120 [23:29:53]quantity*price = 17600 [23:29:53]sum+1 = 17601 [23:29:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 176.00 НСП 1% : 1.56 НДС 12% : 18.69 Наличными: 176.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 85 24.09.2024 23:29 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18915 ФПД: 222634041948308 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T232956&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18915&fm=222634041948308&tin=02508201610067®Number=0000000000152968&sum=17600 0 [23:29:54]StoreToDocumentArchive [23:29:54]shift 182 fd 18915 [23:29:54]save to /storage/0182/doc_00018915 [23:29:54]save last doc name /storage/0182/doc_00018915 to /storage/kkm_last_doc_name [23:29:54]save OK [23:29:54]Clear old archive folders... [23:29:54]ProcessDocumentItem done err = 0, tmpTLVsize=289 [23:29:54]tlvbuf is 018BBAF0 [23:29:54]SAM_PROTO_ClearQueue [23:29:54]wFMCommunicate request_size=4 [23:29:54]MH_SAM_APDU [23:29:54]CAPDU: 80 09 00 00 [23:29:54]Write to MH i2c: E2 08 00 6C 10 80 09 00 00 00 00 00 00 EE [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:29:54]Read from MH i2c: E2 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 6C 10 00 90 00 F0 [23:29:54]RAPDU: 90 00 [23:29:54]wFMCommunicate OK [23:29:54]SAM_PROTO_ClearQueue done [23:29:54]KKMCreateOFDPacket [23:29:54]OFDProtocolAddRootSTLVToBuf [23:29:54]FM_MakeSignedData [23:29:54]FM_MakeSignedData [23:29:54]SAM_PROTO_SignData [23:29:54]wFMCommunicate request_size=4 [23:29:54]MH_SAM_APDU [23:29:54]CAPDU: 80 0D 01 02 [23:29:54]Write to MH i2c: E2 08 00 6D 10 80 0D 01 02 00 00 00 00 F6 [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:29:54]Read from MH i2c: E2 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 6D 10 00 90 00 F1 [23:29:54]RAPDU: 90 00 [23:29:54]wFMCommunicate OK [23:29:54]wFMCommunicate request_size=255 [23:29:54]MH_SAM_APDU [23:29:54]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 35 31 34 06 04 2F 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 31 2C 30 20 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 C0 44 00 00 00 00 13 04 06 00 C0 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 07 00 00 00 00 07 04 06 00 C0 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 74 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 [23:29:54]Write to MH i2c: E2 02 01 6E 10 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 35 31 34 06 04 2F 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 31 2C 30 20 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 C0 44 00 00 00 00 13 04 06 00 C0 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 07 00 00 00 00 07 04 06 00 C0 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 74 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 00 00 D4 [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:54]Read from MH i2c: E2 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 6E 10 00 90 00 F2 [23:29:54]RAPDU: 90 00 [23:29:54]wFMCommunicate OK [23:29:54]wFMCommunicate request_size=48 [23:29:54]MH_SAM_APDU [23:29:54]CAPDU: 80 0D 02 02 2B 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E3 49 00 00 35 04 06 00 CA 7C 06 FC 38 94 [23:29:54]Write to MH i2c: E2 33 00 6F 10 80 0D 02 02 2B 00 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E3 49 00 00 35 04 06 00 CA 7C 06 FC 38 94 00 00 3F [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:54]Read from MH i2c: E2 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 03 00 6F 10 00 90 00 F3 [23:29:54]RAPDU: 90 00 [23:29:54]wFMCommunicate OK [23:29:54]wFMCommunicate request_size=4 [23:29:54]MH_SAM_APDU [23:29:54]CAPDU: 80 0D 03 02 [23:29:54]Write to MH i2c: E2 08 00 70 10 80 0D 03 02 00 00 00 00 FB [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:29:54]Read from MH i2c: E2 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 0B 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 0B 00 70 10 00 66 2A 9A EB F8 BA DB E0 90 00 7E [23:29:54]RAPDU: 66 2A 9A EB F8 BA DB E0 90 00 [23:29:54]wFMCommunicate OK [23:29:54]SAM_PROTO_SignData done [23:29:54]FM_MakeSignedData done [23:29:54]CreateOFDProtocolMessage [23:29:54]wFMCommunicate request_size=4 [23:29:54]MH_SAM_APDU [23:29:54]CAPDU: 80 11 00 00 [23:29:54]Write to MH i2c: E2 08 00 71 10 80 11 00 00 00 00 00 00 FB [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:54]Read from MH i2c: E2 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 17 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: E2 17 00 71 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 54 [23:29:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:29:54]wFMCommunicate OK [23:29:54]CreateOFDProtocolMessage done [23:29:54]OFDSenderStorePacket 18915 [23:29:54]StoreOFDPacket docnum=18915 [23:29:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 01 00 00 CA BA 2D 01 77 0B 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 35 31 34 06 04 2F 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 31 2C 30 20 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 C0 44 00 00 00 00 13 04 06 00 C0 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 07 00 00 00 00 07 04 06 00 C0 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 74 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E3 49 00 00 35 04 06 00 CA 7C 06 FC 38 94 66 2A 9A EB F8 BA DB E0 [23:29:54]CheckFolder [23:29:54]dirname=/storage/ofd_packets [23:29:54]CheckFolder done [23:29:54]ProducePacketName [23:29:54]name=ofd_packets/00018915 [23:29:54]NVStorageSaveData ofd_packets/00018915 [23:29:54]File name is /storage/ofd_packets/00018915 [23:29:54]Write 339 bytes [23:29:54]NVStorageSaveData done [23:29:54]OFDSenderStorePacket done [23:29:54]KKMCreateOFDPacket done [23:29:54]NVStorageSaveData kkm_last_timestamp [23:29:54]File name is /storage/kkm_last_timestamp [23:29:54]Write 4 bytes [23:29:54]NVStorageSaveData done [23:29:54]ExternCall_PrintAddStr [23:29:54]wPrintStart [23:29:54]Write to MH i2c: 01 00 00 72 10 82 [23:29:54]Write i2c OK [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: 01 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: 01 07 00 [23:29:54]MH_I2C_Read... [23:29:54]Read from MH i2c: 01 07 00 72 10 00 00 00 00 00 FF 0F 97 [23:29:54]RasterBufferAndPrint [23:29:54]line Счет N : (3)16833 [23:29:54]line ИНН: 02508201610067 [23:29:54]line Контрольно-Кассовый Чек [23:29:54]line ПРОДАЖА [23:29:54]line Товар: 4700000481514 [23:29:54]line ПИВО СВЕТЛОЕ URBAN 312 1,0 л ПЭТ [23:29:54]line 1.000 * 176.00 [23:29:54]line = 176.00 [23:29:54]line НДС 12% НСП 1% [23:29:54]line > о реализуемом товаре [23:29:54]line ИТОГО: 176.00 [23:29:54]line НСП 1% : 1.56 [23:29:54]line НДС 12% : 18.69 [23:29:54]line Наличными: 176.00 [23:29:54]line Безнал.: 0.00 [23:29:54]line Место: АЗС № 176 "Партнер Нефть" [23:29:54]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:29:54]line СНО: Общий режим [23:29:54]line Чек 85 24.09.2024 23:29 [23:29:54]line Смена: 182 ФФД: 1.0 [23:29:54]line ЗНМ: 0300000010 [23:29:54]line РНМ: 0000000000152968 [23:29:54]line Версия ККМ: v1.0 [23:29:54]line ФМ: 0000000000959456 [23:29:54]line ФД: 18915 [23:29:54]line ФПД: 222634041948308 [23:29:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T232956&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18915&fm=222634041948308&tin=02508201610067®Number=0000000000152968&sum=17600 [23:29:55]line 0 [23:29:55]OFD Sender: Processing packet 18915 [packets to send 7, broken 6] [23:29:55]ProducePacketName [23:29:55]name=ofd_packets/00018915 [23:29:55]OFD Sender: To server: pG, [23:29:55]CommunicateWithHost lk.salyk.kg:30040 [23:29:55]ConnectInit lk.salyk.kg [23:29:55]written 0, free lines is 4095 [23:29:55]Connected sock=9 [23:29:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 01 00 00 CA BA 2D 01 77 0B 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 35 31 34 06 04 2F 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 31 2C 30 20 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 C0 44 00 00 00 00 13 04 06 00 C0 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 07 00 00 00 00 07 04 06 00 C0 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 74 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E3 49 00 00 35 04 06 00 CA 7C 06 FC 38 94 66 2A 9A EB F8 BA DB E0 [23:29:55]Write to MH i2c: 01 00 00 9B 10 AB [23:29:55]Write i2c OK [23:29:55]MH_I2C_Read... [23:29:55]Read from MH i2c: 01 [23:29:55]MH_I2C_Read... [23:29:55]Read from MH i2c: 01 07 00 [23:29:55]MH_I2C_Read... [23:29:55]Read from MH i2c: 01 07 00 9B 10 00 00 00 00 00 03 0D C2 [23:29:55]RasterBufferAndPrint [23:29:55]line [23:29:55]line [23:29:55]line [23:29:55]line [23:29:55]line [23:29:55]written 0, free lines is 3340 [23:29:55]MH_Cut [23:29:55]Write to MH i2c: D1 01 00 A2 10 01 84 [23:29:55]Write i2c OK [23:29:55]MH_I2C_Read... [23:29:55]Read from MH i2c: D1 [23:29:55]MH_I2C_Read... [23:29:55]Read from MH i2c: D1 01 00 [23:29:55]MH_I2C_Read... [23:29:55]Read from MH i2c: D1 01 00 A2 10 00 83 [23:29:55]Write to MH i2c: 01 00 00 A3 10 B3 [23:29:55]Write i2c OK [23:29:55]MH_I2C_Read... [23:29:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 91 4E 47 00 C4 DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E3 49 00 00 F4 03 04 00 D3 F4 F2 66 B6 04 01 00 00 40 E4 7B 48 46 14 25 6C [23:29:55]CommunicateWithHost err = 0 [23:29:55]CheckOFDResponse [23:29:55]1017 (14) - 77093643461234 [23:29:55]1041 (16) - 0000000000959456 [23:29:55]1040 (4) - 18915 [23:29:55]1012 (4) - 24.09.2024 17:20 [23:29:55]1206 (1) - 0 [23:29:55]OFD Sender: Remove packet 18915 [23:29:55]ProducePacketName [23:29:55]name=ofd_packets/00018915 [23:29:55]NVStorageDeleteData [23:29:56]OFD Sender: No OFD packet to send [23:29:56]*** Cut start [23:29:56]*** Partial cut [23:29:56]*** CUTSNS_PIN = 1 [23:29:56]*** CUTSNS_PIN = 0 [23:29:56]*** Brake cut motor [23:29:56]Read from MH i2c: 01 [23:29:56]MH_I2C_Read... [23:29:56]*** Stop cut motor [23:29:56]*** Cut end [23:29:56]Read from MH i2c: 01 07 00 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: 01 07 00 A3 10 00 00 00 00 00 FF 0F C8 [23:29:56]process_action close_receipt done [23:29:56]requested_data is exist [23:29:56]produce_requested_data [23:29:56]requested_item fm.sn is exist - process it [23:29:56]wFMCommunicate request_size=4 [23:29:56]MH_SAM_APDU [23:29:56]CAPDU: 80 11 00 00 [23:29:56]Write to MH i2c: E2 08 00 A4 10 80 11 00 00 00 00 00 00 2E [23:29:56]Write i2c OK [23:29:56]MH_I2C_Read... [23:29:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:56]Read from MH i2c: E2 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: E2 17 00 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: E2 17 00 A4 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 87 [23:29:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:29:56]wFMCommunicate OK [23:29:56]requested_item fd.num is exist - process it [23:29:56]SAM_PROTO_GetFieldsCounters [23:29:56]wFMCommunicate request_size=4 [23:29:56]MH_SAM_APDU [23:29:56]CAPDU: 80 13 00 00 [23:29:56]Write to MH i2c: E2 08 00 A5 10 80 13 00 00 00 00 00 00 31 [23:29:56]Write i2c OK [23:29:56]MH_I2C_Read... [23:29:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:29:56]Read from MH i2c: E2 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: E2 62 00 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: E2 62 00 A5 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E3 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [23:29:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E3 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:29:56]wFMCommunicate OK [23:29:56]SAM_PROTO_GetFieldsCounters done [23:29:56]requested_item shift.num is exist - process it [23:29:56]requested_item shift.opened is exist - process it [23:29:56]req_shift_opened [23:29:56]FM_GetShiftState [23:29:56]SAM_PROTO_GetShiftState [23:29:56]wFMCommunicate request_size=4 [23:29:56]MH_SAM_APDU [23:29:56]CAPDU: 80 13 01 00 [23:29:56]Write to MH i2c: E2 08 00 A6 10 80 13 01 00 00 00 00 00 33 [23:29:56]Write i2c OK [23:29:56]MH_I2C_Read... [23:29:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:56]Read from MH i2c: E2 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: E2 0E 00 [23:29:56]MH_I2C_Read... [23:29:56]Read from MH i2c: E2 0E 00 A6 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 6A [23:29:56]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:29:56]wFMCommunicate OK [23:29:56]SAM_PROTO_GetShiftState done [23:29:56]FM_GetShiftState done [23:29:56]req_shift_opened done [23:29:56]requested_item shift.open_date is exist - process it [23:29:56]req_shift_open_date [23:29:56]req_shift_open_date done [23:29:56]produce_requested_data done [23:29:56]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18915,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:29:56]process_action_free close_receipt [23:29:56]json_value_free [23:29:56]json_value_free done [23:29:56]process_json_proto returns [23:29:56]Send response to host [23:29:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18915,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:29:56]free response buf [23:29:56]execute_script done [23:29:56]execute_script returns [23:29:56]free content buf [23:29:56]Sock 10.Close socket [23:29:56]Sock 10.Thread stoped [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:23]accept exits with 8 [23:30:23]New connection [23:30:23]New thread 3067047268 created [23:30:23]Thread 3066903908 joined [23:30:23]Waiting for new connection... [23:30:23] Sock 8.Parse request [23:30:23]Sock 8.Check first char [23:30:23]Sock 8.First char is OK [23:30:23]request: POST /json_proto HTTP/1.0 [23:30:23]Method: POST [23:30:23]URL: /json_proto [23:30:23]Method is POST - this is cgi request [23:30:23]url: /json_proto [23:30:23]query_string will be loaded in cgi processing [23:30:23]execute_cgi json_proto POST (null) [23:30:23]execute_cgi path=json_proto method=POST [23:30:23]POST find Content-Length [23:30:23]Host: 172.17.62.196:8080 [23:30:23]Content-Length: 621 [23:30:23]Content-Type: application/json [23:30:23] [23:30:23]POST finish read [23:30:23]Found Content-Length = 621 [23:30:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16834", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 156.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:23]execute_script... [23:30: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)16834", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 156.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:23]POST & json_proto [23:30:23]process_json_proto [23:30:23]json parsed OK: [23:30:23]protocol is kg_v1.0 [23:30:23]action value=close_receipt [23:30:23]process_action close_receipt [23:30:23]cmd_close_receipt [23:30:23]MH_GetDate [23:30:23]Write to MH i2c: F0 00 00 A7 10 A6 [23:30:23]Write i2c OK [23:30:23]MH_I2C_Read... [23:30:23]Read from MH i2c: F0 [23:30:23]MH_I2C_Read... [23:30:23]Read from MH i2c: F0 09 00 [23:30:23]MH_I2C_Read... [23:30:23]Read from MH i2c: F0 09 00 A7 10 00 93 4B F3 66 CE CC 0E 66 F4 [23:30:23]GetLastDocTimeStamp 1727220596 [23:30:23]current date 1727220627 [23:30:23]FM_GetShiftState [23:30:23]SAM_PROTO_GetShiftState [23:30:23]wFMCommunicate request_size=4 [23:30:23]MH_SAM_APDU [23:30:23]CAPDU: 80 13 01 00 [23:30:23]Write to MH i2c: E2 08 00 A8 10 80 13 01 00 00 00 00 00 35 [23:30:23]Write i2c OK [23:30:23]MH_I2C_Read... [23:30:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:23]Read from MH i2c: E2 [23:30:23]MH_I2C_Read... [23:30:23]Read from MH i2c: E2 0E 00 [23:30:23]MH_I2C_Read... [23:30:23]Read from MH i2c: E2 0E 00 A8 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 6C [23:30:23]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:30:23]wFMCommunicate OK [23:30:23]SAM_PROTO_GetShiftState done [23:30:23]FM_GetShiftState done [23:30:23]opened in 1727136720 [23:30:23]opened+sec_in_day 1727223120 [23:30:23]quantity*price = 15600 [23:30:23]sum+1 = 15601 [23:30:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 156.00 НСП 1% : 1.38 НДС 12% : 16.57 Наличными: 156.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 86 24.09.2024 23:30 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18916 ФПД: 123406148467689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T233027&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18916&fm=123406148467689&tin=02508201610067®Number=0000000000152968&sum=15600 0 [23:30:25]StoreToDocumentArchive [23:30:25]shift 182 fd 18916 [23:30:25]save to /storage/0182/doc_00018916 [23:30:25]save last doc name /storage/0182/doc_00018916 to /storage/kkm_last_doc_name [23:30:25]save OK [23:30:25]Clear old archive folders... [23:30:25]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:30:25]tlvbuf is 018BB860 [23:30:25]SAM_PROTO_ClearQueue [23:30:25]wFMCommunicate request_size=4 [23:30:25]MH_SAM_APDU [23:30:25]CAPDU: 80 09 00 00 [23:30:25]Write to MH i2c: E2 08 00 B5 10 80 09 00 00 00 00 00 00 37 [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:30:25]Read from MH i2c: E2 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 B5 10 00 90 00 39 [23:30:25]RAPDU: 90 00 [23:30:25]wFMCommunicate OK [23:30:25]SAM_PROTO_ClearQueue done [23:30:25]KKMCreateOFDPacket [23:30:25]OFDProtocolAddRootSTLVToBuf [23:30:25]FM_MakeSignedData [23:30:25]FM_MakeSignedData [23:30:25]SAM_PROTO_SignData [23:30:25]wFMCommunicate request_size=4 [23:30:25]MH_SAM_APDU [23:30:25]CAPDU: 80 0D 01 02 [23:30:25]Write to MH i2c: E2 08 00 B6 10 80 0D 01 02 00 00 00 00 3F [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:30:25]Read from MH i2c: E2 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 B6 10 00 90 00 3A [23:30:25]RAPDU: 90 00 [23:30:25]wFMCommunicate OK [23:30:25]wFMCommunicate request_size=255 [23:30:25]MH_SAM_APDU [23:30:25]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 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 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 56 00 00 00 F4 03 04 00 93 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [23:30:25]Write to MH i2c: E2 02 01 B7 10 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 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 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 56 00 00 00 F4 03 04 00 93 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 63 [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:25]Read from MH i2c: E2 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 B7 10 00 90 00 3B [23:30:25]RAPDU: 90 00 [23:30:25]wFMCommunicate OK [23:30:25]wFMCommunicate request_size=33 [23:30:25]MH_SAM_APDU [23:30:25]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E4 49 00 00 35 04 06 00 70 3C BB A4 7B E9 [23:30:25]Write to MH i2c: E2 24 00 B8 10 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E4 49 00 00 35 04 06 00 70 3C BB A4 7B E9 00 00 73 [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:25]Read from MH i2c: E2 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 03 00 B8 10 00 90 00 3C [23:30:25]RAPDU: 90 00 [23:30:25]wFMCommunicate OK [23:30:25]wFMCommunicate request_size=4 [23:30:25]MH_SAM_APDU [23:30:25]CAPDU: 80 0D 03 02 [23:30:25]Write to MH i2c: E2 08 00 B9 10 80 0D 03 02 00 00 00 00 44 [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:30:25]Read from MH i2c: E2 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 0B 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 0B 00 B9 10 00 47 A1 C1 93 BD 71 A6 23 90 00 78 [23:30:25]RAPDU: 47 A1 C1 93 BD 71 A6 23 90 00 [23:30:25]wFMCommunicate OK [23:30:25]SAM_PROTO_SignData done [23:30:25]FM_MakeSignedData done [23:30:25]CreateOFDProtocolMessage [23:30:25]wFMCommunicate request_size=4 [23:30:25]MH_SAM_APDU [23:30:25]CAPDU: 80 11 00 00 [23:30:25]Write to MH i2c: E2 08 00 BA 10 80 11 00 00 00 00 00 00 44 [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:25]Read from MH i2c: E2 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 17 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: E2 17 00 BA 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9D [23:30:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:30:25]wFMCommunicate OK [23:30:25]CreateOFDProtocolMessage done [23:30:25]OFDSenderStorePacket 18916 [23:30:25]StoreOFDPacket docnum=18916 [23:30:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 E3 BC 1E 01 91 F5 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 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 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 56 00 00 00 F4 03 04 00 93 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E4 49 00 00 35 04 06 00 70 3C BB A4 7B E9 47 A1 C1 93 BD 71 A6 23 [23:30:25]CheckFolder [23:30:25]dirname=/storage/ofd_packets [23:30:25]CheckFolder done [23:30:25]ProducePacketName [23:30:25]name=ofd_packets/00018916 [23:30:25]NVStorageSaveData ofd_packets/00018916 [23:30:25]File name is /storage/ofd_packets/00018916 [23:30:25]Write 324 bytes [23:30:25]NVStorageSaveData done [23:30:25]OFDSenderStorePacket done [23:30:25]KKMCreateOFDPacket done [23:30:25]NVStorageSaveData kkm_last_timestamp [23:30:25]File name is /storage/kkm_last_timestamp [23:30:25]Write 4 bytes [23:30:25]NVStorageSaveData done [23:30:25]ExternCall_PrintAddStr [23:30:25]wPrintStart [23:30:25]Write to MH i2c: 01 00 00 BB 10 CB [23:30:25]Write i2c OK [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: 01 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: 01 07 00 [23:30:25]MH_I2C_Read... [23:30:25]Read from MH i2c: 01 07 00 BB 10 00 00 00 00 00 FF 0F E0 [23:30:25]RasterBufferAndPrint [23:30:25]line Счет N : (3)16834 [23:30:25]line ИНН: 02508201610067 [23:30:25]line Контрольно-Кассовый Чек [23:30:25]line ПРОДАЖА [23:30:25]line Товар: 48741958 [23:30:25]line Сигареты Parliament Aqua Blue [23:30:25]line 1.000 * 156.00 [23:30:25]line = 156.00 [23:30:25]line НДС 12% НСП 1% [23:30:25]line > о реализуемом товаре [23:30:25]line ИТОГО: 156.00 [23:30:25]line НСП 1% : 1.38 [23:30:25]line НДС 12% : 16.57 [23:30:25]line Наличными: 156.00 [23:30:25]line Безнал.: 0.00 [23:30:25]line Место: АЗС № 176 "Партнер Нефть" [23:30:25]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:30:25]line СНО: Общий режим [23:30:25]line Чек 86 24.09.2024 23:30 [23:30:25]line Смена: 182 ФФД: 1.0 [23:30:25]line ЗНМ: 0300000010 [23:30:25]line РНМ: 0000000000152968 [23:30:25]line Версия ККМ: v1.0 [23:30:25]line ФМ: 0000000000959456 [23:30:25]line ФД: 18916 [23:30:25]line ФПД: 123406148467689 [23:30:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T233027&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18916&fm=123406148467689&tin=02508201610067®Number=0000000000152968&sum=15600 [23:30:25]line 0 [23:30:25]OFD Sender: Processing packet 18916 [packets to send 7, broken 6] [23:30:25]ProducePacketName [23:30:25]name=ofd_packets/00018916 [23:30:25]OFD Sender: To server: pG, [23:30:25]CommunicateWithHost lk.salyk.kg:30040 [23:30:25]ConnectInit lk.salyk.kg [23:30:25]written 0, free lines is 4095 [23:30:26]Connected sock=10 [23:30:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 E3 BC 1E 01 91 F5 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 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 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 56 00 00 00 F4 03 04 00 93 4B F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E4 49 00 00 35 04 06 00 70 3C BB A4 7B E9 47 A1 C1 93 BD 71 A6 23 [23:30:26]Write to MH i2c: 01 00 00 E4 10 F4 [23:30:26]Write i2c OK [23:30:26]MH_I2C_Read... [23:30:26]Read from MH i2c: 01 [23:30:26]MH_I2C_Read... [23:30:26]Read from MH i2c: 01 07 00 [23:30:26]MH_I2C_Read... [23:30:26]Read from MH i2c: 01 07 00 E4 10 00 00 00 00 00 0D 0D 15 [23:30:26]RasterBufferAndPrint [23:30:26]line [23:30:26]line [23:30:26]line [23:30:26]line [23:30:26]line [23:30:26]written 0, free lines is 3350 [23:30:26]MH_Cut [23:30:26]Write to MH i2c: D1 01 00 EB 10 01 CD [23:30:26]Write i2c OK [23:30:26]MH_I2C_Read... [23:30:26]Read from MH i2c: D1 [23:30:26]MH_I2C_Read... [23:30:26]Read from MH i2c: D1 01 00 [23:30:26]MH_I2C_Read... [23:30:26]Read from MH i2c: D1 01 00 EB 10 00 CC [23:30:26]Write to MH i2c: 01 00 00 EC 10 FC [23:30:26]Write i2c OK [23:30:26]MH_I2C_Read... [23:30:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 4E B0 47 00 3E 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E4 49 00 00 F4 03 04 00 F2 F4 F2 66 B6 04 01 00 00 44 9E C5 68 03 33 98 7D [23:30:26]CommunicateWithHost err = 0 [23:30:26]CheckOFDResponse [23:30:26]1017 (14) - 77093643461234 [23:30:26]1041 (16) - 0000000000959456 [23:30:26]1040 (4) - 18916 [23:30:26]1012 (4) - 24.09.2024 17:20 [23:30:26]1206 (1) - 0 [23:30:26]OFD Sender: Remove packet 18916 [23:30:26]ProducePacketName [23:30:26]name=ofd_packets/00018916 [23:30:26]NVStorageDeleteData [23:30:26]OFD Sender: No OFD packet to send [23:30:27]*** Cut start [23:30:27]*** Partial cut [23:30:27]*** CUTSNS_PIN = 1 [23:30:27]*** CUTSNS_PIN = 0 [23:30:27]*** Brake cut motor [23:30:27]Read from MH i2c: 01 [23:30:27]MH_I2C_Read... [23:30:27]*** Stop cut motor [23:30:27]*** Cut end [23:30:27]Read from MH i2c: 01 07 00 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: 01 07 00 EC 10 00 00 00 00 00 FF 0F 11 [23:30:27]process_action close_receipt done [23:30:27]requested_data is exist [23:30:27]produce_requested_data [23:30:27]requested_item fm.sn is exist - process it [23:30:27]wFMCommunicate request_size=4 [23:30:27]MH_SAM_APDU [23:30:27]CAPDU: 80 11 00 00 [23:30:27]Write to MH i2c: E2 08 00 ED 10 80 11 00 00 00 00 00 00 77 [23:30:27]Write i2c OK [23:30:27]MH_I2C_Read... [23:30:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:27]Read from MH i2c: E2 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: E2 17 00 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: E2 17 00 ED 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D0 [23:30:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:30:27]wFMCommunicate OK [23:30:27]requested_item fd.num is exist - process it [23:30:27]SAM_PROTO_GetFieldsCounters [23:30:27]wFMCommunicate request_size=4 [23:30:27]MH_SAM_APDU [23:30:27]CAPDU: 80 13 00 00 [23:30:27]Write to MH i2c: E2 08 00 EE 10 80 13 00 00 00 00 00 00 7A [23:30:27]Write i2c OK [23:30:27]MH_I2C_Read... [23:30:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:30:27]Read from MH i2c: E2 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: E2 62 00 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: E2 62 00 EE 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E4 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [23:30:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E4 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:30:27]wFMCommunicate OK [23:30:27]SAM_PROTO_GetFieldsCounters done [23:30:27]requested_item shift.num is exist - process it [23:30:27]requested_item shift.opened is exist - process it [23:30:27]req_shift_opened [23:30:27]FM_GetShiftState [23:30:27]SAM_PROTO_GetShiftState [23:30:27]wFMCommunicate request_size=4 [23:30:27]MH_SAM_APDU [23:30:27]CAPDU: 80 13 01 00 [23:30:27]Write to MH i2c: E2 08 00 EF 10 80 13 01 00 00 00 00 00 7C [23:30:27]Write i2c OK [23:30:27]MH_I2C_Read... [23:30:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:27]Read from MH i2c: E2 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: E2 0E 00 [23:30:27]MH_I2C_Read... [23:30:27]Read from MH i2c: E2 0E 00 EF 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 B3 [23:30:27]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:30:27]wFMCommunicate OK [23:30:27]SAM_PROTO_GetShiftState done [23:30:27]FM_GetShiftState done [23:30:27]req_shift_opened done [23:30:27]requested_item shift.open_date is exist - process it [23:30:27]req_shift_open_date [23:30:27]req_shift_open_date done [23:30:27]produce_requested_data done [23:30:27]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18916,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:30:27]process_action_free close_receipt [23:30:27]json_value_free [23:30:27]json_value_free done [23:30:27]process_json_proto returns [23:30:27]Send response to host [23:30:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18916,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:30:27]free response buf [23:30:27]execute_script done [23:30:27]execute_script returns [23:30:27]free content buf [23:30:27]Sock 8.Close socket [23:30:27]Sock 8.Thread stoped [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:33]accept exits with 9 [23:33:33]New connection [23:33:33]New thread 3066903908 created [23:33:33]Thread 3067047268 joined [23:33:33]Waiting for new connection... [23:33:33] Sock 9.Parse request [23:33:33]Sock 9.Check first char [23:33:33]Sock 9.First char is OK [23:33:33]request: POST /json_proto HTTP/1.0 [23:33:33]Method: POST [23:33:33]URL: /json_proto [23:33:33]Method is POST - this is cgi request [23:33:33]url: /json_proto [23:33:33]query_string will be loaded in cgi processing [23:33:33]execute_cgi json_proto POST (null) [23:33:33]execute_cgi path=json_proto method=POST [23:33:33]POST find Content-Length [23:33:33]Host: 172.17.62.196:8080 [23:33:33]Content-Length: 650 [23:33:33]Content-Type: application/json [23:33:33] [23:33:33]POST finish read [23:33:33]Found Content-Length = 650 [23:33:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16835", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 87.00, "quantity" : 1.000, "sum" : 87.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 87.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:33]execute_script... [23:33: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)16835", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 87.00, "quantity" : 1.000, "sum" : 87.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 87.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:33]POST & json_proto [23:33:33]process_json_proto [23:33:33]json parsed OK: [23:33:33]protocol is kg_v1.0 [23:33:33]action value=close_receipt [23:33:33]process_action close_receipt [23:33:33]cmd_close_receipt [23:33:33]MH_GetDate [23:33:33]Write to MH i2c: F0 00 00 F0 10 EF [23:33:33]Write i2c OK [23:33:33]MH_I2C_Read... [23:33:33]Read from MH i2c: F0 [23:33:33]MH_I2C_Read... [23:33:33]Read from MH i2c: F0 09 00 [23:33:33]MH_I2C_Read... [23:33:33]Read from MH i2c: F0 09 00 F0 10 00 50 4C F3 66 CE CC 0E 66 FB [23:33:33]GetLastDocTimeStamp 1727220627 [23:33:33]current date 1727220816 [23:33:33]FM_GetShiftState [23:33:33]SAM_PROTO_GetShiftState [23:33:33]wFMCommunicate request_size=4 [23:33:33]MH_SAM_APDU [23:33:33]CAPDU: 80 13 01 00 [23:33:33]Write to MH i2c: E2 08 00 F1 10 80 13 01 00 00 00 00 00 7E [23:33:33]Write i2c OK [23:33:33]MH_I2C_Read... [23:33:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:33]Read from MH i2c: E2 [23:33:33]MH_I2C_Read... [23:33:33]Read from MH i2c: E2 0E 00 [23:33:33]MH_I2C_Read... [23:33:33]Read from MH i2c: E2 0E 00 F1 10 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 B5 [23:33:33]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:33:33]wFMCommunicate OK [23:33:33]SAM_PROTO_GetShiftState done [23:33:33]FM_GetShiftState done [23:33:33]opened in 1727136720 [23:33:33]opened+sec_in_day 1727223120 [23:33:33]quantity*price = 8700 [23:33:33]sum+1 = 8701 [23:33:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 87.00 НСП 1% : 0.77 НДС 12% : 9.24 Наличными: 87.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 87 24.09.2024 23:33 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18917 ФПД: 273895610996404 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T233336&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18917&fm=273895610996404&tin=02508201610067®Number=0000000000152968&sum=8700 0 [23:33:34]StoreToDocumentArchive [23:33:34]shift 182 fd 18917 [23:33:34]save to /storage/0182/doc_00018917 [23:33:34]save last doc name /storage/0182/doc_00018917 to /storage/kkm_last_doc_name [23:33:34]save OK [23:33:34]Clear old archive folders... [23:33:34]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:33:34]tlvbuf is 01899930 [23:33:34]SAM_PROTO_ClearQueue [23:33:34]wFMCommunicate request_size=4 [23:33:34]MH_SAM_APDU [23:33:34]CAPDU: 80 09 00 00 [23:33:34]Write to MH i2c: E2 08 00 FE 10 80 09 00 00 00 00 00 00 80 [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:33:34]Read from MH i2c: E2 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 FE 10 00 90 00 82 [23:33:34]RAPDU: 90 00 [23:33:34]wFMCommunicate OK [23:33:34]SAM_PROTO_ClearQueue done [23:33:34]KKMCreateOFDPacket [23:33:34]OFDProtocolAddRootSTLVToBuf [23:33:34]FM_MakeSignedData [23:33:34]FM_MakeSignedData [23:33:34]SAM_PROTO_SignData [23:33:34]wFMCommunicate request_size=4 [23:33:34]MH_SAM_APDU [23:33:34]CAPDU: 80 0D 01 02 [23:33:34]Write to MH i2c: E2 08 00 FF 10 80 0D 01 02 00 00 00 00 88 [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:33:34]Read from MH i2c: E2 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 FF 10 00 90 00 83 [23:33:34]RAPDU: 90 00 [23:33:34]wFMCommunicate OK [23:33:34]wFMCommunicate request_size=255 [23:33:34]MH_SAM_APDU [23:33:34]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 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 FC 21 00 00 00 00 13 04 06 00 FC 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 03 00 00 00 00 07 04 06 00 FC 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 57 00 00 00 F4 03 04 00 50 4C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 [23:33:34]Write to MH i2c: E2 02 01 00 11 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 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 FC 21 00 00 00 00 13 04 06 00 FC 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 03 00 00 00 00 07 04 06 00 FC 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 57 00 00 00 F4 03 04 00 50 4C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 00 00 81 [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:34]Read from MH i2c: E2 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 00 11 00 90 00 85 [23:33:34]RAPDU: 90 00 [23:33:34]wFMCommunicate OK [23:33:34]wFMCommunicate request_size=37 [23:33:34]MH_SAM_APDU [23:33:34]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E5 49 00 00 35 04 06 00 F9 1B 4A 99 56 B4 [23:33:34]Write to MH i2c: E2 28 00 01 11 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E5 49 00 00 35 04 06 00 F9 1B 4A 99 56 B4 00 00 18 [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:34]Read from MH i2c: E2 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 03 00 01 11 00 90 00 86 [23:33:34]RAPDU: 90 00 [23:33:34]wFMCommunicate OK [23:33:34]wFMCommunicate request_size=4 [23:33:34]MH_SAM_APDU [23:33:34]CAPDU: 80 0D 03 02 [23:33:34]Write to MH i2c: E2 08 00 02 11 80 0D 03 02 00 00 00 00 8E [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:33:34]Read from MH i2c: E2 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 0B 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 0B 00 02 11 00 9E 67 E1 BA 46 E7 ED EC 90 00 35 [23:33:34]RAPDU: 9E 67 E1 BA 46 E7 ED EC 90 00 [23:33:34]wFMCommunicate OK [23:33:34]SAM_PROTO_SignData done [23:33:34]FM_MakeSignedData done [23:33:34]CreateOFDProtocolMessage [23:33:34]wFMCommunicate request_size=4 [23:33:34]MH_SAM_APDU [23:33:34]CAPDU: 80 11 00 00 [23:33:34]Write to MH i2c: E2 08 00 03 11 80 11 00 00 00 00 00 00 8E [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:34]Read from MH i2c: E2 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 17 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: E2 17 00 03 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E7 [23:33:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:33:34]wFMCommunicate OK [23:33:34]CreateOFDProtocolMessage done [23:33:34]OFDSenderStorePacket 18917 [23:33:34]StoreOFDPacket docnum=18917 [23:33:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 25 31 22 01 F1 B6 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 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 FC 21 00 00 00 00 13 04 06 00 FC 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 03 00 00 00 00 07 04 06 00 FC 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 57 00 00 00 F4 03 04 00 50 4C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E5 49 00 00 35 04 06 00 F9 1B 4A 99 56 B4 9E 67 E1 BA 46 E7 ED EC [23:33:34]CheckFolder [23:33:34]dirname=/storage/ofd_packets [23:33:34]CheckFolder done [23:33:34]ProducePacketName [23:33:34]name=ofd_packets/00018917 [23:33:34]NVStorageSaveData ofd_packets/00018917 [23:33:34]File name is /storage/ofd_packets/00018917 [23:33:34]Write 328 bytes [23:33:34]NVStorageSaveData done [23:33:34]OFDSenderStorePacket done [23:33:34]KKMCreateOFDPacket done [23:33:34]NVStorageSaveData kkm_last_timestamp [23:33:34]File name is /storage/kkm_last_timestamp [23:33:34]Write 4 bytes [23:33:34]NVStorageSaveData done [23:33:34]ExternCall_PrintAddStr [23:33:34]wPrintStart [23:33:34]Write to MH i2c: 01 00 00 04 11 15 [23:33:34]Write i2c OK [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: 01 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: 01 07 00 [23:33:34]MH_I2C_Read... [23:33:34]Read from MH i2c: 01 07 00 04 11 00 00 00 00 00 FF 0F 2A [23:33:34]RasterBufferAndPrint [23:33:34]line Счет N : (3)16835 [23:33:34]line ИНН: 02508201610067 [23:33:34]line Контрольно-Кассовый Чек [23:33:34]line ПРОДАЖА [23:33:34]line Товар: 4860019001353 [23:33:34]line Вода Боржоми 0,5л ПЭТ [23:33:34]line 1.000 * 87.00 [23:33:34]line = 87.00 [23:33:34]line НДС 12% НСП 1% [23:33:34]line > о реализуемом товаре [23:33:34]line ИТОГО: 87.00 [23:33:34]line НСП 1% : 0.77 [23:33:34]line НДС 12% : 9.24 [23:33:34]line Наличными: 87.00 [23:33:34]line Безнал.: 0.00 [23:33:34]line Место: АЗС № 176 "Партнер Нефть" [23:33:34]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:33:34]line СНО: Общий режим [23:33:34]line Чек 87 24.09.2024 23:33 [23:33:34]line Смена: 182 ФФД: 1.0 [23:33:34]line ЗНМ: 0300000010 [23:33:34]line РНМ: 0000000000152968 [23:33:34]line Версия ККМ: v1.0 [23:33:34]line ФМ: 0000000000959456 [23:33:34]line ФД: 18917 [23:33:34]line ФПД: 273895610996404 [23:33:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T233336&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18917&fm=273895610996404&tin=02508201610067®Number=0000000000152968&sum=8700 [23:33:35]line 0 [23:33:35]OFD Sender: Processing packet 18917 [packets to send 7, broken 6] [23:33:35]ProducePacketName [23:33:35]name=ofd_packets/00018917 [23:33:35]OFD Sender: To server: pG, [23:33:35]CommunicateWithHost lk.salyk.kg:30040 [23:33:35]ConnectInit lk.salyk.kg [23:33:35]written 0, free lines is 4095 [23:33:35]Connected sock=10 [23:33:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 25 31 22 01 F1 B6 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 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 FC 21 00 00 00 00 13 04 06 00 FC 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 03 00 00 00 00 07 04 06 00 FC 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 57 00 00 00 F4 03 04 00 50 4C F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E5 49 00 00 35 04 06 00 F9 1B 4A 99 56 B4 9E 67 E1 BA 46 E7 ED EC [23:33:35]Write to MH i2c: 01 00 00 2C 11 3D [23:33:35]Write i2c OK [23:33:35]MH_I2C_Read... [23:33:35]Read from MH i2c: 01 [23:33:35]MH_I2C_Read... [23:33:35]Read from MH i2c: 01 07 00 [23:33:35]MH_I2C_Read... [23:33:35]Read from MH i2c: 01 07 00 2C 11 00 00 00 00 00 21 0D 72 [23:33:35]RasterBufferAndPrint [23:33:35]line [23:33:35]line [23:33:35]line [23:33:35]line [23:33:35]line [23:33:35]written 0, free lines is 3367 [23:33:35]MH_Cut [23:33:35]Write to MH i2c: D1 01 00 33 11 01 16 [23:33:35]Write i2c OK [23:33:35]MH_I2C_Read... [23:33:35]Read from MH i2c: D1 [23:33:35]MH_I2C_Read... [23:33:35]Read from MH i2c: D1 01 00 [23:33:35]MH_I2C_Read... [23:33:35]Read from MH i2c: D1 01 00 33 11 00 15 [23:33:35]Write to MH i2c: 01 00 00 34 11 45 [23:33:35]Write i2c OK [23:33:35]MH_I2C_Read... [23:33:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8B F1 47 00 2C 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 39 35 39 34 35 36 10 04 04 00 E5 49 00 00 F4 03 04 00 AF F5 F2 66 B6 04 01 00 00 77 DF CA A1 5C 57 79 F6 [23:33:35]CommunicateWithHost err = 0 [23:33:35]CheckOFDResponse [23:33:35]1017 (14) - 77093643461234 [23:33:35]1041 (16) - 0000000000959456 [23:33:35]1040 (4) - 18917 [23:33:35]1012 (4) - 24.09.2024 17:23 [23:33:35]1206 (1) - 0 [23:33:35]OFD Sender: Remove packet 18917 [23:33:35]ProducePacketName [23:33:35]name=ofd_packets/00018917 [23:33:35]NVStorageDeleteData [23:33:36]OFD Sender: No OFD packet to send [23:33:36]*** Cut start [23:33:36]*** Partial cut [23:33:36]*** CUTSNS_PIN = 1 [23:33:36]*** CUTSNS_PIN = 0 [23:33:36]*** Brake cut motor [23:33:36]Read from MH i2c: 01 [23:33:36]MH_I2C_Read... [23:33:36]*** Stop cut motor [23:33:36]*** Cut end [23:33:36]Read from MH i2c: 01 07 00 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: 01 07 00 34 11 00 00 00 00 00 FF 0F 5A [23:33:36]process_action close_receipt done [23:33:36]requested_data is exist [23:33:36]produce_requested_data [23:33:36]requested_item fm.sn is exist - process it [23:33:36]wFMCommunicate request_size=4 [23:33:36]MH_SAM_APDU [23:33:36]CAPDU: 80 11 00 00 [23:33:36]Write to MH i2c: E2 08 00 35 11 80 11 00 00 00 00 00 00 C0 [23:33:36]Write i2c OK [23:33:36]MH_I2C_Read... [23:33:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:36]Read from MH i2c: E2 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: E2 17 00 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: E2 17 00 35 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 19 [23:33:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:33:36]wFMCommunicate OK [23:33:36]requested_item fd.num is exist - process it [23:33:36]SAM_PROTO_GetFieldsCounters [23:33:36]wFMCommunicate request_size=4 [23:33:36]MH_SAM_APDU [23:33:36]CAPDU: 80 13 00 00 [23:33:36]Write to MH i2c: E2 08 00 36 11 80 13 00 00 00 00 00 00 C3 [23:33:36]Write i2c OK [23:33:36]MH_I2C_Read... [23:33:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:33:36]Read from MH i2c: E2 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: E2 62 00 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: E2 62 00 36 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E5 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [23:33:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E5 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:33:36]wFMCommunicate OK [23:33:36]SAM_PROTO_GetFieldsCounters done [23:33:36]requested_item shift.num is exist - process it [23:33:36]requested_item shift.opened is exist - process it [23:33:36]req_shift_opened [23:33:36]FM_GetShiftState [23:33:36]SAM_PROTO_GetShiftState [23:33:36]wFMCommunicate request_size=4 [23:33:36]MH_SAM_APDU [23:33:36]CAPDU: 80 13 01 00 [23:33:36]Write to MH i2c: E2 08 00 37 11 80 13 01 00 00 00 00 00 C5 [23:33:36]Write i2c OK [23:33:36]MH_I2C_Read... [23:33:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:37]Read from MH i2c: E2 [23:33:37]MH_I2C_Read... [23:33:37]Read from MH i2c: E2 0E 00 [23:33:37]MH_I2C_Read... [23:33:37]Read from MH i2c: E2 0E 00 37 11 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 FC [23:33:37]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:33:37]wFMCommunicate OK [23:33:37]SAM_PROTO_GetShiftState done [23:33:37]FM_GetShiftState done [23:33:37]req_shift_opened done [23:33:37]requested_item shift.open_date is exist - process it [23:33:37]req_shift_open_date [23:33:37]req_shift_open_date done [23:33:37]produce_requested_data done [23:33:37]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18917,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:33:37]process_action_free close_receipt [23:33:37]json_value_free [23:33:37]json_value_free done [23:33:37]process_json_proto returns [23:33:37]Send response to host [23:33:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18917,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:33:37]free response buf [23:33:37]execute_script done [23:33:37]execute_script returns [23:33:37]free content buf [23:33:37]Sock 9.Close socket [23:33:37]Sock 9.Thread stoped [23:33:41]OFD Sender: No OFD packet to send [23:33:46]OFD Sender: No OFD packet to send [23:33:51]OFD Sender: No OFD packet to send [23:33:56]OFD Sender: No OFD packet to send [23:34:01]OFD Sender: No OFD packet to send [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:37:01]OFD Sender: No OFD packet to send [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:16]OFD Sender: No OFD packet to send [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:08]accept exits with 8 [23:48:08]New connection [23:48:08]New thread 3067047268 created [23:48:08]Thread 3066903908 joined [23:48:08]Waiting for new connection... [23:48:08] Sock 8.Parse request [23:48:08]Sock 8.Check first char [23:48:08]Sock 8.First char is OK [23:48:08]request: POST /json_proto HTTP/1.0 [23:48:08]Method: POST [23:48:08]URL: /json_proto [23:48:08]Method is POST - this is cgi request [23:48:08]url: /json_proto [23:48:08]query_string will be loaded in cgi processing [23:48:08]execute_cgi json_proto POST (null) [23:48:08]execute_cgi path=json_proto method=POST [23:48:08]POST find Content-Length [23:48:08]Host: 172.17.62.196:8080 [23:48:08]Content-Length: 589 [23:48:08]Content-Type: application/json [23:48:08] [23:48:08]POST finish read [23:48:08]Found Content-Length = 589 [23:48:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16836", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 37.00, "quantity" : 1.000, "sum" : 37.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 37.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:08]execute_script... [23:48:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16836", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 37.00, "quantity" : 1.000, "sum" : 37.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 37.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:08]POST & json_proto [23:48:08]process_json_proto [23:48:08]json parsed OK: [23:48:08]protocol is kg_v1.0 [23:48:08]action value=close_receipt [23:48:08]process_action close_receipt [23:48:08]cmd_close_receipt [23:48:08]MH_GetDate [23:48:08]Write to MH i2c: F0 00 00 38 11 38 [23:48:08]Write i2c OK [23:48:08]MH_I2C_Read... [23:48:08]Read from MH i2c: F0 [23:48:08]MH_I2C_Read... [23:48:08]Read from MH i2c: F0 09 00 [23:48:08]MH_I2C_Read... [23:48:08]Read from MH i2c: F0 09 00 38 11 00 BB 4F F3 66 CE CC 0E 66 B2 [23:48:08]GetLastDocTimeStamp 1727220816 [23:48:08]current date 1727221691 [23:48:08]FM_GetShiftState [23:48:08]SAM_PROTO_GetShiftState [23:48:08]wFMCommunicate request_size=4 [23:48:08]MH_SAM_APDU [23:48:08]CAPDU: 80 13 01 00 [23:48:08]Write to MH i2c: E2 08 00 39 11 80 13 01 00 00 00 00 00 C7 [23:48:08]Write i2c OK [23:48:08]MH_I2C_Read... [23:48:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:08]Read from MH i2c: E2 [23:48:08]MH_I2C_Read... [23:48:08]Read from MH i2c: E2 0E 00 [23:48:08]MH_I2C_Read... [23:48:08]Read from MH i2c: E2 0E 00 39 11 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 FE [23:48:08]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:48:08]wFMCommunicate OK [23:48:08]SAM_PROTO_GetShiftState done [23:48:08]FM_GetShiftState done [23:48:08]opened in 1727136720 [23:48:08]opened+sec_in_day 1727223120 [23:48:08]quantity*price = 3700 [23:48:08]sum+1 = 3701 [23:48:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 37.00 НСП 1% : 0.33 НДС 12% : 3.93 Наличными: 37.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 88 24.09.2024 23:48 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18918 ФПД: 252955613339300 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T234811&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18918&fm=252955613339300&tin=02508201610067®Number=0000000000152968&sum=3700 0 [23:48:09]StoreToDocumentArchive [23:48:09]shift 182 fd 18918 [23:48:09]save to /storage/0182/doc_00018918 [23:48:09]save last doc name /storage/0182/doc_00018918 to /storage/kkm_last_doc_name [23:48:09]save OK [23:48:09]Clear old archive folders... [23:48:09]ProcessDocumentItem done err = 0, tmpTLVsize=265 [23:48:09]tlvbuf is 01899A60 [23:48:09]SAM_PROTO_ClearQueue [23:48:09]wFMCommunicate request_size=4 [23:48:09]MH_SAM_APDU [23:48:09]CAPDU: 80 09 00 00 [23:48:09]Write to MH i2c: E2 08 00 46 11 80 09 00 00 00 00 00 00 C9 [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:48:09]Read from MH i2c: E2 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 46 11 00 90 00 CB [23:48:09]RAPDU: 90 00 [23:48:09]wFMCommunicate OK [23:48:09]SAM_PROTO_ClearQueue done [23:48:09]KKMCreateOFDPacket [23:48:09]OFDProtocolAddRootSTLVToBuf [23:48:09]FM_MakeSignedData [23:48:09]FM_MakeSignedData [23:48:09]SAM_PROTO_SignData [23:48:09]wFMCommunicate request_size=4 [23:48:09]MH_SAM_APDU [23:48:09]CAPDU: 80 0D 01 02 [23:48:09]Write to MH i2c: E2 08 00 47 11 80 0D 01 02 00 00 00 00 D1 [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:48:09]Read from MH i2c: E2 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 47 11 00 90 00 CC [23:48:09]RAPDU: 90 00 [23:48:09]wFMCommunicate OK [23:48:09]wFMCommunicate request_size=255 [23:48:09]MH_SAM_APDU [23:48:09]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 01 00 00 00 00 07 04 06 00 74 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 BB 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 [23:48:09]Write to MH i2c: E2 02 01 48 11 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 01 00 00 00 00 07 04 06 00 74 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 BB 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 00 00 3D [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:09]Read from MH i2c: E2 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 48 11 00 90 00 CD [23:48:09]RAPDU: 90 00 [23:48:09]wFMCommunicate OK [23:48:09]wFMCommunicate request_size=24 [23:48:09]MH_SAM_APDU [23:48:09]CAPDU: 80 0D 02 02 13 36 10 04 04 00 E6 49 00 00 35 04 06 00 E6 0F D1 7A 1E A4 [23:48:09]Write to MH i2c: E2 1B 00 49 11 80 0D 02 02 13 00 36 10 04 04 00 E6 49 00 00 35 04 06 00 E6 0F D1 7A 1E A4 00 00 B8 [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:09]Read from MH i2c: E2 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 03 00 49 11 00 90 00 CE [23:48:09]RAPDU: 90 00 [23:48:09]wFMCommunicate OK [23:48:09]wFMCommunicate request_size=4 [23:48:09]MH_SAM_APDU [23:48:09]CAPDU: 80 0D 03 02 [23:48:09]Write to MH i2c: E2 08 00 4A 11 80 0D 03 02 00 00 00 00 D6 [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:48:09]Read from MH i2c: E2 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 0B 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 0B 00 4A 11 00 03 0E 9C 53 35 ED 0B 21 90 00 25 [23:48:09]RAPDU: 03 0E 9C 53 35 ED 0B 21 90 00 [23:48:09]wFMCommunicate OK [23:48:09]SAM_PROTO_SignData done [23:48:09]FM_MakeSignedData done [23:48:09]CreateOFDProtocolMessage [23:48:09]wFMCommunicate request_size=4 [23:48:09]MH_SAM_APDU [23:48:09]CAPDU: 80 11 00 00 [23:48:09]Write to MH i2c: E2 08 00 4B 11 80 11 00 00 00 00 00 00 D6 [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:09]Read from MH i2c: E2 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 17 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: E2 17 00 4B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2F [23:48:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:48:09]wFMCommunicate OK [23:48:09]CreateOFDProtocolMessage done [23:48:09]OFDSenderStorePacket 18918 [23:48:09]StoreOFDPacket docnum=18918 [23:48:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1D 01 00 00 82 2F 15 01 11 A2 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 01 00 00 00 00 07 04 06 00 74 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 BB 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E6 49 00 00 35 04 06 00 E6 0F D1 7A 1E A4 03 0E 9C 53 35 ED 0B 21 [23:48:09]CheckFolder [23:48:09]dirname=/storage/ofd_packets [23:48:09]CheckFolder done [23:48:09]ProducePacketName [23:48:09]name=ofd_packets/00018918 [23:48:09]NVStorageSaveData ofd_packets/00018918 [23:48:09]File name is /storage/ofd_packets/00018918 [23:48:09]Write 315 bytes [23:48:09]NVStorageSaveData done [23:48:09]OFDSenderStorePacket done [23:48:09]KKMCreateOFDPacket done [23:48:09]NVStorageSaveData kkm_last_timestamp [23:48:09]File name is /storage/kkm_last_timestamp [23:48:09]Write 4 bytes [23:48:09]NVStorageSaveData done [23:48:09]ExternCall_PrintAddStr [23:48:09]wPrintStart [23:48:09]Write to MH i2c: 01 00 00 4C 11 5D [23:48:09]Write i2c OK [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: 01 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: 01 07 00 [23:48:09]MH_I2C_Read... [23:48:09]Read from MH i2c: 01 07 00 4C 11 00 00 00 00 00 FF 0F 72 [23:48:09]RasterBufferAndPrint [23:48:09]line Счет N : (3)16836 [23:48:09]line ИНН: 02508201610067 [23:48:09]line Контрольно-Кассовый Чек [23:48:09]line ПРОДАЖА [23:48:09]line Товар: 42113164 [23:48:09]line Жев Orbit White Spearmint [23:48:09]line 1.000 * 37.00 [23:48:09]line = 37.00 [23:48:09]line НДС 12% НСП 1% [23:48:09]line > о реализуемом товаре [23:48:09]line ИТОГО: 37.00 [23:48:09]line НСП 1% : 0.33 [23:48:09]line НДС 12% : 3.93 [23:48:09]line Наличными: 37.00 [23:48:09]line Безнал.: 0.00 [23:48:09]line Место: АЗС № 176 "Партнер Нефть" [23:48:09]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:48:09]line СНО: Общий режим [23:48:09]line Чек 88 24.09.2024 23:48 [23:48:09]line Смена: 182 ФФД: 1.0 [23:48:09]line ЗНМ: 0300000010 [23:48:09]line РНМ: 0000000000152968 [23:48:09]line Версия ККМ: v1.0 [23:48:09]line ФМ: 0000000000959456 [23:48:09]line ФД: 18918 [23:48:09]line ФПД: 252955613339300 [23:48:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T234811&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18918&fm=252955613339300&tin=02508201610067®Number=0000000000152968&sum=3700 [23:48:10]line 0 [23:48:10]OFD Sender: Processing packet 18918 [packets to send 7, broken 6] [23:48:10]ProducePacketName [23:48:10]name=ofd_packets/00018918 [23:48:10]OFD Sender: To server: pG, [23:48:10]CommunicateWithHost lk.salyk.kg:30040 [23:48:10]ConnectInit lk.salyk.kg [23:48:10]written 0, free lines is 4095 [23:48:10]Connected sock=10 [23:48:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1D 01 00 00 82 2F 15 01 11 A2 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 01 00 00 00 00 07 04 06 00 74 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 BB 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E6 49 00 00 35 04 06 00 E6 0F D1 7A 1E A4 03 0E 9C 53 35 ED 0B 21 [23:48:10]Write to MH i2c: 01 00 00 74 11 85 [23:48:10]Write i2c OK [23:48:10]MH_I2C_Read... [23:48:10]Read from MH i2c: 01 [23:48:10]MH_I2C_Read... [23:48:10]Read from MH i2c: 01 07 00 [23:48:10]MH_I2C_Read... [23:48:10]Read from MH i2c: 01 07 00 74 11 00 00 00 00 00 17 0D B0 [23:48:10]RasterBufferAndPrint [23:48:10]line [23:48:10]line [23:48:10]line [23:48:10]line [23:48:10]line [23:48:10]written 0, free lines is 3357 [23:48:10]MH_Cut [23:48:10]Write to MH i2c: D1 01 00 7B 11 01 5E [23:48:10]Write i2c OK [23:48:10]MH_I2C_Read... [23:48:10]Read from MH i2c: D1 [23:48:10]MH_I2C_Read... [23:48:10]Read from MH i2c: D1 01 00 [23:48:10]MH_I2C_Read... [23:48:10]Read from MH i2c: D1 01 00 7B 11 00 5D [23:48:10]Write to MH i2c: 01 00 00 7C 11 8D [23:48:10]Write i2c OK [23:48:10]MH_I2C_Read... [23:48:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A7 22 47 00 11 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E6 49 00 00 F4 03 04 00 1A F9 F2 66 B6 04 01 00 00 CF 10 05 2F 93 98 9B 20 [23:48:10]CommunicateWithHost err = 0 [23:48:10]CheckOFDResponse [23:48:10]1017 (14) - 77093643461234 [23:48:10]1041 (16) - 0000000000959456 [23:48:10]1040 (4) - 18918 [23:48:10]1012 (4) - 24.09.2024 17:38 [23:48:10]1206 (1) - 0 [23:48:10]OFD Sender: Remove packet 18918 [23:48:10]ProducePacketName [23:48:10]name=ofd_packets/00018918 [23:48:10]NVStorageDeleteData [23:48:11]OFD Sender: No OFD packet to send [23:48:11]*** Cut start [23:48:11]*** Partial cut [23:48:11]*** CUTSNS_PIN = 1 [23:48:11]*** CUTSNS_PIN = 0 [23:48:11]*** Brake cut motor [23:48:11]Read from MH i2c: 01 [23:48:11]MH_I2C_Read... [23:48:11]*** Stop cut motor [23:48:11]*** Cut end [23:48:11]Read from MH i2c: 01 07 00 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: 01 07 00 7C 11 00 00 00 00 00 FF 0F A2 [23:48:11]process_action close_receipt done [23:48:11]requested_data is exist [23:48:11]produce_requested_data [23:48:11]requested_item fm.sn is exist - process it [23:48:11]wFMCommunicate request_size=4 [23:48:11]MH_SAM_APDU [23:48:11]CAPDU: 80 11 00 00 [23:48:11]Write to MH i2c: E2 08 00 7D 11 80 11 00 00 00 00 00 00 08 [23:48:11]Write i2c OK [23:48:11]MH_I2C_Read... [23:48:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:11]Read from MH i2c: E2 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: E2 17 00 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: E2 17 00 7D 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 61 [23:48:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:48:11]wFMCommunicate OK [23:48:11]requested_item fd.num is exist - process it [23:48:11]SAM_PROTO_GetFieldsCounters [23:48:11]wFMCommunicate request_size=4 [23:48:11]MH_SAM_APDU [23:48:11]CAPDU: 80 13 00 00 [23:48:11]Write to MH i2c: E2 08 00 7E 11 80 13 00 00 00 00 00 00 0B [23:48:11]Write i2c OK [23:48:11]MH_I2C_Read... [23:48:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:11]Read from MH i2c: E2 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: E2 62 00 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: E2 62 00 7E 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E6 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 25 [23:48:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E6 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:11]wFMCommunicate OK [23:48:11]SAM_PROTO_GetFieldsCounters done [23:48:11]requested_item shift.num is exist - process it [23:48:11]requested_item shift.opened is exist - process it [23:48:11]req_shift_opened [23:48:11]FM_GetShiftState [23:48:11]SAM_PROTO_GetShiftState [23:48:11]wFMCommunicate request_size=4 [23:48:11]MH_SAM_APDU [23:48:11]CAPDU: 80 13 01 00 [23:48:11]Write to MH i2c: E2 08 00 7F 11 80 13 01 00 00 00 00 00 0D [23:48:11]Write i2c OK [23:48:11]MH_I2C_Read... [23:48:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:11]Read from MH i2c: E2 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: E2 0E 00 [23:48:11]MH_I2C_Read... [23:48:11]Read from MH i2c: E2 0E 00 7F 11 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 44 [23:48:11]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:48:11]wFMCommunicate OK [23:48:11]SAM_PROTO_GetShiftState done [23:48:11]FM_GetShiftState done [23:48:11]req_shift_opened done [23:48:11]requested_item shift.open_date is exist - process it [23:48:11]req_shift_open_date [23:48:11]req_shift_open_date done [23:48:11]produce_requested_data done [23:48:11]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18918,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:48:11]process_action_free close_receipt [23:48:11]json_value_free [23:48:11]json_value_free done [23:48:11]process_json_proto returns [23:48:11]Send response to host [23:48:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18918,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:48:11]free response buf [23:48:11]execute_script done [23:48:11]execute_script returns [23:48:11]free content buf [23:48:11]Sock 8.Close socket [23:48:11]Sock 8.Thread stoped [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:25]accept exits with 9 [23:48:25]New connection [23:48:25]New thread 3066903908 created [23:48:25]Thread 3067047268 joined [23:48:25]Waiting for new connection... [23:48:25] Sock 9.Parse request [23:48:25]Sock 9.Check first char [23:48:25]Sock 9.First char is OK [23:48:25]request: POST /json_proto HTTP/1.0 [23:48:25]Method: POST [23:48:25]URL: /json_proto [23:48:25]Method is POST - this is cgi request [23:48:25]url: /json_proto [23:48:25]query_string will be loaded in cgi processing [23:48:25]execute_cgi json_proto POST (null) [23:48:25]execute_cgi path=json_proto method=POST [23:48:25]POST find Content-Length [23:48:25]Host: 172.17.62.196:8080 [23:48:25]Content-Length: 829 [23:48:25]Content-Type: application/json [23:48:25] [23:48:25]POST finish read [23:48:25]Found Content-Length = 829 [23:48:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16837", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:25]execute_script... [23:48: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)16837", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:25]POST & json_proto [23:48:25]process_json_proto [23:48:25]json parsed OK: [23:48:25]protocol is kg_v1.0 [23:48:25]action value=close_receipt [23:48:25]process_action close_receipt [23:48:25]cmd_close_receipt [23:48:25]MH_GetDate [23:48:25]Write to MH i2c: F0 00 00 80 11 80 [23:48:25]Write i2c OK [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: F0 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: F0 09 00 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: F0 09 00 80 11 00 CD 4F F3 66 CE CC 0E 66 0C [23:48:25]GetLastDocTimeStamp 1727221691 [23:48:25]current date 1727221709 [23:48:25]FM_GetShiftState [23:48:25]SAM_PROTO_GetShiftState [23:48:25]wFMCommunicate request_size=4 [23:48:25]MH_SAM_APDU [23:48:25]CAPDU: 80 13 01 00 [23:48:25]Write to MH i2c: E2 08 00 81 11 80 13 01 00 00 00 00 00 0F [23:48:25]Write i2c OK [23:48:25]MH_I2C_Read... [23:48:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:25]Read from MH i2c: E2 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: E2 0E 00 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: E2 0E 00 81 11 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 46 [23:48:25]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:48:25]wFMCommunicate OK [23:48:25]SAM_PROTO_GetShiftState done [23:48:25]FM_GetShiftState done [23:48:25]opened in 1727136720 [23:48:25]opened+sec_in_day 1727223120 [23:48:25]quantity*price = 6500 [23:48:25]sum+1 = 6501 [23:48:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 0.00 Безнал.: 65.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 89 24.09.2024 23:48 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18919 ФПД: 67917235543322 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T234829&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18919&fm=67917235543322&tin=02508201610067®Number=0000000000152968&sum=6500 0 [23:48:27]StoreToDocumentArchive [23:48:27]shift 182 fd 18919 [23:48:27]save to /storage/0182/doc_00018919 [23:48:27]save last doc name /storage/0182/doc_00018919 to /storage/kkm_last_doc_name [23:48:27]save OK [23:48:27]Clear old archive folders... [23:48:27]ProcessDocumentItem done err = 0, tmpTLVsize=284 [23:48:27]tlvbuf is 018BB780 [23:48:27]SAM_PROTO_ClearQueue [23:48:27]wFMCommunicate request_size=4 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 09 00 00 [23:48:27]Write to MH i2c: E2 08 00 8E 11 80 09 00 00 00 00 00 00 11 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 8E 11 00 90 00 13 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]SAM_PROTO_ClearQueue done [23:48:27]KKMCreateOFDPacket [23:48:27]OFDProtocolAddRootSTLVToBuf [23:48:27]FM_MakeSignedData [23:48:27]FM_MakeSignedData [23:48:27]SAM_PROTO_SignData [23:48:27]wFMCommunicate request_size=4 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 0D 01 02 [23:48:27]Write to MH i2c: E2 08 00 8F 11 80 0D 01 02 00 00 00 00 19 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 8F 11 00 90 00 14 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=255 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 19 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 CD 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [23:48:27]Write to MH i2c: E2 02 01 90 11 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 19 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 CD 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 2F [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 90 11 00 90 00 15 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=43 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E7 49 00 00 35 04 06 00 3D C5 36 B2 DD 1A [23:48:27]Write to MH i2c: E2 2E 00 91 11 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E7 49 00 00 35 04 06 00 3D C5 36 B2 DD 1A 00 00 1B [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 91 11 00 90 00 16 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=4 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 0D 03 02 [23:48:27]Write to MH i2c: E2 08 00 92 11 80 0D 03 02 00 00 00 00 1E [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 0B 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 0B 00 92 11 00 E2 0B FB 41 3E 95 33 F3 90 00 41 [23:48:27]RAPDU: E2 0B FB 41 3E 95 33 F3 90 00 [23:48:27]wFMCommunicate OK [23:48:27]SAM_PROTO_SignData done [23:48:27]FM_MakeSignedData done [23:48:27]CreateOFDProtocolMessage [23:48:27]wFMCommunicate request_size=4 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 11 00 00 [23:48:27]Write to MH i2c: E2 08 00 93 11 80 11 00 00 00 00 00 00 1E [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 17 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 17 00 93 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 77 [23:48:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:48:27]wFMCommunicate OK [23:48:27]CreateOFDProtocolMessage done [23:48:27]OFDSenderStorePacket 18919 [23:48:27]StoreOFDPacket docnum=18919 [23:48:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 09 FB 28 01 0D 18 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 19 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 CD 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E7 49 00 00 35 04 06 00 3D C5 36 B2 DD 1A E2 0B FB 41 3E 95 33 F3 [23:48:27]CheckFolder [23:48:27]dirname=/storage/ofd_packets [23:48:27]CheckFolder done [23:48:27]ProducePacketName [23:48:27]name=ofd_packets/00018919 [23:48:27]NVStorageSaveData ofd_packets/00018919 [23:48:27]File name is /storage/ofd_packets/00018919 [23:48:27]Write 334 bytes [23:48:27]NVStorageSaveData done [23:48:27]OFDSenderStorePacket done [23:48:27]KKMCreateOFDPacket done [23:48:27]NVStorageSaveData kkm_last_timestamp [23:48:27]File name is /storage/kkm_last_timestamp [23:48:27]Write 4 bytes [23:48:27]NVStorageSaveData done [23:48:27]ExternCall_PrintAddStr [23:48:27]wPrintStart [23:48:27]Write to MH i2c: 01 00 00 94 11 A5 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: 01 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: 01 07 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: 01 07 00 94 11 00 00 00 00 00 FF 0F BA [23:48:27]RasterBufferAndPrint [23:48:27]line Счет N : (3)16837 [23:48:27]line ИНН: 02508201610067 [23:48:27]line Контрольно-Кассовый Чек [23:48:27]line ПРОДАЖА [23:48:27]line Товар: 4700040114137 [23:48:27]line Султан чай 1л. зел лимон [23:48:27]line 1.000 * 65.00 [23:48:27]line = 65.00 [23:48:27]line НДС 12% НСП 1% [23:48:27]line > о реализуемом товаре [23:48:27]line ИТОГО: 65.00 [23:48:27]line НСП 1% : 0.57 [23:48:27]line НДС 12% : 6.90 [23:48:27]line Наличными: 0.00 [23:48:27]line Безнал.: 65.00 [23:48:27]line Место: АЗС № 176 "Партнер Нефть" [23:48:27]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:48:27]line СНО: Общий режим [23:48:27]line Чек 89 24.09.2024 23:48 [23:48:27]line Смена: 182 ФФД: 1.0 [23:48:27]line ЗНМ: 0300000010 [23:48:27]line РНМ: 0000000000152968 [23:48:27]line Версия ККМ: v1.0 [23:48:27]line Платежная система: O! деньги [23:48:27]line ФМ: 0000000000959456 [23:48:27]line ФД: 18919 [23:48:27]line ФПД: 67917235543322 [23:48:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T234829&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18919&fm=67917235543322&tin=02508201610067®Number=0000000000152968&sum=6500 [23:48:28]line 0 [23:48:28]OFD Sender: Processing packet 18919 [packets to send 7, broken 6] [23:48:28]ProducePacketName [23:48:28]name=ofd_packets/00018919 [23:48:28]OFD Sender: To server: pG, [23:48:28]CommunicateWithHost lk.salyk.kg:30040 [23:48:28]ConnectInit lk.salyk.kg [23:48:28]written 0, free lines is 4095 [23:48:28]Connected sock=10 [23:48:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 09 FB 28 01 0D 18 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 19 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 CD 4F F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E7 49 00 00 35 04 06 00 3D C5 36 B2 DD 1A E2 0B FB 41 3E 95 33 F3 [23:48:28]Write to MH i2c: 01 00 00 BE 11 CF [23:48:28]Write i2c OK [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: 01 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: 01 07 00 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: 01 07 00 BE 11 00 00 00 00 00 F8 0C DA [23:48:28]RasterBufferAndPrint [23:48:28]line [23:48:28]line [23:48:28]line [23:48:28]line [23:48:28]line [23:48:28]written 0, free lines is 3330 [23:48:28]MH_Cut [23:48:28]Write to MH i2c: D1 01 00 C5 11 01 A8 [23:48:28]Write i2c OK [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: D1 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: D1 01 00 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: D1 01 00 C5 11 00 A7 [23:48:28]Write to MH i2c: 01 00 00 C6 11 D7 [23:48:28]Write i2c OK [23:48:28]MH_I2C_Read... [23:48:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 EB F7 47 00 1C E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E7 49 00 00 F4 03 04 00 2C F9 F2 66 B6 04 01 00 00 CF 57 F2 E3 20 26 B2 3C [23:48:28]CommunicateWithHost err = 0 [23:48:28]CheckOFDResponse [23:48:28]1017 (14) - 77093643461234 [23:48:28]1041 (16) - 0000000000959456 [23:48:28]1040 (4) - 18919 [23:48:28]1012 (4) - 24.09.2024 17:38 [23:48:28]1206 (1) - 0 [23:48:28]OFD Sender: Remove packet 18919 [23:48:28]ProducePacketName [23:48:28]name=ofd_packets/00018919 [23:48:28]NVStorageDeleteData [23:48:29]OFD Sender: No OFD packet to send [23:48:29]*** Cut start [23:48:29]*** Partial cut [23:48:29]*** CUTSNS_PIN = 1 [23:48:29]*** CUTSNS_PIN = 0 [23:48:29]*** Brake cut motor [23:48:29]Read from MH i2c: 01 [23:48:29]MH_I2C_Read... [23:48:29]*** Stop cut motor [23:48:29]*** Cut end [23:48:29]Read from MH i2c: 01 07 00 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: 01 07 00 C6 11 00 00 00 00 00 FF 0F EC [23:48:29]process_action close_receipt done [23:48:29]requested_data is exist [23:48:29]produce_requested_data [23:48:29]requested_item fm.sn is exist - process it [23:48:29]wFMCommunicate request_size=4 [23:48:29]MH_SAM_APDU [23:48:29]CAPDU: 80 11 00 00 [23:48:29]Write to MH i2c: E2 08 00 C7 11 80 11 00 00 00 00 00 00 52 [23:48:29]Write i2c OK [23:48:29]MH_I2C_Read... [23:48:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:29]Read from MH i2c: E2 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 17 00 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 17 00 C7 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AB [23:48:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:48:29]wFMCommunicate OK [23:48:29]requested_item fd.num is exist - process it [23:48:29]SAM_PROTO_GetFieldsCounters [23:48:29]wFMCommunicate request_size=4 [23:48:29]MH_SAM_APDU [23:48:29]CAPDU: 80 13 00 00 [23:48:29]Write to MH i2c: E2 08 00 C8 11 80 13 00 00 00 00 00 00 55 [23:48:29]Write i2c OK [23:48:29]MH_I2C_Read... [23:48:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:29]Read from MH i2c: E2 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 62 00 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 62 00 C8 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 73 [23:48:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E7 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:29]wFMCommunicate OK [23:48:29]SAM_PROTO_GetFieldsCounters done [23:48:29]requested_item shift.num is exist - process it [23:48:29]requested_item shift.opened is exist - process it [23:48:29]req_shift_opened [23:48:29]FM_GetShiftState [23:48:29]SAM_PROTO_GetShiftState [23:48:29]wFMCommunicate request_size=4 [23:48:29]MH_SAM_APDU [23:48:29]CAPDU: 80 13 01 00 [23:48:29]Write to MH i2c: E2 08 00 C9 11 80 13 01 00 00 00 00 00 57 [23:48:29]Write i2c OK [23:48:29]MH_I2C_Read... [23:48:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:29]Read from MH i2c: E2 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 0E 00 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 0E 00 C9 11 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 8E [23:48:29]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:48:29]wFMCommunicate OK [23:48:29]SAM_PROTO_GetShiftState done [23:48:29]FM_GetShiftState done [23:48:29]req_shift_opened done [23:48:29]requested_item shift.open_date is exist - process it [23:48:29]req_shift_open_date [23:48:29]req_shift_open_date done [23:48:29]produce_requested_data done [23:48:29]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18919,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:48:29]process_action_free close_receipt [23:48:29]json_value_free [23:48:29]json_value_free done [23:48:29]process_json_proto returns [23:48:29]Send response to host [23:48:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18919,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:48:29]free response buf [23:48:29]execute_script done [23:48:29]execute_script returns [23:48:29]free content buf [23:48:29]Sock 9.Close socket [23:48:29]Sock 9.Thread stoped [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23:53:59]OFD Sender: No OFD packet to send [23:54:04]OFD Sender: No OFD packet to send [23:54:09]OFD Sender: No OFD packet to send [23:54:14]OFD Sender: No OFD packet to send [23:54:19]OFD Sender: No OFD packet to send [23:54:24]OFD Sender: No OFD packet to send [23:54:29]OFD Sender: No OFD packet to send [23:54:34]OFD Sender: No OFD packet to send [23:54:39]OFD Sender: No OFD packet to send [23:54:44]OFD Sender: No OFD packet to send [23:54:49]OFD Sender: No OFD packet to send [23:54:54]OFD Sender: No OFD packet to send [23:54:59]OFD Sender: No OFD packet to send [23:55:04]OFD Sender: No OFD packet to send [23:55:09]OFD Sender: No OFD packet to send [23:55:14]OFD Sender: No OFD packet to send [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:34]OFD Sender: No OFD packet to send [23:55:39]OFD Sender: No OFD packet to send [23:55:44]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:49]OFD Sender: No OFD packet to send [23:58:54]OFD Sender: No OFD packet to send [23:58:57]accept exits with 8 [23:58:57]New connection [23:58:57]New thread 3067047268 created [23:58:57]Thread 3066903908 joined [23:58:57]Waiting for new connection... [23:58:57] Sock 8.Parse request [23:58:57]Sock 8.Check first char [23:58:57]Sock 8.First char is OK [23:58:57]request: POST /json_proto HTTP/1.0 [23:58:57]Method: POST [23:58:57]URL: /json_proto [23:58:57]Method is POST - this is cgi request [23:58:57]url: /json_proto [23:58:57]query_string will be loaded in cgi processing [23:58:57]execute_cgi json_proto POST (null) [23:58:57]execute_cgi path=json_proto method=POST [23:58:57]POST find Content-Length [23:58:57]Host: 172.17.62.196:8080 [23:58:57]Content-Length: 818 [23:58:57]Content-Type: application/json [23:58:57] [23:58:57]POST finish read [23:58:57]Found Content-Length = 818 [23:58:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16838", "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" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:57]execute_script... [23:58: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)16838", "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" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:57]POST & json_proto [23:58:57]process_json_proto [23:58:57]json parsed OK: [23:58:57]protocol is kg_v1.0 [23:58:57]action value=close_receipt [23:58:57]process_action close_receipt [23:58:57]cmd_close_receipt [23:58:57]MH_GetDate [23:58:57]Write to MH i2c: F0 00 00 CA 11 CA [23:58:57]Write i2c OK [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: F0 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: F0 09 00 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: F0 09 00 CA 11 00 44 52 F3 66 CE CC 0E 66 D0 [23:58:57]GetLastDocTimeStamp 1727221709 [23:58:57]current date 1727222340 [23:58:57]FM_GetShiftState [23:58:57]SAM_PROTO_GetShiftState [23:58:57]wFMCommunicate request_size=4 [23:58:57]MH_SAM_APDU [23:58:57]CAPDU: 80 13 01 00 [23:58:57]Write to MH i2c: E2 08 00 CB 11 80 13 01 00 00 00 00 00 59 [23:58:57]Write i2c OK [23:58:57]MH_I2C_Read... [23:58:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:57]Read from MH i2c: E2 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 0E 00 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 0E 00 CB 11 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 90 [23:58:57]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:58:57]wFMCommunicate OK [23:58:57]SAM_PROTO_GetShiftState done [23:58:57]FM_GetShiftState done [23:58:57]opened in 1727136720 [23:58:57]opened+sec_in_day 1727223120 [23:58:57]quantity*price = 10500 [23:58:57]sum+1 = 10501 [23:58:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 90 24.09.2024 23:59 Смена: 182 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18920 ФПД: 143989652978635 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T235900&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18920&fm=143989652978635&tin=02508201610067®Number=0000000000152968&sum=10500 0 [23:58:58]StoreToDocumentArchive [23:58:58]shift 182 fd 18920 [23:58:58]save to /storage/0182/doc_00018920 [23:58:58]save last doc name /storage/0182/doc_00018920 to /storage/kkm_last_doc_name [23:58:58]save OK [23:58:58]Clear old archive folders... [23:58:58]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:58:58]tlvbuf is 018B4620 [23:58:58]SAM_PROTO_ClearQueue [23:58:58]wFMCommunicate request_size=4 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 09 00 00 [23:58:58]Write to MH i2c: E2 08 00 D8 11 80 09 00 00 00 00 00 00 5B [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 D8 11 00 90 00 5D [23:58:58]RAPDU: 90 00 [23:58:58]wFMCommunicate OK [23:58:58]SAM_PROTO_ClearQueue done [23:58:58]KKMCreateOFDPacket [23:58:58]OFDProtocolAddRootSTLVToBuf [23:58:58]FM_MakeSignedData [23:58:58]FM_MakeSignedData [23:58:58]SAM_PROTO_SignData [23:58:58]wFMCommunicate request_size=4 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 0D 01 02 [23:58:58]Write to MH i2c: E2 08 00 D9 11 80 0D 01 02 00 00 00 00 63 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 D9 11 00 90 00 5E [23:58:58]RAPDU: 90 00 [23:58:58]wFMCommunicate OK [23:58:58]wFMCommunicate request_size=255 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 0D 02 02 FA 03 00 16 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 44 52 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 [23:58:58]Write to MH i2c: E2 02 01 DA 11 80 0D 02 02 FA 00 03 00 16 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 44 52 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 00 00 D1 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 DA 11 00 90 00 5F [23:58:58]RAPDU: 90 00 [23:58:58]wFMCommunicate OK [23:58:58]wFMCommunicate request_size=37 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E8 49 00 00 35 04 06 00 82 F5 34 1D FB CB [23:58:58]Write to MH i2c: E2 28 00 DB 11 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E8 49 00 00 35 04 06 00 82 F5 34 1D FB CB 00 00 82 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 03 00 DB 11 00 90 00 60 [23:58:58]RAPDU: 90 00 [23:58:58]wFMCommunicate OK [23:58:58]wFMCommunicate request_size=4 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 0D 03 02 [23:58:58]Write to MH i2c: E2 08 00 DC 11 80 0D 03 02 00 00 00 00 68 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 0B 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 0B 00 DC 11 00 9A 71 4E F7 E7 01 0D 51 90 00 FF [23:58:58]RAPDU: 9A 71 4E F7 E7 01 0D 51 90 00 [23:58:58]wFMCommunicate OK [23:58:58]SAM_PROTO_SignData done [23:58:58]FM_MakeSignedData done [23:58:58]CreateOFDProtocolMessage [23:58:58]wFMCommunicate request_size=4 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 11 00 00 [23:58:58]Write to MH i2c: E2 08 00 DD 11 80 11 00 00 00 00 00 00 68 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 17 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 17 00 DD 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C1 [23:58:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:58:58]wFMCommunicate OK [23:58:58]CreateOFDProtocolMessage done [23:58:58]OFDSenderStorePacket 18920 [23:58:58]StoreOFDPacket docnum=18920 [23:58:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 08 80 22 01 EC F3 5A 03 01 00 03 00 16 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 44 52 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E8 49 00 00 35 04 06 00 82 F5 34 1D FB CB 9A 71 4E F7 E7 01 0D 51 [23:58:58]CheckFolder [23:58:58]dirname=/storage/ofd_packets [23:58:58]CheckFolder done [23:58:58]ProducePacketName [23:58:58]name=ofd_packets/00018920 [23:58:58]NVStorageSaveData ofd_packets/00018920 [23:58:58]File name is /storage/ofd_packets/00018920 [23:58:58]Write 328 bytes [23:58:58]NVStorageSaveData done [23:58:58]OFDSenderStorePacket done [23:58:58]KKMCreateOFDPacket done [23:58:58]NVStorageSaveData kkm_last_timestamp [23:58:58]File name is /storage/kkm_last_timestamp [23:58:58]Write 4 bytes [23:58:58]NVStorageSaveData done [23:58:58]ExternCall_PrintAddStr [23:58:58]wPrintStart [23:58:58]Write to MH i2c: 01 00 00 DE 11 EF [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: 01 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: 01 07 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: 01 07 00 DE 11 00 00 00 00 00 FF 0F 04 [23:58:58]RasterBufferAndPrint [23:58:58]line Счет N : (3)16838 [23:58:58]line ИНН: 02508201610067 [23:58:58]line Контрольно-Кассовый Чек [23:58:58]line ПРОДАЖА [23:58:58]line Товар: 5449000054227 [23:58:58]line Напиток Кока-Кола 1л [23:58:58]line 1.000 * 105.00 [23:58:58]line = 105.00 [23:58:58]line НДС 12% НСП 1% [23:58:58]line > о реализуемом товаре [23:58:58]line ИТОГО: 105.00 [23:58:58]line НСП 1% : 0.93 [23:58:58]line НДС 12% : 11.15 [23:58:58]line Наличными: 0.00 [23:58:58]line Безнал.: 105.00 [23:58:58]line Место: АЗС № 176 "Партнер Нефть" [23:58:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:58:58]line СНО: Общий режим [23:58:58]line Чек 90 24.09.2024 23:59 [23:58:58]line Смена: 182 ФФД: 1.0 [23:58:58]line ЗНМ: 0300000010 [23:58:58]line РНМ: 0000000000152968 [23:58:58]line Версия ККМ: v1.0 [23:58:58]line Платежная система: O! деньги [23:58:58]line ФМ: 0000000000959456 [23:58:58]line ФД: 18920 [23:58:58]line ФПД: 143989652978635 [23:58:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T235900&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18920&fm=143989652978635&tin=02508201610067®Number=0000000000152968&sum=10500 [23:58:59]line 0 [23:58:59]OFD Sender: Processing packet 18920 [packets to send 7, broken 6] [23:58:59]ProducePacketName [23:58:59]name=ofd_packets/00018920 [23:58:59]OFD Sender: To server: pG, [23:58:59]CommunicateWithHost lk.salyk.kg:30040 [23:58:59]ConnectInit lk.salyk.kg [23:58:59]written 0, free lines is 4095 [23:58:59]Connected sock=10 [23:58:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 08 80 22 01 EC F3 5A 03 01 00 03 00 16 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 44 52 F3 66 0E 04 04 00 B6 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E8 49 00 00 35 04 06 00 82 F5 34 1D FB CB 9A 71 4E F7 E7 01 0D 51 [23:58:59]Write to MH i2c: 01 00 00 08 12 1A [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: 01 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: 01 07 00 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: 01 07 00 08 12 00 00 00 00 00 F3 0C 20 [23:58:59]RasterBufferAndPrint [23:58:59]line [23:58:59]line [23:58:59]line [23:58:59]line [23:58:59]line [23:58:59]written 0, free lines is 3322 [23:58:59]MH_Cut [23:58:59]Write to MH i2c: D1 01 00 0F 12 01 F3 [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: D1 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: D1 01 00 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: D1 01 00 0F 12 00 F2 [23:58:59]Write to MH i2c: 01 00 00 10 12 22 [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:58:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 C7 95 47 00 78 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E8 49 00 00 F4 03 04 00 A3 FB F2 66 B6 04 01 00 00 E5 BA F3 61 35 46 6B FC [23:58:59]CommunicateWithHost err = 0 [23:58:59]CheckOFDResponse [23:58:59]1017 (14) - 77093643461234 [23:58:59]1041 (16) - 0000000000959456 [23:58:59]1040 (4) - 18920 [23:58:59]1012 (4) - 24.09.2024 17:49 [23:58:59]1206 (1) - 0 [23:58:59]OFD Sender: Remove packet 18920 [23:58:59]ProducePacketName [23:58:59]name=ofd_packets/00018920 [23:58:59]NVStorageDeleteData [23:59:00]OFD Sender: No OFD packet to send [23:59:00]*** Cut start [23:59:00]*** Partial cut [23:59:00]*** CUTSNS_PIN = 1 [23:59:00]*** CUTSNS_PIN = 0 [23:59:00]*** Brake cut motor [23:59:00]Read from MH i2c: 01 [23:59:00]MH_I2C_Read... [23:59:00]*** Stop cut motor [23:59:00]*** Cut end [23:59:00]Read from MH i2c: 01 07 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: 01 07 00 10 12 00 00 00 00 00 FF 0F 37 [23:59:00]process_action close_receipt done [23:59:00]requested_data is exist [23:59:00]produce_requested_data [23:59:00]requested_item fm.sn is exist - process it [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 11 00 00 [23:59:00]Write to MH i2c: E2 08 00 11 12 80 11 00 00 00 00 00 00 9D [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 17 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 17 00 11 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F6 [23:59:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:59:00]wFMCommunicate OK [23:59:00]requested_item fd.num is exist - process it [23:59:00]SAM_PROTO_GetFieldsCounters [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 13 00 00 [23:59:00]Write to MH i2c: E2 08 00 12 12 80 13 00 00 00 00 00 00 A0 [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:01]Read from MH i2c: E2 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 62 00 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 62 00 12 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [23:59:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:01]wFMCommunicate OK [23:59:01]SAM_PROTO_GetFieldsCounters done [23:59:01]requested_item shift.num is exist - process it [23:59:01]requested_item shift.opened is exist - process it [23:59:01]req_shift_opened [23:59:01]FM_GetShiftState [23:59:01]SAM_PROTO_GetShiftState [23:59:01]wFMCommunicate request_size=4 [23:59:01]MH_SAM_APDU [23:59:01]CAPDU: 80 13 01 00 [23:59:01]Write to MH i2c: E2 08 00 13 12 80 13 01 00 00 00 00 00 A2 [23:59:01]Write i2c OK [23:59:01]MH_I2C_Read... [23:59:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:01]Read from MH i2c: E2 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 0E 00 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 0E 00 13 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 D9 [23:59:01]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [23:59:01]wFMCommunicate OK [23:59:01]SAM_PROTO_GetShiftState done [23:59:01]FM_GetShiftState done [23:59:01]req_shift_opened done [23:59:01]requested_item shift.open_date is exist - process it [23:59:01]req_shift_open_date [23:59:01]req_shift_open_date done [23:59:01]produce_requested_data done [23:59:01]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [23:59:01]process_action_free close_receipt [23:59:01]json_value_free [23:59:01]json_value_free done [23:59:01]process_json_proto returns [23:59:01]Send response to host [23:59:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [23:59:01]free response buf [23:59:01]execute_script done [23:59:01]execute_script returns [23:59:01]free content buf [23:59:01]Sock 8.Close socket [23:59:01]Sock 8.Thread stoped [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:28]accept exits with 9 [00:01:28]New connection [00:01:28]New thread 3066903908 created [00:01:28]Thread 3067047268 joined [00:01:28]Waiting for new connection... [00:01:28] Sock 9.Parse request [00:01:28]Sock 9.Check first char [00:01:28]Sock 9.First char is OK [00:01:28]request: POST /json_proto HTTP/1.0 [00:01:28]Method: POST [00:01:28]URL: /json_proto [00:01:28]Method is POST - this is cgi request [00:01:28]url: /json_proto [00:01:28]query_string will be loaded in cgi processing [00:01:28]execute_cgi json_proto POST (null) [00:01:28]execute_cgi path=json_proto method=POST [00:01:28]POST find Content-Length [00:01:28]Host: 172.17.62.196:8080 [00:01:28]Content-Length: 215 [00:01:28]Content-Type: application/json [00:01:28] [00:01:28]POST finish read [00:01:28]Found Content-Length = 215 [00:01:28]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:28]execute_script... [00:01:28]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:28]POST & json_proto [00:01:28]process_json_proto [00:01:28]json parsed OK: [00:01:28]protocol is kg_v1.0 [00:01:28]action value=get_value [00:01:28]process_action get_value [00:01:28]cmd_get_value [00:01:28]process_action get_value done [00:01:28]requested_data is exist [00:01:28]produce_requested_data [00:01:28]requested_item kkm.sn is exist - process it [00:01:28]requested_item kkm.ver is exist - process it [00:01:28]requested_item fm.sn is exist - process it [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 11 00 00 [00:01:28]Write to MH i2c: E2 08 00 14 12 80 11 00 00 00 00 00 00 A0 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 17 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 17 00 14 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F9 [00:01:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:01:28]wFMCommunicate OK [00:01:28]requested_item fd.num is exist - process it [00:01:28]SAM_PROTO_GetFieldsCounters [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 13 00 00 [00:01:28]Write to MH i2c: E2 08 00 15 12 80 13 00 00 00 00 00 00 A3 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 62 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 62 00 15 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [00:01:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 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 16 12 80 13 01 00 00 00 00 00 A5 [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 16 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 DC [00:01:28]RAPDU: 09 00 01 D0 03 F2 66 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]req_shift_open_date done [00:01:28]produce_requested_data done [00:01:28]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [00:01:28]process_action_free get_value [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":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [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 9.Close socket [00:01:28]Sock 9.Thread stoped [00:01:28]accept exits with 10 [00:01:28]New connection [00:01:28]New thread 3067047268 created [00:01:28]Thread 3066903908 joined [00:01:28]Waiting for new connection... [00:01:28] Sock 10.Parse request [00:01:28]Sock 10.Check first char [00:01:28]Sock 10.First char is OK [00:01:28]request: POST /json_proto HTTP/1.0 [00:01:28]Method: POST [00:01:28]URL: /json_proto [00:01:28]Method is POST - this is cgi request [00:01:28]url: /json_proto [00:01:28]query_string will be loaded in cgi processing [00:01:28]execute_cgi json_proto POST (null) [00:01:28]execute_cgi path=json_proto method=POST [00:01:28]POST find Content-Length [00:01:28]Host: 172.17.62.196:8080 [00:01:28]Content-Length: 331 [00:01:28]Content-Type: application/json [00:01:28] [00:01:28]POST finish read [00:01:28]Found Content-Length = 331 [00:01:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:28]execute_script... [00:01:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:28]POST & json_proto [00:01:28]process_json_proto [00:01:28]json parsed OK: [00:01:28]protocol is kg_v1.0 [00:01:28]action value=get_value [00:01:28]process_action get_value [00:01:28]cmd_get_value [00:01:28]process_action get_value done [00:01:28]requested_data is exist [00:01:28]produce_requested_data [00:01:28]requested_item fm.sale.total is exist - process it [00:01:28]SAM_PROTO_GetFMData [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 13 03 00 [00:01:28]Write to MH i2c: E2 08 00 17 12 80 13 03 00 00 00 00 00 A8 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:29]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:29]Read from MH i2c: E2 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 17 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 D4 [00:01:29]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:01:29]wFMCommunicate OK [00:01:29]wFMCommunicate request_size=4 [00:01:29]MH_SAM_APDU [00:01:29]CAPDU: 80 17 00 00 [00:01:29]Write to MH i2c: E2 08 00 18 12 80 17 00 00 00 00 00 00 AA [00:01:29]Write i2c OK [00:01:29]MH_I2C_Read... [00:01:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:29]Read from MH i2c: E2 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 18 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 DA [00:01:29]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:01:29]wFMCommunicate OK [00:01:29]wFMCommunicate request_size=4 [00:01:29]MH_SAM_APDU [00:01:29]CAPDU: 80 17 00 00 [00:01:29]Write to MH i2c: E2 08 00 19 12 80 17 00 00 00 00 00 00 AB [00:01:29]Write i2c OK [00:01:29]MH_I2C_Read... [00:01:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:29]Read from MH i2c: E2 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 19 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 DD [00:01:29]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:01:29]wFMCommunicate OK [00:01:29]wFMCommunicate request_size=4 [00:01:29]MH_SAM_APDU [00:01:29]CAPDU: 80 17 00 00 [00:01:29]Write to MH i2c: E2 08 00 1A 12 80 17 00 00 00 00 00 00 AC [00:01:29]Write i2c OK [00:01:29]MH_I2C_Read... [00:01:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:30]Read from MH i2c: E2 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 1A 12 00 04 F7 03 00 00 EF 03 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 90 00 27 [00:01:30]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:01:30]wFMCommunicate OK [00:01:30]wFMCommunicate request_size=4 [00:01:30]MH_SAM_APDU [00:01:30]CAPDU: 80 17 00 00 [00:01:30]Write to MH i2c: E2 08 00 1B 12 80 17 00 00 00 00 00 00 AD [00:01:30]Write i2c OK [00:01:30]MH_I2C_Read... [00:01:30]OFD Sender: No OFD packet to send [00:01:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:01:30]Read from MH i2c: E2 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 DB 00 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 DB 00 1B 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8F [00:01:30]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:30]wFMCommunicate OK [00:01:30]SAM_PROTO_GetFMData done [00:01:30]requested_item fm.sale_refund.total is exist - process it [00:01:30]requested_item fm.buy.total is exist - process it [00:01:30]requested_item shift.sale.total is exist - process it [00:01:30]SAM_PROTO_GetShiftData [00:01:30]wFMCommunicate request_size=4 [00:01:30]MH_SAM_APDU [00:01:30]CAPDU: 80 13 02 00 [00:01:30]Write to MH i2c: E2 08 00 1C 12 80 13 02 00 00 00 00 00 AC [00:01:30]Write i2c OK [00:01:30]MH_I2C_Read... [00:01:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:30]Read from MH i2c: E2 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 1C 12 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 62 [00:01:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:30]wFMCommunicate OK [00:01:30]wFMCommunicate request_size=4 [00:01:30]MH_SAM_APDU [00:01:30]CAPDU: 80 17 00 00 [00:01:30]Write to MH i2c: E2 08 00 1D 12 80 17 00 00 00 00 00 00 AF [00:01:30]Write i2c OK [00:01:30]MH_I2C_Read... [00:01:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:31]Read from MH i2c: E2 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 1D 12 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 D1 [00:01:31]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:31]wFMCommunicate OK [00:01:31]wFMCommunicate request_size=4 [00:01:31]MH_SAM_APDU [00:01:31]CAPDU: 80 17 00 00 [00:01:31]Write to MH i2c: E2 08 00 1E 12 80 17 00 00 00 00 00 00 B0 [00:01:31]Write i2c OK [00:01:31]MH_I2C_Read... [00:01:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:31]Read from MH i2c: E2 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 1E 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 67 [00:01:31]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:31]wFMCommunicate OK [00:01:31]wFMCommunicate request_size=4 [00:01:31]MH_SAM_APDU [00:01:31]CAPDU: 80 17 00 00 [00:01:31]Write to MH i2c: E2 08 00 1F 12 80 17 00 00 00 00 00 00 B1 [00:01:31]Write i2c OK [00:01:31]MH_I2C_Read... [00:01:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:31]Read from MH i2c: E2 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 1F 12 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 23 [00:01:31]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:31]wFMCommunicate OK [00:01:31]wFMCommunicate request_size=4 [00:01:31]MH_SAM_APDU [00:01:31]CAPDU: 80 17 00 00 [00:01:31]Write to MH i2c: E2 08 00 20 12 80 17 00 00 00 00 00 00 B2 [00:01:31]Write i2c OK [00:01:31]MH_I2C_Read... [00:01:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:31]Read from MH i2c: E2 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 CB 00 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 CB 00 20 12 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 9B [00:01:32]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:32]wFMCommunicate OK [00:01:32]SAM_PROTO_GetShiftData done [00:01:32]requested_item shift.sale.total_cash is exist - process it [00:01:32]requested_item shift.sale_refund.total is exist - process it [00:01:32]requested_item shift.sale_refund.total_cash is exist - process it [00:01:32]requested_item shift.buy.total is exist - process it [00:01:32]requested_item shift.buy.total_cash is exist - process it [00:01:32]produce_requested_data done [00:01:32]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:32]process_action_free get_value [00:01:32]json_value_free [00:01:32]json_value_free done [00:01:32]process_json_proto returns [00:01:32]Send response to host [00:01:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:32]free response buf [00:01:32]execute_script done [00:01:32]execute_script returns [00:01:32]free content buf [00:01:32]Sock 10.Close socket [00:01:32]Sock 10.Thread stoped [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:23]accept exits with 8 [00:03:23]New connection [00:03:23]New thread 3066903908 created [00:03:23]Thread 3067047268 joined [00:03:23]Waiting for new connection... [00:03:23] Sock 8.Parse request [00:03:23]Sock 8.Check first char [00:03:23]Sock 8.First char is OK [00:03:23]request: POST /json_proto HTTP/1.0 [00:03:23]Method: POST [00:03:23]URL: /json_proto [00:03:23]Method is POST - this is cgi request [00:03:23]url: /json_proto [00:03:23]query_string will be loaded in cgi processing [00:03:23]execute_cgi json_proto POST (null) [00:03:23]execute_cgi path=json_proto method=POST [00:03:23]POST find Content-Length [00:03:23]Host: 172.17.62.196:8080 [00:03:23]Content-Length: 215 [00:03:23]Content-Type: application/json [00:03:23] [00:03:23]POST finish read [00:03:23]Found Content-Length = 215 [00:03:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:23]execute_script... [00:03:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:23]POST & json_proto [00:03:23]process_json_proto [00:03:23]json parsed OK: [00:03:23]protocol is kg_v1.0 [00:03:23]action value=get_value [00:03:23]process_action get_value [00:03:23]cmd_get_value [00:03:23]process_action get_value done [00:03:23]requested_data is exist [00:03:23]produce_requested_data [00:03:23]requested_item kkm.sn is exist - process it [00:03:23]requested_item kkm.ver is exist - process it [00:03:23]requested_item fm.sn is exist - process it [00:03:23]wFMCommunicate request_size=4 [00:03:23]MH_SAM_APDU [00:03:23]CAPDU: 80 11 00 00 [00:03:23]Write to MH i2c: E2 08 00 21 12 80 11 00 00 00 00 00 00 AD [00:03:23]Write i2c OK [00:03:23]MH_I2C_Read... [00:03:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:23]Read from MH i2c: E2 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 17 00 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 17 00 21 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 06 [00:03:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:03:23]wFMCommunicate OK [00:03:23]requested_item fd.num is exist - process it [00:03:23]SAM_PROTO_GetFieldsCounters [00:03:23]wFMCommunicate request_size=4 [00:03:23]MH_SAM_APDU [00:03:23]CAPDU: 80 13 00 00 [00:03:23]Write to MH i2c: E2 08 00 22 12 80 13 00 00 00 00 00 00 B0 [00:03:23]Write i2c OK [00:03:23]MH_I2C_Read... [00:03:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:24]Read from MH i2c: E2 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 62 00 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 62 00 22 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [00:03:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]SAM_PROTO_GetFieldsCounters done [00:03:24]requested_item shift.num is exist - process it [00:03:24]requested_item shift.opened is exist - process it [00:03:24]req_shift_opened [00:03:24]FM_GetShiftState [00:03:24]SAM_PROTO_GetShiftState [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 13 01 00 [00:03:24]Write to MH i2c: E2 08 00 23 12 80 13 01 00 00 00 00 00 B2 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:24]Read from MH i2c: E2 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 0E 00 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 0E 00 23 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 E9 [00:03:24]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]SAM_PROTO_GetShiftState done [00:03:24]FM_GetShiftState done [00:03:24]req_shift_opened done [00:03:24]requested_item shift.open_date is exist - process it [00:03:24]req_shift_open_date [00:03:24]req_shift_open_date done [00:03:24]produce_requested_data done [00:03:24]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [00:03:24]process_action_free get_value [00:03:24]json_value_free [00:03:24]json_value_free done [00:03:24]process_json_proto returns [00:03:24]Send response to host [00:03:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [00:03:24]free response buf [00:03:24]execute_script done [00:03:24]execute_script returns [00:03:24]free content buf [00:03:24]Sock 8.Close socket [00:03:24]Sock 8.Thread stoped [00:03:24]accept exits with 9 [00:03:24]New connection [00:03:24]New thread 3067047268 created [00:03:24]Thread 3066903908 joined [00:03:24]Waiting for new connection... [00:03:24] Sock 9.Parse request [00:03:24]Sock 9.Check first char [00:03:24]Sock 9.First char is OK [00:03:24]request: POST /json_proto HTTP/1.0 [00:03:24]Method: POST [00:03:24]URL: /json_proto [00:03:24]Method is POST - this is cgi request [00:03:24]url: /json_proto [00:03:24]query_string will be loaded in cgi processing [00:03:24]execute_cgi json_proto POST (null) [00:03:24]execute_cgi path=json_proto method=POST [00:03:24]POST find Content-Length [00:03:24]Host: 172.17.62.196:8080 [00:03:24]Content-Length: 331 [00:03:24]Content-Type: application/json [00:03:24] [00:03:24]POST finish read [00:03:24]Found Content-Length = 331 [00:03:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:24]execute_script... [00:03:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:24]POST & json_proto [00:03:24]process_json_proto [00:03:24]json parsed OK: [00:03:24]protocol is kg_v1.0 [00:03:24]action value=get_value [00:03:24]process_action get_value [00:03:24]cmd_get_value [00:03:24]process_action get_value done [00:03:24]requested_data is exist [00:03:24]produce_requested_data [00:03:24]requested_item fm.sale.total is exist - process it [00:03:24]SAM_PROTO_GetFMData [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 13 03 00 [00:03:24]Write to MH i2c: E2 08 00 24 12 80 13 03 00 00 00 00 00 B5 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:24]Read from MH i2c: E2 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 FD 00 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 FD 00 24 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 E1 [00:03:24]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 17 00 00 [00:03:24]Write to MH i2c: E2 08 00 25 12 80 17 00 00 00 00 00 00 B7 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 25 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 E7 [00:03:25]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:03:25]wFMCommunicate OK [00:03:25]wFMCommunicate request_size=4 [00:03:25]MH_SAM_APDU [00:03:25]CAPDU: 80 17 00 00 [00:03:25]Write to MH i2c: E2 08 00 26 12 80 17 00 00 00 00 00 00 B8 [00:03:25]Write i2c OK [00:03:25]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 26 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 EA [00:03:25]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:03:25]wFMCommunicate OK [00:03:25]wFMCommunicate request_size=4 [00:03:25]MH_SAM_APDU [00:03:25]CAPDU: 80 17 00 00 [00:03:25]Write to MH i2c: E2 08 00 27 12 80 17 00 00 00 00 00 00 B9 [00:03:25]Write i2c OK [00:03:25]MH_I2C_Read... [00:03:25]OFD Sender: No OFD packet to send [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 27 12 00 04 F7 03 00 00 EF 03 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 90 00 34 [00:03:25]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:03:25]wFMCommunicate OK [00:03:25]wFMCommunicate request_size=4 [00:03:25]MH_SAM_APDU [00:03:25]CAPDU: 80 17 00 00 [00:03:25]Write to MH i2c: E2 08 00 28 12 80 17 00 00 00 00 00 00 BA [00:03:25]Write i2c OK [00:03:25]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 DB 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 DB 00 28 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:03:25]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:25]wFMCommunicate OK [00:03:25]SAM_PROTO_GetFMData done [00:03:25]requested_item fm.sale_refund.total is exist - process it [00:03:25]requested_item fm.buy.total is exist - process it [00:03:25]requested_item shift.sale.total is exist - process it [00:03:25]SAM_PROTO_GetShiftData [00:03:25]wFMCommunicate request_size=4 [00:03:25]MH_SAM_APDU [00:03:25]CAPDU: 80 13 02 00 [00:03:25]Write to MH i2c: E2 08 00 29 12 80 13 02 00 00 00 00 00 B9 [00:03:25]Write i2c OK [00:03:25]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 29 12 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 6F [00:03:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:26]wFMCommunicate OK [00:03:26]wFMCommunicate request_size=4 [00:03:26]MH_SAM_APDU [00:03:26]CAPDU: 80 17 00 00 [00:03:26]Write to MH i2c: E2 08 00 2A 12 80 17 00 00 00 00 00 00 BC [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 2A 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DE [00:03:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:26]wFMCommunicate OK [00:03:26]wFMCommunicate request_size=4 [00:03:26]MH_SAM_APDU [00:03:26]CAPDU: 80 17 00 00 [00:03:26]Write to MH i2c: E2 08 00 2B 12 80 17 00 00 00 00 00 00 BD [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 2B 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 74 [00:03:27]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=4 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 17 00 00 [00:03:27]Write to MH i2c: E2 08 00 2C 12 80 17 00 00 00 00 00 00 BE [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 FD 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 FD 00 2C 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 30 [00:03:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=4 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 17 00 00 [00:03:27]Write to MH i2c: E2 08 00 2D 12 80 17 00 00 00 00 00 00 BF [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 CB 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 CB 00 2D 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A8 [00:03:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:27]wFMCommunicate OK [00:03:27]SAM_PROTO_GetShiftData done [00:03:27]requested_item shift.sale.total_cash is exist - process it [00:03:27]requested_item shift.sale_refund.total is exist - process it [00:03:27]requested_item shift.sale_refund.total_cash is exist - process it [00:03:27]requested_item shift.buy.total is exist - process it [00:03:27]requested_item shift.buy.total_cash is exist - process it [00:03:27]produce_requested_data done [00:03:27]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:27]process_action_free get_value [00:03:27]json_value_free [00:03:27]json_value_free done [00:03:27]process_json_proto returns [00:03:27]Send response to host [00:03:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:27]free response buf [00:03:27]execute_script done [00:03:27]execute_script returns [00:03:27]free content buf [00:03:27]Sock 9.Close socket [00:03:27]Sock 9.Thread stoped [00:03:27]accept exits with 8 [00:03:27]New connection [00:03:27]New thread 3066903908 created [00:03:27]Thread 3067047268 joined [00:03:27]Waiting for new connection... [00:03:27] Sock 8.Parse request [00:03:27]Sock 8.Check first char [00:03:27]Sock 8.First char is OK [00:03:27]request: POST /json_proto HTTP/1.0 [00:03:27]Method: POST [00:03:27]URL: /json_proto [00:03:27]Method is POST - this is cgi request [00:03:27]url: /json_proto [00:03:27]query_string will be loaded in cgi processing [00:03:27]execute_cgi json_proto POST (null) [00:03:27]execute_cgi path=json_proto method=POST [00:03:27]POST find Content-Length [00:03:27]Host: 172.17.62.196:8080 [00:03:27]Content-Length: 331 [00:03:27]Content-Type: application/json [00:03:27] [00:03:27]POST finish read [00:03:27]Found Content-Length = 331 [00:03:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:27]execute_script... [00:03:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:27]POST & json_proto [00:03:27]process_json_proto [00:03:27]json parsed OK: [00:03:27]protocol is kg_v1.0 [00:03:27]action value=get_value [00:03:27]process_action get_value [00:03:27]cmd_get_value [00:03:27]process_action get_value done [00:03:27]requested_data is exist [00:03:27]produce_requested_data [00:03:27]requested_item fm.sale.total is exist - process it [00:03:27]SAM_PROTO_GetFMData [00:03:27]wFMCommunicate request_size=4 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 13 03 00 [00:03:27]Write to MH i2c: E2 08 00 2E 12 80 13 03 00 00 00 00 00 BF [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 2E 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 EB [00:03:28]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:03:28]wFMCommunicate OK [00:03:28]wFMCommunicate request_size=4 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 17 00 00 [00:03:28]Write to MH i2c: E2 08 00 2F 12 80 17 00 00 00 00 00 00 C1 [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 2F 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 F1 [00:03:28]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:03:28]wFMCommunicate OK [00:03:28]wFMCommunicate request_size=4 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 17 00 00 [00:03:28]Write to MH i2c: E2 08 00 30 12 80 17 00 00 00 00 00 00 C2 [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 30 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 F4 [00:03:28]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:03:28]wFMCommunicate OK [00:03:28]wFMCommunicate request_size=4 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 17 00 00 [00:03:28]Write to MH i2c: E2 08 00 31 12 80 17 00 00 00 00 00 00 C3 [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 FD 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 FD 00 31 12 00 04 F7 03 00 00 EF 03 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 90 00 3E [00:03:29]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:03:29]wFMCommunicate OK [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 17 00 00 [00:03:29]Write to MH i2c: E2 08 00 32 12 80 17 00 00 00 00 00 00 C4 [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 DB 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 DB 00 32 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:03:29]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_GetFMData done [00:03:29]requested_item fm.sale_refund.total is exist - process it [00:03:29]requested_item fm.buy.total is exist - process it [00:03:29]requested_item shift.sale.total is exist - process it [00:03:29]SAM_PROTO_GetShiftData [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 13 02 00 [00:03:29]Write to MH i2c: E2 08 00 33 12 80 13 02 00 00 00 00 00 C3 [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 33 12 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 79 [00:03:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:30]wFMCommunicate OK [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 34 12 80 17 00 00 00 00 00 00 C6 [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 34 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 E8 [00:03:30]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 OFD Sender: No OFD packet to send [00:03:30]F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:30]wFMCommunicate OK [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 35 12 80 17 00 00 00 00 00 00 C7 [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 35 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 7E [00:03:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:31]wFMCommunicate OK [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 17 00 00 [00:03:31]Write to MH i2c: E2 08 00 36 12 80 17 00 00 00 00 00 00 C8 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 36 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3A [00:03:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:31]wFMCommunicate OK [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 17 00 00 [00:03:31]Write to MH i2c: E2 08 00 37 12 80 17 00 00 00 00 00 00 C9 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 CB 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 CB 00 37 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B2 [00:03:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:31]wFMCommunicate OK [00:03:31]SAM_PROTO_GetShiftData done [00:03:31]requested_item shift.sale.total_cash is exist - process it [00:03:31]requested_item shift.sale_refund.total is exist - process it [00:03:31]requested_item shift.sale_refund.total_cash is exist - process it [00:03:31]requested_item shift.buy.total is exist - process it [00:03:31]requested_item shift.buy.total_cash is exist - process it [00:03:31]produce_requested_data done [00:03:31]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:31]process_action_free get_value [00:03:31]json_value_free [00:03:31]json_value_free done [00:03:31]process_json_proto returns [00:03:31]Send response to host [00:03:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:31]free response buf [00:03:31]execute_script done [00:03:31]execute_script returns [00:03:31]free content buf [00:03:31]Sock 8.Close socket [00:03:31]Sock 8.Thread stoped [00:03:31]accept exits with 9 [00:03:31]New connection [00:03:31]New thread 3067047268 created [00:03:31]Thread 3066903908 joined [00:03:31]Waiting for new connection... [00:03:31] Sock 9.Parse request [00:03:31]Sock 9.Check first char [00:03:31]Sock 9.First char is OK [00:03:31]request: POST /json_proto HTTP/1.0 [00:03:31]Method: POST [00:03:31]URL: /json_proto [00:03:31]Method is POST - this is cgi request [00:03:31]url: /json_proto [00:03:31]query_string will be loaded in cgi processing [00:03:31]execute_cgi json_proto POST (null) [00:03:31]execute_cgi path=json_proto method=POST [00:03:31]POST find Content-Length [00:03:31]Host: 172.17.62.196:8080 [00:03:31]Content-Length: 251 [00:03:31]Content-Type: application/json [00:03:31] [00:03:31]POST finish read [00:03:31]Found Content-Length = 251 [00:03:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0423\u0441\u0435\u043D\u043E\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:31]execute_script... [00:03:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0423\u0441\u0435\u043D\u043E\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:31]POST & json_proto [00:03:31]process_json_proto [00:03:31]json parsed OK: [00:03:31]protocol is kg_v1.0 [00:03:31]action value=x_report [00:03:31]process_action x_report [00:03:31]cmd_x_report [00:03:31]MH_GetDate [00:03:31]Write to MH i2c: F0 00 00 38 12 39 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: F0 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: F0 09 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: F0 09 00 38 12 00 57 53 F3 66 CE CC 0E 66 53 [00:03:31]GetLastDocTimeStamp 1727222340 [00:03:31]current date 1727222615 [00:03:31]FM_GetShiftState [00:03:31]SAM_PROTO_GetShiftState [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 13 01 00 [00:03:31]Write to MH i2c: E2 08 00 39 12 80 13 01 00 00 00 00 00 C8 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 0E 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 0E 00 39 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 FF [00:03:32]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [00:03:32]wFMCommunicate OK [00:03:32]SAM_PROTO_GetShiftState done [00:03:32]FM_GetShiftState done [00:03:32]KKMCreateXReportDocument [00:03:32]Load OK [00:03:32]Malloc new data [00:03:32]MH_GetDate [00:03:32]Write to MH i2c: F0 00 00 3A 12 3B [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: F0 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: F0 09 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: F0 09 00 3A 12 00 57 53 F3 66 CE CC 0E 66 55 [00:03:32]Malloc new data [00:03:32]Malloc new data [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 11 00 00 [00:03:32]Write to MH i2c: E2 08 00 3B 12 80 11 00 00 00 00 00 00 C7 [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 17 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 17 00 3B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 20 [00:03:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:03:32]wFMCommunicate OK [00:03:32]SAM_PROTO_GetFieldsCounters [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 13 00 00 [00:03:32]Write to MH i2c: E2 08 00 3C 12 80 13 00 00 00 00 00 00 CA [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 62 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 62 00 3C 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [00:03:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:32]wFMCommunicate OK [00:03:32]SAM_PROTO_GetFieldsCounters done [00:03:32]Malloc new data [00:03:32]Malloc new data [00:03:32]Malloc new data [00:03:32]KKMCreateXReportDocument OK [00:03:32]KKMSetXReportData OK [00:03:32]KKMPrepareXReportFMData [00:03:32]SAM_PROTO_GetShiftData [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 13 02 00 [00:03:32]Write to MH i2c: E2 08 00 3D 12 80 13 02 00 00 00 00 00 CD [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 3D 12 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 83 [00:03:32]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=4 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 17 00 00 [00:03:33]Write to MH i2c: E2 08 00 3E 12 80 17 00 00 00 00 00 00 D0 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 FD 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 FD 00 3E 12 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 F2 [00:03:33]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=4 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 17 00 00 [00:03:33]Write to MH i2c: E2 08 00 3F 12 80 17 00 00 00 00 00 00 D1 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 FD 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 FD 00 3F 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 88 [00:03:33]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=4 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 17 00 00 [00:03:33]Write to MH i2c: E2 08 00 40 12 80 17 00 00 00 00 00 00 D2 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:34]Read from MH i2c: E2 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 FD 00 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 FD 00 40 12 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 44 [00:03:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:34]wFMCommunicate OK [00:03:34]wFMCommunicate request_size=4 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 17 00 00 [00:03:34]Write to MH i2c: E2 08 00 41 12 80 17 00 00 00 00 00 00 D3 [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:34]Read from MH i2c: E2 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 CB 00 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 CB 00 41 12 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 BC [00:03:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:34]wFMCommunicate OK [00:03:34]SAM_PROTO_GetShiftData done [00:03:34]1194 (1194) - счетчики итогов смены [00:03:34] 1134 (4) - 90 - количество чеков со всеми признаками расчетов [00:03:34] 1129 (155) - счетчики операций «приход» [00:03:34] 1135 (4) - 90 - количество чеков по признаку расчетов [00:03:34] 1201 (3) - 33398.98 - общая итоговая сумма в чеках [00:03:34] 1136 (3) - 21909.00 - итоговая сумма в чеках наличными [00:03:34] 1138 (3) - 11489.98 - итоговая сумма в чеках безналичными [00:03:34] 1024 (122) - суммы налогов [00:03:34] 1006 (9) - суммы НДС [00:03:34] 1010 (1) - 0% - код ставки НДС [00:03:34] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:34] 1006 (12) - суммы НДС [00:03:34] 1010 (1) - 12% - код ставки НДС [00:03:34] 1011 (3) - 3547.25 - сумма НДС по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 0% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (11) - суммы НСП [00:03:34] 1014 (1) - 1% - код ставки НСП [00:03:34] 1015 (2) - 295.59 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 2% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 3% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 5% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 0,50% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 1,50% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1130 (141) - счетчики операций «возврат прихода» [00:03:34] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:34] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:34] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:34] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:34] 1024 (117) - суммы налогов [00:03:34] 1006 (9) - суммы НДС [00:03:34] 1010 (1) - 0% - код ставки НДС [00:03:34] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:34] 1006 (9) - суммы НДС [00:03:34] 1010 (1) - 12% - код ставки НДС [00:03:34] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 0% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 1% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 2% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 3% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 5% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 0,50% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 1,50% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1131 (141) - счетчики операций «расход» [00:03:34] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:34] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:34] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:34] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:34] 1024 (117) - суммы налогов [00:03:34] 1006 (9) - суммы НДС [00:03:34] 1010 (1) - 0% - код ставки НДС [00:03:34] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:34] 1006 (9) - суммы НДС [00:03:34] 1010 (1) - 12% - код ставки НДС [00:03:34] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 0% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 1% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 2% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 3% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 5% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 0,50% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 1,50% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1132 (141) - счетчики операций «возврат расхода» [00:03:35] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:35] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:35] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:35] 1024 (117) - суммы налогов [00:03:35] 1006 (9) - суммы НДС [00:03:35] 1010 (1) - 0% - код ставки НДС [00:03:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:35] 1006 (9) - суммы НДС [00:03:35] 1010 (1) - 12% - код ставки НДС [00:03:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 0% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 1% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 2% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 3% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 5% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 0,50% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1007 (9) - суммы НСП [00:03:35] 1014 (1) - 1,50% - код ставки НСП [00:03:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:35] 1133 (588) - - счетчики коррекции - не используются [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1194 (04AA) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1134 (046E) [00:03:35]Malloc new data [00:03:35]Processing tag 1129 (0469) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1135 (046F) [00:03:35]Malloc new data [00:03:35]Processing tag 1201 (04B1) [00:03:35]Malloc new data [00:03:35]Processing tag 1136 (0470) [00:03:35]Malloc new data [00:03:35]Processing tag 1138 (0472) [00:03:35]Malloc new data [00:03:35]Processing tag 1024 (0400) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]SetTLVBufToDocument err=0 [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1130 (046A) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1135 (046F) [00:03:35]Malloc new data [00:03:35]Processing tag 1201 (04B1) [00:03:35]Malloc new data [00:03:35]Processing tag 1136 (0470) [00:03:35]Malloc new data [00:03:35]Processing tag 1138 (0472) [00:03:35]Malloc new data [00:03:35]Processing tag 1024 (0400) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]SetTLVBufToDocument err=0 [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1131 (046B) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1135 (046F) [00:03:35]Malloc new data [00:03:35]Processing tag 1201 (04B1) [00:03:35]Malloc new data [00:03:35]Processing tag 1136 (0470) [00:03:35]Malloc new data [00:03:35]Processing tag 1138 (0472) [00:03:35]Malloc new data [00:03:35]Processing tag 1024 (0400) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]SetTLVBufToDocument err=0 [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1132 (046C) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1135 (046F) [00:03:35]Malloc new data [00:03:35]Processing tag 1201 (04B1) [00:03:35]Malloc new data [00:03:35]Processing tag 1136 (0470) [00:03:35]Malloc new data [00:03:35]Processing tag 1138 (0472) [00:03:35]Malloc new data [00:03:35]Processing tag 1024 (0400) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1006 (03EE) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1010 (03F2) [00:03:35]Malloc new data [00:03:35]Processing tag 1011 (03F3) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:35]Processing tag 1015 (03F7) [00:03:35]Malloc new data [00:03:35]SetTLVBufToDocument err=0 [00:03:35]Processing tag 1007 (03EF) [00:03:35]Load OK [00:03:35]SetTLVBufToDocument [00:03:35]Processing tag 1014 (03F6) [00:03:35]Malloc new data [00:03:36]Processing tag 1015 (03F7) [00:03:36]Malloc new data [00:03:36]SetTLVBufToDocument err=0 [00:03:36]Processing tag 1007 (03EF) [00:03:36]Load OK [00:03:36]SetTLVBufToDocument [00:03:36]Processing tag 1014 (03F6) [00:03:36]Malloc new data [00:03:36]Processing tag 1015 (03F7) [00:03:36]Malloc new data [00:03:36]SetTLVBufToDocument err=0 [00:03:36]Processing tag 1007 (03EF) [00:03:36]Load OK [00:03:36]SetTLVBufToDocument [00:03:36]Processing tag 1014 (03F6) [00:03:36]Malloc new data [00:03:36]Processing tag 1015 (03F7) [00:03:36]Malloc new data [00:03:36]SetTLVBufToDocument err=0 [00:03:36]SetTLVBufToDocument err=0 [00:03:36]SetTLVBufToDocument err=0 [00:03:36]Processing tag 1133 (046D) [00:03:36]Malloc new data [00:03:36]SetTLVBufToDocument err=0 [00:03:36]SetTLVBufToDocument err=0 [00:03:36]Malloc new data [00:03:36]SAM_PROTO_GetFMData [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 13 OFD Sender: No OFD packet to send [00:03:36]03 00 [00:03:36]Write to MH i2c: E2 08 00 42 12 80 13 03 00 00 00 00 00 D3 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 42 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 FF [00:03:36]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:03:36]wFMCommunicate OK [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 17 00 00 [00:03:36]Write to MH i2c: E2 08 00 43 12 80 17 00 00 00 00 00 00 D5 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 [00:03:36]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 43 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 05 [00:03:37]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:03:37]wFMCommunicate OK [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 17 00 00 [00:03:37]Write to MH i2c: E2 08 00 44 12 80 17 00 00 00 00 00 00 D6 [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 44 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 08 [00:03:37]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:03:37]wFMCommunicate OK [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 17 00 00 [00:03:37]Write to MH i2c: E2 08 00 45 12 80 17 00 00 00 00 00 00 D7 [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:38]Read from MH i2c: E2 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 FD 00 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 FD 00 45 12 00 04 F7 03 00 00 EF 03 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 90 00 52 [00:03:38]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:03:38]wFMCommunicate OK [00:03:38]wFMCommunicate request_size=4 [00:03:38]MH_SAM_APDU [00:03:38]CAPDU: 80 17 00 00 [00:03:38]Write to MH i2c: E2 08 00 46 12 80 17 00 00 00 00 00 00 D8 [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:03:38]Read from MH i2c: E2 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 DB 00 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 DB 00 46 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:03:38]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:38]wFMCommunicate OK [00:03:38]SAM_PROTO_GetFMData done [00:03:38]FM_GetFMData:85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 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 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:03:39]oper:6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:03:39]total:E4 8B C2 31 [00:03:39]Malloc new data [00:03:39]oper:6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 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 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:03:39]total:00 8C 55 [00:03:39]Malloc new data [00:03:39]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:03:39]total: [00:03:39]Malloc new data [00:03:39]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:03:39]total: [00:03:39]Malloc new data [00:03:39]KKMPrepareXReportFMData err=0 [00:03:39]Х отчет ИНН: 02508201610067 Кассир: Усенова Г. 25.09.2024 00:03 Смена: 10 РНМ: 0000000000152968 ЗНМ: 0300000010 СНО: Общий режим Всего чеков: 90 ИТОГИ ПРИХОД Чеков: 90 Общий итог: 33398.98 Итого наличными: 21909.00 Итого безнал.: 11489.98 НДС 0% : 0.00 НДС 12% : 3547.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 295.59 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 21909.00 НС Приход: 8348333.80 НС Возвр.Прихода: 56064.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959456 [00:03:39]StoreToDocumentArchive [00:03:39]MH_GetDate [00:03:39]Write to MH i2c: F0 00 00 47 12 48 [00:03:39]Write i2c OK [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: F0 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: F0 09 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: F0 09 00 47 12 00 5F 53 F3 66 CE CC 0E 66 6A [00:03:39]shift 10 fd 1727222623 [00:03:39]Create dir for shift 0010 [00:03:39]save to /storage/0010/doc_1727222623 [00:03:39]save last doc name /storage/0010/doc_1727222623 to /storage/kkm_last_doc_name [00:03:39]save OK [00:03:39]Clear old archive folders... [00:03:39]NVStorageSaveData kkm_last_timestamp [00:03:39]File name is /storage/kkm_last_timestamp [00:03:39]Write 4 bytes [00:03:39]NVStorageSaveData done [00:03:39]ExternCall_PrintAddStr [00:03:39]wPrintStart [00:03:39]Write to MH i2c: 01 00 00 48 12 5A [00:03:39]Write i2c OK [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: 01 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: 01 07 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: 01 07 00 48 12 00 00 00 00 00 FF 0F 6F [00:03:39]RasterBufferAndPrint [00:03:39]line Х отчет [00:03:39]line ИНН: 02508201610067 [00:03:39]line Кассир: Усенова Г. [00:03:39]line 25.09.2024 00:03 [00:03:39]line Смена: 10 [00:03:39]line РНМ: 0000000000152968 [00:03:39]line ЗНМ: 0300000010 [00:03:39]line СНО: Общий режим [00:03:39]line Всего чеков: 90 [00:03:39]line ИТОГИ ПРИХОД [00:03:39]line Чеков: 90 [00:03:39]line Общий итог: 33398.98 [00:03:39]line Итого наличными: 21909.00 [00:03:39]line Итого безнал.: 11489.98 [00:03:39]line НДС 0% : 0.00 [00:03:39]line НДС 12% : 3547.25 [00:03:39]line НСП 0% : 0.00 [00:03:39]line НСП 1,50% : 0.00 [00:03:39]line НСП 0,50% : 0.00 [00:03:39]line НСП 5% : 0.00 [00:03:39]line НСП 3% : 0.00 [00:03:39]line НСП 2% : 0.00 [00:03:39]line НСП 1% : 295.59 [00:03:39]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:03:39]line Чеков: 0 [00:03:39]line Общий итог: 0.00 [00:03:39]line Итого наличными: 0.00 [00:03:39]line Итого безнал.: 0.00 [00:03:39]line НДС 0% : 0.00 [00:03:39]line НДС 12% : 0.00 [00:03:39]line НСП 0% : 0.00 [00:03:39]line НСП 1,50% : 0.00 [00:03:39]line НСП 0,50% : 0.00 [00:03:39]line НСП 5% : 0.00 [00:03:39]line НСП 3% : 0.00 [00:03:39]line НСП 2% : 0.00 [00:03:39]line НСП 1% : 0.00 [00:03:39]line ИТОГИ РАСХОД [00:03:39]line Чеков: 0 [00:03:39]line Общий итог: 0.00 [00:03:39]line Итого наличными: 0.00 [00:03:39]line Итого безнал.: 0.00 [00:03:39]line НДС 0% : 0.00 [00:03:39]line НДС 12% : 0.00 [00:03:40]line НСП 0% : 0.00 [00:03:40]line НСП 1,50% : 0.00 [00:03:40]line НСП 0,50% : 0.00 [00:03:40]line НСП 5% : 0.00 [00:03:40]line НСП 3% : 0.00 [00:03:40]line НСП 2% : 0.00 [00:03:40]line НСП 1% : 0.00 [00:03:40]line ИТОГИ ВОЗВРАТ РАСХОДА [00:03:40]line Чеков: 0 [00:03:40]line Общий итог: 0.00 [00:03:40]line Итого наличными: 0.00 [00:03:40]line Итого безнал.: 0.00 [00:03:40]line НДС 0% : 0.00 [00:03:40]line НДС 12% : 0.00 [00:03:40]line НСП 0% : 0.00 [00:03:40]line НСП 1,50% : 0.00 [00:03:40]line НСП 0,50% : 0.00 [00:03:40]line НСП 5% : 0.00 [00:03:40]line НСП 3% : 0.00 [00:03:40]line НСП 2% : 0.00 [00:03:40]line НСП 1% : 0.00 [00:03:40]line Сумма внесений: 0.00 [00:03:40]line Сумма выплат: 0.00 [00:03:40]line Нал. в кассе: 21909.00 [00:03:40]line НС Приход: 8348333.80 [00:03:40]line НС Возвр.Прихода: 56064.00 [00:03:40]line НС Расход: 0.00 [00:03:40]line НС Возвр.Расхода: 0.00 [00:03:40]line ФМ: 0000000000959456 [00:03:40]written 0, free lines is 4095 [00:03:40]Write to MH i2c: 01 00 00 93 12 A5 [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: 01 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: 01 07 00 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: 01 07 00 93 12 00 00 00 00 00 04 0B BB [00:03:40]RasterBufferAndPrint [00:03:40]line [00:03:40]line [00:03:40]line [00:03:40]line [00:03:40]line [00:03:40]written 0, free lines is 2856 [00:03:40]MH_Cut [00:03:40]Write to MH i2c: D1 01 00 9A 12 01 7E [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: D1 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: D1 01 00 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: D1 01 00 9A 12 00 7D [00:03:40]Write to MH i2c: 01 00 00 9B 12 AD [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:41]OFD Sender: No OFD packet to send [00:03:41]*** Cut start [00:03:41]*** Partial cut [00:03:41]*** CUTSNS_PIN = 1 [00:03:41]*** CUTSNS_PIN = 0 [00:03:41]*** Brake cut motor [00:03:42]Read from MH i2c: 01 [00:03:42]MH_I2C_Read... [00:03:42]*** Stop cut motor [00:03:42]*** Cut end [00:03:42]Read from MH i2c: 01 07 00 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: 01 07 00 9B 12 00 00 00 00 00 FF 0F C2 [00:03:42]process_action x_report done [00:03:42]requested_data is exist [00:03:42]produce_requested_data [00:03:42]requested_item fd.num is exist - process it [00:03:42]SAM_PROTO_GetFieldsCounters [00:03:42]wFMCommunicate request_size=4 [00:03:42]MH_SAM_APDU [00:03:42]CAPDU: 80 13 00 00 [00:03:42]Write to MH i2c: E2 08 00 9C 12 80 13 00 00 00 00 00 00 2A [00:03:42]Write i2c OK [00:03:42]MH_I2C_Read... [00:03:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:42]Read from MH i2c: E2 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: E2 62 00 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: E2 62 00 9C 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [00:03:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:42]wFMCommunicate OK [00:03:42]SAM_PROTO_GetFieldsCounters done [00:03:42]requested_item shift.num is exist - process it [00:03:42]requested_item shift.opened is exist - process it [00:03:42]req_shift_opened [00:03:42]FM_GetShiftState [00:03:42]SAM_PROTO_GetShiftState [00:03:42]wFMCommunicate request_size=4 [00:03:42]MH_SAM_APDU [00:03:42]CAPDU: 80 13 01 00 [00:03:42]Write to MH i2c: E2 08 00 9D 12 80 13 01 00 00 00 00 00 2C [00:03:42]Write i2c OK [00:03:42]MH_I2C_Read... [00:03:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:42]Read from MH i2c: E2 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: E2 0E 00 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: E2 0E 00 9D 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 63 [00:03:42]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [00:03:42]wFMCommunicate OK [00:03:42]SAM_PROTO_GetShiftState done [00:03:42]FM_GetShiftState done [00:03:42]req_shift_opened done [00:03:42]requested_item shift.open_date is exist - process it [00:03:42]req_shift_open_date [00:03:42]req_shift_open_date done [00:03:42]produce_requested_data done [00:03:42]produce_requested_data return {"fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [00:03:42]process_action_free x_report [00:03:42]json_value_free [00:03:42]json_value_free done [00:03:42]process_json_proto returns [00:03:42]Send response to host [00:03:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [00:03:42]free response buf [00:03:42]execute_script done [00:03:42]execute_script returns [00:03:42]free content buf [00:03:42]Sock 9.Close socket [00:03:42]Sock 9.Thread stoped [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:26]accept exits with 8 [00:04:26]New connection [00:04:26]New thread 3066903908 created [00:04:26]Thread 3067047268 joined [00:04:26]Waiting for new connection... [00:04:26] Sock 8.Parse request [00:04:26]Sock 8.Check first char [00:04:26]Sock 8.First char is OK [00:04:26]request: POST /json_proto HTTP/1.0 [00:04:26]Method: POST [00:04:26]URL: /json_proto [00:04:26]Method is POST - this is cgi request [00:04:26]url: /json_proto [00:04:26]query_string will be loaded in cgi processing [00:04:26]execute_cgi json_proto POST (null) [00:04:26]execute_cgi path=json_proto method=POST [00:04:26]POST find Content-Length [00:04:26]Host: 172.17.62.196:8080 [00:04:26]Content-Length: 215 [00:04:26]Content-Type: application/json [00:04:26] [00:04:26]POST finish read [00:04:26]Found Content-Length = 215 [00:04:26]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:04:26]execute_script... [00:04:26]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:04:26]POST & json_proto [00:04:26]process_json_proto [00:04:26]json parsed OK: [00:04:26]protocol is kg_v1.0 [00:04:26]action value=get_value [00:04:26]process_action get_value [00:04:26]cmd_get_value [00:04:26]process_action get_value done [00:04:26]requested_data is exist [00:04:26]produce_requested_data [00:04:26]requested_item kkm.sn is exist - process it [00:04:26]requested_item kkm.ver is exist - process it [00:04:26]requested_item fm.sn is exist - process it [00:04:26]wFMCommunicate request_size=4 [00:04:26]MH_SAM_APDU [00:04:26]CAPDU: 80 11 00 00 [00:04:26]Write to MH i2c: E2 08 00 9E 12 80 11 00 00 00 00 00 00 2A [00:04:26]Write i2c OK [00:04:26]MH_I2C_Read... [00:04:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:26]Read from MH i2c: E2 [00:04:26]MH_I2C_Read... [00:04:26]Read from MH i2c: E2 17 00 [00:04:26]MH_I2C_Read... [00:04:26]Read from MH i2c: E2 17 00 9E 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 83 [00:04:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:04:26]wFMCommunicate OK [00:04:26]requested_item fd.num is exist - process it [00:04:26]SAM_PROTO_GetFieldsCounters [00:04:26]wFMCommunicate request_size=4 [00:04:26]MH_SAM_APDU [00:04:26]CAPDU: 80 13 00 00 [00:04:26]Write to MH i2c: E2 08 00 9F 12 80 13 00 00 00 00 00 00 2D [00:04:26]Write i2c OK [00:04:26]MH_I2C_Read... [00:04:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:26]Read from MH i2c: E2 [00:04:26]MH_I2C_Read... [00:04:26]Read from MH i2c: E2 62 00 [00:04:26]MH_I2C_Read... [00:04:26]Read from MH i2c: E2 62 00 9F 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [00:04:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E8 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:04:26]wFMCommunicate OK [00:04:26]SAM_PROTO_GetFieldsCounters done [00:04:26]requested_item shift.num is exist - process it [00:04:26]requested_item shift.opened is exist - process it [00:04:26]req_shift_opened [00:04:26]FM_GetShiftState [00:04:26]SAM_PROTO_GetShiftState [00:04:26]wFMCommunicate request_size=4 [00:04:26]MH_SAM_APDU [00:04:26]CAPDU: 80 13 01 00 [00:04:26]Write to MH i2c: E2 08 00 A0 12 80 13 01 00 00 00 00 00 2F [00:04:26]Write i2c OK [00:04:26]MH_I2C_Read... [00:04:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:26]Read from MH i2c: E2 [00:04:26]MH_I2C_Read... [00:04:26]Read from MH i2c: E2 0E 00 [00:04:26]MH_I2C_Read... [00:04:26]Read from MH i2c: E2 0E 00 A0 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 66 [00:04:26]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [00:04:26]wFMCommunicate OK [00:04:26]SAM_PROTO_GetShiftState done [00:04:26]FM_GetShiftState done [00:04:26]req_shift_opened done [00:04:26]requested_item shift.open_date is exist - process it [00:04:26]req_shift_open_date [00:04:26]req_shift_open_date done [00:04:26]produce_requested_data done [00:04:26]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720} [00:04:26]process_action_free get_value [00:04:26]json_value_free [00:04:26]json_value_free done [00:04:26]process_json_proto returns [00:04:26]Send response to host [00:04:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18920,"shift.num":182,"shift.opened":1,"shift.open_date":1727136720}}} [00:04:26]free response buf [00:04:26]execute_script done [00:04:26]execute_script returns [00:04:26]free content buf [00:04:26]Sock 8.Close socket [00:04:26]Sock 8.Thread stoped [00:04:26]accept exits with 9 [00:04:26]New connection [00:04:26]New thread 3067047268 created [00:04:26]Thread 3066903908 joined [00:04:26]Waiting for new connection... [00:04:26] Sock 9.Parse request [00:04:26]Sock 9.Check first char [00:04:26]Sock 9.First char is OK [00:04:26]request: POST /json_proto HTTP/1.0 [00:04:26]Method: POST [00:04:26]URL: /json_proto [00:04:26]Method is POST - this is cgi request [00:04:26]url: /json_proto [00:04:26]query_string will be loaded in cgi processing [00:04:26]execute_cgi json_proto POST (null) [00:04:26]execute_cgi path=json_proto method=POST [00:04:26]POST find Content-Length [00:04:26]Host: 172.17.62.196:8080 [00:04:26]Content-Length: 331 [00:04:26]Content-Type: application/json [00:04:26] [00:04:26]POST finish read [00:04:26]Found Content-Length = 331 [00:04:26]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:04:26]execute_script... [00:04:26]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:04:26]POST & json_proto [00:04:26]process_json_proto [00:04:26]json parsed OK: [00:04:26]protocol is kg_v1.0 [00:04:26]action value=get_value [00:04:26]process_action get_value [00:04:26]cmd_get_value [00:04:26]process_action get_value done [00:04:26]requested_data is exist [00:04:26]produce_requested_data [00:04:26]requested_item fm.sale.total is exist - process it [00:04:26]SAM_PROTO_GetFMData [00:04:26]wFMCommunicate request_size=4 [00:04:26]MH_SAM_APDU [00:04:26]CAPDU: 80 13 03 00 [00:04:26]Write to MH i2c: E2 08 00 A1 12 80 13 03 00 00 00 00 00 32 [00:04:26]Write i2c OK [00:04:26]MH_I2C_Read... [00:04:27]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:27]Read from MH i2c: E2 [00:04:27]MH_I2C_Read... [00:04:27]Read from MH i2c: E2 FD 00 [00:04:27]MH_I2C_Read... [00:04:27]Read from MH i2c: E2 FD 00 A1 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 5E [00:04:27]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:04:27]wFMCommunicate OK [00:04:27]wFMCommunicate request_size=4 [00:04:27]MH_SAM_APDU [00:04:27]CAPDU: 80 17 00 00 [00:04:27]Write to MH i2c: E2 08 00 A2 12 80 17 00 00 00 00 00 00 34 [00:04:27]Write i2c OK [00:04:27]MH_I2C_Read... [00:04:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:27]Read from MH i2c: E2 [00:04:27]MH_I2C_Read... [00:04:27]Read from MH i2c: E2 FD 00 [00:04:27]MH_I2C_Read... [00:04:27]Read from MH i2c: E2 FD 00 A2 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 64 [00:04:27]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:04:27]wFMCommunicate OK [00:04:27]wFMCommunicate request_size=4 [00:04:27]MH_SAM_APDU [00:04:27]CAPDU: 80 17 00 00 [00:04:27]Write to MH i2c: E2 08 00 A3 12 80 17 00 00 00 00 00 00 35 [00:04:27]Write i2c OK [00:04:27]MH_I2C_Read... [00:04:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:27]Read from MH i2c: E2 [00:04:27]MH_I2C_Read... [00:04:27]Read from MH i2c: E2 FD 00 [00:04:27]MH_I2C_Read... [00:04:27]Read from MH i2c: E2 FD 00 A3 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 67 [00:04:27]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:04:27]wFMCommunicate OK [00:04:27]wFMCommunicate request_size=4 [00:04:27]MH_SAM_APDU [00:04:27]CAPDU: 80 17 00 00 [00:04:27]Write to MH i2c: E2 08 00 A4 12 80 17 00 00 00 00 00 00 36 [00:04:27]Write i2c OK [00:04:27]MH_I2C_Read... [00:04:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:28]Read from MH i2c: E2 [00:04:28]MH_I2C_Read... [00:04:28]Read from MH i2c: E2 FD 00 [00:04:28]MH_I2C_Read... [00:04:28]Read from MH i2c: E2 FD 00 A4 12 00 04 F7 03 00 00 EF 03 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 90 00 B1 [00:04:28]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:04:28]wFMCommunicate OK [00:04:28]wFMCommunicate request_size=4 [00:04:28]MH_SAM_APDU [00:04:28]CAPDU: 80 17 00 00 [00:04:28]Write to MH i2c: E2 08 00 A5 12 80 17 00 00 00 00 00 00 37 [00:04:28]Write i2c OK [00:04:28]MH_I2C_Read... [00:04:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:04:28]Read from MH i2c: E2 [00:04:28]MH_I2C_Read... [00:04:28]Read from MH i2c: E2 DB 00 [00:04:28]MH_I2C_Read... [00:04:28]Read from MH i2c: E2 DB 00 A5 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:28]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:28]wFMCommunicate OK [00:04:28]SAM_PROTO_GetFMData done [00:04:28]requested_item fm.sale_refund.total is exist - process it [00:04:28]requested_item fm.buy.total is exist - process it [00:04:28]requested_item shift.sale.total is exist - process it [00:04:28]SAM_PROTO_GetShiftData [00:04:28]wFMCommunicate request_size=4 [00:04:28]MH_SAM_APDU [00:04:28]CAPDU: 80 13 02 00 [00:04:28]Write to MH i2c: E2 08 00 A6 12 80 13 02 00 00 00 00 00 36 [00:04:28]Write i2c OK [00:04:28]MH_I2C_Read... [00:04:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:28]Read from MH i2c: E2 [00:04:28]MH_I2C_Read... [00:04:28]Read from MH i2c: E2 FD 00 [00:04:28]MH_I2C_Read... [00:04:28]Read from MH i2c: E2 FD 00 A6 12 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 EC [00:04:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:28]wFMCommunicate OK [00:04:28]wFMCommunicate request_size=4 [00:04:28]MH_SAM_APDU [00:04:28]CAPDU: 80 17 00 00 [00:04:28]Write to MH i2c: E2 08 00 A7 12 80 17 00 00 00 00 00 00 39 [00:04:28]Write i2c OK [00:04:28]MH_I2C_Read... [00:04:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:29]Read from MH i2c: E2 [00:04:29]MH_I2C_Read... [00:04:29]Read from MH i2c: E2 FD 00 [00:04:29]MH_I2C_Read... [00:04:29]Read from MH i2c: E2 FD 00 A7 12 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 5B [00:04:29]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:04:29]wFMCommunicate OK [00:04:29]wFMCommunicate request_size=4 [00:04:29]MH_SAM_APDU [00:04:29]CAPDU: 80 17 00 00 [00:04:29]Write to MH i2c: E2 08 00 A8 12 80 17 00 00 00 00 00 00 3A [00:04:29]Write i2c OK [00:04:29]MH_I2C_Read... [00:04:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:29]Read from MH i2c: E2 [00:04:29]MH_I2C_Read... [00:04:29]Read from MH i2c: E2 FD 00 [00:04:29]MH_I2C_Read... [00:04:29]Read from MH i2c: E2 FD 00 A8 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 F1 [00:04:29]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:04:29]wFMCommunicate OK [00:04:29]wFMCommunicate request_size=4 [00:04:29]MH_SAM_APDU [00:04:29]CAPDU: 80 17 00 00 [00:04:29]Write to MH i2c: E2 08 00 A9 12 80 17 00 00 00 00 00 00 3B [00:04:29]Write i2c OK [00:04:29]MH_I2C_Read... [00:04:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:29]Read from MH i2c: E2 [00:04:29]MH_I2C_Read... [00:04:29]Read from MH i2c: E2 FD 00 [00:04:29]MH_I2C_Read... [00:04:29]Read from MH i2c: E2 FD 00 A9 12 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 AD [00:04:29]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:04:29]wFMCommunicate OK [00:04:29]wFMCommunicate request_size=4 [00:04:29]MH_SAM_APDU [00:04:29]CAPDU: 80 17 00 00 [00:04:29]Write to MH i2c: E2 08 00 AA 12 80 17 00 00 00 00 00 00 3C [00:04:29]Write i2c OK [00:04:29]MH_I2C_Read... [00:04:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:04:30]Read from MH i2c: E2 [00:04:30]MH_I2C_Read... [00:04:30]Read from MH i2c: E2 CB 00 [00:04:30]MH_I2C_Read... [00:04:30]Read from MH i2c: E2 CB 00 AA 12 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 25 [00:04:30]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:04:30]wFMCommunicate OK [00:04:30]SAM_PROTO_GetShiftData done [00:04:30]requested_item shift.sale.total_cash is exist - process it [00:04:30]requested_item shift.sale_refund.total is exist - process it [00:04:30]requested_item shift.sale_refund.total_cash is exist - process it [00:04:30]requested_item shift.buy.total is exist - process it [00:04:30]requested_item shift.buy.total_cash is exist - process it [00:04:30]produce_requested_data done [00:04:30]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:04:30]process_action_free get_value [00:04:30]json_value_free [00:04:30]json_value_free done [00:04:30]process_json_proto returns [00:04:30]Send response to host [00:04:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:04:30]free response buf [00:04:30]execute_script done [00:04:30]execute_script returns [00:04:30]free content buf [00:04:30]Sock 9.Close socket [00:04:30]Sock 9.Thread stoped [00:04:30]accept exits with 8 [00:04:30]New connection [00:04:30]New thread 3066903908 created [00:04:30]Thread 3067047268 joined [00:04:30]Waiting for new connection... [00:04:30] Sock 8.Parse request [00:04:30]Sock 8.Check first char [00:04:30]Sock 8.First char is OK [00:04:30]request: POST /json_proto HTTP/1.0 [00:04:30]Method: POST [00:04:30]URL: /json_proto [00:04:30]Method is POST - this is cgi request [00:04:30]url: /json_proto [00:04:30]query_string will be loaded in cgi processing [00:04:30]execute_cgi json_proto POST (null) [00:04:30]execute_cgi path=json_proto method=POST [00:04:30]POST find Content-Length [00:04:30]Host: 172.17.62.196:8080 [00:04:30]Content-Length: 331 [00:04:30]Content-Type: application/json [00:04:30] [00:04:30]POST finish read [00:04:30]Found Content-Length = 331 [00:04:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:04:30]execute_script... [00:04:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:04:30]POST & json_proto [00:04:30]process_json_proto [00:04:30]json parsed OK: [00:04:30]protocol is kg_v1.0 [00:04:30]action value=get_value [00:04:30]process_action get_value [00:04:30]cmd_get_value [00:04:30]process_action get_value done [00:04:30]requested_data is exist [00:04:30]produce_requested_data [00:04:30]requested_item fm.sale.total is exist - process it [00:04:30]SAM_PROTO_GetFMData [00:04:30]wFMCommunicate request_size=4 [00:04:30]MH_SAM_APDU [00:04:30]CAPDU: 80 13 03 00 [00:04:30]Write to MH i2c: E2 08 00 AB 12 80 13 03 00 00 00 00 00 3C [00:04:30]Write i2c OK [00:04:30]MH_I2C_Read... [00:04:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:30]Read from MH i2c: E2 [00:04:30]MH_I2C_Read... [00:04:30]Read from MH i2c: E2 FD 00 [00:04:30]MH_I2C_Read... [00:04:30]Read from MH i2c: E2 FD 00 AB 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 68 [00:04:30]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:04:30]wFMCommunicate OK [00:04:30]wFMCommunicate request_size=4 [00:04:30]MH_SAM_APDU [00:04:30]CAPDU: 80 17 00 00 [00:04:30]Write to MH i2c: E2 08 00 AC 12 80 17 00 00 00 00 00 00 3E [00:04:30]Write i2c OK [00:04:30]MH_I2C_Read... [00:04:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:30]Read from MH i2c: E2 [00:04:30]MH_I2C_Read... [00:04:30]Read from MH i2c: E2 FD 00 [00:04:30]MH_I2C_Read... [00:04:30]Read from MH i2c: E2 FD 00 AC 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 6E [00:04:31]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:04:31]wFMCommunicate OK [00:04:31]wFMCommunicate request_size=4 [00:04:31]MH_SAM_APDU [00:04:31]CAPDU: 80 17 00 00 [00:04:31]Write to MH i2c: E2 08 00 AD 12 80 17 00 00 00 00 00 00 3F [00:04:31]Write i2c OK [00:04:31]MH_I2C_Read... [00:04:31]OFD Sender: No OFD packet to send [00:04:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:31]Read from MH i2c: E2 [00:04:31]MH_I2C_Read... [00:04:31]Read from MH i2c: E2 FD 00 [00:04:31]MH_I2C_Read... [00:04:31]Read from MH i2c: E2 FD 00 AD 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 71 [00:04:31]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:04:31]wFMCommunicate OK [00:04:31]wFMCommunicate request_size=4 [00:04:31]MH_SAM_APDU [00:04:31]CAPDU: 80 17 00 00 [00:04:31]Write to MH i2c: E2 08 00 AE 12 80 17 00 00 00 00 00 00 40 [00:04:31]Write i2c OK [00:04:31]MH_I2C_Read... [00:04:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:31]Read from MH i2c: E2 [00:04:31]MH_I2C_Read... [00:04:31]Read from MH i2c: E2 FD 00 [00:04:31]MH_I2C_Read... [00:04:31]Read from MH i2c: E2 FD 00 AE 12 00 04 F7 03 00 00 EF 03 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 90 00 BB [00:04:31]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:04:31]wFMCommunicate OK [00:04:31]wFMCommunicate request_size=4 [00:04:31]MH_SAM_APDU [00:04:31]CAPDU: 80 17 00 00 [00:04:31]Write to MH i2c: E2 08 00 AF 12 80 17 00 00 00 00 00 00 41 [00:04:31]Write i2c OK [00:04:31]MH_I2C_Read... [00:04:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:04:32]Read from MH i2c: E2 [00:04:32]MH_I2C_Read... [00:04:32]Read from MH i2c: E2 DB 00 [00:04:32]MH_I2C_Read... [00:04:32]Read from MH i2c: E2 DB 00 AF 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:32]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:32]wFMCommunicate OK [00:04:32]SAM_PROTO_GetFMData done [00:04:32]requested_item fm.sale_refund.total is exist - process it [00:04:32]requested_item fm.buy.total is exist - process it [00:04:32]requested_item shift.sale.total is exist - process it [00:04:32]SAM_PROTO_GetShiftData [00:04:32]wFMCommunicate request_size=4 [00:04:32]MH_SAM_APDU [00:04:32]CAPDU: 80 13 02 00 [00:04:32]Write to MH i2c: E2 08 00 B0 12 80 13 02 00 00 00 00 00 40 [00:04:32]Write i2c OK [00:04:32]MH_I2C_Read... [00:04:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:32]Read from MH i2c: E2 [00:04:32]MH_I2C_Read... [00:04:32]Read from MH i2c: E2 FD 00 [00:04:32]MH_I2C_Read... [00:04:32]Read from MH i2c: E2 FD 00 B0 12 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F6 [00:04:32]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:32]wFMCommunicate OK [00:04:32]wFMCommunicate request_size=4 [00:04:32]MH_SAM_APDU [00:04:32]CAPDU: 80 17 00 00 [00:04:32]Write to MH i2c: E2 08 00 B1 12 80 17 00 00 00 00 00 00 43 [00:04:32]Write i2c OK [00:04:32]MH_I2C_Read... [00:04:33]Read from MH i2c: E2 [00:04:33]MH_I2C_Read... [00:04:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:33]Read from MH i2c: E2 FD 00 [00:04:33]MH_I2C_Read... [00:04:33]Read from MH i2c: E2 FD 00 B1 12 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 65 [00:04:33]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:04:33]wFMCommunicate OK [00:04:33]wFMCommunicate request_size=4 [00:04:33]MH_SAM_APDU [00:04:33]CAPDU: 80 17 00 00 [00:04:33]Write to MH i2c: E2 08 00 B2 12 80 17 00 00 00 00 00 00 44 [00:04:33]Write i2c OK [00:04:33]MH_I2C_Read... [00:04:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:33]Read from MH i2c: E2 [00:04:33]MH_I2C_Read... [00:04:33]Read from MH i2c: E2 FD 00 [00:04:33]MH_I2C_Read... [00:04:33]Read from MH i2c: E2 FD 00 B2 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 FB [00:04:33]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:04:33]wFMCommunicate OK [00:04:33]wFMCommunicate request_size=4 [00:04:33]MH_SAM_APDU [00:04:33]CAPDU: 80 17 00 00 [00:04:33]Write to MH i2c: E2 08 00 B3 12 80 17 00 00 00 00 00 00 45 [00:04:33]Write i2c OK [00:04:33]MH_I2C_Read... [00:04:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:33]Read from MH i2c: E2 [00:04:33]MH_I2C_Read... [00:04:33]Read from MH i2c: E2 FD 00 [00:04:33]MH_I2C_Read... [00:04:33]Read from MH i2c: E2 FD 00 B3 12 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 B7 [00:04:33]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:04:34]wFMCommunicate OK [00:04:34]wFMCommunicate request_size=4 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 17 00 00 [00:04:34]Write to MH i2c: E2 08 00 B4 12 80 17 00 00 00 00 00 00 46 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 CB 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 CB 00 B4 12 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 2F [00:04:34]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:04:34]wFMCommunicate OK [00:04:34]SAM_PROTO_GetShiftData done [00:04:34]requested_item shift.sale.total_cash is exist - process it [00:04:34]requested_item shift.sale_refund.total is exist - process it [00:04:34]requested_item shift.sale_refund.total_cash is exist - process it [00:04:34]requested_item shift.buy.total is exist - process it [00:04:34]requested_item shift.buy.total_cash is exist - process it [00:04:34]produce_requested_data done [00:04:34]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:04:34]process_action_free get_value [00:04:34]json_value_free [00:04:34]json_value_free done [00:04:34]process_json_proto returns [00:04:34]Send response to host [00:04:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:04:34]free response buf [00:04:34]execute_script done [00:04:34]execute_script returns [00:04:34]free content buf [00:04:34]Sock 8.Close socket [00:04:34]Sock 8.Thread stoped [00:04:34]accept exits with 9 [00:04:34]New connection [00:04:34]New thread 3067047268 created [00:04:34]Thread 3066903908 joined [00:04:34]Waiting for new connection... [00:04:34] Sock 9.Parse request [00:04:34]Sock 9.Check first char [00:04:34]Sock 9.First char is OK [00:04:34]request: POST /json_proto HTTP/1.0 [00:04:34]Method: POST [00:04:34]URL: /json_proto [00:04:34]Method is POST - this is cgi request [00:04:34]url: /json_proto [00:04:34]query_string will be loaded in cgi processing [00:04:34]execute_cgi json_proto POST (null) [00:04:34]execute_cgi path=json_proto method=POST [00:04:34]POST find Content-Length [00:04:34]Host: 172.17.62.196:8080 [00:04:34]Content-Length: 254 [00:04:34]Content-Type: application/json [00:04:34] [00:04:34]POST finish read [00:04:34]Found Content-Length = 254 [00:04:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0423\u0441\u0435\u043D\u043E\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:34]execute_script... [00:04:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0423\u0441\u0435\u043D\u043E\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:34]POST & json_proto [00:04:34]process_json_proto [00:04:34]json parsed OK: [00:04:34]protocol is kg_v1.0 [00:04:34]action value=close_shift [00:04:34]process_action close_shift [00:04:34]cmd_close_shift [00:04:34]MH_GetDate [00:04:34]Write to MH i2c: F0 00 00 B5 12 B6 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: F0 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: F0 09 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: F0 09 00 B5 12 00 95 53 F3 66 CE CC 0E 66 0E [00:04:34]GetLastDocTimeStamp 1727222615 [00:04:34]current date 1727222677 [00:04:34]FM_GetShiftState [00:04:34]SAM_PROTO_GetShiftState [00:04:34]wFMCommunicate request_size=4 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 13 01 00 [00:04:34]Write to MH i2c: E2 08 00 B6 12 80 13 01 00 00 00 00 00 45 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 0E 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 0E 00 B6 12 00 09 00 01 D0 03 F2 66 00 00 00 00 90 00 7C [00:04:34]RAPDU: 09 00 01 D0 03 F2 66 00 00 00 00 90 00 [00:04:34]wFMCommunicate OK [00:04:34]SAM_PROTO_GetShiftState done [00:04:34]FM_GetShiftState done [00:04:34]KKMCreateCloseShiftDocument [00:04:34]Load OK [00:04:34]Malloc new data [00:04:34]MH_GetDate [00:04:34]Write to MH i2c: F0 00 00 B7 12 B8 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: F0 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: F0 09 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: F0 09 00 B7 12 00 95 53 F3 66 CE CC 0E 66 10 [00:04:34]Malloc new data [00:04:34]Malloc new data [00:04:34]Malloc new data [00:04:34]Malloc new data [00:04:34]KKMCreateCloseShiftDocument OK [00:04:34]KKMSetCloseShiftData OK [00:04:34]ProcessDocumentItem done err = 0, tmpTLVsize=69 [00:04:34]tlvbuf is 01915100 [00:04:34]KKMLoadAndSignCloseShiftData [00:04:34]SAM_PROTO_ProcessDocument [00:04:34]wFMCommunicate request_size=9 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 15 01 00 04 05 00 45 00 [00:04:34]Write to MH i2c: E2 0C 00 B8 12 80 15 01 00 04 00 05 00 45 00 00 00 9B [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 B8 12 00 90 00 3E [00:04:34]RAPDU: 90 00 [00:04:34]wFMCommunicate OK [00:04:34]wFMCommunicate request_size=23 [00:04:34]MH_SAM_APDU [00:04:34]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:04:34]Write to MH i2c: E2 1A 00 B9 12 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 40 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 B9 12 00 90 00 3F [00:04:34]RAPDU: 90 00 [00:04:34]wFMCommunicate OK [00:04:34]wFMCommunicate request_size=28 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 A3 D1 81 D0 B5 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 [00:04:34]Write to MH i2c: E2 1F 00 BA 12 80 15 02 00 17 00 FD 03 13 00 D0 A3 D1 81 D0 B5 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 00 00 C5 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 BA 12 00 90 00 40 [00:04:34]RAPDU: 90 00 [00:04:34]wFMCommunicate OK [00:04:34]wFMCommunicate request_size=13 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 15 02 00 08 F4 03 04 00 95 53 F3 66 [00:04:34]Write to MH i2c: E2 10 00 BB 12 80 15 02 00 08 00 F4 03 04 00 95 53 F3 66 00 00 99 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 BB 12 00 90 00 41 [00:04:34]RAPDU: 90 00 [00:04:34]wFMCommunicate OK [00:04:34]wFMCommunicate request_size=25 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [00:04:34]Write to MH i2c: E2 1C 00 BC 12 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 B6 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:34]Read from MH i2c: E2 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 [00:04:34]MH_I2C_Read... [00:04:34]Read from MH i2c: E2 03 00 BC 12 00 90 00 42 [00:04:34]RAPDU: 90 00 [00:04:34]wFMCommunicate OK [00:04:34]wFMCommunicate request_size=4 [00:04:34]MH_SAM_APDU [00:04:34]CAPDU: 80 15 03 00 [00:04:34]Write to MH i2c: E2 08 00 BD 12 80 15 03 00 00 00 00 00 50 [00:04:34]Write i2c OK [00:04:34]MH_I2C_Read... [00:04:35]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:04:35]Read from MH i2c: E2 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 FD 00 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 FD 00 BD 12 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E9 49 00 00 0E 04 04 00 B6 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 49 [00:04:35]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 E9 49 00 00 0E 04 04 00 B6 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:35]wFMCommunicate OK [00:04:35]SAM_PROTO_ProcessDocument answer len = 1265 [00:04:35]SAM_PROTO_ProcessDocument remain to read = 1017 [00:04:35]wFMCommunicate request_size=4 [00:04:35]MH_SAM_APDU [00:04:35]CAPDU: 80 17 00 00 [00:04:35]Write to MH i2c: E2 08 00 BE 12 80 17 00 00 00 00 00 00 50 [00:04:35]Write i2c OK [00:04:35]MH_I2C_Read... [00:04:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:35]Read from MH i2c: E2 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 FD 00 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 FD 00 BE 12 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 99 [00:04:35]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:04:36]wFMCommunicate OK [00:04:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:36]SAM_PROTO_ProcessDocument remain to read = 767 [00:04:36]wFMCommunicate request_size=4 [00:04:36]MH_SAM_APDU [00:04:36]CAPDU: 80 17 00 00 [00:04:36]Write to MH i2c: E2 08 00 BF 12 80 17 00 00 00 00 00 00 51 [00:04:36]Write i2c OK [00:04:36]MH_I2C_Read... [00:04:36]OFD Sender: No OFD packet to send [00:04:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:36]Read from MH i2c: E2 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 FD 00 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 FD 00 BF 12 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 B3 [00:04:36]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:04:36]wFMCommunicate OK [00:04:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:36]SAM_PROTO_ProcessDocument remain to read = 517 [00:04:36]wFMCommunicate request_size=4 [00:04:36]MH_SAM_APDU [00:04:36]CAPDU: 80 17 00 00 [00:04:36]Write to MH i2c: E2 08 00 C0 12 80 17 00 00 00 00 00 00 52 [00:04:36]Write i2c OK [00:04:36]MH_I2C_Read... [00:04:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:36]Read from MH i2c: E2 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 FD 00 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 FD 00 C0 12 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 DC [00:04:36]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:04:36]wFMCommunicate OK [00:04:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:36]SAM_PROTO_ProcessDocument remain to read = 267 [00:04:36]wFMCommunicate request_size=4 [00:04:36]MH_SAM_APDU [00:04:36]CAPDU: 80 17 00 00 [00:04:37]Write to MH i2c: E2 08 00 C1 12 80 17 00 00 00 00 00 00 53 [00:04:37]Write i2c OK [00:04:37]MH_I2C_Read... [00:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:37]Read from MH i2c: E2 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 C1 12 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 1B [00:04:37]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:04:37]wFMCommunicate OK [00:04:37]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:37]SAM_PROTO_ProcessDocument remain to read = 17 [00:04:37]wFMCommunicate request_size=4 [00:04:37]MH_SAM_APDU [00:04:37]CAPDU: 80 17 00 00 [00:04:37]Write to MH i2c: E2 08 00 C2 12 80 17 00 00 00 00 00 00 54 [00:04:37]Write i2c OK [00:04:37]MH_I2C_Read... [00:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:04:37]Read from MH i2c: E2 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 14 00 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 14 00 C2 12 00 01 00 06 F7 03 00 00 35 04 06 00 34 2A FF 12 06 A4 90 00 B2 [00:04:37]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 34 2A FF 12 06 A4 90 00 [00:04:37]wFMCommunicate OK [00:04:37]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:04:37]SAM_PROTO_ProcessDocument done [00:04:37]1209 (1) - 1.0 - номер версии ФФД [00:04:37]1041 (16) - 0000000000959456 - номер ФМ [00:04:37]1040 (4) - 18921 - номер ФД [00:04:37]1038 (4) - 182 - номер смены [00:04:37]1118 (4) - 90 - количество кассовых чеков за смену [00:04:37]1111 (4) - 92 - общее количество ФД за смену [00:04:37]1194 (1194) - счетчики итогов смены [00:04:37] 1134 (4) - 90 - количество чеков со всеми признаками расчетов [00:04:37] 1129 (155) - счетчики операций «приход» [00:04:37] 1135 (4) - 90 - количество чеков по признаку расчетов [00:04:37] 1201 (3) - 33398.98 - общая итоговая сумма в чеках [00:04:37] 1136 (3) - 21909.00 - итоговая сумма в чеках наличными [00:04:37] 1138 (3) - 11489.98 - итоговая сумма в чеках безналичными [00:04:37] 1024 (122) - суммы налогов [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 0% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1006 (12) - суммы НДС [00:04:37] 1010 (1) - 12% - код ставки НДС [00:04:37] 1011 (3) - 3547.25 - сумма НДС по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (11) - суммы НСП [00:04:37] 1014 (1) - 1% - код ставки НСП [00:04:37] 1015 (2) - 295.59 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 2% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 3% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 5% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1130 (141) - счетчики операций «возврат прихода» [00:04:37] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:37] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:37] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:37] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:37] 1024 (117) - суммы налогов [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 0% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 12% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 2% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 3% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 5% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1131 (141) - счетчики операций «расход» [00:04:37] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:37] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:37] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:37] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:37] 1024 (117) - суммы налогов [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 0% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 12% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 2% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 3% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 5% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1132 (141) - счетчики операций «возврат расхода» [00:04:37] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:37] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:37] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:37] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:37] 1024 (117) - суммы налогов [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 0% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1006 (9) - суммы НДС [00:04:37] 1010 (1) - 12% - код ставки НДС [00:04:37] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 2% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 3% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 5% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 0,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1007 (9) - суммы НСП [00:04:37] 1014 (1) - 1,50% - код ставки НСП [00:04:37] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:37] 1133 (588) - - счетчики коррекции - не используются [00:04:37]1077 (6) - 57359272642212 - ФПД [00:04:37]SetTLVBufToDocument [00:04:37]Processing tag 1209 (04B9) [00:04:37]Malloc new data [00:04:37]Processing tag 1041 (0411) [00:04:37]Processing tag 1040 (0410) [00:04:37]Malloc new data [00:04:37]Processing tag 1038 (040E) [00:04:37]Malloc new data [00:04:37]Processing tag 1118 (045E) [00:04:37]Malloc new data [00:04:37]Processing tag 1111 (0457) [00:04:37]Malloc new data [00:04:37]Processing tag 1194 (04AA) [00:04:37]Load OK [00:04:37]SetTLVBufToDocument [00:04:37]Processing tag 1134 (046E) [00:04:38]Malloc new data [00:04:38]Processing tag 1129 (0469) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1135 (046F) [00:04:38]Malloc new data [00:04:38]Processing tag 1201 (04B1) [00:04:38]Malloc new data [00:04:38]Processing tag 1136 (0470) [00:04:38]Malloc new data [00:04:38]Processing tag 1138 (0472) [00:04:38]Malloc new data [00:04:38]Processing tag 1024 (0400) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1130 (046A) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1135 (046F) [00:04:38]Malloc new data [00:04:38]Processing tag 1201 (04B1) [00:04:38]Malloc new data [00:04:38]Processing tag 1136 (0470) [00:04:38]Malloc new data [00:04:38]Processing tag 1138 (0472) [00:04:38]Malloc new data [00:04:38]Processing tag 1024 (0400) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1131 (046B) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1135 (046F) [00:04:38]Malloc new data [00:04:38]Processing tag 1201 (04B1) [00:04:38]Malloc new data [00:04:38]Processing tag 1136 (0470) [00:04:38]Malloc new data [00:04:38]Processing tag 1138 (0472) [00:04:38]Malloc new data [00:04:38]Processing tag 1024 (0400) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1132 (046C) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1135 (046F) [00:04:38]Malloc new data [00:04:38]Processing tag 1201 (04B1) [00:04:38]Malloc new data [00:04:38]Processing tag 1136 (0470) [00:04:38]Malloc new data [00:04:38]Processing tag 1138 (0472) [00:04:38]Malloc new data [00:04:38]Processing tag 1024 (0400) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1006 (03EE) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1010 (03F2) [00:04:38]Malloc new data [00:04:38]Processing tag 1011 (03F3) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1007 (03EF) [00:04:38]Load OK [00:04:38]SetTLVBufToDocument [00:04:38]Processing tag 1014 (03F6) [00:04:38]Malloc new data [00:04:38]Processing tag 1015 (03F7) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1133 (046D) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Processing tag 1077 (0435) [00:04:38]Malloc new data [00:04:38]SetTLVBufToDocument err=0 [00:04:38]Malloc new data [00:04:38]SAM_PROTO_GetFMData [00:04:38]wFMCommunicate request_size=4 [00:04:38]MH_SAM_APDU [00:04:38]CAPDU: 80 13 03 00 [00:04:38]Write to MH i2c: E2 08 00 C3 12 80 13 03 00 00 00 00 00 54 [00:04:38]Write i2c OK [00:04:38]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 FD 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 FD 00 C3 12 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 80 [00:04:39]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:04:39]wFMCommunicate OK [00:04:39]wFMCommunicate request_size=4 [00:04:39]MH_SAM_APDU [00:04:39]CAPDU: 80 17 00 00 [00:04:39]Write to MH i2c: E2 08 00 C4 12 80 17 00 00 00 00 00 00 56 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 FD 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 FD 00 C4 12 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 86 [00:04:39]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:04:39]wFMCommunicate OK [00:04:39]wFMCommunicate request_size=4 [00:04:39]MH_SAM_APDU [00:04:39]CAPDU: 80 17 00 00 [00:04:39]Write to MH i2c: E2 08 00 C5 12 80 17 00 00 00 00 00 00 57 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 FD 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 FD 00 C5 12 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 89 [00:04:40]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:04:40]wFMCommunicate OK [00:04:40]wFMCommunicate request_size=4 [00:04:40]MH_SAM_APDU [00:04:40]CAPDU: 80 17 00 00 [00:04:40]Write to MH i2c: E2 08 00 C6 12 80 17 00 00 00 00 00 00 58 [00:04:40]Write i2c OK [00:04:40]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 FD 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 FD 00 C6 12 00 04 F7 03 00 00 EF 03 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 90 00 D3 [00:04:40]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:04:40]wFMCommunicate OK [00:04:40]wFMCommunicate request_size=4 [00:04:40]MH_SAM_APDU [00:04:40]CAPDU: 80 17 00 00 [00:04:40]Write to MH i2c: E2 08 00 C7 12 80 17 00 00 00 00 00 00 59 [00:04:40]Write i2c OK [00:04:40]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 DB 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 DB 00 C7 12 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:41]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:41]wFMCommunicate OK [00:04:41]SAM_PROTO_GetFMData done [00:04:41]Malloc new data [00:04:41]Malloc new data [00:04:41]Malloc new data [00:04:41]Malloc new data [00:04:41]KKMLoadAndSignCloseShiftData err=0 [00:04:41]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Усенова Г. 25.09.2024 00:04 Смена: 182 РНМ: 0000000000152968 ЗНМ: 0300000010 СНО: Общий режим Чеков за смену: 90 ФД за смену: 92 Всего чеков: 90 ИТОГИ ПРИХОД Чеков: 90 Общий итог: 33398.98 Итого наличными: 21909.00 Итого безнал.: 11489.98 НДС 0% : 0.00 НДС 12% : 3547.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 295.59 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 21909.00 НС Приход: 8348333.80 НС Возвр.Прихода: 56064.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 18921 ФМ: 0000000000959456 ФПД: 57359272642212 [00:04:41]StoreToDocumentArchive [00:04:41]shift 182 fd 18921 [00:04:41]save to /storage/0182/doc_00018921 [00:04:41]save last doc name /storage/0182/doc_00018921 to /storage/kkm_last_doc_name [00:04:41]OFD Sender: No OFD packet to send [00:04:41]save OK [00:04:41]Clear old archive folders... [00:04:41]Remove dir /storage/0010 [00:04:41]opendir ok [00:04:41]file . [00:04:41]file .. [00:04:41]file doc_1727222623 [00:04:41]remove file /storage/0010/doc_1727222623 [00:04:41]remove dir /storage/0010 [00:04:41]NVStorageSaveData kkm_registers [00:04:41]File name is /storage/kkm_registers [00:04:41]Write 24 bytes [00:04:41]NVStorageSaveData done [00:04:41]NVStorageSaveData kkm_registers [00:04:41]File name is /storage/kkm_registers [00:04:41]Write 24 bytes [00:04:41]NVStorageSaveData done [00:04:41]ProcessDocumentItem done err = 0, tmpTLVsize=1377 [00:04:41]tlvbuf is 019581A0 [00:04:41]SAM_PROTO_ClearQueue [00:04:41]wFMCommunicate request_size=4 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 09 00 00 [00:04:41]Write to MH i2c: E2 08 00 C8 12 80 09 00 00 00 00 00 00 4C [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 C8 12 00 90 00 4E [00:04:41]RAPDU: 90 00 [00:04:41]wFMCommunicate OK [00:04:41]SAM_PROTO_ClearQueue done [00:04:41]KKMCreateOFDPacket [00:04:41]OFDProtocolAddRootSTLVToBuf [00:04:41]FM_MakeSignedData [00:04:41]FM_MakeSignedData [00:04:41]SAM_PROTO_SignData [00:04:41]wFMCommunicate request_size=4 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 0D 01 02 [00:04:41]Write to MH i2c: E2 08 00 C9 12 80 0D 01 02 00 00 00 00 54 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 C9 12 00 90 00 4F [00:04:41]RAPDU: 90 00 [00:04:41]wFMCommunicate OK [00:04:41]wFMCommunicate request_size=255 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 0D 02 02 FA 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 A3 D1 81 D0 B5 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 95 53 F3 66 0E 04 04 00 B6 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 AA 04 D5 04 6E 04 04 00 5A 00 00 00 69 04 A2 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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:04:41]Write to MH i2c: E2 02 01 CA 12 80 0D 02 02 FA 00 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 A3 D1 81 D0 B5 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 95 53 F3 66 0E 04 04 00 B6 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 AA 04 D5 04 6E 04 04 00 5A 00 00 00 69 04 A2 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 00 AB [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:42]Read from MH i2c: E2 [00:04:42]MH_I2C_Read... [00:04:42]Read from MH i2c: E2 03 00 [00:04:42]MH_I2C_Read... [00:04:42]Read from MH i2c: E2 03 00 CA 12 00 90 00 50 [00:04:42]RAPDU: 90 00 [00:04:42]wFMCommunicate OK [00:04:42]wFMCommunicate request_size=255 [00:04:42]MH_SAM_APDU [00:04:42]CAPDU: 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 77 73 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 [00:04:42]Write to MH i2c: E2 02 01 CB 12 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 77 73 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 00 00 AC [00:04:42]Write i2c OK [00:04:42]MH_I2C_Read... [00:04:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:42]Read from MH i2c: E2 [00:04:42]MH_I2C_Read... [00:04:42]Read from MH i2c: E2 03 00 [00:04:42]MH_I2C_Read... [00:04:42]Read from MH i2c: E2 03 00 CB 12 00 90 00 51 [00:04:42]RAPDU: 90 00 [00:04:42]wFMCommunicate OK [00:04:42]wFMCommunicate request_size=255 [00:04:42]MH_SAM_APDU [00:04:42]CAPDU: 80 0D 02 02 FA F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 [00:04:42]Write to MH i2c: E2 02 01 CC 12 80 0D 02 02 FA 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 00 1E [00:04:43]Write i2c OK [00:04:43]MH_I2C_Read... [00:04:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:43]Read from MH i2c: E2 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 03 00 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 03 00 CC 12 00 90 00 52 [00:04:43]RAPDU: 90 00 [00:04:43]wFMCommunicate OK [00:04:43]wFMCommunicate request_size=255 [00:04:43]MH_SAM_APDU [00:04:43]CAPDU: 80 0D 02 02 FA 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 [00:04:43]Write to MH i2c: E2 02 01 CD 12 80 0D 02 02 FA 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 00 1E [00:04:43]Write i2c OK [00:04:43]MH_I2C_Read... [00:04:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:43]Read from MH i2c: E2 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 03 00 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 03 00 CD 12 00 90 00 53 [00:04:43]RAPDU: 90 00 [00:04:43]wFMCommunicate OK [00:04:43]wFMCommunicate request_size=255 [00:04:43]MH_SAM_APDU [00:04:43]CAPDU: 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 [00:04:44]Write to MH i2c: E2 02 01 CE 12 80 0D 02 02 FA 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 E0 [00:04:44]Write i2c OK [00:04:44]MH_I2C_Read... [00:04:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:44]Read from MH i2c: E2 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 03 00 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 03 00 CE 12 00 90 00 54 [00:04:44]RAPDU: 90 00 [00:04:44]wFMCommunicate OK [00:04:44]wFMCommunicate request_size=136 [00:04:44]MH_SAM_APDU [00:04:44]CAPDU: 80 0D 02 02 83 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 E9 49 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 34 2A FF 12 06 A4 [00:04:44]Write to MH i2c: E2 8B 00 CF 12 80 0D 02 02 83 00 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 E9 49 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 34 2A FF 12 06 A4 00 00 EC [00:04:44]Write i2c OK [00:04:44]MH_I2C_Read... [00:04:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:44]Read from MH i2c: E2 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 03 00 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 03 00 CF 12 00 90 00 55 [00:04:44]RAPDU: 90 00 [00:04:44]wFMCommunicate OK [00:04:44]wFMCommunicate request_size=4 [00:04:44]MH_SAM_APDU [00:04:44]CAPDU: 80 0D 03 02 [00:04:44]Write to MH i2c: E2 08 00 D0 12 80 0D 03 02 00 00 00 00 5D [00:04:44]Write i2c OK [00:04:44]MH_I2C_Read... [00:04:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:04:45]Read from MH i2c: E2 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 0B 00 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 0B 00 D0 12 00 6D 98 EA 77 92 4F 67 0E 90 00 1A [00:04:45]RAPDU: 6D 98 EA 77 92 4F 67 0E 90 00 [00:04:45]wFMCommunicate OK [00:04:45]SAM_PROTO_SignData done [00:04:45]FM_MakeSignedData done [00:04:45]CreateOFDProtocolMessage [00:04:45]wFMCommunicate request_size=4 [00:04:45]MH_SAM_APDU [00:04:45]CAPDU: 80 11 00 00 [00:04:45]Write to MH i2c: E2 08 00 D1 12 80 11 00 00 00 00 00 00 5D [00:04:45]Write i2c OK [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 [00:04:45]MH_I2C_Read... [00:04:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:45]Read from MH i2c: E2 17 00 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 17 00 D1 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B6 [00:04:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:04:45]wFMCommunicate OK [00:04:45]CreateOFDProtocolMessage done [00:04:45]OFDSenderStorePacket 18921 [00:04:45]StoreOFDPacket docnum=18921 [00:04:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 75 05 00 00 B2 8A 6D 05 C8 83 5A 05 01 00 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 A3 D1 81 D0 B5 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 95 53 F3 66 0E 04 04 00 B6 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 AA 04 D5 04 6E 04 04 00 5A 00 00 00 69 04 A2 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 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 E9 49 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 34 2A FF 12 06 A4 6D 98 EA 77 92 4F 67 0E [00:04:45]CheckFolder [00:04:45]dirname=/storage/ofd_packets [00:04:45]CheckFolder done [00:04:45]ProducePacketName [00:04:45]name=ofd_packets/00018921 [00:04:45]NVStorageSaveData ofd_packets/00018921 [00:04:45]File name is /storage/ofd_packets/00018921 [00:04:45]Write 1427 bytes [00:04:45]NVStorageSaveData done [00:04:45]OFDSenderStorePacket done [00:04:45]KKMCreateOFDPacket done [00:04:45]NVStorageSaveData kkm_last_timestamp [00:04:45]File name is /storage/kkm_last_timestamp [00:04:45]Write 4 bytes [00:04:45]NVStorageSaveData done [00:04:45]ExternCall_PrintAddStr [00:04:45]wPrintStart [00:04:45]Write to MH i2c: 01 00 00 D2 12 E4 [00:04:45]Write i2c OK [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: 01 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: 01 07 00 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: 01 07 00 D2 12 00 00 00 00 00 FF 0F F9 [00:04:45]RasterBufferAndPrint [00:04:45]line Отчет о закрытии смены [00:04:45]line ФФД: 1.0 [00:04:45]line ИНН: 02508201610067 [00:04:45]line Кассир: Усенова Г. [00:04:45]line 25.09.2024 00:04 [00:04:45]line Смена: 182 [00:04:45]line РНМ: 0000000000152968 [00:04:45]line ЗНМ: 0300000010 [00:04:45]line СНО: Общий режим [00:04:45]line Чеков за смену: 90 [00:04:45]line ФД за смену: 92 [00:04:45]line Всего чеков: 90 [00:04:45]line ИТОГИ ПРИХОД [00:04:45]line Чеков: 90 [00:04:45]line Общий итог: 33398.98 [00:04:45]line Итого наличными: 21909.00 [00:04:45]line Итого безнал.: 11489.98 [00:04:45]line НДС 0% : 0.00 [00:04:45]line НДС 12% : 3547.25 [00:04:45]line НСП 0% : 0.00 [00:04:45]line НСП 1,50% : 0.00 [00:04:45]line НСП 0,50% : 0.00 [00:04:45]line НСП 5% : 0.00 [00:04:45]line НСП 3% : 0.00 [00:04:45]line НСП 2% : 0.00 [00:04:45]line НСП 1% : 295.59 [00:04:45]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:04:45]line Чеков: 0 [00:04:45]line Общий итог: 0.00 [00:04:45]line Итого наличными: 0.00 [00:04:45]line Итого безнал.: 0.00 [00:04:45]line НДС 0% : 0.00 [00:04:45]line НДС 12% : 0.00 [00:04:45]line НСП 0% : 0.00 [00:04:45]line НСП 1,50% : 0.00 [00:04:45]line НСП 0,50% : 0.00 [00:04:45]line НСП 5% : 0.00 [00:04:45]line НСП 3% : 0.00 [00:04:45]line НСП 2% : 0.00 [00:04:45]line НСП 1% : 0.00 [00:04:45]line ИТОГИ РАСХОД [00:04:45]line Чеков: 0 [00:04:45]line Общий итог: 0.00 [00:04:45]line Итого наличными: 0.00 [00:04:45]line Итого безнал.: 0.00 [00:04:45]line НДС 0% : 0.00 [00:04:45]line НДС 12% : 0.00 [00:04:45]line НСП 0% : 0.00 [00:04:45]line НСП 1,50% : 0.00 [00:04:45]line НСП 0,50% : 0.00 [00:04:45]line НСП 5% : 0.00 [00:04:45]line НСП 3% : 0.00 [00:04:45]line НСП 2% : 0.00 [00:04:45]line НСП 1% : 0.00 [00:04:45]line ИТОГИ ВОЗВРАТ РАСХОДА [00:04:45]line Чеков: 0 [00:04:45]line Общий итог: 0.00 [00:04:45]line Итого наличными: 0.00 [00:04:45]line Итого безнал.: 0.00 [00:04:45]line НДС 0% : 0.00 [00:04:45]line НДС 12% : 0.00 [00:04:45]line НСП 0% : 0.00 [00:04:45]line НСП 1,50% : 0.00 [00:04:45]line НСП 0,50% : 0.00 [00:04:45]line НСП 5% : 0.00 [00:04:45]line НСП 3% : 0.00 [00:04:45]line НСП 2% : 0.00 [00:04:45]line НСП 1% : 0.00 [00:04:45]line Сумма внесений: 0.00 [00:04:45]line Сумма выплат: 0.00 [00:04:45]line Нал. в кассе: 21909.00 [00:04:45]line НС Приход: 8348333.80 [00:04:45]line НС Возвр.Прихода: 56064.00 [00:04:45]line НС Расход: 0.00 [00:04:45]line НС Возвр.Расхода: 0.00 [00:04:45]line ФД: 18921 [00:04:45]line ФМ: 0000000000959456 [00:04:45]line ФПД: 57359272642212 [00:04:45]OFD Sender: Processing packet 18921 [packets to send 7, broken 6] [00:04:45]ProducePacketName [00:04:45]name=ofd_packets/00018921 [00:04:45]OFD Sender: To server: pG, [00:04:45]CommunicateWithHost lk.salyk.kg:30040 [00:04:45]ConnectInit lk.salyk.kg [00:04:45]written 0, free lines is 4095 [00:04:45]Connected sock=10 [00:04:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 75 05 00 00 B2 8A 6D 05 C8 83 5A 05 01 00 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 A3 D1 81 D0 B5 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 95 53 F3 66 0E 04 04 00 B6 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 AA 04 D5 04 6E 04 04 00 5A 00 00 00 69 04 A2 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 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 Write to MH i2c: F6 01 03 00 01 00 00 22 05 13 F7 35 03 [00:04:46]00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 Write i2c OK [00:04:46]00 MH_I2C_Read... [00:04:46]00 Read from MH i2c: 00 01 B1 [00:04:46]04 MH_I2C_Read... [00:04:46]00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 Read from MH i2c: 03 01 01 07 00 00 00 [00:04:46]F3 MH_I2C_Read... [00:04:46]03 Read from MH i2c: 00 01 00 07 EE 00 03 22 09 13 00 00 F2 00 03 00 01 00 00 00 01 FA F3 0A 03 40 00 [00:04:46]00 RasterBufferAndPrint [00:04:46]EF line [00:04:46]03 line [00:04:46]09 line [00:04:46]00 line [00:04:46]F6 line [00:04:46]03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 written 0, free lines is 2957 [00:04:46]03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 MH_Cut [00:04:46]00 Write to MH i2c: 00 D1 EF 01 03 00 09 29 00 13 F6 01 03 0E 01 [00:04:46]00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 Write i2c OK [00:04:46]09 MH_I2C_Read... [00:04:46]00 Read from MH i2c: F6 D1 03 [00:04:46]01 MH_I2C_Read... [00:04:46]00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 Read from MH i2c: 04 D1 00 01 00 00 70 [00:04:46]04 MH_I2C_Read... [00:04:46]00 Read from MH i2c: 00 D1 72 01 04 00 00 29 00 13 00 00 04 0D 75 [00:04:46]00 Write to MH i2c: 01 00 00 2A 13 3D [00:04:46]EE 03 Write i2c OK [00:04:46]09 MH_I2C_Read... [00:04:46]00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E9 49 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 34 2A FF 12 06 A4 6D 98 EA 77 92 4F 67 0E [00:04:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 6E AF 47 00 7F 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 39 35 39 34 35 36 10 04 04 00 E9 49 00 00 F4 03 04 00 FF FC F2 66 B6 04 01 00 00 EB 86 D0 A1 C9 B8 F1 A3 [00:04:47]CommunicateWithHost err = 0 [00:04:47]CheckOFDResponse [00:04:47]1017 (14) - 77093643461234 [00:04:47]1041 (16) - 0000000000959456 [00:04:47]1040 (4) - 18921 [00:04:47]1012 (4) - 24.09.2024 17:55 [00:04:47]1206 (1) - 0 [00:04:47]OFD Sender: Remove packet 18921 [00:04:47]ProducePacketName [00:04:47]name=ofd_packets/00018921 [00:04:47]NVStorageDeleteData [00:04:47]*** Cut start [00:04:47]*** Partial cut [00:04:47]*** CUTSNS_PIN = 1 [00:04:47]*** CUTSNS_PIN = 0 [00:04:47]*** Brake cut motor [00:04:47]OFD Sender: No OFD packet to send [00:04:48]Read from MH i2c: 01 [00:04:48]MH_I2C_Read... [00:04:48]*** Stop cut motor [00:04:48]*** Cut end [00:04:48]Read from MH i2c: 01 07 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: 01 07 00 2A 13 00 00 00 00 00 FF 0F 52 [00:04:48]process_action close_shift done [00:04:48]requested_data is exist [00:04:48]produce_requested_data [00:04:48]requested_item fd.num is exist - process it [00:04:48]SAM_PROTO_GetFieldsCounters [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 13 00 00 [00:04:48]Write to MH i2c: E2 08 00 2B 13 80 13 00 00 00 00 00 00 BA [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:48]Read from MH i2c: E2 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 62 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 62 00 2B 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [00:04:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:04:48]wFMCommunicate OK [00:04:48]SAM_PROTO_GetFieldsCounters done [00:04:48]requested_item shift.num is exist - process it [00:04:48]requested_item shift.opened is exist - process it [00:04:48]req_shift_opened [00:04:48]FM_GetShiftState [00:04:48]SAM_PROTO_GetShiftState [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 13 01 00 [00:04:48]Write to MH i2c: E2 08 00 2C 13 80 13 01 00 00 00 00 00 BC [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:48]Read from MH i2c: E2 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 0E 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 0E 00 2C 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C7 [00:04:48]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:48]wFMCommunicate OK [00:04:48]SAM_PROTO_GetShiftState done [00:04:48]FM_GetShiftState done [00:04:48]req_shift_opened done [00:04:48]requested_item shift.open_date is exist - process it [00:04:48]req_shift_open_date [00:04:48]FM_GetShiftState [00:04:48]SAM_PROTO_GetShiftState [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 13 01 00 [00:04:48]Write to MH i2c: E2 08 00 2D 13 80 13 01 00 00 00 00 00 BD [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:48]Read from MH i2c: E2 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 0E 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 0E 00 2D 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C8 [00:04:48]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:48]wFMCommunicate OK [00:04:48]SAM_PROTO_GetShiftState done [00:04:48]FM_GetShiftState done [00:04:48]req_shift_open_date done [00:04:48]produce_requested_data done [00:04:48]produce_requested_data return {"fd.num":18921,"shift.num":182,"shift.opened":0,"shift.open_date":0} [00:04:48]process_action_free close_shift [00:04:48]json_value_free [00:04:48]json_value_free done [00:04:48]process_json_proto returns [00:04:48]Send response to host [00:04:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":18921,"shift.num":182,"shift.opened":0,"shift.open_date":0}}} [00:04:48]free response buf [00:04:48]execute_script done [00:04:48]execute_script returns [00:04:48]free content buf [00:04:48]Sock 9.Close socket [00:04:48]Sock 9.Thread stoped [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:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:23]OFD Sender: No OFD packet to send [00:11:24]accept exits with 8 [00:11:24]New connection [00:11:24]New thread 3066903908 created [00:11:24]Thread 3067047268 joined [00:11:24]Waiting for new connection... [00:11:24] Sock 8.Parse request [00:11:24]Sock 8.Check first char [00:11:24]Sock 8.First char is OK [00:11:24]request: POST /json_proto HTTP/1.0 [00:11:24]Method: POST [00:11:24]URL: /json_proto [00:11:24]Method is POST - this is cgi request [00:11:24]url: /json_proto [00:11:24]query_string will be loaded in cgi processing [00:11:24]execute_cgi json_proto POST (null) [00:11:24]execute_cgi path=json_proto method=POST [00:11:24]POST find Content-Length [00:11:24]Host: 172.17.62.196:8080 [00:11:24]Content-Length: 215 [00:11:24]Content-Type: application/json [00:11:24] [00:11:24]POST finish read [00:11:24]Found Content-Length = 215 [00:11:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:24]execute_script... [00:11:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:24]POST & json_proto [00:11:24]process_json_proto [00:11:24]json parsed OK: [00:11:24]protocol is kg_v1.0 [00:11:24]action value=get_value [00:11:24]process_action get_value [00:11:24]cmd_get_value [00:11:24]process_action get_value done [00:11:24]requested_data is exist [00:11:24]produce_requested_data [00:11:24]requested_item kkm.sn is exist - process it [00:11:24]requested_item kkm.ver is exist - process it [00:11:24]requested_item fm.sn is exist - process it [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 11 00 00 [00:11:24]Write to MH i2c: E2 08 00 2E 13 80 11 00 00 00 00 00 00 BB [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 17 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 17 00 2E 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 14 [00:11:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:11:24]wFMCommunicate OK [00:11:24]requested_item fd.num is exist - process it [00:11:24]SAM_PROTO_GetFieldsCounters [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 13 00 00 [00:11:24]Write to MH i2c: E2 08 00 2F 13 80 13 00 00 00 00 00 00 BE [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 62 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 62 00 2F 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [00:11:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 E9 49 00 00 0E 04 04 00 B6 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:24]wFMCommunicate OK [00:11:24]SAM_PROTO_GetFieldsCounters done [00:11:24]requested_item shift.num is exist - process it [00:11:24]requested_item shift.opened is exist - process it [00:11:24]req_shift_opened [00:11:24]FM_GetShiftState [00:11:24]SAM_PROTO_GetShiftState [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 13 01 00 [00:11:24]Write to MH i2c: E2 08 00 30 13 80 13 01 00 00 00 00 00 C0 [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 0E 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 0E 00 30 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CB [00:11:24]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:24]wFMCommunicate OK [00:11:24]SAM_PROTO_GetShiftState done [00:11:24]FM_GetShiftState done [00:11:24]req_shift_opened done [00:11:24]requested_item shift.open_date is exist - process it [00:11:24]req_shift_open_date [00:11:24]FM_GetShiftState [00:11:24]SAM_PROTO_GetShiftState [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 13 01 00 [00:11:24]Write to MH i2c: E2 08 00 31 13 80 13 01 00 00 00 00 00 C1 [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 0E 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 0E 00 31 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CC [00:11:24]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:24]wFMCommunicate OK [00:11:24]SAM_PROTO_GetShiftState done [00:11:24]FM_GetShiftState done [00:11:24]req_shift_open_date done [00:11:24]produce_requested_data done [00:11:24]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18921,"shift.num":182,"shift.opened":0,"shift.open_date":0} [00:11:24]process_action_free get_value [00:11:24]json_value_free [00:11:24]json_value_free done [00:11:24]process_json_proto returns [00:11:24]Send response to host [00:11:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18921,"shift.num":182,"shift.opened":0,"shift.open_date":0}}} [00:11:24]free response buf [00:11:24]execute_script done [00:11:24]execute_script returns [00:11:24]free content buf [00:11:24]Sock 8.Close socket [00:11:24]Sock 8.Thread stoped [00:11:24]accept exits with 9 [00:11:24]New connection [00:11:24]New thread 3067047268 created [00:11:24]Thread 3066903908 joined [00:11:24]Waiting for new connection... [00:11:24] Sock 9.Parse request [00:11:24]Sock 9.Check first char [00:11:24]Sock 9.First char is OK [00:11:24]request: POST /json_proto HTTP/1.0 [00:11:24]Method: POST [00:11:24]URL: /json_proto [00:11:24]Method is POST - this is cgi request [00:11:24]url: /json_proto [00:11:24]query_string will be loaded in cgi processing [00:11:24]execute_cgi json_proto POST (null) [00:11:24]execute_cgi path=json_proto method=POST [00:11:24]POST find Content-Length [00:11:24]Host: 172.17.62.196:8080 [00:11:24]Content-Length: 331 [00:11:24]Content-Type: application/json [00:11:24] [00:11:24]POST finish read [00:11:24]Found Content-Length = 331 [00:11:24]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:11:24]execute_script... [00:11:25]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:11:25]POST & json_proto [00:11:25]process_json_proto [00:11:25]json parsed OK: [00:11:25]protocol is kg_v1.0 [00:11:25]action value=get_value [00:11:25]process_action get_value [00:11:25]cmd_get_value [00:11:25]process_action get_value done [00:11:25]requested_data is exist [00:11:25]produce_requested_data [00:11:25]requested_item fm.sale.total is exist - process it [00:11:25]SAM_PROTO_GetFMData [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 13 03 00 [00:11:25]Write to MH i2c: E2 08 00 32 13 80 13 03 00 00 00 00 00 C4 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 FD 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 FD 00 32 13 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 F0 [00:11:25]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:11:25]wFMCommunicate OK [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 17 00 00 [00:11:25]Write to MH i2c: E2 08 00 33 13 80 17 00 00 00 00 00 00 C6 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 FD 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 FD 00 33 13 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 F6 [00:11:25]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:11:25]wFMCommunicate OK [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 17 00 00 [00:11:25]Write to MH i2c: E2 08 00 34 13 80 17 00 00 00 00 00 00 C7 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 34 13 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 F9 [00:11:26]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:11:26]wFMCommunicate OK [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 17 00 00 [00:11:26]Write to MH i2c: E2 08 00 35 13 80 17 00 00 00 00 00 00 C8 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 35 13 00 04 F7 03 00 00 EF 03 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 90 00 43 [00:11:26]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:11:26]wFMCommunicate OK [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 17 00 00 [00:11:26]Write to MH i2c: E2 08 00 36 13 80 17 00 00 00 00 00 00 C9 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 DB 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 DB 00 36 13 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:26]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:26]wFMCommunicate OK [00:11:26]SAM_PROTO_GetFMData done [00:11:26]requested_item fm.sale_refund.total is exist - process it [00:11:26]requested_item fm.buy.total is exist - process it [00:11:26]requested_item shift.sale.total is exist - process it [00:11:26]SAM_PROTO_GetShiftData [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 13 02 00 [00:11:26]Write to MH i2c: E2 08 00 37 13 80 13 02 00 00 00 00 00 C8 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 37 13 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 7E [00:11:27]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 7A F6 32 70 04 03 00 34 6E 21 72 04 03 00 46 88 11 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 A5 69 05 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 77 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 38 13 80 17 00 00 00 00 00 00 CB [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 38 13 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 ED [00:11:27]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:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 39 13 80 17 00 00 00 00 00 00 CC [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 39 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 83 [00:11:27]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:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 3A 13 80 17 00 00 00 00 00 00 CD [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 3A 13 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 3F [00:11:27]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:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 17 00 00 [00:11:28]Write to MH i2c: E2 08 00 3B 13 80 17 00 00 00 00 00 00 CE [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]OFD Sender: No OFD packet to send [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 CB 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 CB 00 3B 13 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 B7 [00:11:28]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:11:28]wFMCommunicate OK [00:11:28]SAM_PROTO_GetShiftData done [00:11:28]requested_item shift.sale.total_cash is exist - process it [00:11:28]requested_item shift.sale_refund.total is exist - process it [00:11:28]requested_item shift.sale_refund.total_cash is exist - process it [00:11:28]requested_item shift.buy.total is exist - process it [00:11:28]requested_item shift.buy.total_cash is exist - process it [00:11:28]produce_requested_data done [00:11:28]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:11:28]process_action_free get_value [00:11:28]json_value_free [00:11:28]json_value_free done [00:11:28]process_json_proto returns [00:11:28]Send response to host [00:11:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":33398.98,"shift.sale.total_cash":21909.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:11:28]free response buf [00:11:28]execute_script done [00:11:28]execute_script returns [00:11:28]free content buf [00:11:28]Sock 9.Close socket [00:11:28]Sock 9.Thread stoped [00:11:28]accept exits with 8 [00:11:28]New connection [00:11:28]New thread 3066903908 created [00:11:28]Thread 3067047268 joined [00:11:28]Waiting for new connection... [00:11:28] Sock 8.Parse request [00:11:28]Sock 8.Check first char [00:11:28]Sock 8.First char is OK [00:11:28]request: POST /json_proto HTTP/1.0 [00:11:28]Method: POST [00:11:28]URL: /json_proto [00:11:28]Method is POST - this is cgi request [00:11:28]url: /json_proto [00:11:28]query_string will be loaded in cgi processing [00:11:28]execute_cgi json_proto POST (null) [00:11:28]execute_cgi path=json_proto method=POST [00:11:28]POST find Content-Length [00:11:28]Host: 172.17.62.196:8080 [00:11:28]Content-Length: 289 [00:11:28]Content-Type: application/json [00:11:28] [00:11:28]POST finish read [00:11:28]Found Content-Length = 289 [00:11:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0431\u0434\u044B\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:28]execute_script... [00:11:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0431\u0434\u044B\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:28]POST & json_proto [00:11:28]process_json_proto [00:11:28]json parsed OK: [00:11:28]protocol is kg_v1.0 [00:11:28]action value=open_shift [00:11:28]process_action open_shift [00:11:28]cmd_open_shift [00:11:28]MH_GetDate [00:11:28]Write to MH i2c: F0 00 00 3C 13 3E [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: F0 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: F0 09 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: F0 09 00 3C 13 00 33 55 F3 66 CE CC 0E 66 36 [00:11:28]GetLastDocTimeStamp 1727222677 [00:11:28]current date 1727223091 [00:11:28]FM_GetShiftState [00:11:28]SAM_PROTO_GetShiftState [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 13 01 00 [00:11:28]Write to MH i2c: E2 08 00 3D 13 80 13 01 00 00 00 00 00 CD [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 0E 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 0E 00 3D 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D8 [00:11:28]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:28]wFMCommunicate OK [00:11:28]SAM_PROTO_GetShiftState done [00:11:28]FM_GetShiftState done [00:11:28]KKMCreateOpenShiftDocument [00:11:28]Load OK [00:11:28]Malloc new data [00:11:28]MH_GetDate [00:11:28]Write to MH i2c: F0 00 00 3E 13 40 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: F0 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: F0 09 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: F0 09 00 3E 13 00 33 55 F3 66 CE CC 0E 66 38 [00:11:28]Malloc new data [00:11:28]KKMCreateOpenShiftDocument OK [00:11:28]KKMSetOpenShiftData OK [00:11:28]ProcessDocumentItem done err = 0, tmpTLVsize=216 [00:11:28]tlvbuf is 0187A370 [00:11:28]KKMLoadAndSignOpenShiftData [00:11:28]SAM_PROTO_ProcessDocument [00:11:28]wFMCommunicate request_size=9 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 15 01 00 04 02 00 D8 00 [00:11:28]Write to MH i2c: E2 0C 00 3F 13 80 15 01 00 04 00 02 00 D8 00 00 00 B3 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 3F 13 00 90 00 C6 [00:11:28]RAPDU: 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=23 [00:11:28]MH_SAM_APDU [00:11:28]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:11:28]Write to MH i2c: E2 1A 00 40 13 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 C8 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 40 13 00 90 00 C7 [00:11:28]RAPDU: 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=40 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 15 02 00 23 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 [00:11:28]Write to MH i2c: E2 2B 00 41 13 80 15 02 00 23 00 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 00 00 1E [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 41 13 00 90 00 C8 [00:11:28]RAPDU: 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=94 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 15 02 00 59 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 [00:11:28]Write to MH i2c: E2 61 00 42 13 80 15 02 00 59 00 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 00 00 01 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 42 13 00 90 00 C9 [00:11:28]RAPDU: 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=51 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:11:28]Write to MH i2c: E2 36 00 43 13 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 86 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 03 00 43 13 00 90 00 CA [00:11:28]RAPDU: 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=13 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 15 02 00 08 F4 03 04 00 33 55 F3 66 [00:11:28]Write to MH i2c: E2 10 00 44 13 80 15 02 00 08 00 F4 03 04 00 33 55 F3 66 00 00 C3 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 44 13 00 90 00 CB [00:11:29]RAPDU: 90 00 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=25 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [00:11:29]Write to MH i2c: E2 1C 00 45 13 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 40 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 45 13 00 90 00 CC [00:11:29]RAPDU: 90 00 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 15 03 00 [00:11:29]Write to MH i2c: E2 08 00 46 13 80 15 03 00 00 00 00 00 DA [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 38 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 38 00 46 13 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EA 49 00 00 0E 04 04 00 B7 00 00 00 35 04 06 00 AB C9 A8 6B 52 BF 90 00 2E [00:11:29]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EA 49 00 00 0E 04 04 00 B7 00 00 00 35 04 06 00 AB C9 A8 6B 52 BF 90 00 [00:11:29]wFMCommunicate OK [00:11:29]SAM_PROTO_ProcessDocument answer len = 51 [00:11:29]SAM_PROTO_ProcessDocument done [00:11:29]SetTLVBufToDocument [00:11:29]Processing tag 1209 (04B9) [00:11:29]Malloc new data [00:11:29]Processing tag 1041 (0411) [00:11:29]Processing tag 1040 (0410) [00:11:29]Malloc new data [00:11:29]Processing tag 1038 (040E) [00:11:29]Malloc new data [00:11:29]Processing tag 1077 (0435) [00:11:29]Malloc new data [00:11:29]SetTLVBufToDocument err=0 [00:11:29]KKMLoadAndSignOpenShiftData store KKM data [00:11:29]KKMLoadAndSignOpenShiftData err=0 [00:11:29]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Абдырахманова Ж. Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 Место: АЗС № 176 "Партнер Нефть" 25.09.2024 00:11 Смена: 183 РНМ: 0000000000152968 ЗНМ: 0300000010 ФД: 18922 ФМ: 0000000000959456 ФПД: 188882602382015 [00:11:29]StoreToDocumentArchive [00:11:29]shift 183 fd 18922 [00:11:29]Create dir for shift 0183 [00:11:29]save to /storage/0183/doc_00018922 [00:11:29]save last doc name /storage/0183/doc_00018922 to /storage/kkm_last_doc_name [00:11:29]save OK [00:11:29]Clear old archive folders... [00:11:29]Remove dir /storage/0182 [00:11:29]opendir ok [00:11:29]file . [00:11:29]file .. [00:11:29]file doc_00018830 [00:11:29]remove file /storage/0182/doc_00018830 [00:11:29]file doc_00018831 [00:11:29]remove file /storage/0182/doc_00018831 [00:11:29]file doc_00018832 [00:11:29]remove file /storage/0182/doc_00018832 [00:11:29]file doc_00018833 [00:11:29]remove file /storage/0182/doc_00018833 [00:11:29]file doc_00018834 [00:11:29]remove file /storage/0182/doc_00018834 [00:11:29]file doc_00018835 [00:11:29]remove file /storage/0182/doc_00018835 [00:11:29]file doc_00018836 [00:11:29]remove file /storage/0182/doc_00018836 [00:11:29]file doc_00018837 [00:11:29]remove file /storage/0182/doc_00018837 [00:11:29]file doc_00018838 [00:11:29]remove file /storage/0182/doc_00018838 [00:11:29]file doc_00018839 [00:11:29]remove file /storage/0182/doc_00018839 [00:11:29]file doc_00018840 [00:11:29]remove file /storage/0182/doc_00018840 [00:11:29]file doc_00018841 [00:11:29]remove file /storage/0182/doc_00018841 [00:11:29]file doc_00018842 [00:11:29]remove file /storage/0182/doc_00018842 [00:11:29]file doc_00018843 [00:11:29]remove file /storage/0182/doc_00018843 [00:11:29]file doc_00018844 [00:11:29]remove file /storage/0182/doc_00018844 [00:11:29]file doc_00018845 [00:11:29]remove file /storage/0182/doc_00018845 [00:11:29]file doc_00018846 [00:11:29]remove file /storage/0182/doc_00018846 [00:11:29]file doc_00018847 [00:11:29]remove file /storage/0182/doc_00018847 [00:11:29]file doc_00018848 [00:11:29]remove file /storage/0182/doc_00018848 [00:11:29]file doc_00018849 [00:11:29]remove file /storage/0182/doc_00018849 [00:11:29]file doc_00018850 [00:11:29]remove file /storage/0182/doc_00018850 [00:11:29]file doc_00018851 [00:11:29]remove file /storage/0182/doc_00018851 [00:11:29]file doc_00018852 [00:11:29]remove file /storage/0182/doc_00018852 [00:11:29]file doc_00018853 [00:11:29]remove file /storage/0182/doc_00018853 [00:11:29]file doc_00018854 [00:11:29]remove file /storage/0182/doc_00018854 [00:11:29]file doc_00018855 [00:11:29]remove file /storage/0182/doc_00018855 [00:11:29]file doc_00018856 [00:11:29]remove file /storage/0182/doc_00018856 [00:11:29]file doc_00018857 [00:11:29]remove file /storage/0182/doc_00018857 [00:11:29]file doc_00018858 [00:11:29]remove file /storage/0182/doc_00018858 [00:11:29]file doc_00018859 [00:11:29]remove file /storage/0182/doc_00018859 [00:11:29]file doc_00018860 [00:11:29]remove file /storage/0182/doc_00018860 [00:11:29]file doc_00018861 [00:11:29]remove file /storage/0182/doc_00018861 [00:11:29]file doc_00018862 [00:11:29]remove file /storage/0182/doc_00018862 [00:11:29]file doc_00018863 [00:11:29]remove file /storage/0182/doc_00018863 [00:11:29]file doc_00018864 [00:11:29]remove file /storage/0182/doc_00018864 [00:11:29]file doc_00018865 [00:11:29]remove file /storage/0182/doc_00018865 [00:11:29]file doc_00018866 [00:11:29]remove file /storage/0182/doc_00018866 [00:11:29]file doc_00018867 [00:11:29]remove file /storage/0182/doc_00018867 [00:11:29]file doc_00018868 [00:11:29]remove file /storage/0182/doc_00018868 [00:11:29]file doc_00018869 [00:11:29]remove file /storage/0182/doc_00018869 [00:11:29]file doc_00018870 [00:11:29]remove file /storage/0182/doc_00018870 [00:11:29]file doc_00018871 [00:11:29]remove file /storage/0182/doc_00018871 [00:11:29]file doc_00018872 [00:11:29]remove file /storage/0182/doc_00018872 [00:11:29]file doc_00018873 [00:11:29]remove file /storage/0182/doc_00018873 [00:11:29]file doc_00018874 [00:11:29]remove file /storage/0182/doc_00018874 [00:11:29]file doc_00018875 [00:11:29]remove file /storage/0182/doc_00018875 [00:11:29]file doc_00018876 [00:11:29]remove file /storage/0182/doc_00018876 [00:11:29]file doc_00018877 [00:11:29]remove file /storage/0182/doc_00018877 [00:11:29]file doc_00018878 [00:11:29]remove file /storage/0182/doc_00018878 [00:11:29]file doc_00018879 [00:11:29]remove file /storage/0182/doc_00018879 [00:11:29]file doc_00018880 [00:11:29]remove file /storage/0182/doc_00018880 [00:11:29]file doc_00018881 [00:11:29]remove file /storage/0182/doc_00018881 [00:11:29]file doc_00018882 [00:11:29]remove file /storage/0182/doc_00018882 [00:11:29]file doc_00018883 [00:11:29]remove file /storage/0182/doc_00018883 [00:11:29]file doc_00018884 [00:11:29]remove file /storage/0182/doc_00018884 [00:11:29]file doc_00018885 [00:11:29]remove file /storage/0182/doc_00018885 [00:11:29]file doc_00018886 [00:11:29]remove file /storage/0182/doc_00018886 [00:11:29]file doc_00018887 [00:11:29]remove file /storage/0182/doc_00018887 [00:11:29]file doc_00018888 [00:11:29]remove file /storage/0182/doc_00018888 [00:11:29]file doc_00018889 [00:11:29]remove file /storage/0182/doc_00018889 [00:11:29]file doc_00018890 [00:11:29]remove file /storage/0182/doc_00018890 [00:11:29]file doc_00018891 [00:11:29]remove file /storage/0182/doc_00018891 [00:11:29]file doc_00018892 [00:11:29]remove file /storage/0182/doc_00018892 [00:11:29]file doc_00018893 [00:11:29]remove file /storage/0182/doc_00018893 [00:11:29]file doc_00018894 [00:11:29]remove file /storage/0182/doc_00018894 [00:11:29]file doc_00018895 [00:11:29]remove file /storage/0182/doc_00018895 [00:11:29]file doc_00018896 [00:11:29]remove file /storage/0182/doc_00018896 [00:11:29]file doc_00018897 [00:11:29]remove file /storage/0182/doc_00018897 [00:11:29]file doc_00018898 [00:11:29]remove file /storage/0182/doc_00018898 [00:11:29]file doc_00018899 [00:11:29]remove file /storage/0182/doc_00018899 [00:11:29]file doc_00018900 [00:11:29]remove file /storage/0182/doc_00018900 [00:11:29]file doc_00018901 [00:11:29]remove file /storage/0182/doc_00018901 [00:11:29]file doc_00018902 [00:11:29]remove file /storage/0182/doc_00018902 [00:11:29]file doc_00018903 [00:11:29]remove file /storage/0182/doc_00018903 [00:11:29]file doc_00018904 [00:11:29]remove file /storage/0182/doc_00018904 [00:11:29]file doc_00018905 [00:11:29]remove file /storage/0182/doc_00018905 [00:11:29]file doc_00018906 [00:11:29]remove file /storage/0182/doc_00018906 [00:11:29]file doc_00018907 [00:11:29]remove file /storage/0182/doc_00018907 [00:11:29]file doc_00018908 [00:11:29]remove file /storage/0182/doc_00018908 [00:11:29]file doc_00018909 [00:11:29]remove file /storage/0182/doc_00018909 [00:11:29]file doc_00018910 [00:11:29]remove file /storage/0182/doc_00018910 [00:11:29]file doc_00018911 [00:11:29]remove file /storage/0182/doc_00018911 [00:11:29]file doc_00018912 [00:11:29]remove file /storage/0182/doc_00018912 [00:11:29]file doc_00018913 [00:11:29]remove file /storage/0182/doc_00018913 [00:11:29]file doc_00018914 [00:11:29]remove file /storage/0182/doc_00018914 [00:11:29]file doc_00018915 [00:11:29]remove file /storage/0182/doc_00018915 [00:11:29]file doc_00018916 [00:11:29]remove file /storage/0182/doc_00018916 [00:11:29]file doc_00018917 [00:11:29]remove file /storage/0182/doc_00018917 [00:11:29]file doc_00018918 [00:11:29]remove file /storage/0182/doc_00018918 [00:11:29]file doc_00018919 [00:11:29]remove file /storage/0182/doc_00018919 [00:11:29]file doc_00018920 [00:11:29]remove file /storage/0182/doc_00018920 [00:11:29]file doc_00018921 [00:11:29]remove file /storage/0182/doc_00018921 [00:11:29]remove dir /storage/0182 [00:11:29]ProcessDocumentItem done err = 0, tmpTLVsize=267 [00:11:29]tlvbuf is 0187F6E0 [00:11:29]SAM_PROTO_ClearQueue [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 09 00 00 [00:11:29]Write to MH i2c: E2 08 00 47 13 80 09 00 00 00 00 00 00 CC [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 47 13 00 90 00 CE [00:11:29]RAPDU: 90 00 [00:11:29]wFMCommunicate OK [00:11:29]SAM_PROTO_ClearQueue done [00:11:29]KKMCreateOFDPacket [00:11:29]OFDProtocolAddRootSTLVToBuf [00:11:29]FM_MakeSignedData [00:11:29]FM_MakeSignedData [00:11:29]SAM_PROTO_SignData [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 0D 01 02 [00:11:29]Write to MH i2c: E2 08 00 48 13 80 0D 01 02 00 00 00 00 D4 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 03 00 48 13 00 90 00 CF [00:11:29]RAPDU: 90 00 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=255 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 0D 02 02 FA 02 00 0B 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 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 33 55 F3 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EA 49 00 00 11 04 10 00 30 30 30 30 30 [00:11:30]Write to MH i2c: E2 02 01 49 13 80 0D 02 02 FA 00 02 00 0B 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 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 33 55 F3 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EA 49 00 00 11 04 10 00 30 30 30 30 30 00 00 84 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 49 13 00 90 00 D0 [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=26 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 0D 02 02 15 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 AB C9 A8 6B 52 BF [00:11:30]Write to MH i2c: E2 1D 00 4A 13 80 0D 02 02 15 00 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 AB C9 A8 6B 52 BF 00 00 0E [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 4A 13 00 90 00 D1 [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=4 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 0D 03 02 [00:11:30]Write to MH i2c: E2 08 00 4B 13 80 0D 03 02 00 00 00 00 D9 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 0B 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 0B 00 4B 13 00 9F 69 68 50 CB 9E 40 F0 90 00 33 [00:11:30]RAPDU: 9F 69 68 50 CB 9E 40 F0 90 00 [00:11:30]wFMCommunicate OK [00:11:30]SAM_PROTO_SignData done [00:11:30]FM_MakeSignedData done [00:11:30]CreateOFDProtocolMessage [00:11:30]wFMCommunicate request_size=4 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 11 00 00 [00:11:30]Write to MH i2c: E2 08 00 4C 13 80 11 00 00 00 00 00 00 D9 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 17 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 17 00 4C 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 32 [00:11:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:11:30]wFMCommunicate OK [00:11:30]CreateOFDProtocolMessage done [00:11:30]OFDSenderStorePacket 18922 [00:11:30]StoreOFDPacket docnum=18922 [00:11:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1F 01 00 00 4B ED 17 01 D9 35 5A 02 01 00 02 00 0B 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 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 33 55 F3 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EA 49 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 AB C9 A8 6B 52 BF 9F 69 68 50 CB 9E 40 F0 [00:11:30]CheckFolder [00:11:30]dirname=/storage/ofd_packets [00:11:30]CheckFolder done [00:11:30]ProducePacketName [00:11:30]name=ofd_packets/00018922 [00:11:30]NVStorageSaveData ofd_packets/00018922 [00:11:30]File name is /storage/ofd_packets/00018922 [00:11:30]Write 317 bytes [00:11:30]NVStorageSaveData done [00:11:30]OFDSenderStorePacket done [00:11:30]KKMCreateOFDPacket done [00:11:30]NVStorageSaveData kkm_last_timestamp [00:11:30]File name is /storage/kkm_last_timestamp [00:11:30]Write 4 bytes [00:11:30]NVStorageSaveData done [00:11:30]ExternCall_PrintAddStr [00:11:30]wPrintStart [00:11:30]Write to MH i2c: 01 00 00 4D 13 60 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: 01 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: 01 07 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: 01 07 00 4D 13 00 00 00 00 00 FF 0F 75 [00:11:30]RasterBufferAndPrint [00:11:30]line Отчет об открытии смены [00:11:30]line ФФД: 1.0 [00:11:30]line ИНН: 02508201610067 [00:11:30]line Кассир: Абдырахманова Ж. [00:11:30]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [00:11:30]line Место: АЗС № 176 "Партнер Нефть" [00:11:30]line 25.09.2024 00:11 [00:11:30]line Смена: 183 [00:11:30]line РНМ: 0000000000152968 [00:11:30]line ЗНМ: 0300000010 [00:11:30]line ФД: 18922 [00:11:30]line ФМ: 0000000000959456 [00:11:30]line ФПД: 188882602382015 [00:11:30]written 0, free lines is 4095 [00:11:30]OFD Sender: Processing packet 18922 [packets to send 7, broken 6] [00:11:30]ProducePacketName [00:11:30]name=ofd_packets/00018922 [00:11:30]OFD Sender: To server: pG, [00:11:30]CommunicateWithHost lk.salyk.kg:30040 [00:11:30]ConnectInit lk.salyk.kg [00:11:30]Connected sock=10 [00:11:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1F 01 00 00 4B ED 17 01 D9 35 5A 02 01 00 02 00 0B 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 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 33 55 F3 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 Write to MH i2c: 30 01 30 00 30 31 35 00 32 5F 39 13 36 72 38 [00:11:30]10 04 04 Write i2c OK [00:11:30]00 MH_I2C_Read... [00:11:30]EA Read from MH i2c: 49 01 00 [00:11:30]00 MH_I2C_Read... [00:11:30]11 Read from MH i2c: 04 01 10 07 00 00 30 [00:11:30]30 MH_I2C_Read... [00:11:30]30 Read from MH i2c: 30 01 30 07 30 00 30 5F 30 13 30 00 30 00 39 00 35 00 39 00 34 01 35 0F 36 89 35 [00:11:30]04 RasterBufferAndPrint [00:11:30]06 00 AB C9 A8 6B 52 BF 9F 69 68 50 CB 9E 40 F0 [00:11:30]line [00:11:30]line [00:11:30]line [00:11:30]line [00:11:30]line [00:11:30]written 0, free lines is 3894 [00:11:30]MH_Cut [00:11:30]Write to MH i2c: D1 01 00 66 13 01 4B [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: D1 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: D1 01 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: D1 01 00 66 13 00 4A [00:11:30]Write to MH i2c: 01 00 00 67 13 7A [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 0D 8D 47 00 AA 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EA 49 00 00 F4 03 04 00 93 FE F2 66 B6 04 01 00 00 03 6F 50 DB 77 72 42 55 [00:11:31]CommunicateWithHost err = 0 [00:11:31]CheckOFDResponse [00:11:31]1017 (14) - 77093643461234 [00:11:31]1041 (16) - 0000000000959456 [00:11:31]1040 (4) - 18922 [00:11:31]1012 (4) - 24.09.2024 18:01 [00:11:31]1206 (1) - 0 [00:11:31]OFD Sender: Remove packet 18922 [00:11:31]ProducePacketName [00:11:31]name=ofd_packets/00018922 [00:11:31]NVStorageDeleteData [00:11:31]*** Cut start [00:11:31]*** Partial cut [00:11:31]*** CUTSNS_PIN = 1 [00:11:31]*** CUTSNS_PIN = 0 [00:11:31]*** Brake cut motor [00:11:31]OFD Sender: No OFD packet to send [00:11:31]Read from MH i2c: 01 [00:11:31]MH_I2C_Read... [00:11:31]*** Stop cut motor [00:11:31]*** Cut end [00:11:31]Read from MH i2c: 01 07 00 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: 01 07 00 67 13 00 00 00 00 00 FF 0F 8F [00:11:31]process_action open_shift done [00:11:31]requested_data is exist [00:11:31]produce_requested_data [00:11:31]requested_item fd.num is exist - process it [00:11:31]SAM_PROTO_GetFieldsCounters [00:11:31]wFMCommunicate request_size=4 [00:11:31]MH_SAM_APDU [00:11:31]CAPDU: 80 13 00 00 [00:11:31]Write to MH i2c: E2 08 00 68 13 80 13 00 00 00 00 00 00 F7 [00:11:31]Write i2c OK [00:11:31]MH_I2C_Read... [00:11:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:31]Read from MH i2c: E2 [00:11:31]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 62 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 62 00 68 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EA 49 00 00 0E 04 04 00 B7 00 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 0E [00:11:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EA 49 00 00 0E 04 04 00 B7 00 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:11:32]wFMCommunicate OK [00:11:32]SAM_PROTO_GetFieldsCounters done [00:11:32]requested_item shift.num is exist - process it [00:11:32]requested_item shift.opened is exist - process it [00:11:32]req_shift_opened [00:11:32]FM_GetShiftState [00:11:32]SAM_PROTO_GetShiftState [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 13 01 00 [00:11:32]Write to MH i2c: E2 08 00 69 13 80 13 01 00 00 00 00 00 F9 [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 0E 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 0E 00 69 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 E6 [00:11:32]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:11:32]wFMCommunicate OK [00:11:32]SAM_PROTO_GetShiftState done [00:11:32]FM_GetShiftState done [00:11:32]req_shift_opened done [00:11:32]requested_item shift.open_date is exist - process it [00:11:32]req_shift_open_date [00:11:32]req_shift_open_date done [00:11:32]produce_requested_data done [00:11:32]produce_requested_data return {"fd.num":18922,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [00:11:32]process_action_free open_shift [00:11:32]json_value_free [00:11:32]json_value_free done [00:11:32]process_json_proto returns [00:11:32]Send response to host [00:11:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":18922,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [00:11:32]free response buf [00:11:32]execute_script done [00:11:32]execute_script returns [00:11:32]free content buf [00:11:32]Sock 8.Close socket [00:11:32]Sock 8.Thread stoped [00:11:32]accept exits with 9 [00:11:32]New connection [00:11:32]New thread 3067047268 created [00:11:32]Thread 3066903908 joined [00:11:32]Waiting for new connection... [00:11:32] Sock 9.Parse request [00:11:32]Sock 9.Check first char [00:11:32]Sock 9.First char is OK [00:11:32]request: POST /json_proto HTTP/1.0 [00:11:32]Method: POST [00:11:32]URL: /json_proto [00:11:32]Method is POST - this is cgi request [00:11:32]url: /json_proto [00:11:32]query_string will be loaded in cgi processing [00:11:32]execute_cgi json_proto POST (null) [00:11:32]execute_cgi path=json_proto method=POST [00:11:32]POST find Content-Length [00:11:32]Host: 172.17.62.196:8080 [00:11:32]Content-Length: 331 [00:11:32]Content-Type: application/json [00:11:32] [00:11:32]POST finish read [00:11:32]Found Content-Length = 331 [00:11:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:32]execute_script... [00:11:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:32]POST & json_proto [00:11:32]process_json_proto [00:11:32]json parsed OK: [00:11:32]protocol is kg_v1.0 [00:11:32]action value=get_value [00:11:32]process_action get_value [00:11:32]cmd_get_value [00:11:32]process_action get_value done [00:11:32]requested_data is exist [00:11:32]produce_requested_data [00:11:32]requested_item fm.sale.total is exist - process it [00:11:32]SAM_PROTO_GetFMData [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 13 03 00 [00:11:32]Write to MH i2c: E2 08 00 6A 13 80 13 03 00 00 00 00 00 FC [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 FD 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 FD 00 6A 13 00 BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 28 [00:11:32]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 7C 48 00 00 69 04 A0 00 6F 04 04 00 6D 48 00 00 B1 04 04 00 E4 8B C2 31 70 04 04 00 D8 75 4C 1F 72 04 04 00 0C 16 76 12 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 E4 48 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 FE B6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 17 00 00 [00:11:32]Write to MH i2c: E2 08 00 6B 13 80 17 00 00 00 00 00 00 FE [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 FD 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 FD 00 6B 13 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 2E [00:11:33]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:11:33]wFMCommunicate OK [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 17 00 00 [00:11:33]Write to MH i2c: E2 08 00 6C 13 80 17 00 00 00 00 00 00 FF [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 FD 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 FD 00 6C 13 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 31 [00:11:33]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:11:33]wFMCommunicate OK [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 17 00 00 [00:11:33]Write to MH i2c: E2 08 00 6D 13 80 17 00 00 00 00 00 00 00 [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 FD 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 FD 00 6D 13 00 04 F7 03 00 00 EF 03 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 90 00 7B [00:11:33]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:11:33]wFMCommunicate OK [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 17 00 00 [00:11:33]Write to MH i2c: E2 08 00 6E 13 80 17 00 00 00 00 00 00 01 [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 DB 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 DB 00 6E 13 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:34]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:34]wFMCommunicate OK [00:11:34]SAM_PROTO_GetFMData done [00:11:34]requested_item fm.sale_refund.total is exist - process it [00:11:34]requested_item fm.buy.total is exist - process it [00:11:34]requested_item shift.sale.total is exist - process it [00:11:34]SAM_PROTO_GetShiftData [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 13 02 00 [00:11:34]Write to MH i2c: E2 08 00 6F 13 80 13 02 00 00 00 00 00 00 [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 6F 13 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 73 [00:11:34]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:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 70 13 80 17 00 00 00 00 00 00 03 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 70 13 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 0B [00:11:35]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:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 71 13 80 17 00 00 00 00 00 00 04 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 71 13 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 D6 [00:11:35]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:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 72 13 80 17 00 00 00 00 00 00 05 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:36]Read from MH i2c: E2 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 FD 00 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 FD 00 72 13 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 77 [00:11:36]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:11:36]wFMCommunicate OK [00:11:36]wFMCommunicate request_size=4 [00:11:36]MH_SAM_APDU [00:11:36]CAPDU: 80 17 00 00 [00:11:36]Write to MH i2c: E2 08 00 73 13 80 17 00 00 00 00 00 00 06 [00:11:36]Write i2c OK [00:11:36]MH_I2C_Read... [00:11:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:11:36]Read from MH i2c: E2 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 BD 00 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 BD 00 73 13 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 EC [00:11:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:11:36]wFMCommunicate OK [00:11:36]SAM_PROTO_GetShiftData done [00:11:36]requested_item shift.sale.total_cash is exist - process it [00:11:36]requested_item shift.sale_refund.total is exist - process it [00:11:36]requested_item shift.sale_refund.total_cash is exist - process it [00:11:36]requested_item shift.buy.total is exist - process it [00:11:36]requested_item shift.buy.total_cash is exist - process it [00:11:36]produce_requested_data done [00:11:36]produce_requested_data return {"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.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:11:36]process_action_free get_value [00:11:36]json_value_free [00:11:36]json_value_free done [00:11:36]process_json_proto returns [00:11:36]Send response to host [00:11:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8348333.80,"fm.sale_refund.total":56064.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:11:36]free response buf [00:11:36]execute_script done [00:11:36]execute_script returns [00:11:36]free content buf [00:11:36]Sock 9.Close socket [00:11:36]Sock 9.Thread stoped [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:53]OFD Sender: No OFD packet to send [00:36:58]OFD Sender: No OFD packet to send [00:37:03]OFD Sender: No OFD packet to send [00:37:06]accept exits with 8 [00:37:06]New connection [00:37:06]New thread 3066903908 created [00:37:06]Thread 3067047268 joined [00:37:06]Waiting for new connection... [00:37:06] Sock 8.Parse request [00:37:06]Sock 8.Check first char [00:37:06]Sock 8.First char is OK [00:37:06]request: POST /json_proto HTTP/1.0 [00:37:06]Method: POST [00:37:06]URL: /json_proto [00:37:06]Method is POST - this is cgi request [00:37:06]url: /json_proto [00:37:06]query_string will be loaded in cgi processing [00:37:06]execute_cgi json_proto POST (null) [00:37:06]execute_cgi path=json_proto method=POST [00:37:06]POST find Content-Length [00:37:06]Host: 172.17.62.196:8080 [00:37:06]Content-Length: 783 [00:37:06]Content-Type: application/json [00:37:06] [00:37:06]POST finish read [00:37:06]Found Content-Length = 783 [00:37:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16842", "tax_sys" : 0, "items" : [ { "code": "4630002599859", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Standart 15w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:06]execute_script... [00:37:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16842", "tax_sys" : 0, "items" : [ { "code": "4630002599859", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Standart 15w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:06]POST & json_proto [00:37:06]process_json_proto [00:37:06]json parsed OK: [00:37:06]protocol is kg_v1.0 [00:37:06]action value=close_receipt [00:37:06]process_action close_receipt [00:37:06]cmd_close_receipt [00:37:06]MH_GetDate [00:37:06]Write to MH i2c: F0 00 00 74 13 76 [00:37:06]Write i2c OK [00:37:06]MH_I2C_Read... [00:37:06]Read from MH i2c: F0 [00:37:06]MH_I2C_Read... [00:37:06]Read from MH i2c: F0 09 00 [00:37:06]MH_I2C_Read... [00:37:06]Read from MH i2c: F0 09 00 74 13 00 36 5B F3 66 CE CC 0E 66 77 [00:37:06]GetLastDocTimeStamp 1727223091 [00:37:06]current date 1727224630 [00:37:06]FM_GetShiftState [00:37:06]SAM_PROTO_GetShiftState [00:37:06]wFMCommunicate request_size=4 [00:37:06]MH_SAM_APDU [00:37:06]CAPDU: 80 13 01 00 [00:37:06]Write to MH i2c: E2 08 00 75 13 80 13 01 00 00 00 00 00 05 [00:37:06]Write i2c OK [00:37:06]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 0E 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 0E 00 75 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 F2 [00:37:07]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:37:07]wFMCommunicate OK [00:37:07]SAM_PROTO_GetShiftState done [00:37:07]FM_GetShiftState done [00:37:07]opened in 1727223091 [00:37:07]opened+sec_in_day 1727309491 [00:37:07]quantity*price = 40500 [00:37:07]sum+1 = 40501 [00:37:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 0.00 Безнал.: 405.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 1 25.09.2024 00:37 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18923 ФПД: 264921835749937 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T003710&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18923&fm=264921835749937&tin=02508201610067®Number=0000000000152968&sum=40500 0 [00:37:08]StoreToDocumentArchive [00:37:08]shift 183 fd 18923 [00:37:08]save to /storage/0183/doc_00018923 [00:37:08]save last doc name /storage/0183/doc_00018923 to /storage/kkm_last_doc_name [00:37:08]save OK [00:37:08]Clear old archive folders... [00:37:08]ProcessDocumentItem done err = 0, tmpTLVsize=283 [00:37:08]tlvbuf is B6EBF9D0 [00:37:08]SAM_PROTO_ClearQueue [00:37:08]wFMCommunicate request_size=4 [00:37:08]MH_SAM_APDU [00:37:08]CAPDU: 80 09 00 00 [00:37:08]Write to MH i2c: E2 08 00 82 13 80 09 00 00 00 00 00 00 07 [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:37:08]Read from MH i2c: E2 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 82 13 00 90 00 09 [00:37:08]RAPDU: 90 00 [00:37:08]wFMCommunicate OK [00:37:08]SAM_PROTO_ClearQueue done [00:37:08]KKMCreateOFDPacket [00:37:08]OFDProtocolAddRootSTLVToBuf [00:37:08]FM_MakeSignedData [00:37:08]FM_MakeSignedData [00:37:08]SAM_PROTO_SignData [00:37:08]wFMCommunicate request_size=4 [00:37:08]MH_SAM_APDU [00:37:08]CAPDU: 80 0D 01 02 [00:37:08]Write to MH i2c: E2 08 00 83 13 80 0D 01 02 00 00 00 00 0F [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:37:08]Read from MH i2c: E2 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 83 13 00 90 00 0A [00:37:08]RAPDU: 90 00 [00:37:08]wFMCommunicate OK [00:37:08]wFMCommunicate request_size=255 [00:37:08]MH_SAM_APDU [00:37:08]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 38 35 39 06 04 29 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 74 61 6E 64 61 72 74 20 31 35 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 36 5B F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 [00:37:08]Write to MH i2c: E2 02 01 84 13 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 38 35 39 06 04 29 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 74 61 6E 64 61 72 74 20 31 35 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 36 5B F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 00 00 EE [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:37:08]Read from MH i2c: E2 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 84 13 00 90 00 0B [00:37:08]RAPDU: 90 00 [00:37:08]wFMCommunicate OK [00:37:08]wFMCommunicate request_size=42 [00:37:08]MH_SAM_APDU [00:37:08]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EB 49 00 00 35 04 06 00 F0 F1 EB E9 C2 31 [00:37:08]Write to MH i2c: E2 2D 00 85 13 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EB 49 00 00 35 04 06 00 F0 F1 EB E9 C2 31 00 00 C9 [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:37:08]Read from MH i2c: E2 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 03 00 85 13 00 90 00 0C [00:37:08]RAPDU: 90 00 [00:37:08]wFMCommunicate OK [00:37:08]wFMCommunicate request_size=4 [00:37:08]MH_SAM_APDU [00:37:08]CAPDU: 80 0D 03 02 [00:37:08]Write to MH i2c: E2 08 00 86 13 80 0D 03 02 00 00 00 00 14 [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:37:08]Read from MH i2c: E2 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 0B 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 0B 00 86 13 00 1C C2 29 F9 46 42 7A 9C 90 00 B3 [00:37:08]RAPDU: 1C C2 29 F9 46 42 7A 9C 90 00 [00:37:08]wFMCommunicate OK [00:37:08]SAM_PROTO_SignData done [00:37:08]FM_MakeSignedData done [00:37:08]CreateOFDProtocolMessage [00:37:08]wFMCommunicate request_size=4 [00:37:08]MH_SAM_APDU [00:37:08]CAPDU: 80 11 00 00 [00:37:08]Write to MH i2c: E2 08 00 87 13 80 11 00 00 00 00 00 00 14 [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:08]Read from MH i2c: E2 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 17 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: E2 17 00 87 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6D [00:37:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:37:08]wFMCommunicate OK [00:37:08]CreateOFDProtocolMessage done [00:37:08]OFDSenderStorePacket 18923 [00:37:08]StoreOFDPacket docnum=18923 [00:37:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2F 01 00 00 7F B3 27 01 F0 68 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 38 35 39 06 04 29 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 74 61 6E 64 61 72 74 20 31 35 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 36 5B F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EB 49 00 00 35 04 06 00 F0 F1 EB E9 C2 31 1C C2 29 F9 46 42 7A 9C [00:37:08]CheckFolder [00:37:08]dirname=/storage/ofd_packets [00:37:08]CheckFolder done [00:37:08]ProducePacketName [00:37:08]name=ofd_packets/00018923 [00:37:08]NVStorageSaveData ofd_packets/00018923 [00:37:08]File name is /storage/ofd_packets/00018923 [00:37:08]Write 333 bytes [00:37:08]NVStorageSaveData done [00:37:08]OFDSenderStorePacket done [00:37:08]KKMCreateOFDPacket done [00:37:08]NVStorageSaveData kkm_last_timestamp [00:37:08]File name is /storage/kkm_last_timestamp [00:37:08]Write 4 bytes [00:37:08]NVStorageSaveData done [00:37:08]ExternCall_PrintAddStr [00:37:08]wPrintStart [00:37:08]Write to MH i2c: 01 00 00 88 13 9B [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: 01 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: 01 07 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: 01 07 00 88 13 00 00 00 00 00 FF 0F B0 [00:37:08]RasterBufferAndPrint [00:37:08]line Счет N : (3)16842 [00:37:08]line ИНН: 02508201610067 [00:37:08]line Контрольно-Кассовый Чек [00:37:08]line ПРОДАЖА [00:37:08]line Товар: 4630002599859 [00:37:08]line Масло Gazpromneft Standart 15w40 1л [00:37:08]line 1.000 * 405.00 [00:37:08]line = 405.00 [00:37:08]line НДС 12% НСП 1% [00:37:08]line > о реализуемом товаре [00:37:08]line ИТОГО: 405.00 [00:37:08]line НСП 1% : 3.58 [00:37:08]line НДС 12% : 43.01 [00:37:08]line Наличными: 0.00 [00:37:08]line Безнал.: 405.00 [00:37:08]line Место: АЗС № 176 "Партнер Нефть" [00:37:08]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [00:37:08]line СНО: Общий режим [00:37:08]line Чек 1 25.09.2024 00:37 [00:37:08]line Смена: 183 ФФД: 1.0 [00:37:08]line ЗНМ: 0300000010 [00:37:08]line РНМ: 0000000000152968 [00:37:08]line Версия ККМ: v1.0 [00:37:08]line Платежная система: O! деньги [00:37:08]line ФМ: 0000000000959456 [00:37:08]line ФД: 18923 [00:37:08]line ФПД: 264921835749937 [00:37:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T003710&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18923&fm=264921835749937&tin=02508201610067®Number=0000000000152968&sum=40500 [00:37:09]line 0 [00:37:09]OFD Sender: Processing packet 18923 [packets to send 7, broken 6] [00:37:09]ProducePacketName [00:37:09]name=ofd_packets/00018923 [00:37:09]OFD Sender: To server: pG, [00:37:09]CommunicateWithHost lk.salyk.kg:30040 [00:37:09]ConnectInit lk.salyk.kg [00:37:09]written 0, free lines is 4095 [00:37:09]Connected sock=10 [00:37:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2F 01 00 00 7F B3 27 01 F0 68 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 38 35 39 06 04 29 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 74 61 6E 64 61 72 74 20 31 35 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 36 5B F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EB 49 00 00 35 04 06 00 F0 F1 EB E9 C2 31 1C C2 29 F9 46 42 7A 9C [00:37:09]Write to MH i2c: 01 00 00 B3 13 C6 [00:37:09]Write i2c OK [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: 01 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: 01 07 00 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: 01 07 00 B3 13 00 00 00 00 00 EB 0C C4 [00:37:09]RasterBufferAndPrint [00:37:09]line [00:37:09]line [00:37:09]line [00:37:09]line [00:37:09]line [00:37:09]written 0, free lines is 3313 [00:37:09]MH_Cut [00:37:09]Write to MH i2c: D1 01 00 BA 13 01 9F [00:37:09]Write i2c OK [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: D1 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: D1 01 00 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: D1 01 00 BA 13 00 9E [00:37:09]Write to MH i2c: 01 00 00 BB 13 CE [00:37:09]Write i2c OK [00:37:09]MH_I2C_Read... [00:37:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 07 E2 47 00 02 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EB 49 00 00 F4 03 04 00 95 04 F3 66 B6 04 01 00 00 34 30 27 CB 6C 45 E8 13 [00:37:09]CommunicateWithHost err = 0 [00:37:09]CheckOFDResponse [00:37:09]1017 (14) - 77093643461234 [00:37:09]1041 (16) - 0000000000959456 [00:37:09]1040 (4) - 18923 [00:37:09]1012 (4) - 24.09.2024 18:27 [00:37:09]1206 (1) - 0 [00:37:09]OFD Sender: Remove packet 18923 [00:37:09]ProducePacketName [00:37:09]name=ofd_packets/00018923 [00:37:09]NVStorageDeleteData [00:37:10]OFD Sender: No OFD packet to send [00:37:10]*** Cut start [00:37:10]*** Partial cut [00:37:10]*** CUTSNS_PIN = 1 [00:37:10]*** CUTSNS_PIN = 0 [00:37:10]*** Brake cut motor [00:37:10]Read from MH i2c: 01 [00:37:10]MH_I2C_Read... [00:37:10]*** Stop cut motor [00:37:10]*** Cut end [00:37:10]Read from MH i2c: 01 07 00 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: 01 07 00 BB 13 00 00 00 00 00 FF 0F E3 [00:37:10]process_action close_receipt done [00:37:10]requested_data is exist [00:37:10]produce_requested_data [00:37:10]requested_item fm.sn is exist - process it [00:37:10]wFMCommunicate request_size=4 [00:37:10]MH_SAM_APDU [00:37:10]CAPDU: 80 11 00 00 [00:37:10]Write to MH i2c: E2 08 00 BC 13 80 11 00 00 00 00 00 00 49 [00:37:10]Write i2c OK [00:37:10]MH_I2C_Read... [00:37:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:10]Read from MH i2c: E2 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 17 00 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 17 00 BC 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A2 [00:37:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:37:10]wFMCommunicate OK [00:37:10]requested_item fd.num is exist - process it [00:37:10]SAM_PROTO_GetFieldsCounters [00:37:10]wFMCommunicate request_size=4 [00:37:10]MH_SAM_APDU [00:37:10]CAPDU: 80 13 00 00 [00:37:10]Write to MH i2c: E2 08 00 BD 13 80 13 00 00 00 00 00 00 4C [00:37:10]Write i2c OK [00:37:10]MH_I2C_Read... [00:37:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:37:10]Read from MH i2c: E2 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 62 00 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 62 00 BD 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EB 49 00 00 0E 04 04 00 B7 00 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 67 [00:37:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EB 49 00 00 0E 04 04 00 B7 00 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:37:10]wFMCommunicate OK [00:37:10]SAM_PROTO_GetFieldsCounters done [00:37:10]requested_item shift.num is exist - process it [00:37:10]requested_item shift.opened is exist - process it [00:37:10]req_shift_opened [00:37:10]FM_GetShiftState [00:37:10]SAM_PROTO_GetShiftState [00:37:10]wFMCommunicate request_size=4 [00:37:10]MH_SAM_APDU [00:37:10]CAPDU: 80 13 01 00 [00:37:10]Write to MH i2c: E2 08 00 BE 13 80 13 01 00 00 00 00 00 4E [00:37:10]Write i2c OK [00:37:10]MH_I2C_Read... [00:37:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:11]Read from MH i2c: E2 [00:37:11]MH_I2C_Read... [00:37:11]Read from MH i2c: E2 0E 00 [00:37:11]MH_I2C_Read... [00:37:11]Read from MH i2c: E2 0E 00 BE 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3B [00:37:11]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:37:11]wFMCommunicate OK [00:37:11]SAM_PROTO_GetShiftState done [00:37:11]FM_GetShiftState done [00:37:11]req_shift_opened done [00:37:11]requested_item shift.open_date is exist - process it [00:37:11]req_shift_open_date [00:37:11]req_shift_open_date done [00:37:11]produce_requested_data done [00:37:11]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18923,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [00:37:11]process_action_free close_receipt [00:37:11]json_value_free [00:37:11]json_value_free done [00:37:11]process_json_proto returns [00:37:11]Send response to host [00:37:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18923,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [00:37:11]free response buf [00:37:11]execute_script done [00:37:11]execute_script returns [00:37:11]free content buf [00:37:11]Sock 8.Close socket [00:37:11]Sock 8.Thread stoped [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:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:30]OFD Sender: No OFD packet to send [00:39:35]OFD Sender: No OFD packet to send [00:39:40]OFD Sender: No OFD packet to send [00:39:45]OFD Sender: No OFD packet to send [00:39:50]OFD Sender: No OFD packet to send [00:39:55]OFD Sender: No OFD packet to send [00:40:00]OFD Sender: No OFD packet to send [00:40:05]OFD Sender: No OFD packet to send [00:40:10]OFD Sender: No OFD packet to send [00:40:15]OFD Sender: No OFD packet to send [00:40:20]OFD Sender: No OFD packet to send [00:40:25]OFD Sender: No OFD packet to send [00:40:30]OFD Sender: No OFD packet to send [00:40:35]OFD Sender: No OFD packet to send [00:40:40]OFD Sender: No OFD packet to send [00:40:45]OFD Sender: No OFD packet to send [00:40:50]OFD Sender: No OFD packet to send [00:40:55]OFD Sender: No OFD packet to send [00:41:00]OFD Sender: No OFD packet to send [00:41:05]OFD Sender: No OFD packet to send [00:41:10]OFD Sender: No OFD packet to send [00:41:15]OFD Sender: No OFD packet to send [00:41:20]OFD Sender: No OFD packet to send [00:41:25]OFD Sender: No OFD packet to send [00:41:30]OFD Sender: No OFD packet to send [00:41:35]OFD Sender: No OFD packet to send [00:41:40]OFD Sender: No OFD packet to send [00:41:45]OFD Sender: No OFD packet to send [00:41:50]OFD Sender: No OFD packet to send [00:41:55]OFD Sender: No OFD packet to send [00:42:00]OFD Sender: No OFD packet to send [00:42:05]OFD Sender: No OFD packet to send [00:42:10]OFD Sender: No OFD packet to send [00:42:15]OFD Sender: No OFD packet to send [00:42:20]OFD Sender: No OFD packet to send [00:42:25]OFD Sender: No OFD packet to send [00:42:30]OFD Sender: No OFD packet to send [00:42:35]OFD Sender: No OFD packet to send [00:42:40]OFD Sender: No OFD packet to send [00:42:45]OFD Sender: No OFD packet to send [00:42:50]OFD Sender: No OFD packet to send [00:42:55]OFD Sender: No OFD packet to send [00:43:00]OFD Sender: No OFD packet to send [00:43:05]OFD Sender: No OFD packet to send [00:43:10]OFD Sender: No OFD packet to send [00:43:15]OFD Sender: No OFD packet to send [00:43:20]OFD Sender: No OFD packet to send [00:43:25]OFD Sender: No OFD packet to send [00:43:30]OFD Sender: No OFD packet to send [00:43:35]OFD Sender: No OFD packet to send [00:43:40]OFD Sender: No OFD packet to send [00:43:45]OFD Sender: No OFD packet to send [00:43:50]OFD Sender: No OFD packet to send [00:43:55]OFD Sender: No OFD packet to send [00:44:00]OFD Sender: No OFD packet to send [00:44:05]OFD Sender: No OFD packet to send [00:44:10]OFD Sender: No OFD packet to send [00:44:15]OFD Sender: No OFD packet to send [00:44:20]OFD Sender: No OFD packet to send [00:44:25]OFD Sender: No OFD packet to send [00:44:30]OFD Sender: No OFD packet to send [00:44:35]OFD Sender: No OFD packet to send [00:44:40]OFD Sender: No OFD packet to send [00:44:45]OFD Sender: No OFD packet to send [00:44:50]OFD Sender: No OFD packet to send [00:44:55]OFD Sender: No OFD packet to send [00:45:00]OFD Sender: No OFD packet to send [00:45:05]OFD Sender: No OFD packet to send [00:45:10]OFD Sender: No OFD packet to send [00:45:15]OFD Sender: No OFD packet to send [00:45:20]OFD Sender: No OFD packet to send [00:45:25]OFD Sender: No OFD packet to send [00:45:30]OFD Sender: No OFD packet to send [00:45:35]OFD Sender: No OFD packet to send [00:45:40]OFD Sender: No OFD packet to send [00:45:45]OFD Sender: No OFD packet to send [00:45:50]OFD Sender: No OFD packet to send [00:45:55]OFD Sender: No OFD packet to send [00:46:00]OFD Sender: No OFD packet to send [00:46:05]OFD Sender: No OFD packet to send [00:46:10]OFD Sender: No OFD packet to send [00:46:15]OFD Sender: No OFD packet to send [00:46:20]OFD Sender: No OFD packet to send [00:46:25]OFD Sender: No OFD packet to send [00:46:30]OFD Sender: No OFD packet to send [00:46:35]OFD Sender: No OFD packet to send [00:46:40]OFD Sender: No OFD packet to send [00:46:45]OFD Sender: No OFD packet to send [00:46:50]OFD Sender: No OFD packet to send [00:46:55]OFD Sender: No OFD packet to send [00:47:00]OFD Sender: No OFD packet to send [00:47:05]OFD Sender: No OFD packet to send [00:47:10]OFD Sender: No OFD packet to send [00:47:15]OFD Sender: No OFD packet to send [00:47:20]OFD Sender: No OFD packet to send [00:47:25]OFD Sender: No OFD packet to send [00:47:30]OFD Sender: No OFD packet to send [00:47:35]OFD Sender: No OFD packet to send [00:47:40]OFD Sender: No OFD packet to send [00:47:45]OFD Sender: No OFD packet to send [00:47:50]OFD Sender: No OFD packet to send [00:47:55]OFD Sender: No OFD packet to send [00:48:00]OFD Sender: No OFD packet to send [00:48:05]OFD Sender: No OFD packet to send [00:48:10]OFD Sender: No OFD packet to send [00:48:15]OFD Sender: No OFD packet to send [00:48:20]OFD Sender: No OFD packet to send [00:48:25]OFD Sender: No OFD packet to send [00:48:30]OFD Sender: No OFD packet to send [00:48:35]OFD Sender: No OFD packet to send [00:48:40]OFD Sender: No OFD packet to send [00:48:45]OFD Sender: No OFD packet to send [00:48:50]OFD Sender: No OFD packet to send [00:48:55]OFD Sender: No OFD packet to send [00:49:00]OFD Sender: No OFD packet to send [00:49:05]OFD Sender: No OFD packet to send [00:49:10]OFD Sender: No OFD packet to send [00:49:15]OFD Sender: No OFD packet to send [00:49:20]OFD Sender: No OFD packet to send [00:49:25]OFD Sender: No OFD packet to send [00:49:30]OFD Sender: No OFD packet to send [00:49:35]OFD Sender: No OFD packet to send [00:49:40]OFD Sender: No OFD packet to send [00:49:45]OFD Sender: No OFD packet to send [00:49:50]OFD Sender: No OFD packet to send [00:49:55]OFD Sender: No OFD packet to send [00:50:00]OFD Sender: No OFD packet to send [00:50:05]OFD Sender: No OFD packet to send [00:50:10]OFD Sender: No OFD packet to send [00:50:15]OFD Sender: No OFD packet to send [00:50:20]OFD Sender: No OFD packet to send [00:50:25]OFD Sender: No OFD packet to send [00:50:30]OFD Sender: No OFD packet to send [00:50:35]OFD Sender: No OFD packet to send [00:50:40]OFD Sender: No OFD packet to send [00:50:45]OFD Sender: No OFD packet to send [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]OFD Sender: No OFD packet to send [00:56:20]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:06]OFD Sender: No OFD packet to send [00:59:11]OFD Sender: No OFD packet to send [00:59:16]OFD Sender: No OFD packet to send [00:59:21]OFD Sender: No OFD packet to send [00:59:26]OFD Sender: No OFD packet to send [00:59:31]OFD Sender: No OFD packet to send [00:59:36]OFD Sender: No OFD packet to send [00:59:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:31]OFD Sender: No OFD packet to send [01:00:36]OFD Sender: No OFD packet to send [01:00:41]OFD Sender: No OFD packet to send [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:11]OFD Sender: No OFD packet to send [01:03:16]OFD Sender: No OFD packet to send [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:41]OFD Sender: No OFD packet to send [01:03:46]OFD Sender: No OFD packet to send [01:03:51]OFD Sender: No OFD packet to send [01:03:56]OFD Sender: No OFD packet to send [01:04:01]OFD Sender: No OFD packet to send [01:04:06]OFD Sender: No OFD packet to send [01:04:11]OFD Sender: No OFD packet to send [01:04:16]OFD Sender: No OFD packet to send [01:04:21]OFD Sender: No OFD packet to send [01:04:26]OFD Sender: No OFD packet to send [01:04:31]OFD Sender: No OFD packet to send [01:04:36]OFD Sender: No OFD packet to send [01:04:41]OFD Sender: No OFD packet to send [01:04:46]OFD Sender: No OFD packet to send [01:04:51]OFD Sender: No OFD packet to send [01:04:56]OFD Sender: No OFD packet to send [01:05:01]OFD Sender: No OFD packet to send [01:05:06]OFD Sender: No OFD packet to send [01:05:11]OFD Sender: No OFD packet to send [01:05:16]OFD Sender: No OFD packet to send [01:05:21]OFD Sender: No OFD packet to send [01:05:26]OFD Sender: No OFD packet to send [01:05:31]OFD Sender: No OFD packet to send [01:05:36]OFD Sender: No OFD packet to send [01:05:41]OFD Sender: No OFD packet to send [01:05:46]OFD Sender: No OFD packet to send [01:05:51]OFD Sender: No OFD packet to send [01:05:56]OFD Sender: No OFD packet to send [01:06:01]OFD Sender: No OFD packet to send [01:06:06]OFD Sender: No OFD packet to send [01:06:11]OFD Sender: No OFD packet to send [01:06:16]OFD Sender: No OFD packet to send [01:06:21]OFD Sender: No OFD packet to send [01:06:26]OFD Sender: No OFD packet to send [01:06:31]OFD Sender: No OFD packet to send [01:06:36]OFD Sender: No OFD packet to send [01:06:41]OFD Sender: No OFD packet to send [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:01]OFD Sender: No OFD packet to send [01:07:06]OFD Sender: No OFD packet to send [01:07:11]OFD Sender: No OFD packet to send [01:07:16]OFD Sender: No OFD packet to send [01:07:21]OFD Sender: No OFD packet to send [01:07:26]OFD Sender: No OFD packet to send [01:07:31]OFD Sender: No OFD packet to send [01:07:36]OFD Sender: No OFD packet to send [01:07:41]OFD Sender: No OFD packet to send [01:07:46]OFD Sender: No OFD packet to send [01:07:51]OFD Sender: No OFD packet to send [01:07:56]OFD Sender: No OFD packet to send [01:08:01]OFD Sender: No OFD packet to send [01:08:06]OFD Sender: No OFD packet to send [01:08:11]OFD Sender: No OFD packet to send [01:08:16]OFD Sender: No OFD packet to send [01:08:21]OFD Sender: No OFD packet to send [01:08:26]OFD Sender: No OFD packet to send [01:08:31]OFD Sender: No OFD packet to send [01:08:36]OFD Sender: No OFD packet to send [01:08:41]OFD Sender: No OFD packet to send [01:08:46]OFD Sender: No OFD packet to send [01:08:51]OFD Sender: No OFD packet to send [01:08:56]OFD Sender: No OFD packet to send [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:31]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:46]OFD Sender: No OFD packet to send [01:09:51]OFD Sender: No OFD packet to send [01:09:56]OFD Sender: No OFD packet to send [01:10:01]OFD Sender: No OFD packet to send [01:10:06]OFD Sender: No OFD packet to send [01:10:11]OFD Sender: No OFD packet to send [01:10:16]OFD Sender: No OFD packet to send [01:10:21]OFD Sender: No OFD packet to send [01:10:26]OFD Sender: No OFD packet to send [01:10:31]OFD Sender: No OFD packet to send [01:10:36]OFD Sender: No OFD packet to send [01:10:41]OFD Sender: No OFD packet to send [01:10:46]OFD Sender: No OFD packet to send [01:10:51]OFD Sender: No OFD packet to send [01:10:56]OFD Sender: No OFD packet to send [01:11:01]OFD Sender: No OFD packet to send [01:11:06]OFD Sender: No OFD packet to send [01:11:11]OFD Sender: No OFD packet to send [01:11:16]OFD Sender: No OFD packet to send [01:11:21]OFD Sender: No OFD packet to send [01:11:26]OFD Sender: No OFD packet to send [01:11:31]OFD Sender: No OFD packet to send [01:11:36]OFD Sender: No OFD packet to send [01:11:41]OFD Sender: No OFD packet to send [01:11:46]OFD Sender: No OFD packet to send [01:11:51]OFD Sender: No OFD packet to send [01:11:56]OFD Sender: No OFD packet to send [01:12:01]OFD Sender: No OFD packet to send [01:12:06]OFD Sender: No OFD packet to send [01:12:11]OFD Sender: No OFD packet to send [01:12:16]OFD Sender: No OFD packet to send [01:12:21]OFD Sender: No OFD packet to send [01:12:26]OFD Sender: No OFD packet to send [01:12:31]OFD Sender: No OFD packet to send [01:12:36]OFD Sender: No OFD packet to send [01:12:41]OFD Sender: No OFD packet to send [01:12:46]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:41]OFD Sender: No OFD packet to send [01:14:46]OFD Sender: No OFD packet to send [01:14:51]OFD Sender: No OFD packet to send [01:14:56]OFD Sender: No OFD packet to send [01:15:01]OFD Sender: No OFD packet to send [01:15:06]OFD Sender: No OFD packet to send [01:15:11]OFD Sender: No OFD packet to send [01:15:16]OFD Sender: No OFD packet to send [01:15:21]OFD Sender: No OFD packet to send [01:15:26]OFD Sender: No OFD packet to send [01:15:31]OFD Sender: No OFD packet to send [01:15:36]OFD Sender: No OFD packet to send [01:15:41]OFD Sender: No OFD packet to send [01:15:46]OFD Sender: No OFD packet to send [01:15:51]OFD Sender: No OFD packet to send [01:15:56]OFD Sender: No OFD packet to send [01:16:01]OFD Sender: No OFD packet to send [01:16:06]OFD Sender: No OFD packet to send [01:16:11]OFD Sender: No OFD packet to send [01:16:16]OFD Sender: No OFD packet to send [01:16:21]OFD Sender: No OFD packet to send [01:16:26]OFD Sender: No OFD packet to send [01:16:31]OFD Sender: No OFD packet to send [01:16:36]OFD Sender: No OFD packet to send [01:16:41]OFD Sender: No OFD packet to send [01:16:46]OFD Sender: No OFD packet to send [01:16:51]OFD Sender: No OFD packet to send [01:16:56]OFD Sender: No OFD packet to send [01:17:01]OFD Sender: No OFD packet to send [01:17:06]OFD Sender: No OFD packet to send [01:17:11]OFD Sender: No OFD packet to send [01:17:16]OFD Sender: No OFD packet to send [01:17:21]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:17]OFD Sender: No OFD packet to send [01:29:22]OFD Sender: No OFD packet to send [01:29:27]OFD Sender: No OFD packet to send [01:29:32]OFD Sender: No OFD packet to send [01:29:37]OFD Sender: No OFD packet to send [01:29:42]OFD Sender: No OFD packet to send [01:29:47]OFD Sender: No OFD packet to send [01:29:52]OFD Sender: No OFD packet to send [01:29:57]OFD Sender: No OFD packet to send [01:30:02]OFD Sender: No OFD packet to send [01:30:07]OFD Sender: No OFD packet to send [01:30:12]OFD Sender: No OFD packet to send [01:30:17]OFD Sender: No OFD packet to send [01:30:22]OFD Sender: No OFD packet to send [01:30:27]OFD Sender: No OFD packet to send [01:30:32]OFD Sender: No OFD packet to send [01:30:37]OFD Sender: No OFD packet to send [01:30:42]OFD Sender: No OFD packet to send [01:30:47]OFD Sender: No OFD packet to send [01:30:52]OFD Sender: No OFD packet to send [01:30:57]OFD Sender: No OFD packet to send [01:31:02]OFD Sender: No OFD packet to send [01:31:07]OFD Sender: No OFD packet to send [01:31:12]OFD Sender: No OFD packet to send [01:31:17]OFD Sender: No OFD packet to send [01:31:22]OFD Sender: No OFD packet to send [01:31:27]OFD Sender: No OFD packet to send [01:31:32]OFD Sender: No OFD packet to send [01:31:37]OFD Sender: No OFD packet to send [01:31:42]OFD Sender: No OFD packet to send [01:31:47]OFD Sender: No OFD packet to send [01:31:52]OFD Sender: No OFD packet to send [01:31:57]OFD Sender: No OFD packet to send [01:32:02]OFD Sender: No OFD packet to send [01:32:07]OFD Sender: No OFD packet to send [01:32:12]OFD Sender: No OFD packet to send [01:32:17]OFD Sender: No OFD packet to send [01:32:22]OFD Sender: No OFD packet to send [01:32:27]OFD Sender: No OFD packet to send [01:32:32]OFD Sender: No OFD packet to send [01:32:37]OFD Sender: No OFD packet to send [01:32:42]OFD Sender: No OFD packet to send [01:32:47]OFD Sender: No OFD packet to send [01:32:52]OFD Sender: No OFD packet to send [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:52]OFD Sender: No OFD packet to send [01:33:57]OFD Sender: No OFD packet to send [01:34:02]OFD Sender: No OFD packet to send [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:53]OFD Sender: No OFD packet to send [01:45:58]OFD Sender: No OFD packet to send [01:46:03]OFD Sender: No OFD packet to send [01:46:08]OFD Sender: No OFD packet to send [01:46:13]OFD Sender: No OFD packet to send [01:46:18]OFD Sender: No OFD packet to send [01:46:23]OFD Sender: No OFD packet to send [01:46:28]OFD Sender: No OFD packet to send [01:46:33]OFD Sender: No OFD packet to send [01:46:38]OFD Sender: No OFD packet to send [01:46:43]OFD Sender: No OFD packet to send [01:46:48]OFD Sender: No OFD packet to send [01:46:53]OFD Sender: No OFD packet to send [01:46:58]OFD Sender: No OFD packet to send [01:47:03]OFD Sender: No OFD packet to send [01:47:08]OFD Sender: No OFD packet to send [01:47:13]OFD Sender: No OFD packet to send [01:47:18]OFD Sender: No OFD packet to send [01:47:23]OFD Sender: No OFD packet to send [01:47:28]OFD Sender: No OFD packet to send [01:47:33]OFD Sender: No OFD packet to send [01:47:38]OFD Sender: No OFD packet to send [01:47:43]OFD Sender: No OFD packet to send [01:47:48]OFD Sender: No OFD packet to send [01:47:53]OFD Sender: No OFD packet to send [01:47:58]OFD Sender: No OFD packet to send [01:48:03]OFD Sender: No OFD packet to send [01:48:08]OFD Sender: No OFD packet to send [01:48:13]OFD Sender: No OFD packet to send [01:48:18]OFD Sender: No OFD packet to send [01:48:23]OFD Sender: No OFD packet to send [01:48:28]OFD Sender: No OFD packet to send [01:48:33]OFD Sender: No OFD packet to send [01:48:38]OFD Sender: No OFD packet to send [01:48:43]OFD Sender: No OFD packet to send [01:48:48]OFD Sender: No OFD packet to send [01:48:53]OFD Sender: No OFD packet to send [01:48:58]OFD Sender: No OFD packet to send [01:49:03]OFD Sender: No OFD packet to send [01:49:08]OFD Sender: No OFD packet to send [01:49:13]OFD Sender: No OFD packet to send [01:49:18]OFD Sender: No OFD packet to send [01:49:23]OFD Sender: No OFD packet to send [01:49:28]OFD Sender: No OFD packet to send [01:49:33]OFD Sender: No OFD packet to send [01:49:38]OFD Sender: No OFD packet to send [01:49:43]OFD Sender: No OFD packet to send [01:49:48]OFD Sender: No OFD packet to send [01:49:49]accept exits with 9 [01:49:49]New connection [01:49:49]New thread 3067047268 created [01:49:49]Thread 3066903908 joined [01:49:49]Waiting for new connection... [01:49:49] Sock 9.Parse request [01:49:49]Sock 9.Check first char [01:49:49]Sock 9.First char is OK [01:49:49]request: POST /json_proto HTTP/1.0 [01:49:49]Method: POST [01:49:49]URL: /json_proto [01:49:49]Method is POST - this is cgi request [01:49:49]url: /json_proto [01:49:49]query_string will be loaded in cgi processing [01:49:49]execute_cgi json_proto POST (null) [01:49:49]execute_cgi path=json_proto method=POST [01:49:49]POST find Content-Length [01:49:49]Host: 172.17.62.196:8080 [01:49:49]Content-Length: 653 [01:49:49]Content-Type: application/json [01:49:49] [01:49:49]POST finish read [01:49:49]Found Content-Length = 653 [01:49:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16843", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:49:49]execute_script... [01:49:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16843", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:49:49]POST & json_proto [01:49:49]process_json_proto [01:49:49]json parsed OK: [01:49:49]protocol is kg_v1.0 [01:49:49]action value=close_receipt [01:49:49]process_action close_receipt [01:49:49]cmd_close_receipt [01:49:49]MH_GetDate [01:49:49]Write to MH i2c: F0 00 00 BF 13 C1 [01:49:49]Write i2c OK [01:49:49]MH_I2C_Read... [01:49:49]Read from MH i2c: F0 [01:49:49]MH_I2C_Read... [01:49:49]Read from MH i2c: F0 09 00 [01:49:49]MH_I2C_Read... [01:49:49]Read from MH i2c: F0 09 00 BF 13 00 41 6C F3 66 CE CC 0E 66 DE [01:49:49]GetLastDocTimeStamp 1727224630 [01:49:49]current date 1727228993 [01:49:49]FM_GetShiftState [01:49:49]SAM_PROTO_GetShiftState [01:49:49]wFMCommunicate request_size=4 [01:49:49]MH_SAM_APDU [01:49:49]CAPDU: 80 13 01 00 [01:49:49]Write to MH i2c: E2 08 00 C0 13 80 13 01 00 00 00 00 00 50 [01:49:49]Write i2c OK [01:49:49]MH_I2C_Read... [01:49:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:49]Read from MH i2c: E2 [01:49:49]MH_I2C_Read... [01:49:49]Read from MH i2c: E2 0E 00 [01:49:49]MH_I2C_Read... [01:49:49]Read from MH i2c: E2 0E 00 C0 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3D [01:49:49]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [01:49:49]wFMCommunicate OK [01:49:49]SAM_PROTO_GetShiftState done [01:49:49]FM_GetShiftState done [01:49:49]opened in 1727223091 [01:49:49]opened+sec_in_day 1727309491 [01:49:49]quantity*price = 7700 [01:49:49]sum+1 = 7701 [01:49:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 2 25.09.2024 01:49 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18924 ФПД: 90109666748317 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T014953&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18924&fm=90109666748317&tin=02508201610067®Number=0000000000152968&sum=7700 0 [01:49:51]StoreToDocumentArchive [01:49:51]shift 183 fd 18924 [01:49:51]save to /storage/0183/doc_00018924 [01:49:51]save last doc name /storage/0183/doc_00018924 to /storage/kkm_last_doc_name [01:49:51]save OK [01:49:51]Clear old archive folders... [01:49:51]ProcessDocumentItem done err = 0, tmpTLVsize=293 [01:49:51]tlvbuf is 01899920 [01:49:51]SAM_PROTO_ClearQueue [01:49:51]wFMCommunicate request_size=4 [01:49:51]MH_SAM_APDU [01:49:51]CAPDU: 80 09 00 00 [01:49:51]Write to MH i2c: E2 08 00 CD 13 80 09 00 00 00 00 00 00 52 [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:49:51]Read from MH i2c: E2 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 CD 13 00 90 00 54 [01:49:51]RAPDU: 90 00 [01:49:51]wFMCommunicate OK [01:49:51]SAM_PROTO_ClearQueue done [01:49:51]KKMCreateOFDPacket [01:49:51]OFDProtocolAddRootSTLVToBuf [01:49:51]FM_MakeSignedData [01:49:51]FM_MakeSignedData [01:49:51]SAM_PROTO_SignData [01:49:51]wFMCommunicate request_size=4 [01:49:51]MH_SAM_APDU [01:49:51]CAPDU: 80 0D 01 02 [01:49:51]Write to MH i2c: E2 08 00 CE 13 80 0D 01 02 00 00 00 00 5A [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:49:51]Read from MH i2c: E2 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 CE 13 00 90 00 55 [01:49:51]RAPDU: 90 00 [01:49:51]wFMCommunicate OK [01:49:51]wFMCommunicate request_size=255 [01:49:51]MH_SAM_APDU [01:49:51]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 41 6C F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [01:49:51]Write to MH i2c: E2 02 01 CF 13 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 41 6C F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 AE [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:49:51]Read from MH i2c: E2 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 CF 13 00 90 00 56 [01:49:51]RAPDU: 90 00 [01:49:51]wFMCommunicate OK [01:49:51]wFMCommunicate request_size=52 [01:49:51]MH_SAM_APDU [01:49:51]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EC 49 00 00 35 04 06 00 51 F4 4A AD 67 9D [01:49:51]Write to MH i2c: E2 37 00 D0 13 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EC 49 00 00 35 04 06 00 51 F4 4A AD 67 9D 00 00 A1 [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:49:51]Read from MH i2c: E2 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 03 00 D0 13 00 90 00 57 [01:49:51]RAPDU: 90 00 [01:49:51]wFMCommunicate OK [01:49:51]wFMCommunicate request_size=4 [01:49:51]MH_SAM_APDU [01:49:51]CAPDU: 80 0D 03 02 [01:49:51]Write to MH i2c: E2 08 00 D1 13 80 0D 03 02 00 00 00 00 5F [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:49:51]Read from MH i2c: E2 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 0B 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 0B 00 D1 13 00 EB 2A 77 A8 C4 62 3F CD 90 00 C6 [01:49:51]RAPDU: EB 2A 77 A8 C4 62 3F CD 90 00 [01:49:51]wFMCommunicate OK [01:49:51]SAM_PROTO_SignData done [01:49:51]FM_MakeSignedData done [01:49:51]CreateOFDProtocolMessage [01:49:51]wFMCommunicate request_size=4 [01:49:51]MH_SAM_APDU [01:49:51]CAPDU: 80 11 00 00 [01:49:51]Write to MH i2c: E2 08 00 D2 13 80 11 00 00 00 00 00 00 5F [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:51]Read from MH i2c: E2 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 17 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: E2 17 00 D2 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B8 [01:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [01:49:51]wFMCommunicate OK [01:49:51]CreateOFDProtocolMessage done [01:49:51]OFDSenderStorePacket 18924 [01:49:51]StoreOFDPacket docnum=18924 [01:49:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 0A 94 31 01 6F 14 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 41 6C F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EC 49 00 00 35 04 06 00 51 F4 4A AD 67 9D EB 2A 77 A8 C4 62 3F CD [01:49:51]CheckFolder [01:49:51]dirname=/storage/ofd_packets [01:49:51]CheckFolder done [01:49:51]ProducePacketName [01:49:51]name=ofd_packets/00018924 [01:49:51]NVStorageSaveData ofd_packets/00018924 [01:49:51]File name is /storage/ofd_packets/00018924 [01:49:51]Write 343 bytes [01:49:51]NVStorageSaveData done [01:49:51]OFDSenderStorePacket done [01:49:51]KKMCreateOFDPacket done [01:49:51]NVStorageSaveData kkm_last_timestamp [01:49:51]File name is /storage/kkm_last_timestamp [01:49:51]Write 4 bytes [01:49:51]NVStorageSaveData done [01:49:51]ExternCall_PrintAddStr [01:49:51]wPrintStart [01:49:51]Write to MH i2c: 01 00 00 D3 13 E6 [01:49:51]Write i2c OK [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: 01 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: 01 07 00 [01:49:51]MH_I2C_Read... [01:49:51]Read from MH i2c: 01 07 00 D3 13 00 00 00 00 00 FF 0F FB [01:49:51]RasterBufferAndPrint [01:49:51]line Счет N : (3)16843 [01:49:51]line ИНН: 02508201610067 [01:49:51]line Контрольно-Кассовый Чек [01:49:51]line ПРОДАЖА [01:49:51]line Товар: 4700000480050 [01:49:51]line Напиток Nitro Energy эн green ж/б 0,45л [01:49:51]line 1.000 * 77.00 [01:49:51]line = 77.00 [01:49:51]line НДС 12% НСП 1% [01:49:51]line > о реализуемом товаре [01:49:51]line ИТОГО: 77.00 [01:49:51]line НСП 1% : 0.68 [01:49:51]line НДС 12% : 8.18 [01:49:51]line Наличными: 77.00 [01:49:51]line Безнал.: 0.00 [01:49:51]line Место: АЗС № 176 "Партнер Нефть" [01:49:51]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [01:49:51]line СНО: Общий режим [01:49:51]line Чек 2 25.09.2024 01:49 [01:49:51]line Смена: 183 ФФД: 1.0 [01:49:51]line ЗНМ: 0300000010 [01:49:51]line РНМ: 0000000000152968 [01:49:51]line Версия ККМ: v1.0 [01:49:51]line ФМ: 0000000000959456 [01:49:51]line ФД: 18924 [01:49:51]line ФПД: 90109666748317 [01:49:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T014953&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18924&fm=90109666748317&tin=02508201610067®Number=0000000000152968&sum=7700 [01:49:51]line 0 [01:49:51]OFD Sender: Processing packet 18924 [packets to send 7, broken 6] [01:49:51]ProducePacketName [01:49:51]name=ofd_packets/00018924 [01:49:51]OFD Sender: To server: pG, [01:49:51]CommunicateWithHost lk.salyk.kg:30040 [01:49:51]ConnectInit lk.salyk.kg [01:49:51]written 0, free lines is 4095 [01:49:52]Connected sock=10 [01:49:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 0A 94 31 01 6F 14 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 41 6C F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EC 49 00 00 35 04 06 00 51 F4 4A AD 67 9D EB 2A 77 A8 C4 62 3F CD [01:49:52]Write to MH i2c: 01 00 00 FC 13 0F [01:49:52]Write i2c OK [01:49:52]MH_I2C_Read... [01:49:52]Read from MH i2c: 01 [01:49:52]MH_I2C_Read... [01:49:52]Read from MH i2c: 01 07 00 [01:49:52]MH_I2C_Read... [01:49:52]Read from MH i2c: 01 07 00 FC 13 00 00 00 00 00 01 0D 24 [01:49:52]RasterBufferAndPrint [01:49:52]line [01:49:52]line [01:49:52]line [01:49:52]line [01:49:52]line [01:49:52]written 0, free lines is 3335 [01:49:52]MH_Cut [01:49:52]Write to MH i2c: D1 01 00 03 14 01 E9 [01:49:52]Write i2c OK [01:49:52]MH_I2C_Read... [01:49:52]Read from MH i2c: D1 [01:49:52]MH_I2C_Read... [01:49:52]Read from MH i2c: D1 01 00 [01:49:52]MH_I2C_Read... [01:49:52]Read from MH i2c: D1 01 00 03 14 00 E8 [01:49:52]Write to MH i2c: 01 00 00 04 14 18 [01:49:52]Write i2c OK [01:49:52]MH_I2C_Read... [01:49:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 79 00 47 00 07 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EC 49 00 00 F4 03 04 00 A0 15 F3 66 B6 04 01 00 00 5C FD 10 70 47 AD D0 98 [01:49:52]CommunicateWithHost err = 0 [01:49:52]CheckOFDResponse [01:49:52]1017 (14) - 77093643461234 [01:49:52]1041 (16) - 0000000000959456 [01:49:52]1040 (4) - 18924 [01:49:52]1012 (4) - 24.09.2024 19:40 [01:49:52]1206 (1) - 0 [01:49:52]OFD Sender: Remove packet 18924 [01:49:52]ProducePacketName [01:49:52]name=ofd_packets/00018924 [01:49:52]NVStorageDeleteData [01:49:52]OFD Sender: No OFD packet to send [01:49:53]*** Cut start [01:49:53]*** Partial cut [01:49:53]*** CUTSNS_PIN = 1 [01:49:53]*** CUTSNS_PIN = 0 [01:49:53]*** Brake cut motor [01:49:53]Read from MH i2c: 01 [01:49:53]MH_I2C_Read... [01:49:53]*** Stop cut motor [01:49:53]*** Cut end [01:49:53]Read from MH i2c: 01 07 00 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: 01 07 00 04 14 00 00 00 00 00 FF 0F 2D [01:49:53]process_action close_receipt done [01:49:53]requested_data is exist [01:49:53]produce_requested_data [01:49:53]requested_item fm.sn is exist - process it [01:49:53]wFMCommunicate request_size=4 [01:49:53]MH_SAM_APDU [01:49:53]CAPDU: 80 11 00 00 [01:49:53]Write to MH i2c: E2 08 00 05 14 80 11 00 00 00 00 00 00 93 [01:49:53]Write i2c OK [01:49:53]MH_I2C_Read... [01:49:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:53]Read from MH i2c: E2 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: E2 17 00 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: E2 17 00 05 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EC [01:49:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [01:49:53]wFMCommunicate OK [01:49:53]requested_item fd.num is exist - process it [01:49:53]SAM_PROTO_GetFieldsCounters [01:49:53]wFMCommunicate request_size=4 [01:49:53]MH_SAM_APDU [01:49:53]CAPDU: 80 13 00 00 [01:49:53]Write to MH i2c: E2 08 00 06 14 80 13 00 00 00 00 00 00 96 [01:49:53]Write i2c OK [01:49:53]MH_I2C_Read... [01:49:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:49:53]Read from MH i2c: E2 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: E2 62 00 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: E2 62 00 06 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EC 49 00 00 0E 04 04 00 B7 00 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 B5 [01:49:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EC 49 00 00 0E 04 04 00 B7 00 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 [01:49:53]wFMCommunicate OK [01:49:53]SAM_PROTO_GetFieldsCounters done [01:49:53]requested_item shift.num is exist - process it [01:49:53]requested_item shift.opened is exist - process it [01:49:53]req_shift_opened [01:49:53]FM_GetShiftState [01:49:53]SAM_PROTO_GetShiftState [01:49:53]wFMCommunicate request_size=4 [01:49:53]MH_SAM_APDU [01:49:53]CAPDU: 80 13 01 00 [01:49:53]Write to MH i2c: E2 08 00 07 14 80 13 01 00 00 00 00 00 98 [01:49:53]Write i2c OK [01:49:53]MH_I2C_Read... [01:49:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:53]Read from MH i2c: E2 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: E2 0E 00 [01:49:53]MH_I2C_Read... [01:49:53]Read from MH i2c: E2 0E 00 07 14 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 85 [01:49:53]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [01:49:53]wFMCommunicate OK [01:49:53]SAM_PROTO_GetShiftState done [01:49:53]FM_GetShiftState done [01:49:53]req_shift_opened done [01:49:53]requested_item shift.open_date is exist - process it [01:49:53]req_shift_open_date [01:49:53]req_shift_open_date done [01:49:53]produce_requested_data done [01:49:53]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18924,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [01:49:53]process_action_free close_receipt [01:49:53]json_value_free [01:49:53]json_value_free done [01:49:53]process_json_proto returns [01:49:53]Send response to host [01:49:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18924,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [01:49:53]free response buf [01:49:53]execute_script done [01:49:53]execute_script returns [01:49:53]free content buf [01:49:53]Sock 9.Close socket [01:49:53]Sock 9.Thread stoped [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:13]OFD Sender: No OFD packet to send [01:51:18]OFD Sender: No OFD packet to send [01:51:23]OFD Sender: No OFD packet to send [01:51:28]OFD Sender: No OFD packet to send [01:51:33]OFD Sender: No OFD packet to send [01:51:38]OFD Sender: No OFD packet to send [01:51:43]OFD Sender: No OFD packet to send [01:51:48]OFD Sender: No OFD packet to send [01:51:53]OFD Sender: No OFD packet to send [01:51:58]OFD Sender: No OFD packet to send [01:52:03]OFD Sender: No OFD packet to send [01:52:08]OFD Sender: No OFD packet to send [01:52:13]OFD Sender: No OFD packet to send [01:52:18]OFD Sender: No OFD packet to send [01:52:23]OFD Sender: No OFD packet to send [01:52:28]OFD Sender: No OFD packet to send [01:52:33]OFD Sender: No OFD packet to send [01:52:38]OFD Sender: No OFD packet to send [01:52:43]OFD Sender: No OFD packet to send [01:52:48]OFD Sender: No OFD packet to send [01:52:53]OFD Sender: No OFD packet to send [01:52:58]OFD Sender: No OFD packet to send [01:53:03]OFD Sender: No OFD packet to send [01:53:08]OFD Sender: No OFD packet to send [01:53:13]OFD Sender: No OFD packet to send [01:53:18]OFD Sender: No OFD packet to send [01:53:23]OFD Sender: No OFD packet to send [01:53:28]OFD Sender: No OFD packet to send [01:53:33]OFD Sender: No OFD packet to send [01:53:38]OFD Sender: No OFD packet to send [01:53:43]OFD Sender: No OFD packet to send [01:53:48]OFD Sender: No OFD packet to send [01:53:53]OFD Sender: No OFD packet to send [01:53:58]OFD Sender: No OFD packet to send [01:54:03]OFD Sender: No OFD packet to send [01:54:08]OFD Sender: No OFD packet to send [01:54:13]OFD Sender: No OFD packet to send [01:54:18]OFD Sender: No OFD packet to send [01:54:23]OFD Sender: No OFD packet to send [01:54:28]OFD Sender: No OFD packet to send [01:54:33]OFD Sender: No OFD packet to send [01:54:38]OFD Sender: No OFD packet to send [01:54:43]OFD Sender: No OFD packet to send [01:54:48]OFD Sender: No OFD packet to send [01:54:53]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:07]ConnectInit Can't connect to host [02:14:09]OFD Sender: No OFD packet to send [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]OFD Sender: No OFD packet to send [02:36:55]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:25]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:36]OFD Sender: No OFD packet to send [02:55:41]OFD Sender: No OFD packet to send [02:55:46]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:06]OFD Sender: No OFD packet to send [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]OFD Sender: No OFD packet to send [02:56:41]OFD Sender: No OFD packet to send [02:56:46]OFD Sender: No OFD packet to send [02:56:51]OFD Sender: No OFD packet to send [02:56:56]OFD Sender: No OFD packet to send [02:57:01]OFD Sender: No OFD packet to send [02:57:06]OFD Sender: No OFD packet to send [02:57:11]OFD Sender: No OFD packet to send [02:57:16]OFD Sender: No OFD packet to send [02:57:21]OFD Sender: No OFD packet to send [02:57:26]OFD Sender: No OFD packet to send [02:57:31]OFD Sender: No OFD packet to send [02:57:36]OFD Sender: No OFD packet to send [02:57:41]OFD Sender: No OFD packet to send [02:57:46]OFD Sender: No OFD packet to send [02:57:51]OFD Sender: No OFD packet to send [02:57:56]OFD Sender: No OFD packet to send [02:58:01]OFD Sender: No OFD packet to send [02:58:06]OFD Sender: No OFD packet to send [02:58:11]OFD Sender: No OFD packet to send [02:58:16]OFD Sender: No OFD packet to send [02:58:21]OFD Sender: No OFD packet to send [02:58:26]OFD Sender: No OFD packet to send [02:58:31]OFD Sender: No OFD packet to send [02:58:36]OFD Sender: No OFD packet to send [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [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